@opencloud-eu/web-client 7.3.0 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{axios-DvF8YTlk.js → axios-CAceQWl5.js} +7 -5
- package/dist/{dist-CeGfU4rJ.js → dist-Ciqaw6jy.js} +11 -9
- package/dist/{generated-FCm3SbzB.js → generated-CSkivkhn.js} +395 -239
- package/dist/{graph-CppzmKYd.js → graph-BDtqSczU.js} +93 -90
- package/dist/{helpers-MRfkPTnV.js → helpers-hr58GB0t.js} +230 -224
- package/dist/{ocs-gQyxMolJ.js → ocs-BupRjiCI.js} +504 -466
- package/dist/src/graph/generated/api.d.ts +351 -28
- package/dist/src/graph/users/types.d.ts +2 -1
- package/dist/src/helpers/space/types.d.ts +6 -0
- package/dist/src/sse/index.d.ts +2 -0
- package/dist/src/webdav/client/builders.d.ts +3 -2
- package/dist/src/webdav/client/dav.d.ts +8 -2
- package/dist/src/webdav/constants/dav.d.ts +12 -0
- package/dist/src/webdav/listFiles.d.ts +10 -1
- package/dist/src/webdav/restoreFileVersion.d.ts +2 -1
- package/dist/src/webdav/setProperties.d.ts +19 -0
- package/dist/src/webdav/types.d.ts +2 -0
- package/dist/{toString-B4UEwRgf.js → toString-Y_fh2BSJ.js} +2 -2
- package/dist/web-client/graph/generated.js +2 -2
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/sse.js +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.js +5 -5
- package/dist/{webdav-BMoGCm4T.js → webdav-BE0Z-EcD.js} +997 -963
- package/package.json +3 -3
|
@@ -24,6 +24,20 @@ export interface Activity {
|
|
|
24
24
|
'times': ActivityTimes;
|
|
25
25
|
'template': ActivityTemplate;
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* An activity someone is notified about.
|
|
29
|
+
*/
|
|
30
|
+
export interface ActivityNotification {
|
|
31
|
+
'topic': ActivityTopic;
|
|
32
|
+
/**
|
|
33
|
+
* What happened. Only `mentioned` is supported at the time of writing.
|
|
34
|
+
*/
|
|
35
|
+
'activityType': string;
|
|
36
|
+
/**
|
|
37
|
+
* The app the activity happened in, as an id the server knows.
|
|
38
|
+
*/
|
|
39
|
+
'teamsAppId': string;
|
|
40
|
+
}
|
|
27
41
|
export interface ActivityTemplate {
|
|
28
42
|
/**
|
|
29
43
|
* Activity description.
|
|
@@ -40,6 +54,19 @@ export interface ActivityTimes {
|
|
|
40
54
|
*/
|
|
41
55
|
'recordedTime': string;
|
|
42
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* What an activity happened on.
|
|
59
|
+
*/
|
|
60
|
+
export interface ActivityTopic {
|
|
61
|
+
/**
|
|
62
|
+
* How to read the value. Only `text` is supported at the time of writing. built from it.
|
|
63
|
+
*/
|
|
64
|
+
'source': string;
|
|
65
|
+
/**
|
|
66
|
+
* With the source `text`, the id of the resource the activity happened on.
|
|
67
|
+
*/
|
|
68
|
+
'value': string;
|
|
69
|
+
}
|
|
43
70
|
export interface AppRole {
|
|
44
71
|
/**
|
|
45
72
|
* Specifies whether this app role can be assigned to users and groups (by setting to [\'User\']), to other application\'s (by setting to [\'Application\'], or both (by setting to [\'User\', \'Application\']). App roles supporting assignment to other applications\' service principals are also known as application permissions. The \'Application\' value is only supported for app roles defined on application entities.
|
|
@@ -323,6 +350,10 @@ export interface Drive {
|
|
|
323
350
|
* Indicates whether the drive has items in the trash. Read-only.
|
|
324
351
|
*/
|
|
325
352
|
'@libre.graph.hasTrashedItems'?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* Specifier for the web client that a drive is of a certain content type that could potentially be opened by a specific web app. Example: `application/vnd.opencloud.vault`, indicating the drive can be opened by the rclone-crypt web app.
|
|
355
|
+
*/
|
|
356
|
+
'@libre.graph.contentType'?: string;
|
|
326
357
|
}
|
|
327
358
|
/**
|
|
328
359
|
* Represents a resource inside a drive. Read-only.
|
|
@@ -404,6 +435,7 @@ export interface DriveItem {
|
|
|
404
435
|
'audio'?: Audio;
|
|
405
436
|
'video'?: Video;
|
|
406
437
|
'@libre.graph.motionPhoto'?: MotionPhoto;
|
|
438
|
+
'@libre.graph.livePhoto'?: LivePhoto;
|
|
407
439
|
/**
|
|
408
440
|
* Indicates if the item is synchronized with the underlying storage provider. Read-only.
|
|
409
441
|
*/
|
|
@@ -416,6 +448,18 @@ export interface DriveItem {
|
|
|
416
448
|
* Properties or facets (see UI.Facet) annotated with this term will not be rendered if the annotation evaluates to true. Users can set this to hide permissions.
|
|
417
449
|
*/
|
|
418
450
|
'@UI.Hidden'?: boolean;
|
|
451
|
+
/**
|
|
452
|
+
* Indicates whether the current user is following this DriveItem. Read-only. Use the FollowDriveItem and UnfollowDriveItem operations to change the following state.
|
|
453
|
+
*/
|
|
454
|
+
'@libre.graph.me.following'?: boolean;
|
|
455
|
+
/**
|
|
456
|
+
* The list of tags assigned to this DriveItem. Read-only. Use the AssignTags and UnassignTags operations to modify tags.
|
|
457
|
+
*/
|
|
458
|
+
'@libre.graph.tags'?: Array<string>;
|
|
459
|
+
/**
|
|
460
|
+
* 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.
|
|
461
|
+
*/
|
|
462
|
+
'@libre.graph.permissions.actions.allowedValues'?: Array<string>;
|
|
419
463
|
}
|
|
420
464
|
export interface DriveItemCreateLink {
|
|
421
465
|
'type'?: SharingLinkType;
|
|
@@ -525,6 +569,10 @@ export interface DriveUpdate {
|
|
|
525
569
|
* Indicates whether the drive has items in the trash. Read-only.
|
|
526
570
|
*/
|
|
527
571
|
'@libre.graph.hasTrashedItems'?: boolean;
|
|
572
|
+
/**
|
|
573
|
+
* Specifier for the web client that a drive is of a certain content type that could potentially be opened by a specific web app. Example: `application/vnd.opencloud.vault`, indicating the drive can be opened by the rclone-crypt web app.
|
|
574
|
+
*/
|
|
575
|
+
'@libre.graph.contentType'?: string;
|
|
528
576
|
}
|
|
529
577
|
/**
|
|
530
578
|
* And extension of group representing a class or course
|
|
@@ -888,6 +936,31 @@ export interface ItemReference {
|
|
|
888
936
|
*/
|
|
889
937
|
'path'?: string;
|
|
890
938
|
}
|
|
939
|
+
/**
|
|
940
|
+
* Apple Live Photo metadata. A Live Photo is a pair of files sharing one content identifier: a still image (HEIC or JPEG) and a short QuickTime video. Unlike a Motion Photo, the two parts are separate driveItems. The presence of this facet indicates the item was captured as part of a Live Photo; the counterpart is the driveItem whose livePhoto facet carries the same contentId. Whether an item is the still image or the video half follows from its photo/video facets and MIME type. There is no public file format specification; the metadata keys are documented as AVFoundation metadata identifiers: https://developer.apple.com/documentation/avfoundation/avmetadataidentifier On the still image they are stored in the Apple maker note, on the video as com.apple.quicktime.* QuickTime metadata keys.
|
|
941
|
+
*/
|
|
942
|
+
export interface LivePhoto {
|
|
943
|
+
/**
|
|
944
|
+
* Identifier (UUID) shared by the still image and the paired video of one Live Photo. Read-only.
|
|
945
|
+
*/
|
|
946
|
+
'contentId': string;
|
|
947
|
+
/**
|
|
948
|
+
* Time in microseconds within the paired video at which the still image was captured. The value comes from the video file only: it is the presentation time of the com.apple.quicktime.still-image-time timed metadata sample in the QuickTime movie, so it is only present on the video half. The still image carries no reliable equivalent (the Apple maker note tag 0x0017, historically documented as a derivable video index, does not encode a usable time on current iOS versions). If absent, readers should use a timestamp near the middle of the video track. Read-only.
|
|
949
|
+
*/
|
|
950
|
+
'stillImageTimeUs'?: number;
|
|
951
|
+
/**
|
|
952
|
+
* True if the device decided automatically whether to capture the Live Photo video (com.apple.quicktime.live-photo.auto). Only present on the video half. Read-only.
|
|
953
|
+
*/
|
|
954
|
+
'auto'?: boolean;
|
|
955
|
+
/**
|
|
956
|
+
* Score between 0 and 1 rating how interesting the motion clip is, used by readers to decide whether to autoplay it (com.apple.quicktime.live-photo.vitality-score). Only present on the video half. Read-only.
|
|
957
|
+
*/
|
|
958
|
+
'vitalityScore'?: number;
|
|
959
|
+
/**
|
|
960
|
+
* Version of the algorithm that produced vitalityScore (com.apple.quicktime.live-photo.vitality-scoring-version). Only present on the video half. Read-only.
|
|
961
|
+
*/
|
|
962
|
+
'vitalityScoringVersion'?: number;
|
|
963
|
+
}
|
|
891
964
|
export interface MemberReference {
|
|
892
965
|
'@odata.id'?: string;
|
|
893
966
|
}
|
|
@@ -1607,6 +1680,18 @@ export declare class ApplicationsApi extends BaseAPI {
|
|
|
1607
1680
|
* DriveItemApi - axios parameter creator
|
|
1608
1681
|
*/
|
|
1609
1682
|
export declare const DriveItemApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1683
|
+
/**
|
|
1684
|
+
* Create a new folder or DriveItem in a Drive with the specified parent item. The parent must exist and be a folder. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). Identical request and response shape to the [drive-root variant](#/drives.root/CreateDriveItem), just with an explicit parent item id rather than the drive root. The request body must specify exactly one of `folder` (set to `{}` to create a folder) or `file` (to create a file item). Requests with none of these, or with both, return 400. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item (relative to `item-id`), and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
1685
|
+
* @summary Create a new DriveItem under a parent item
|
|
1686
|
+
* @param {string} driveId key: id of drive
|
|
1687
|
+
* @param {string} itemId key: id of item
|
|
1688
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1689
|
+
* @param {CreateChildDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
1690
|
+
* @param {CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
1691
|
+
* @param {*} [options] Override http request option.
|
|
1692
|
+
* @throws {RequiredError}
|
|
1693
|
+
*/
|
|
1694
|
+
createChildDriveItem: (driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1610
1695
|
/**
|
|
1611
1696
|
* Delete a DriveItem by using its ID. Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. Mounted shares in the share jail are unmounted. The `@client.synchronize` property of the `driveItem` in the [sharedWithMe](#/me.drive/ListSharedWithMe) endpoint will change to false.
|
|
1612
1697
|
* @summary Delete a DriveItem.
|
|
@@ -1626,6 +1711,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1626
1711
|
* @throws {RequiredError}
|
|
1627
1712
|
*/
|
|
1628
1713
|
getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1714
|
+
/**
|
|
1715
|
+
* 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.
|
|
1716
|
+
* @summary List children of a DriveItem
|
|
1717
|
+
* @param {string} driveId key: id of drive
|
|
1718
|
+
* @param {string} itemId key: id of item
|
|
1719
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1720
|
+
* @param {*} [options] Override http request option.
|
|
1721
|
+
* @throws {RequiredError}
|
|
1722
|
+
*/
|
|
1723
|
+
getDriveItemChildren: (driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1629
1724
|
/**
|
|
1630
1725
|
* Download the contents of the primary stream (file) of a driveItem. Only driveItem objects with a `file` facet can be downloaded. The response is a `302 Found` redirecting to a pre-authenticated download URL for the file. This is the same URL that is returned via the `@microsoft.graph.downloadUrl` instance annotation on the driveItem when requested via `$select`. Choose between the two based on whether you want to call the redirecting `/content` endpoint directly (for example, with a client that follows redirects automatically) or you want to inspect / schedule / prefetch the URL yourself via the annotation. The pre-authenticated URL is short-lived and does not require an `Authorization` header. To download a partial range of bytes, apply the `Range` header to the redirect target (the pre-authenticated URL), not to the `/content` request.
|
|
1631
1726
|
* @summary Download the content of a DriveItem
|
|
@@ -1635,6 +1730,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1635
1730
|
* @throws {RequiredError}
|
|
1636
1731
|
*/
|
|
1637
1732
|
getDriveItemContent: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1733
|
+
/**
|
|
1734
|
+
* 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).
|
|
1735
|
+
* @summary Get a DriveItem.
|
|
1736
|
+
* @param {string} driveId key: id of drive
|
|
1737
|
+
* @param {string} itemId key: id of item
|
|
1738
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1739
|
+
* @param {*} [options] Override http request option.
|
|
1740
|
+
* @throws {RequiredError}
|
|
1741
|
+
*/
|
|
1742
|
+
getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1638
1743
|
/**
|
|
1639
1744
|
* 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.
|
|
1640
1745
|
* @summary Update a DriveItem.
|
|
@@ -1650,6 +1755,18 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1650
1755
|
* DriveItemApi - functional programming interface
|
|
1651
1756
|
*/
|
|
1652
1757
|
export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
1758
|
+
/**
|
|
1759
|
+
* Create a new folder or DriveItem in a Drive with the specified parent item. The parent must exist and be a folder. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). Identical request and response shape to the [drive-root variant](#/drives.root/CreateDriveItem), just with an explicit parent item id rather than the drive root. The request body must specify exactly one of `folder` (set to `{}` to create a folder) or `file` (to create a file item). Requests with none of these, or with both, return 400. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item (relative to `item-id`), and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
1760
|
+
* @summary Create a new DriveItem under a parent item
|
|
1761
|
+
* @param {string} driveId key: id of drive
|
|
1762
|
+
* @param {string} itemId key: id of item
|
|
1763
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1764
|
+
* @param {CreateChildDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
1765
|
+
* @param {CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
1766
|
+
* @param {*} [options] Override http request option.
|
|
1767
|
+
* @throws {RequiredError}
|
|
1768
|
+
*/
|
|
1769
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1653
1770
|
/**
|
|
1654
1771
|
* Delete a DriveItem by using its ID. Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. Mounted shares in the share jail are unmounted. The `@client.synchronize` property of the `driveItem` in the [sharedWithMe](#/me.drive/ListSharedWithMe) endpoint will change to false.
|
|
1655
1772
|
* @summary Delete a DriveItem.
|
|
@@ -1669,6 +1786,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1669
1786
|
* @throws {RequiredError}
|
|
1670
1787
|
*/
|
|
1671
1788
|
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1789
|
+
/**
|
|
1790
|
+
* 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.
|
|
1791
|
+
* @summary List children of a DriveItem
|
|
1792
|
+
* @param {string} driveId key: id of drive
|
|
1793
|
+
* @param {string} itemId key: id of item
|
|
1794
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1795
|
+
* @param {*} [options] Override http request option.
|
|
1796
|
+
* @throws {RequiredError}
|
|
1797
|
+
*/
|
|
1798
|
+
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDriveItems>>;
|
|
1672
1799
|
/**
|
|
1673
1800
|
* Download the contents of the primary stream (file) of a driveItem. Only driveItem objects with a `file` facet can be downloaded. The response is a `302 Found` redirecting to a pre-authenticated download URL for the file. This is the same URL that is returned via the `@microsoft.graph.downloadUrl` instance annotation on the driveItem when requested via `$select`. Choose between the two based on whether you want to call the redirecting `/content` endpoint directly (for example, with a client that follows redirects automatically) or you want to inspect / schedule / prefetch the URL yourself via the annotation. The pre-authenticated URL is short-lived and does not require an `Authorization` header. To download a partial range of bytes, apply the `Range` header to the redirect target (the pre-authenticated URL), not to the `/content` request.
|
|
1674
1801
|
* @summary Download the content of a DriveItem
|
|
@@ -1678,6 +1805,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1678
1805
|
* @throws {RequiredError}
|
|
1679
1806
|
*/
|
|
1680
1807
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OdataError>>;
|
|
1808
|
+
/**
|
|
1809
|
+
* 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).
|
|
1810
|
+
* @summary Get a DriveItem.
|
|
1811
|
+
* @param {string} driveId key: id of drive
|
|
1812
|
+
* @param {string} itemId key: id of item
|
|
1813
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1814
|
+
* @param {*} [options] Override http request option.
|
|
1815
|
+
* @throws {RequiredError}
|
|
1816
|
+
*/
|
|
1817
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1681
1818
|
/**
|
|
1682
1819
|
* 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.
|
|
1683
1820
|
* @summary Update a DriveItem.
|
|
@@ -1693,6 +1830,18 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1693
1830
|
* DriveItemApi - factory interface
|
|
1694
1831
|
*/
|
|
1695
1832
|
export declare const DriveItemApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1833
|
+
/**
|
|
1834
|
+
* Create a new folder or DriveItem in a Drive with the specified parent item. The parent must exist and be a folder. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). Identical request and response shape to the [drive-root variant](#/drives.root/CreateDriveItem), just with an explicit parent item id rather than the drive root. The request body must specify exactly one of `folder` (set to `{}` to create a folder) or `file` (to create a file item). Requests with none of these, or with both, return 400. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item (relative to `item-id`), and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
1835
|
+
* @summary Create a new DriveItem under a parent item
|
|
1836
|
+
* @param {string} driveId key: id of drive
|
|
1837
|
+
* @param {string} itemId key: id of item
|
|
1838
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1839
|
+
* @param {CreateChildDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
1840
|
+
* @param {CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
1841
|
+
* @param {*} [options] Override http request option.
|
|
1842
|
+
* @throws {RequiredError}
|
|
1843
|
+
*/
|
|
1844
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1696
1845
|
/**
|
|
1697
1846
|
* Delete a DriveItem by using its ID. Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. Mounted shares in the share jail are unmounted. The `@client.synchronize` property of the `driveItem` in the [sharedWithMe](#/me.drive/ListSharedWithMe) endpoint will change to false.
|
|
1698
1847
|
* @summary Delete a DriveItem.
|
|
@@ -1712,6 +1861,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1712
1861
|
* @throws {RequiredError}
|
|
1713
1862
|
*/
|
|
1714
1863
|
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1864
|
+
/**
|
|
1865
|
+
* 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.
|
|
1866
|
+
* @summary List children of a DriveItem
|
|
1867
|
+
* @param {string} driveId key: id of drive
|
|
1868
|
+
* @param {string} itemId key: id of item
|
|
1869
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1870
|
+
* @param {*} [options] Override http request option.
|
|
1871
|
+
* @throws {RequiredError}
|
|
1872
|
+
*/
|
|
1873
|
+
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDriveItems>;
|
|
1715
1874
|
/**
|
|
1716
1875
|
* Download the contents of the primary stream (file) of a driveItem. Only driveItem objects with a `file` facet can be downloaded. The response is a `302 Found` redirecting to a pre-authenticated download URL for the file. This is the same URL that is returned via the `@microsoft.graph.downloadUrl` instance annotation on the driveItem when requested via `$select`. Choose between the two based on whether you want to call the redirecting `/content` endpoint directly (for example, with a client that follows redirects automatically) or you want to inspect / schedule / prefetch the URL yourself via the annotation. The pre-authenticated URL is short-lived and does not require an `Authorization` header. To download a partial range of bytes, apply the `Range` header to the redirect target (the pre-authenticated URL), not to the `/content` request.
|
|
1717
1876
|
* @summary Download the content of a DriveItem
|
|
@@ -1721,6 +1880,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1721
1880
|
* @throws {RequiredError}
|
|
1722
1881
|
*/
|
|
1723
1882
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<OdataError>;
|
|
1883
|
+
/**
|
|
1884
|
+
* 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).
|
|
1885
|
+
* @summary Get a DriveItem.
|
|
1886
|
+
* @param {string} driveId key: id of drive
|
|
1887
|
+
* @param {string} itemId key: id of item
|
|
1888
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1889
|
+
* @param {*} [options] Override http request option.
|
|
1890
|
+
* @throws {RequiredError}
|
|
1891
|
+
*/
|
|
1892
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1724
1893
|
/**
|
|
1725
1894
|
* 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.
|
|
1726
1895
|
* @summary Update a DriveItem.
|
|
@@ -1736,6 +1905,18 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1736
1905
|
* DriveItemApi - object-oriented interface
|
|
1737
1906
|
*/
|
|
1738
1907
|
export declare class DriveItemApi extends BaseAPI {
|
|
1908
|
+
/**
|
|
1909
|
+
* Create a new folder or DriveItem in a Drive with the specified parent item. The parent must exist and be a folder. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). Identical request and response shape to the [drive-root variant](#/drives.root/CreateDriveItem), just with an explicit parent item id rather than the drive root. The request body must specify exactly one of `folder` (set to `{}` to create a folder) or `file` (to create a file item). Requests with none of these, or with both, return 400. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item (relative to `item-id`), and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
1910
|
+
* @summary Create a new DriveItem under a parent item
|
|
1911
|
+
* @param {string} driveId key: id of drive
|
|
1912
|
+
* @param {string} itemId key: id of item
|
|
1913
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1914
|
+
* @param {CreateChildDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
1915
|
+
* @param {CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
1916
|
+
* @param {*} [options] Override http request option.
|
|
1917
|
+
* @throws {RequiredError}
|
|
1918
|
+
*/
|
|
1919
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
1739
1920
|
/**
|
|
1740
1921
|
* Delete a DriveItem by using its ID. Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. Mounted shares in the share jail are unmounted. The `@client.synchronize` property of the `driveItem` in the [sharedWithMe](#/me.drive/ListSharedWithMe) endpoint will change to false.
|
|
1741
1922
|
* @summary Delete a DriveItem.
|
|
@@ -1755,6 +1936,16 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1755
1936
|
* @throws {RequiredError}
|
|
1756
1937
|
*/
|
|
1757
1938
|
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
1939
|
+
/**
|
|
1940
|
+
* 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.
|
|
1941
|
+
* @summary List children of a DriveItem
|
|
1942
|
+
* @param {string} driveId key: id of drive
|
|
1943
|
+
* @param {string} itemId key: id of item
|
|
1944
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1945
|
+
* @param {*} [options] Override http request option.
|
|
1946
|
+
* @throws {RequiredError}
|
|
1947
|
+
*/
|
|
1948
|
+
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}>>;
|
|
1758
1949
|
/**
|
|
1759
1950
|
* Download the contents of the primary stream (file) of a driveItem. Only driveItem objects with a `file` facet can be downloaded. The response is a `302 Found` redirecting to a pre-authenticated download URL for the file. This is the same URL that is returned via the `@microsoft.graph.downloadUrl` instance annotation on the driveItem when requested via `$select`. Choose between the two based on whether you want to call the redirecting `/content` endpoint directly (for example, with a client that follows redirects automatically) or you want to inspect / schedule / prefetch the URL yourself via the annotation. The pre-authenticated URL is short-lived and does not require an `Authorization` header. To download a partial range of bytes, apply the `Range` header to the redirect target (the pre-authenticated URL), not to the `/content` request.
|
|
1760
1951
|
* @summary Download the content of a DriveItem
|
|
@@ -1764,6 +1955,16 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1764
1955
|
* @throws {RequiredError}
|
|
1765
1956
|
*/
|
|
1766
1957
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OdataError, any, {}>>;
|
|
1958
|
+
/**
|
|
1959
|
+
* 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).
|
|
1960
|
+
* @summary Get a DriveItem.
|
|
1961
|
+
* @param {string} driveId key: id of drive
|
|
1962
|
+
* @param {string} itemId key: id of item
|
|
1963
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1964
|
+
* @param {*} [options] Override http request option.
|
|
1965
|
+
* @throws {RequiredError}
|
|
1966
|
+
*/
|
|
1967
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
1767
1968
|
/**
|
|
1768
1969
|
* 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.
|
|
1769
1970
|
* @summary Update a DriveItem.
|
|
@@ -1775,10 +1976,31 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1775
1976
|
*/
|
|
1776
1977
|
updateDriveItem(driveId: string, itemId: string, driveItem: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
1777
1978
|
}
|
|
1979
|
+
export declare const CreateChildDriveItemLibreGraphConflictBehaviorEnum: {
|
|
1980
|
+
readonly Fail: "fail";
|
|
1981
|
+
readonly Replace: "replace";
|
|
1982
|
+
};
|
|
1983
|
+
export type CreateChildDriveItemLibreGraphConflictBehaviorEnum = typeof CreateChildDriveItemLibreGraphConflictBehaviorEnum[keyof typeof CreateChildDriveItemLibreGraphConflictBehaviorEnum];
|
|
1984
|
+
export declare const CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum: {
|
|
1985
|
+
readonly Fail: "fail";
|
|
1986
|
+
readonly Create: "create";
|
|
1987
|
+
};
|
|
1988
|
+
export type CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum = typeof CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum[keyof typeof CreateChildDriveItemLibreGraphMissingParentsBehaviorEnum];
|
|
1778
1989
|
export declare const GetDriveItemSelectEnum: {
|
|
1779
1990
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
1991
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
1780
1992
|
};
|
|
1781
1993
|
export type GetDriveItemSelectEnum = typeof GetDriveItemSelectEnum[keyof typeof GetDriveItemSelectEnum];
|
|
1994
|
+
export declare const GetDriveItemChildrenSelectEnum: {
|
|
1995
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
1996
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
1997
|
+
};
|
|
1998
|
+
export type GetDriveItemChildrenSelectEnum = typeof GetDriveItemChildrenSelectEnum[keyof typeof GetDriveItemChildrenSelectEnum];
|
|
1999
|
+
export declare const GetDriveItemV1SelectEnum: {
|
|
2000
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2001
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2002
|
+
};
|
|
2003
|
+
export type GetDriveItemV1SelectEnum = typeof GetDriveItemV1SelectEnum[keyof typeof GetDriveItemV1SelectEnum];
|
|
1782
2004
|
/**
|
|
1783
2005
|
* DrivesApi - axios parameter creator
|
|
1784
2006
|
*/
|
|
@@ -2378,14 +2600,16 @@ export type ListPermissionsSelectEnum = typeof ListPermissionsSelectEnum[keyof t
|
|
|
2378
2600
|
*/
|
|
2379
2601
|
export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2380
2602
|
/**
|
|
2381
|
-
*
|
|
2382
|
-
* @summary Create a drive
|
|
2603
|
+
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2604
|
+
* @summary Create a new DriveItem at the drive root
|
|
2383
2605
|
* @param {string} driveId key: id of drive
|
|
2384
|
-
* @param {
|
|
2606
|
+
* @param {CreateDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
2607
|
+
* @param {CreateDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
2608
|
+
* @param {DriveItem} [driveItem] In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder`, `file`, or `remoteItem`. For mount-share, see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id` and `permission` id.
|
|
2385
2609
|
* @param {*} [options] Override http request option.
|
|
2386
2610
|
* @throws {RequiredError}
|
|
2387
2611
|
*/
|
|
2388
|
-
createDriveItem: (driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2612
|
+
createDriveItem: (driveId: string, libreGraphConflictBehavior?: CreateDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2389
2613
|
/**
|
|
2390
2614
|
* You can use the createLink action to share a driveItem via a sharing link. The response will be a permission object with the link facet containing the created link details. ## Link types For now, The following values are allowed for the type parameter. | Value | Display name | Description | | -------------- | ----------------- | --------------------------------------------------------------- | | view | View | Creates a read-only link to the driveItem. | | upload | Upload | Creates a read-write link to the folder driveItem. | | edit | Edit | Creates a read-write link to the driveItem. | | createOnly | File Drop | Creates an upload-only link to the folder driveItem. | | blocksDownload | Secure View | Creates a read-only link that blocks download to the driveItem. |
|
|
2391
2615
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2417,10 +2641,11 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2417
2641
|
*
|
|
2418
2642
|
* @summary Get root from arbitrary space
|
|
2419
2643
|
* @param {string} driveId key: id of drive
|
|
2644
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2420
2645
|
* @param {*} [options] Override http request option.
|
|
2421
2646
|
* @throws {RequiredError}
|
|
2422
2647
|
*/
|
|
2423
|
-
getRoot: (driveId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2648
|
+
getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2424
2649
|
/**
|
|
2425
2650
|
* 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.
|
|
2426
2651
|
* @summary Send a sharing invitation
|
|
@@ -2468,14 +2693,16 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2468
2693
|
*/
|
|
2469
2694
|
export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
2470
2695
|
/**
|
|
2471
|
-
*
|
|
2472
|
-
* @summary Create a drive
|
|
2696
|
+
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2697
|
+
* @summary Create a new DriveItem at the drive root
|
|
2473
2698
|
* @param {string} driveId key: id of drive
|
|
2474
|
-
* @param {
|
|
2699
|
+
* @param {CreateDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
2700
|
+
* @param {CreateDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
2701
|
+
* @param {DriveItem} [driveItem] In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder`, `file`, or `remoteItem`. For mount-share, see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id` and `permission` id.
|
|
2475
2702
|
* @param {*} [options] Override http request option.
|
|
2476
2703
|
* @throws {RequiredError}
|
|
2477
2704
|
*/
|
|
2478
|
-
createDriveItem(driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2705
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2479
2706
|
/**
|
|
2480
2707
|
* You can use the createLink action to share a driveItem via a sharing link. The response will be a permission object with the link facet containing the created link details. ## Link types For now, The following values are allowed for the type parameter. | Value | Display name | Description | | -------------- | ----------------- | --------------------------------------------------------------- | | view | View | Creates a read-only link to the driveItem. | | upload | Upload | Creates a read-write link to the folder driveItem. | | edit | Edit | Creates a read-write link to the driveItem. | | createOnly | File Drop | Creates an upload-only link to the folder driveItem. | | blocksDownload | Secure View | Creates a read-only link that blocks download to the driveItem. |
|
|
2481
2708
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2507,10 +2734,11 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
|
2507
2734
|
*
|
|
2508
2735
|
* @summary Get root from arbitrary space
|
|
2509
2736
|
* @param {string} driveId key: id of drive
|
|
2737
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2510
2738
|
* @param {*} [options] Override http request option.
|
|
2511
2739
|
* @throws {RequiredError}
|
|
2512
2740
|
*/
|
|
2513
|
-
getRoot(driveId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2741
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2514
2742
|
/**
|
|
2515
2743
|
* 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.
|
|
2516
2744
|
* @summary Send a sharing invitation
|
|
@@ -2558,14 +2786,16 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
|
2558
2786
|
*/
|
|
2559
2787
|
export declare const DrivesRootApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2560
2788
|
/**
|
|
2561
|
-
*
|
|
2562
|
-
* @summary Create a drive
|
|
2789
|
+
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2790
|
+
* @summary Create a new DriveItem at the drive root
|
|
2563
2791
|
* @param {string} driveId key: id of drive
|
|
2564
|
-
* @param {
|
|
2792
|
+
* @param {CreateDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
2793
|
+
* @param {CreateDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
2794
|
+
* @param {DriveItem} [driveItem] In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder`, `file`, or `remoteItem`. For mount-share, see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id` and `permission` id.
|
|
2565
2795
|
* @param {*} [options] Override http request option.
|
|
2566
2796
|
* @throws {RequiredError}
|
|
2567
2797
|
*/
|
|
2568
|
-
createDriveItem(driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2798
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2569
2799
|
/**
|
|
2570
2800
|
* You can use the createLink action to share a driveItem via a sharing link. The response will be a permission object with the link facet containing the created link details. ## Link types For now, The following values are allowed for the type parameter. | Value | Display name | Description | | -------------- | ----------------- | --------------------------------------------------------------- | | view | View | Creates a read-only link to the driveItem. | | upload | Upload | Creates a read-write link to the folder driveItem. | | edit | Edit | Creates a read-write link to the driveItem. | | createOnly | File Drop | Creates an upload-only link to the folder driveItem. | | blocksDownload | Secure View | Creates a read-only link that blocks download to the driveItem. |
|
|
2571
2801
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2597,10 +2827,11 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
|
|
|
2597
2827
|
*
|
|
2598
2828
|
* @summary Get root from arbitrary space
|
|
2599
2829
|
* @param {string} driveId key: id of drive
|
|
2830
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2600
2831
|
* @param {*} [options] Override http request option.
|
|
2601
2832
|
* @throws {RequiredError}
|
|
2602
2833
|
*/
|
|
2603
|
-
getRoot(driveId: string, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2834
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2604
2835
|
/**
|
|
2605
2836
|
* 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.
|
|
2606
2837
|
* @summary Send a sharing invitation
|
|
@@ -2648,14 +2879,16 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
|
|
|
2648
2879
|
*/
|
|
2649
2880
|
export declare class DrivesRootApi extends BaseAPI {
|
|
2650
2881
|
/**
|
|
2651
|
-
*
|
|
2652
|
-
* @summary Create a drive
|
|
2882
|
+
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2883
|
+
* @summary Create a new DriveItem at the drive root
|
|
2653
2884
|
* @param {string} driveId key: id of drive
|
|
2654
|
-
* @param {
|
|
2885
|
+
* @param {CreateDriveItemLibreGraphConflictBehaviorEnum} [libreGraphConflictBehavior] Controls what happens when a child with the same name already exists. `fail` (default) returns 409; `replace` overwrites the existing item. MS Graph\'s `rename` value is not supported.
|
|
2886
|
+
* @param {CreateDriveItemLibreGraphMissingParentsBehaviorEnum} [libreGraphMissingParentsBehavior] Controls what happens when a colon-syntax URL refers to a path whose intermediate folders don\'t all exist yet. `fail` (default) returns 404; `create` creates the missing intermediate folders before creating the final item. Only meaningful for colon-syntax URLs; ignored otherwise.
|
|
2887
|
+
* @param {DriveItem} [driveItem] In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder`, `file`, or `remoteItem`. For mount-share, see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id` and `permission` id.
|
|
2655
2888
|
* @param {*} [options] Override http request option.
|
|
2656
2889
|
* @throws {RequiredError}
|
|
2657
2890
|
*/
|
|
2658
|
-
createDriveItem(driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2891
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2659
2892
|
/**
|
|
2660
2893
|
* You can use the createLink action to share a driveItem via a sharing link. The response will be a permission object with the link facet containing the created link details. ## Link types For now, The following values are allowed for the type parameter. | Value | Display name | Description | | -------------- | ----------------- | --------------------------------------------------------------- | | view | View | Creates a read-only link to the driveItem. | | upload | Upload | Creates a read-write link to the folder driveItem. | | edit | Edit | Creates a read-write link to the driveItem. | | createOnly | File Drop | Creates an upload-only link to the folder driveItem. | | blocksDownload | Secure View | Creates a read-only link that blocks download to the driveItem. |
|
|
2661
2894
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2687,10 +2920,11 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2687
2920
|
*
|
|
2688
2921
|
* @summary Get root from arbitrary space
|
|
2689
2922
|
* @param {string} driveId key: id of drive
|
|
2923
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2690
2924
|
* @param {*} [options] Override http request option.
|
|
2691
2925
|
* @throws {RequiredError}
|
|
2692
2926
|
*/
|
|
2693
|
-
getRoot(driveId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2927
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2694
2928
|
/**
|
|
2695
2929
|
* 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.
|
|
2696
2930
|
* @summary Send a sharing invitation
|
|
@@ -2733,6 +2967,21 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2733
2967
|
*/
|
|
2734
2968
|
updatePermissionSpaceRoot(driveId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2735
2969
|
}
|
|
2970
|
+
export declare const CreateDriveItemLibreGraphConflictBehaviorEnum: {
|
|
2971
|
+
readonly Fail: "fail";
|
|
2972
|
+
readonly Replace: "replace";
|
|
2973
|
+
};
|
|
2974
|
+
export type CreateDriveItemLibreGraphConflictBehaviorEnum = typeof CreateDriveItemLibreGraphConflictBehaviorEnum[keyof typeof CreateDriveItemLibreGraphConflictBehaviorEnum];
|
|
2975
|
+
export declare const CreateDriveItemLibreGraphMissingParentsBehaviorEnum: {
|
|
2976
|
+
readonly Fail: "fail";
|
|
2977
|
+
readonly Create: "create";
|
|
2978
|
+
};
|
|
2979
|
+
export type CreateDriveItemLibreGraphMissingParentsBehaviorEnum = typeof CreateDriveItemLibreGraphMissingParentsBehaviorEnum[keyof typeof CreateDriveItemLibreGraphMissingParentsBehaviorEnum];
|
|
2980
|
+
export declare const GetRootSelectEnum: {
|
|
2981
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2982
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2983
|
+
};
|
|
2984
|
+
export type GetRootSelectEnum = typeof GetRootSelectEnum[keyof typeof GetRootSelectEnum];
|
|
2736
2985
|
export declare const ListPermissionsSpaceRootSelectEnum: {
|
|
2737
2986
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2738
2987
|
readonly LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues";
|
|
@@ -4471,10 +4720,11 @@ export declare const MeDriveRootApiAxiosParamCreator: (configuration?: Configura
|
|
|
4471
4720
|
/**
|
|
4472
4721
|
*
|
|
4473
4722
|
* @summary Get root from personal space
|
|
4723
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4474
4724
|
* @param {*} [options] Override http request option.
|
|
4475
4725
|
* @throws {RequiredError}
|
|
4476
4726
|
*/
|
|
4477
|
-
homeGetRoot: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4727
|
+
homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4478
4728
|
};
|
|
4479
4729
|
/**
|
|
4480
4730
|
* MeDriveRootApi - functional programming interface
|
|
@@ -4483,10 +4733,11 @@ export declare const MeDriveRootApiFp: (configuration?: Configuration) => {
|
|
|
4483
4733
|
/**
|
|
4484
4734
|
*
|
|
4485
4735
|
* @summary Get root from personal space
|
|
4736
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4486
4737
|
* @param {*} [options] Override http request option.
|
|
4487
4738
|
* @throws {RequiredError}
|
|
4488
4739
|
*/
|
|
4489
|
-
homeGetRoot(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4740
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4490
4741
|
};
|
|
4491
4742
|
/**
|
|
4492
4743
|
* MeDriveRootApi - factory interface
|
|
@@ -4495,10 +4746,11 @@ export declare const MeDriveRootApiFactory: (configuration?: Configuration, base
|
|
|
4495
4746
|
/**
|
|
4496
4747
|
*
|
|
4497
4748
|
* @summary Get root from personal space
|
|
4749
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4498
4750
|
* @param {*} [options] Override http request option.
|
|
4499
4751
|
* @throws {RequiredError}
|
|
4500
4752
|
*/
|
|
4501
|
-
homeGetRoot(options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4753
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4502
4754
|
};
|
|
4503
4755
|
/**
|
|
4504
4756
|
* MeDriveRootApi - object-oriented interface
|
|
@@ -4507,11 +4759,17 @@ export declare class MeDriveRootApi extends BaseAPI {
|
|
|
4507
4759
|
/**
|
|
4508
4760
|
*
|
|
4509
4761
|
* @summary Get root from personal space
|
|
4762
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4510
4763
|
* @param {*} [options] Override http request option.
|
|
4511
4764
|
* @throws {RequiredError}
|
|
4512
4765
|
*/
|
|
4513
|
-
homeGetRoot(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
4766
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
4514
4767
|
}
|
|
4768
|
+
export declare const HomeGetRootSelectEnum: {
|
|
4769
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4770
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4771
|
+
};
|
|
4772
|
+
export type HomeGetRootSelectEnum = typeof HomeGetRootSelectEnum[keyof typeof HomeGetRootSelectEnum];
|
|
4515
4773
|
/**
|
|
4516
4774
|
* MeDriveRootChildrenApi - axios parameter creator
|
|
4517
4775
|
*/
|
|
@@ -4519,10 +4777,11 @@ export declare const MeDriveRootChildrenApiAxiosParamCreator: (configuration?: C
|
|
|
4519
4777
|
/**
|
|
4520
4778
|
*
|
|
4521
4779
|
* @summary Get children from drive
|
|
4780
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4522
4781
|
* @param {*} [options] Override http request option.
|
|
4523
4782
|
* @throws {RequiredError}
|
|
4524
4783
|
*/
|
|
4525
|
-
homeGetChildren: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4784
|
+
homeGetChildren: ($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4526
4785
|
};
|
|
4527
4786
|
/**
|
|
4528
4787
|
* MeDriveRootChildrenApi - functional programming interface
|
|
@@ -4531,10 +4790,11 @@ export declare const MeDriveRootChildrenApiFp: (configuration?: Configuration) =
|
|
|
4531
4790
|
/**
|
|
4532
4791
|
*
|
|
4533
4792
|
* @summary Get children from drive
|
|
4793
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4534
4794
|
* @param {*} [options] Override http request option.
|
|
4535
4795
|
* @throws {RequiredError}
|
|
4536
4796
|
*/
|
|
4537
|
-
homeGetChildren(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDriveItems>>;
|
|
4797
|
+
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDriveItems>>;
|
|
4538
4798
|
};
|
|
4539
4799
|
/**
|
|
4540
4800
|
* MeDriveRootChildrenApi - factory interface
|
|
@@ -4543,10 +4803,11 @@ export declare const MeDriveRootChildrenApiFactory: (configuration?: Configurati
|
|
|
4543
4803
|
/**
|
|
4544
4804
|
*
|
|
4545
4805
|
* @summary Get children from drive
|
|
4806
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4546
4807
|
* @param {*} [options] Override http request option.
|
|
4547
4808
|
* @throws {RequiredError}
|
|
4548
4809
|
*/
|
|
4549
|
-
homeGetChildren(options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDriveItems>;
|
|
4810
|
+
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDriveItems>;
|
|
4550
4811
|
};
|
|
4551
4812
|
/**
|
|
4552
4813
|
* MeDriveRootChildrenApi - object-oriented interface
|
|
@@ -4555,11 +4816,17 @@ export declare class MeDriveRootChildrenApi extends BaseAPI {
|
|
|
4555
4816
|
/**
|
|
4556
4817
|
*
|
|
4557
4818
|
* @summary Get children from drive
|
|
4819
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4558
4820
|
* @param {*} [options] Override http request option.
|
|
4559
4821
|
* @throws {RequiredError}
|
|
4560
4822
|
*/
|
|
4561
|
-
homeGetChildren(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}>>;
|
|
4823
|
+
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}>>;
|
|
4562
4824
|
}
|
|
4825
|
+
export declare const HomeGetChildrenSelectEnum: {
|
|
4826
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4827
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4828
|
+
};
|
|
4829
|
+
export type HomeGetChildrenSelectEnum = typeof HomeGetChildrenSelectEnum[keyof typeof HomeGetChildrenSelectEnum];
|
|
4563
4830
|
/**
|
|
4564
4831
|
* MeDrivesApi - axios parameter creator
|
|
4565
4832
|
*/
|
|
@@ -5450,6 +5717,62 @@ export declare class UserPhotoApi extends BaseAPI {
|
|
|
5450
5717
|
*/
|
|
5451
5718
|
getUserPhoto(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
5452
5719
|
}
|
|
5720
|
+
/**
|
|
5721
|
+
* UserTeamworkApi - axios parameter creator
|
|
5722
|
+
*/
|
|
5723
|
+
export declare const UserTeamworkApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5724
|
+
/**
|
|
5725
|
+
* Sends a notification about an activity to a user. The sender is the caller, the recipient is the user in the path, `activityType` says what happened and `topic` says what it happened on.
|
|
5726
|
+
* @summary Send an activity notification to a user
|
|
5727
|
+
* @param {string} userId key: id or name of user
|
|
5728
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5729
|
+
* @param {*} [options] Override http request option.
|
|
5730
|
+
* @throws {RequiredError}
|
|
5731
|
+
*/
|
|
5732
|
+
sendActivityNotification: (userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5733
|
+
};
|
|
5734
|
+
/**
|
|
5735
|
+
* UserTeamworkApi - functional programming interface
|
|
5736
|
+
*/
|
|
5737
|
+
export declare const UserTeamworkApiFp: (configuration?: Configuration) => {
|
|
5738
|
+
/**
|
|
5739
|
+
* Sends a notification about an activity to a user. The sender is the caller, the recipient is the user in the path, `activityType` says what happened and `topic` says what it happened on.
|
|
5740
|
+
* @summary Send an activity notification to a user
|
|
5741
|
+
* @param {string} userId key: id or name of user
|
|
5742
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5743
|
+
* @param {*} [options] Override http request option.
|
|
5744
|
+
* @throws {RequiredError}
|
|
5745
|
+
*/
|
|
5746
|
+
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5747
|
+
};
|
|
5748
|
+
/**
|
|
5749
|
+
* UserTeamworkApi - factory interface
|
|
5750
|
+
*/
|
|
5751
|
+
export declare const UserTeamworkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5752
|
+
/**
|
|
5753
|
+
* Sends a notification about an activity to a user. The sender is the caller, the recipient is the user in the path, `activityType` says what happened and `topic` says what it happened on.
|
|
5754
|
+
* @summary Send an activity notification to a user
|
|
5755
|
+
* @param {string} userId key: id or name of user
|
|
5756
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5757
|
+
* @param {*} [options] Override http request option.
|
|
5758
|
+
* @throws {RequiredError}
|
|
5759
|
+
*/
|
|
5760
|
+
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
5761
|
+
};
|
|
5762
|
+
/**
|
|
5763
|
+
* UserTeamworkApi - object-oriented interface
|
|
5764
|
+
*/
|
|
5765
|
+
export declare class UserTeamworkApi extends BaseAPI {
|
|
5766
|
+
/**
|
|
5767
|
+
* Sends a notification about an activity to a user. The sender is the caller, the recipient is the user in the path, `activityType` says what happened and `topic` says what it happened on.
|
|
5768
|
+
* @summary Send an activity notification to a user
|
|
5769
|
+
* @param {string} userId key: id or name of user
|
|
5770
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5771
|
+
* @param {*} [options] Override http request option.
|
|
5772
|
+
* @throws {RequiredError}
|
|
5773
|
+
*/
|
|
5774
|
+
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5775
|
+
}
|
|
5453
5776
|
/**
|
|
5454
5777
|
* UsersApi - axios parameter creator
|
|
5455
5778
|
*/
|