@opencloud-eu/web-client 7.3.0 → 8.0.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-ULsDSF3p.js} +842 -626
- package/dist/dist-WdVfmT0d.js +4 -0
- package/dist/{generated-FCm3SbzB.js → generated-CkfYRFme.js} +395 -239
- package/dist/{graph-CppzmKYd.js → graph-D3q1149Y.js} +101 -97
- package/dist/{helpers-MRfkPTnV.js → helpers-C_9em2wB.js} +236 -224
- package/dist/{ocs-gQyxMolJ.js → ocs-CGD-4vGl.js} +1454 -563
- package/dist/ox-D1FgExd1.js +3849 -0
- package/dist/src/graph/generated/api.d.ts +461 -122
- package/dist/src/graph/users/types.d.ts +2 -1
- package/dist/src/helpers/resource/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 +17 -1
- 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-DfgrQ1mh.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/ox.js +1 -1
- package/dist/web-client/sse.js +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.js +6 -6
- package/dist/{webdav-BMoGCm4T.js → webdav-BxsiETq0.js} +997 -963
- package/package.json +4 -4
- package/dist/dist-CeGfU4rJ.js +0 -810
- package/dist/ox-DIaYdpxw.js +0 -3045
|
@@ -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.
|
|
@@ -368,6 +399,7 @@ export interface DriveItem {
|
|
|
368
399
|
*/
|
|
369
400
|
'cTag'?: string;
|
|
370
401
|
'deleted'?: Deleted;
|
|
402
|
+
'pendingOperations'?: PendingOperations;
|
|
371
403
|
'file'?: OpenGraphFile;
|
|
372
404
|
'fileSystemInfo'?: FileSystemInfo;
|
|
373
405
|
'folder'?: Folder;
|
|
@@ -404,6 +436,7 @@ export interface DriveItem {
|
|
|
404
436
|
'audio'?: Audio;
|
|
405
437
|
'video'?: Video;
|
|
406
438
|
'@libre.graph.motionPhoto'?: MotionPhoto;
|
|
439
|
+
'@libre.graph.livePhoto'?: LivePhoto;
|
|
407
440
|
/**
|
|
408
441
|
* Indicates if the item is synchronized with the underlying storage provider. Read-only.
|
|
409
442
|
*/
|
|
@@ -416,6 +449,18 @@ export interface DriveItem {
|
|
|
416
449
|
* 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
450
|
*/
|
|
418
451
|
'@UI.Hidden'?: boolean;
|
|
452
|
+
/**
|
|
453
|
+
* Indicates whether the current user is following this DriveItem. Read-only. Use the FollowDriveItem and UnfollowDriveItem operations to change the following state.
|
|
454
|
+
*/
|
|
455
|
+
'@libre.graph.me.following'?: boolean;
|
|
456
|
+
/**
|
|
457
|
+
* The list of tags assigned to this DriveItem. Read-only. Use the AssignTags and UnassignTags operations to modify tags.
|
|
458
|
+
*/
|
|
459
|
+
'@libre.graph.tags'?: Array<string>;
|
|
460
|
+
/**
|
|
461
|
+
* A list of actions the caller is allowed to perform on this item. Only returned when explicitly requested via `$select` on endpoints that support it. Mirrors the annotation of the same name on the `/permissions` endpoint, allowing clients to learn a caller\'s effective actions on an item without a separate round-trip.
|
|
462
|
+
*/
|
|
463
|
+
'@libre.graph.permissions.actions.allowedValues'?: Array<string>;
|
|
419
464
|
}
|
|
420
465
|
export interface DriveItemCreateLink {
|
|
421
466
|
'type'?: SharingLinkType;
|
|
@@ -525,6 +570,10 @@ export interface DriveUpdate {
|
|
|
525
570
|
* Indicates whether the drive has items in the trash. Read-only.
|
|
526
571
|
*/
|
|
527
572
|
'@libre.graph.hasTrashedItems'?: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* 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.
|
|
575
|
+
*/
|
|
576
|
+
'@libre.graph.contentType'?: string;
|
|
528
577
|
}
|
|
529
578
|
/**
|
|
530
579
|
* And extension of group representing a class or course
|
|
@@ -888,6 +937,31 @@ export interface ItemReference {
|
|
|
888
937
|
*/
|
|
889
938
|
'path'?: string;
|
|
890
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* 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.
|
|
942
|
+
*/
|
|
943
|
+
export interface LivePhoto {
|
|
944
|
+
/**
|
|
945
|
+
* Identifier (UUID) shared by the still image and the paired video of one Live Photo. Read-only.
|
|
946
|
+
*/
|
|
947
|
+
'contentId': string;
|
|
948
|
+
/**
|
|
949
|
+
* 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.
|
|
950
|
+
*/
|
|
951
|
+
'stillImageTimeUs'?: number;
|
|
952
|
+
/**
|
|
953
|
+
* 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.
|
|
954
|
+
*/
|
|
955
|
+
'auto'?: boolean;
|
|
956
|
+
/**
|
|
957
|
+
* 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.
|
|
958
|
+
*/
|
|
959
|
+
'vitalityScore'?: number;
|
|
960
|
+
/**
|
|
961
|
+
* Version of the algorithm that produced vitalityScore (com.apple.quicktime.live-photo.vitality-scoring-version). Only present on the video half. Read-only.
|
|
962
|
+
*/
|
|
963
|
+
'vitalityScoringVersion'?: number;
|
|
964
|
+
}
|
|
891
965
|
export interface MemberReference {
|
|
892
966
|
'@odata.id'?: string;
|
|
893
967
|
}
|
|
@@ -967,6 +1041,21 @@ export interface PasswordProfile {
|
|
|
967
1041
|
*/
|
|
968
1042
|
'password'?: string;
|
|
969
1043
|
}
|
|
1044
|
+
/**
|
|
1045
|
+
* Present while operations affecting the item\'s content have not completed, whether still queued or already running. While present, requests for the item\'s content fail, the content is withheld until processing completes and the facet disappears.
|
|
1046
|
+
*/
|
|
1047
|
+
export interface PendingOperations {
|
|
1048
|
+
'pendingContentUpdate'?: PendingOperationsPendingContentUpdate;
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* An update to the item\'s content has not completed, for example post-processing such as virus scanning after an upload. MS Graph does not specify how reads behave while this is present; in OpenCloud content requests fail.
|
|
1052
|
+
*/
|
|
1053
|
+
export interface PendingOperationsPendingContentUpdate {
|
|
1054
|
+
/**
|
|
1055
|
+
* Time the operation was queued. May be absent. Read-only.
|
|
1056
|
+
*/
|
|
1057
|
+
'queuedDateTime'?: string;
|
|
1058
|
+
}
|
|
970
1059
|
/**
|
|
971
1060
|
* The Permission resource provides information about a sharing permission granted for a DriveItem resource. ### Remarks The Permission resource uses *facets* to provide information about the kind of permission represented by the resource. Permissions with a `link` facet represent sharing links created on the item. Sharing links contain a unique token that provides access to the item for anyone with the link. Permissions with a `invitation` facet represent permissions added by inviting specific users or groups to have access to the file.
|
|
972
1061
|
*/
|
|
@@ -1521,7 +1610,7 @@ export declare class ActivitiesApi extends BaseAPI {
|
|
|
1521
1610
|
* @param {*} [options] Override http request option.
|
|
1522
1611
|
* @throws {RequiredError}
|
|
1523
1612
|
*/
|
|
1524
|
-
getActivities(kql?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfActivities, any, {}>>;
|
|
1613
|
+
getActivities(kql?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfActivities, any, {}, any>>;
|
|
1525
1614
|
}
|
|
1526
1615
|
/**
|
|
1527
1616
|
* ApplicationsApi - axios parameter creator
|
|
@@ -1594,19 +1683,31 @@ export declare class ApplicationsApi extends BaseAPI {
|
|
|
1594
1683
|
* @param {*} [options] Override http request option.
|
|
1595
1684
|
* @throws {RequiredError}
|
|
1596
1685
|
*/
|
|
1597
|
-
getApplication(applicationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application, any, {}>>;
|
|
1686
|
+
getApplication(applicationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application, any, {}, any>>;
|
|
1598
1687
|
/**
|
|
1599
1688
|
*
|
|
1600
1689
|
* @summary Get all applications
|
|
1601
1690
|
* @param {*} [options] Override http request option.
|
|
1602
1691
|
* @throws {RequiredError}
|
|
1603
1692
|
*/
|
|
1604
|
-
listApplications(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfApplications, any, {}>>;
|
|
1693
|
+
listApplications(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfApplications, any, {}, any>>;
|
|
1605
1694
|
}
|
|
1606
1695
|
/**
|
|
1607
1696
|
* DriveItemApi - axios parameter creator
|
|
1608
1697
|
*/
|
|
1609
1698
|
export declare const DriveItemApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1699
|
+
/**
|
|
1700
|
+
* 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.
|
|
1701
|
+
* @summary Create a new DriveItem under a parent item
|
|
1702
|
+
* @param {string} driveId key: id of drive
|
|
1703
|
+
* @param {string} itemId key: id of item
|
|
1704
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1705
|
+
* @param {CreateChildDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
1706
|
+
* @param {CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
1707
|
+
* @param {*} [options] Override http request option.
|
|
1708
|
+
* @throws {RequiredError}
|
|
1709
|
+
*/
|
|
1710
|
+
createChildDriveItem: (driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1610
1711
|
/**
|
|
1611
1712
|
* 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
1713
|
* @summary Delete a DriveItem.
|
|
@@ -1626,6 +1727,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1626
1727
|
* @throws {RequiredError}
|
|
1627
1728
|
*/
|
|
1628
1729
|
getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1730
|
+
/**
|
|
1731
|
+
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1732
|
+
* @summary List children of a DriveItem
|
|
1733
|
+
* @param {string} driveId key: id of drive
|
|
1734
|
+
* @param {string} itemId key: id of item
|
|
1735
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1736
|
+
* @param {*} [options] Override http request option.
|
|
1737
|
+
* @throws {RequiredError}
|
|
1738
|
+
*/
|
|
1739
|
+
getDriveItemChildren: (driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1629
1740
|
/**
|
|
1630
1741
|
* 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
1742
|
* @summary Download the content of a DriveItem
|
|
@@ -1635,6 +1746,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1635
1746
|
* @throws {RequiredError}
|
|
1636
1747
|
*/
|
|
1637
1748
|
getDriveItemContent: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1751
|
+
* @summary Get a DriveItem.
|
|
1752
|
+
* @param {string} driveId key: id of drive
|
|
1753
|
+
* @param {string} itemId key: id of item
|
|
1754
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1755
|
+
* @param {*} [options] Override http request option.
|
|
1756
|
+
* @throws {RequiredError}
|
|
1757
|
+
*/
|
|
1758
|
+
getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1638
1759
|
/**
|
|
1639
1760
|
* 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
1761
|
* @summary Update a DriveItem.
|
|
@@ -1650,6 +1771,18 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1650
1771
|
* DriveItemApi - functional programming interface
|
|
1651
1772
|
*/
|
|
1652
1773
|
export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
1774
|
+
/**
|
|
1775
|
+
* 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.
|
|
1776
|
+
* @summary Create a new DriveItem under a parent item
|
|
1777
|
+
* @param {string} driveId key: id of drive
|
|
1778
|
+
* @param {string} itemId key: id of item
|
|
1779
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1780
|
+
* @param {CreateChildDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
1781
|
+
* @param {CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
1782
|
+
* @param {*} [options] Override http request option.
|
|
1783
|
+
* @throws {RequiredError}
|
|
1784
|
+
*/
|
|
1785
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1653
1786
|
/**
|
|
1654
1787
|
* 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
1788
|
* @summary Delete a DriveItem.
|
|
@@ -1669,6 +1802,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1669
1802
|
* @throws {RequiredError}
|
|
1670
1803
|
*/
|
|
1671
1804
|
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1805
|
+
/**
|
|
1806
|
+
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1807
|
+
* @summary List children of a DriveItem
|
|
1808
|
+
* @param {string} driveId key: id of drive
|
|
1809
|
+
* @param {string} itemId key: id of item
|
|
1810
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1811
|
+
* @param {*} [options] Override http request option.
|
|
1812
|
+
* @throws {RequiredError}
|
|
1813
|
+
*/
|
|
1814
|
+
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDriveItems>>;
|
|
1672
1815
|
/**
|
|
1673
1816
|
* 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
1817
|
* @summary Download the content of a DriveItem
|
|
@@ -1678,6 +1821,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1678
1821
|
* @throws {RequiredError}
|
|
1679
1822
|
*/
|
|
1680
1823
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OdataError>>;
|
|
1824
|
+
/**
|
|
1825
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1826
|
+
* @summary Get a DriveItem.
|
|
1827
|
+
* @param {string} driveId key: id of drive
|
|
1828
|
+
* @param {string} itemId key: id of item
|
|
1829
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1830
|
+
* @param {*} [options] Override http request option.
|
|
1831
|
+
* @throws {RequiredError}
|
|
1832
|
+
*/
|
|
1833
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1681
1834
|
/**
|
|
1682
1835
|
* 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
1836
|
* @summary Update a DriveItem.
|
|
@@ -1693,6 +1846,18 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1693
1846
|
* DriveItemApi - factory interface
|
|
1694
1847
|
*/
|
|
1695
1848
|
export declare const DriveItemApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1849
|
+
/**
|
|
1850
|
+
* 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.
|
|
1851
|
+
* @summary Create a new DriveItem under a parent item
|
|
1852
|
+
* @param {string} driveId key: id of drive
|
|
1853
|
+
* @param {string} itemId key: id of item
|
|
1854
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1855
|
+
* @param {CreateChildDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
1856
|
+
* @param {CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
1857
|
+
* @param {*} [options] Override http request option.
|
|
1858
|
+
* @throws {RequiredError}
|
|
1859
|
+
*/
|
|
1860
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1696
1861
|
/**
|
|
1697
1862
|
* 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
1863
|
* @summary Delete a DriveItem.
|
|
@@ -1712,6 +1877,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1712
1877
|
* @throws {RequiredError}
|
|
1713
1878
|
*/
|
|
1714
1879
|
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1880
|
+
/**
|
|
1881
|
+
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1882
|
+
* @summary List children of a DriveItem
|
|
1883
|
+
* @param {string} driveId key: id of drive
|
|
1884
|
+
* @param {string} itemId key: id of item
|
|
1885
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1886
|
+
* @param {*} [options] Override http request option.
|
|
1887
|
+
* @throws {RequiredError}
|
|
1888
|
+
*/
|
|
1889
|
+
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDriveItems>;
|
|
1715
1890
|
/**
|
|
1716
1891
|
* 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
1892
|
* @summary Download the content of a DriveItem
|
|
@@ -1721,6 +1896,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1721
1896
|
* @throws {RequiredError}
|
|
1722
1897
|
*/
|
|
1723
1898
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<OdataError>;
|
|
1899
|
+
/**
|
|
1900
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1901
|
+
* @summary Get a DriveItem.
|
|
1902
|
+
* @param {string} driveId key: id of drive
|
|
1903
|
+
* @param {string} itemId key: id of item
|
|
1904
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1905
|
+
* @param {*} [options] Override http request option.
|
|
1906
|
+
* @throws {RequiredError}
|
|
1907
|
+
*/
|
|
1908
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1724
1909
|
/**
|
|
1725
1910
|
* 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
1911
|
* @summary Update a DriveItem.
|
|
@@ -1736,6 +1921,18 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1736
1921
|
* DriveItemApi - object-oriented interface
|
|
1737
1922
|
*/
|
|
1738
1923
|
export declare class DriveItemApi extends BaseAPI {
|
|
1924
|
+
/**
|
|
1925
|
+
* 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.
|
|
1926
|
+
* @summary Create a new DriveItem under a parent item
|
|
1927
|
+
* @param {string} driveId key: id of drive
|
|
1928
|
+
* @param {string} itemId key: id of item
|
|
1929
|
+
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1930
|
+
* @param {CreateChildDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
1931
|
+
* @param {CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
1932
|
+
* @param {*} [options] Override http request option.
|
|
1933
|
+
* @throws {RequiredError}
|
|
1934
|
+
*/
|
|
1935
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1739
1936
|
/**
|
|
1740
1937
|
* 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
1938
|
* @summary Delete a DriveItem.
|
|
@@ -1744,7 +1941,7 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1744
1941
|
* @param {*} [options] Override http request option.
|
|
1745
1942
|
* @throws {RequiredError}
|
|
1746
1943
|
*/
|
|
1747
|
-
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1944
|
+
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
1748
1945
|
/**
|
|
1749
1946
|
* Get a DriveItem by using its ID.
|
|
1750
1947
|
* @summary Get a DriveItem.
|
|
@@ -1754,7 +1951,17 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1754
1951
|
* @param {*} [options] Override http request option.
|
|
1755
1952
|
* @throws {RequiredError}
|
|
1756
1953
|
*/
|
|
1757
|
-
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
1954
|
+
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1955
|
+
/**
|
|
1956
|
+
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1957
|
+
* @summary List children of a DriveItem
|
|
1958
|
+
* @param {string} driveId key: id of drive
|
|
1959
|
+
* @param {string} itemId key: id of item
|
|
1960
|
+
* @param {Set<GetDriveItemChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
1961
|
+
* @param {*} [options] Override http request option.
|
|
1962
|
+
* @throws {RequiredError}
|
|
1963
|
+
*/
|
|
1964
|
+
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}, any>>;
|
|
1758
1965
|
/**
|
|
1759
1966
|
* 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
1967
|
* @summary Download the content of a DriveItem
|
|
@@ -1763,7 +1970,17 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1763
1970
|
* @param {*} [options] Override http request option.
|
|
1764
1971
|
* @throws {RequiredError}
|
|
1765
1972
|
*/
|
|
1766
|
-
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OdataError, any, {}>>;
|
|
1973
|
+
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OdataError, any, {}, any>>;
|
|
1974
|
+
/**
|
|
1975
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1976
|
+
* @summary Get a DriveItem.
|
|
1977
|
+
* @param {string} driveId key: id of drive
|
|
1978
|
+
* @param {string} itemId key: id of item
|
|
1979
|
+
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
*/
|
|
1983
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1767
1984
|
/**
|
|
1768
1985
|
* 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
1986
|
* @summary Update a DriveItem.
|
|
@@ -1773,12 +1990,33 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1773
1990
|
* @param {*} [options] Override http request option.
|
|
1774
1991
|
* @throws {RequiredError}
|
|
1775
1992
|
*/
|
|
1776
|
-
updateDriveItem(driveId: string, itemId: string, driveItem: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
1993
|
+
updateDriveItem(driveId: string, itemId: string, driveItem: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1777
1994
|
}
|
|
1995
|
+
export declare const CreateChildDriveItemAtLibreGraphConflictBehaviorEnum: {
|
|
1996
|
+
readonly Fail: "fail";
|
|
1997
|
+
readonly Replace: "replace";
|
|
1998
|
+
};
|
|
1999
|
+
export type CreateChildDriveItemAtLibreGraphConflictBehaviorEnum = typeof CreateChildDriveItemAtLibreGraphConflictBehaviorEnum[keyof typeof CreateChildDriveItemAtLibreGraphConflictBehaviorEnum];
|
|
2000
|
+
export declare const CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum: {
|
|
2001
|
+
readonly Fail: "fail";
|
|
2002
|
+
readonly Create: "create";
|
|
2003
|
+
};
|
|
2004
|
+
export type CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum[keyof typeof CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum];
|
|
1778
2005
|
export declare const GetDriveItemSelectEnum: {
|
|
1779
2006
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2007
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
1780
2008
|
};
|
|
1781
2009
|
export type GetDriveItemSelectEnum = typeof GetDriveItemSelectEnum[keyof typeof GetDriveItemSelectEnum];
|
|
2010
|
+
export declare const GetDriveItemChildrenSelectEnum: {
|
|
2011
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2012
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2013
|
+
};
|
|
2014
|
+
export type GetDriveItemChildrenSelectEnum = typeof GetDriveItemChildrenSelectEnum[keyof typeof GetDriveItemChildrenSelectEnum];
|
|
2015
|
+
export declare const GetDriveItemV1SelectEnum: {
|
|
2016
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2017
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2018
|
+
};
|
|
2019
|
+
export type GetDriveItemV1SelectEnum = typeof GetDriveItemV1SelectEnum[keyof typeof GetDriveItemV1SelectEnum];
|
|
1782
2020
|
/**
|
|
1783
2021
|
* DrivesApi - axios parameter creator
|
|
1784
2022
|
*/
|
|
@@ -1910,7 +2148,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
1910
2148
|
* @param {*} [options] Override http request option.
|
|
1911
2149
|
* @throws {RequiredError}
|
|
1912
2150
|
*/
|
|
1913
|
-
createDrive(drive: Drive, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
2151
|
+
createDrive(drive: Drive, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
1914
2152
|
/**
|
|
1915
2153
|
*
|
|
1916
2154
|
* @summary Delete a specific space
|
|
@@ -1919,7 +2157,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
1919
2157
|
* @param {*} [options] Override http request option.
|
|
1920
2158
|
* @throws {RequiredError}
|
|
1921
2159
|
*/
|
|
1922
|
-
deleteDrive(driveId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2160
|
+
deleteDrive(driveId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
1923
2161
|
/**
|
|
1924
2162
|
*
|
|
1925
2163
|
* @summary Get drive by id
|
|
@@ -1928,7 +2166,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
1928
2166
|
* @param {*} [options] Override http request option.
|
|
1929
2167
|
* @throws {RequiredError}
|
|
1930
2168
|
*/
|
|
1931
|
-
getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
2169
|
+
getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
1932
2170
|
/**
|
|
1933
2171
|
*
|
|
1934
2172
|
* @summary Update the drive
|
|
@@ -1937,7 +2175,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
1937
2175
|
* @param {*} [options] Override http request option.
|
|
1938
2176
|
* @throws {RequiredError}
|
|
1939
2177
|
*/
|
|
1940
|
-
updateDrive(driveId: string, driveUpdate: DriveUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
2178
|
+
updateDrive(driveId: string, driveUpdate: DriveUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
1941
2179
|
}
|
|
1942
2180
|
export declare const GetDriveSelectEnum: {
|
|
1943
2181
|
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
@@ -2030,7 +2268,7 @@ export declare class DrivesGetDrivesApi extends BaseAPI {
|
|
|
2030
2268
|
* @param {*} [options] Override http request option.
|
|
2031
2269
|
* @throws {RequiredError}
|
|
2032
2270
|
*/
|
|
2033
|
-
listAllDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}>>;
|
|
2271
|
+
listAllDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}, any>>;
|
|
2034
2272
|
/**
|
|
2035
2273
|
*
|
|
2036
2274
|
* @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
|
|
@@ -2041,7 +2279,7 @@ export declare class DrivesGetDrivesApi extends BaseAPI {
|
|
|
2041
2279
|
* @param {*} [options] Override http request option.
|
|
2042
2280
|
* @throws {RequiredError}
|
|
2043
2281
|
*/
|
|
2044
|
-
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}>>;
|
|
2282
|
+
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}, any>>;
|
|
2045
2283
|
}
|
|
2046
2284
|
export declare const ListAllDrivesBetaSelectEnum: {
|
|
2047
2285
|
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
@@ -2300,7 +2538,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2300
2538
|
* @param {*} [options] Override http request option.
|
|
2301
2539
|
* @throws {RequiredError}
|
|
2302
2540
|
*/
|
|
2303
|
-
createLink(driveId: string, itemId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2541
|
+
createLink(driveId: string, itemId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2304
2542
|
/**
|
|
2305
2543
|
* Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted. The `inheritedFrom` property must be `null`.
|
|
2306
2544
|
* @summary Remove access to a DriveItem
|
|
@@ -2310,7 +2548,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2310
2548
|
* @param {*} [options] Override http request option.
|
|
2311
2549
|
* @throws {RequiredError}
|
|
2312
2550
|
*/
|
|
2313
|
-
deletePermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2551
|
+
deletePermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2314
2552
|
/**
|
|
2315
2553
|
* Return the effective sharing permission for a particular permission resource.
|
|
2316
2554
|
* @summary Get sharing permission for a file or folder
|
|
@@ -2320,7 +2558,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2320
2558
|
* @param {*} [options] Override http request option.
|
|
2321
2559
|
* @throws {RequiredError}
|
|
2322
2560
|
*/
|
|
2323
|
-
getPermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2561
|
+
getPermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2324
2562
|
/**
|
|
2325
2563
|
* Sends a sharing invitation for a `driveItem`. 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.
|
|
2326
2564
|
* @summary Send a sharing invitation
|
|
@@ -2330,7 +2568,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2330
2568
|
* @param {*} [options] Override http request option.
|
|
2331
2569
|
* @throws {RequiredError}
|
|
2332
2570
|
*/
|
|
2333
|
-
invite(driveId: string, itemId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}>>;
|
|
2571
|
+
invite(driveId: string, itemId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}, any>>;
|
|
2334
2572
|
/**
|
|
2335
2573
|
* The permissions collection includes potentially sensitive information and may not be available for every caller. * For the owner of the item, all sharing permissions will be returned. This includes co-owners. * For a non-owner caller, only the sharing permissions that apply to the caller are returned. * Sharing permission properties that contain secrets (e.g. `webUrl`) are only returned for callers that are able to create the sharing permission. All permission objects have an `id`. A permission representing * a link has the `link` facet filled with details. * a share has the `roles` property set and the `grantedToV2` property filled with the grant recipient details.
|
|
2336
2574
|
* @summary List the effective sharing permissions on a driveItem.
|
|
@@ -2343,7 +2581,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2343
2581
|
* @param {*} [options] Override http request option.
|
|
2344
2582
|
* @throws {RequiredError}
|
|
2345
2583
|
*/
|
|
2346
|
-
listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}>>;
|
|
2584
|
+
listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}, any>>;
|
|
2347
2585
|
/**
|
|
2348
2586
|
* Set the password of a sharing permission. Only the `password` property can be modified this way.
|
|
2349
2587
|
* @summary Set sharing link password
|
|
@@ -2354,7 +2592,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2354
2592
|
* @param {*} [options] Override http request option.
|
|
2355
2593
|
* @throws {RequiredError}
|
|
2356
2594
|
*/
|
|
2357
|
-
setPermissionPassword(driveId: string, itemId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2595
|
+
setPermissionPassword(driveId: string, itemId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2358
2596
|
/**
|
|
2359
2597
|
* Update the properties of a sharing permission by patching the permission resource. Only the `roles`, `expirationDateTime` and `password` properties can be modified this way.
|
|
2360
2598
|
* @summary Update sharing permission
|
|
@@ -2365,7 +2603,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2365
2603
|
* @param {*} [options] Override http request option.
|
|
2366
2604
|
* @throws {RequiredError}
|
|
2367
2605
|
*/
|
|
2368
|
-
updatePermission(driveId: string, itemId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2606
|
+
updatePermission(driveId: string, itemId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2369
2607
|
}
|
|
2370
2608
|
export declare const ListPermissionsSelectEnum: {
|
|
2371
2609
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
@@ -2378,14 +2616,16 @@ export type ListPermissionsSelectEnum = typeof ListPermissionsSelectEnum[keyof t
|
|
|
2378
2616
|
*/
|
|
2379
2617
|
export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2380
2618
|
/**
|
|
2381
|
-
*
|
|
2382
|
-
* @summary Create a drive
|
|
2619
|
+
* 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.
|
|
2620
|
+
* @summary Create a new DriveItem at the drive root
|
|
2383
2621
|
* @param {string} driveId key: id of drive
|
|
2384
|
-
* @param {
|
|
2622
|
+
* @param {CreateDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
2623
|
+
* @param {CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
2624
|
+
* @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
2625
|
* @param {*} [options] Override http request option.
|
|
2386
2626
|
* @throws {RequiredError}
|
|
2387
2627
|
*/
|
|
2388
|
-
createDriveItem: (driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2628
|
+
createDriveItem: (driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2389
2629
|
/**
|
|
2390
2630
|
* 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
2631
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2417,10 +2657,11 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2417
2657
|
*
|
|
2418
2658
|
* @summary Get root from arbitrary space
|
|
2419
2659
|
* @param {string} driveId key: id of drive
|
|
2660
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2420
2661
|
* @param {*} [options] Override http request option.
|
|
2421
2662
|
* @throws {RequiredError}
|
|
2422
2663
|
*/
|
|
2423
|
-
getRoot: (driveId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2664
|
+
getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2424
2665
|
/**
|
|
2425
2666
|
* 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
2667
|
* @summary Send a sharing invitation
|
|
@@ -2468,14 +2709,16 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2468
2709
|
*/
|
|
2469
2710
|
export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
2470
2711
|
/**
|
|
2471
|
-
*
|
|
2472
|
-
* @summary Create a drive
|
|
2712
|
+
* 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.
|
|
2713
|
+
* @summary Create a new DriveItem at the drive root
|
|
2473
2714
|
* @param {string} driveId key: id of drive
|
|
2474
|
-
* @param {
|
|
2715
|
+
* @param {CreateDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
2716
|
+
* @param {CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
2717
|
+
* @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
2718
|
* @param {*} [options] Override http request option.
|
|
2476
2719
|
* @throws {RequiredError}
|
|
2477
2720
|
*/
|
|
2478
|
-
createDriveItem(driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2721
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2479
2722
|
/**
|
|
2480
2723
|
* 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
2724
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2507,10 +2750,11 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
|
2507
2750
|
*
|
|
2508
2751
|
* @summary Get root from arbitrary space
|
|
2509
2752
|
* @param {string} driveId key: id of drive
|
|
2753
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2510
2754
|
* @param {*} [options] Override http request option.
|
|
2511
2755
|
* @throws {RequiredError}
|
|
2512
2756
|
*/
|
|
2513
|
-
getRoot(driveId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2757
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2514
2758
|
/**
|
|
2515
2759
|
* 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
2760
|
* @summary Send a sharing invitation
|
|
@@ -2558,14 +2802,16 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
|
2558
2802
|
*/
|
|
2559
2803
|
export declare const DrivesRootApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2560
2804
|
/**
|
|
2561
|
-
*
|
|
2562
|
-
* @summary Create a drive
|
|
2805
|
+
* 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.
|
|
2806
|
+
* @summary Create a new DriveItem at the drive root
|
|
2563
2807
|
* @param {string} driveId key: id of drive
|
|
2564
|
-
* @param {
|
|
2808
|
+
* @param {CreateDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
2809
|
+
* @param {CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
2810
|
+
* @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
2811
|
* @param {*} [options] Override http request option.
|
|
2566
2812
|
* @throws {RequiredError}
|
|
2567
2813
|
*/
|
|
2568
|
-
createDriveItem(driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2814
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2569
2815
|
/**
|
|
2570
2816
|
* 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
2817
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2597,10 +2843,11 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
|
|
|
2597
2843
|
*
|
|
2598
2844
|
* @summary Get root from arbitrary space
|
|
2599
2845
|
* @param {string} driveId key: id of drive
|
|
2846
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2600
2847
|
* @param {*} [options] Override http request option.
|
|
2601
2848
|
* @throws {RequiredError}
|
|
2602
2849
|
*/
|
|
2603
|
-
getRoot(driveId: string, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2850
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2604
2851
|
/**
|
|
2605
2852
|
* 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
2853
|
* @summary Send a sharing invitation
|
|
@@ -2648,14 +2895,16 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
|
|
|
2648
2895
|
*/
|
|
2649
2896
|
export declare class DrivesRootApi extends BaseAPI {
|
|
2650
2897
|
/**
|
|
2651
|
-
*
|
|
2652
|
-
* @summary Create a drive
|
|
2898
|
+
* 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.
|
|
2899
|
+
* @summary Create a new DriveItem at the drive root
|
|
2653
2900
|
* @param {string} driveId key: id of drive
|
|
2654
|
-
* @param {
|
|
2901
|
+
* @param {CreateDriveItemAtLibreGraphConflictBehaviorEnum} [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.
|
|
2902
|
+
* @param {CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum} [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.
|
|
2903
|
+
* @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
2904
|
* @param {*} [options] Override http request option.
|
|
2656
2905
|
* @throws {RequiredError}
|
|
2657
2906
|
*/
|
|
2658
|
-
createDriveItem(driveId: string, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2907
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
2659
2908
|
/**
|
|
2660
2909
|
* 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
2910
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2664,7 +2913,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2664
2913
|
* @param {*} [options] Override http request option.
|
|
2665
2914
|
* @throws {RequiredError}
|
|
2666
2915
|
*/
|
|
2667
|
-
createLinkSpaceRoot(driveId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2916
|
+
createLinkSpaceRoot(driveId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2668
2917
|
/**
|
|
2669
2918
|
* Remove access to the root item of a drive. Only sharing permissions that are not inherited can be deleted. The `inheritedFrom` property must be `null`.
|
|
2670
2919
|
* @summary Remove access to a Drive
|
|
@@ -2673,7 +2922,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2673
2922
|
* @param {*} [options] Override http request option.
|
|
2674
2923
|
* @throws {RequiredError}
|
|
2675
2924
|
*/
|
|
2676
|
-
deletePermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2925
|
+
deletePermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2677
2926
|
/**
|
|
2678
2927
|
* Return the effective sharing permission for a particular permission resource.
|
|
2679
2928
|
* @summary Get a single sharing permission for the root item of a drive
|
|
@@ -2682,15 +2931,16 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2682
2931
|
* @param {*} [options] Override http request option.
|
|
2683
2932
|
* @throws {RequiredError}
|
|
2684
2933
|
*/
|
|
2685
|
-
getPermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2934
|
+
getPermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2686
2935
|
/**
|
|
2687
2936
|
*
|
|
2688
2937
|
* @summary Get root from arbitrary space
|
|
2689
2938
|
* @param {string} driveId key: id of drive
|
|
2939
|
+
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2690
2940
|
* @param {*} [options] Override http request option.
|
|
2691
2941
|
* @throws {RequiredError}
|
|
2692
2942
|
*/
|
|
2693
|
-
getRoot(driveId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2943
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
2694
2944
|
/**
|
|
2695
2945
|
* 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
2946
|
* @summary Send a sharing invitation
|
|
@@ -2699,7 +2949,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2699
2949
|
* @param {*} [options] Override http request option.
|
|
2700
2950
|
* @throws {RequiredError}
|
|
2701
2951
|
*/
|
|
2702
|
-
inviteSpaceRoot(driveId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}>>;
|
|
2952
|
+
inviteSpaceRoot(driveId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}, any>>;
|
|
2703
2953
|
/**
|
|
2704
2954
|
* The permissions collection includes potentially sensitive information and may not be available for every caller. * For the owner of the item, all sharing permissions will be returned. This includes co-owners. * For a non-owner caller, only the sharing permissions that apply to the caller are returned. * Sharing permission properties that contain secrets (e.g. `webUrl`) are only returned for callers that are able to create the sharing permission. All permission objects have an `id`. A permission representing * a link has the `link` facet filled with details. * a share has the `roles` property set and the `grantedToV2` property filled with the grant recipient details.
|
|
2705
2955
|
* @summary List the effective permissions on the root item of a drive.
|
|
@@ -2711,7 +2961,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2711
2961
|
* @param {*} [options] Override http request option.
|
|
2712
2962
|
* @throws {RequiredError}
|
|
2713
2963
|
*/
|
|
2714
|
-
listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}>>;
|
|
2964
|
+
listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}, any>>;
|
|
2715
2965
|
/**
|
|
2716
2966
|
* Set the password of a sharing permission. Only the `password` property can be modified this way.
|
|
2717
2967
|
* @summary Set sharing link password for the root item of a drive
|
|
@@ -2721,7 +2971,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2721
2971
|
* @param {*} [options] Override http request option.
|
|
2722
2972
|
* @throws {RequiredError}
|
|
2723
2973
|
*/
|
|
2724
|
-
setPermissionPasswordSpaceRoot(driveId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2974
|
+
setPermissionPasswordSpaceRoot(driveId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2725
2975
|
/**
|
|
2726
2976
|
* Update the properties of a sharing permission by patching the permission resource. Only the `roles`, `expirationDateTime` and `password` properties can be modified this way.
|
|
2727
2977
|
* @summary Update sharing permission
|
|
@@ -2731,8 +2981,23 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2731
2981
|
* @param {*} [options] Override http request option.
|
|
2732
2982
|
* @throws {RequiredError}
|
|
2733
2983
|
*/
|
|
2734
|
-
updatePermissionSpaceRoot(driveId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2984
|
+
updatePermissionSpaceRoot(driveId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2735
2985
|
}
|
|
2986
|
+
export declare const CreateDriveItemAtLibreGraphConflictBehaviorEnum: {
|
|
2987
|
+
readonly Fail: "fail";
|
|
2988
|
+
readonly Replace: "replace";
|
|
2989
|
+
};
|
|
2990
|
+
export type CreateDriveItemAtLibreGraphConflictBehaviorEnum = typeof CreateDriveItemAtLibreGraphConflictBehaviorEnum[keyof typeof CreateDriveItemAtLibreGraphConflictBehaviorEnum];
|
|
2991
|
+
export declare const CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum: {
|
|
2992
|
+
readonly Fail: "fail";
|
|
2993
|
+
readonly Create: "create";
|
|
2994
|
+
};
|
|
2995
|
+
export type CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum[keyof typeof CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum];
|
|
2996
|
+
export declare const GetRootSelectEnum: {
|
|
2997
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2998
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2999
|
+
};
|
|
3000
|
+
export type GetRootSelectEnum = typeof GetRootSelectEnum[keyof typeof GetRootSelectEnum];
|
|
2736
3001
|
export declare const ListPermissionsSpaceRootSelectEnum: {
|
|
2737
3002
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2738
3003
|
readonly LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues";
|
|
@@ -2964,7 +3229,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
2964
3229
|
* @param {*} [options] Override http request option.
|
|
2965
3230
|
* @throws {RequiredError}
|
|
2966
3231
|
*/
|
|
2967
|
-
addUserToClass(classId: string, classMemberReference: ClassMemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3232
|
+
addUserToClass(classId: string, classMemberReference: ClassMemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2968
3233
|
/**
|
|
2969
3234
|
*
|
|
2970
3235
|
* @summary Add new education class
|
|
@@ -2972,7 +3237,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
2972
3237
|
* @param {*} [options] Override http request option.
|
|
2973
3238
|
* @throws {RequiredError}
|
|
2974
3239
|
*/
|
|
2975
|
-
createClass(educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}>>;
|
|
3240
|
+
createClass(educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}, any>>;
|
|
2976
3241
|
/**
|
|
2977
3242
|
*
|
|
2978
3243
|
* @summary Delete education class
|
|
@@ -2980,7 +3245,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
2980
3245
|
* @param {*} [options] Override http request option.
|
|
2981
3246
|
* @throws {RequiredError}
|
|
2982
3247
|
*/
|
|
2983
|
-
deleteClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3248
|
+
deleteClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2984
3249
|
/**
|
|
2985
3250
|
*
|
|
2986
3251
|
* @summary Unassign user from a class
|
|
@@ -2989,7 +3254,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
2989
3254
|
* @param {*} [options] Override http request option.
|
|
2990
3255
|
* @throws {RequiredError}
|
|
2991
3256
|
*/
|
|
2992
|
-
deleteUserFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3257
|
+
deleteUserFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2993
3258
|
/**
|
|
2994
3259
|
*
|
|
2995
3260
|
* @summary Get class by key
|
|
@@ -2997,7 +3262,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
2997
3262
|
* @param {*} [options] Override http request option.
|
|
2998
3263
|
* @throws {RequiredError}
|
|
2999
3264
|
*/
|
|
3000
|
-
getClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}>>;
|
|
3265
|
+
getClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}, any>>;
|
|
3001
3266
|
/**
|
|
3002
3267
|
*
|
|
3003
3268
|
* @summary Get the educationClass resources owned by an educationSchool
|
|
@@ -3005,14 +3270,14 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3005
3270
|
* @param {*} [options] Override http request option.
|
|
3006
3271
|
* @throws {RequiredError}
|
|
3007
3272
|
*/
|
|
3008
|
-
listClassMembers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
3273
|
+
listClassMembers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3009
3274
|
/**
|
|
3010
3275
|
*
|
|
3011
3276
|
* @summary list education classes
|
|
3012
3277
|
* @param {*} [options] Override http request option.
|
|
3013
3278
|
* @throws {RequiredError}
|
|
3014
3279
|
*/
|
|
3015
|
-
listClasses(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfClass, any, {}>>;
|
|
3280
|
+
listClasses(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfClass, any, {}, any>>;
|
|
3016
3281
|
/**
|
|
3017
3282
|
*
|
|
3018
3283
|
* @summary Update properties of a education class
|
|
@@ -3021,7 +3286,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3021
3286
|
* @param {*} [options] Override http request option.
|
|
3022
3287
|
* @throws {RequiredError}
|
|
3023
3288
|
*/
|
|
3024
|
-
updateClass(classId: string, educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}>>;
|
|
3289
|
+
updateClass(classId: string, educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}, any>>;
|
|
3025
3290
|
}
|
|
3026
3291
|
/**
|
|
3027
3292
|
* EducationClassTeachersApi - axios parameter creator
|
|
@@ -3128,7 +3393,7 @@ export declare class EducationClassTeachersApi extends BaseAPI {
|
|
|
3128
3393
|
* @param {*} [options] Override http request option.
|
|
3129
3394
|
* @throws {RequiredError}
|
|
3130
3395
|
*/
|
|
3131
|
-
addTeacherToClass(classId: string, classTeacherReference: ClassTeacherReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3396
|
+
addTeacherToClass(classId: string, classTeacherReference: ClassTeacherReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3132
3397
|
/**
|
|
3133
3398
|
*
|
|
3134
3399
|
* @summary Unassign user as teacher of a class
|
|
@@ -3137,7 +3402,7 @@ export declare class EducationClassTeachersApi extends BaseAPI {
|
|
|
3137
3402
|
* @param {*} [options] Override http request option.
|
|
3138
3403
|
* @throws {RequiredError}
|
|
3139
3404
|
*/
|
|
3140
|
-
deleteTeacherFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3405
|
+
deleteTeacherFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3141
3406
|
/**
|
|
3142
3407
|
*
|
|
3143
3408
|
* @summary Get the teachers for a class
|
|
@@ -3145,7 +3410,7 @@ export declare class EducationClassTeachersApi extends BaseAPI {
|
|
|
3145
3410
|
* @param {*} [options] Override http request option.
|
|
3146
3411
|
* @throws {RequiredError}
|
|
3147
3412
|
*/
|
|
3148
|
-
getTeachers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
3413
|
+
getTeachers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3149
3414
|
}
|
|
3150
3415
|
/**
|
|
3151
3416
|
* EducationSchoolApi - axios parameter creator
|
|
@@ -3453,7 +3718,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3453
3718
|
* @param {*} [options] Override http request option.
|
|
3454
3719
|
* @throws {RequiredError}
|
|
3455
3720
|
*/
|
|
3456
|
-
addClassToSchool(schoolId: string, classReference: ClassReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3721
|
+
addClassToSchool(schoolId: string, classReference: ClassReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3457
3722
|
/**
|
|
3458
3723
|
*
|
|
3459
3724
|
* @summary Assign a user to a school
|
|
@@ -3462,7 +3727,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3462
3727
|
* @param {*} [options] Override http request option.
|
|
3463
3728
|
* @throws {RequiredError}
|
|
3464
3729
|
*/
|
|
3465
|
-
addUserToSchool(schoolId: string, educationUserReference: EducationUserReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3730
|
+
addUserToSchool(schoolId: string, educationUserReference: EducationUserReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3466
3731
|
/**
|
|
3467
3732
|
*
|
|
3468
3733
|
* @summary Add new school
|
|
@@ -3470,7 +3735,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3470
3735
|
* @param {*} [options] Override http request option.
|
|
3471
3736
|
* @throws {RequiredError}
|
|
3472
3737
|
*/
|
|
3473
|
-
createSchool(educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}>>;
|
|
3738
|
+
createSchool(educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}, any>>;
|
|
3474
3739
|
/**
|
|
3475
3740
|
*
|
|
3476
3741
|
* @summary Unassign class from a school
|
|
@@ -3479,7 +3744,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3479
3744
|
* @param {*} [options] Override http request option.
|
|
3480
3745
|
* @throws {RequiredError}
|
|
3481
3746
|
*/
|
|
3482
|
-
deleteClassFromSchool(schoolId: string, classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3747
|
+
deleteClassFromSchool(schoolId: string, classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3483
3748
|
/**
|
|
3484
3749
|
* Deletes a school. A school can only be delete if it has the terminationDate property set. And if that termination Date is in the past.
|
|
3485
3750
|
* @summary Delete school
|
|
@@ -3487,7 +3752,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3487
3752
|
* @param {*} [options] Override http request option.
|
|
3488
3753
|
* @throws {RequiredError}
|
|
3489
3754
|
*/
|
|
3490
|
-
deleteSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3755
|
+
deleteSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3491
3756
|
/**
|
|
3492
3757
|
*
|
|
3493
3758
|
* @summary Unassign user from a school
|
|
@@ -3496,7 +3761,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3496
3761
|
* @param {*} [options] Override http request option.
|
|
3497
3762
|
* @throws {RequiredError}
|
|
3498
3763
|
*/
|
|
3499
|
-
deleteUserFromSchool(schoolId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3764
|
+
deleteUserFromSchool(schoolId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3500
3765
|
/**
|
|
3501
3766
|
*
|
|
3502
3767
|
* @summary Get the properties of a specific school
|
|
@@ -3504,7 +3769,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3504
3769
|
* @param {*} [options] Override http request option.
|
|
3505
3770
|
* @throws {RequiredError}
|
|
3506
3771
|
*/
|
|
3507
|
-
getSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}>>;
|
|
3772
|
+
getSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}, any>>;
|
|
3508
3773
|
/**
|
|
3509
3774
|
*
|
|
3510
3775
|
* @summary Get the educationClass resources owned by an educationSchool
|
|
@@ -3512,7 +3777,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3512
3777
|
* @param {*} [options] Override http request option.
|
|
3513
3778
|
* @throws {RequiredError}
|
|
3514
3779
|
*/
|
|
3515
|
-
listSchoolClasses(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationClass, any, {}>>;
|
|
3780
|
+
listSchoolClasses(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationClass, any, {}, any>>;
|
|
3516
3781
|
/**
|
|
3517
3782
|
*
|
|
3518
3783
|
* @summary Get the educationUser resources associated with an educationSchool
|
|
@@ -3520,7 +3785,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3520
3785
|
* @param {*} [options] Override http request option.
|
|
3521
3786
|
* @throws {RequiredError}
|
|
3522
3787
|
*/
|
|
3523
|
-
listSchoolUsers(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
3788
|
+
listSchoolUsers(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3524
3789
|
/**
|
|
3525
3790
|
* Retrieves a collection of education schools with optional filtering and ordering. **Filtering by external ID:** Use `$filter` to query schools by their external identifier, for example: `$filter=externalId eq \'EX12345\'`
|
|
3526
3791
|
* @summary Get a list of schools and their properties
|
|
@@ -3528,7 +3793,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3528
3793
|
* @param {*} [options] Override http request option.
|
|
3529
3794
|
* @throws {RequiredError}
|
|
3530
3795
|
*/
|
|
3531
|
-
listSchools($filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfSchools, any, {}>>;
|
|
3796
|
+
listSchools($filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfSchools, any, {}, any>>;
|
|
3532
3797
|
/**
|
|
3533
3798
|
*
|
|
3534
3799
|
* @summary Update properties of a school
|
|
@@ -3537,7 +3802,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3537
3802
|
* @param {*} [options] Override http request option.
|
|
3538
3803
|
* @throws {RequiredError}
|
|
3539
3804
|
*/
|
|
3540
|
-
updateSchool(schoolId: string, educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}>>;
|
|
3805
|
+
updateSchool(schoolId: string, educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}, any>>;
|
|
3541
3806
|
}
|
|
3542
3807
|
/**
|
|
3543
3808
|
* EducationUserApi - axios parameter creator
|
|
@@ -3697,7 +3962,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3697
3962
|
* @param {*} [options] Override http request option.
|
|
3698
3963
|
* @throws {RequiredError}
|
|
3699
3964
|
*/
|
|
3700
|
-
createEducationUser(educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}>>;
|
|
3965
|
+
createEducationUser(educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}, any>>;
|
|
3701
3966
|
/**
|
|
3702
3967
|
* Deletes an education user by their internal ID. **To delete by external ID:** If you only have an external ID, you must first retrieve the user\'s internal ID: 1. Call `GET /graph/v1.0/education/users?$filter=externalId eq \'{value}\'` 2. Extract the `id` from the response 3. Use that `id` in this DELETE endpoint See the [ListEducationUsers](#/educationUser/ListEducationUsers) operation for query details.
|
|
3703
3968
|
* @summary Delete educationUser
|
|
@@ -3705,7 +3970,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3705
3970
|
* @param {*} [options] Override http request option.
|
|
3706
3971
|
* @throws {RequiredError}
|
|
3707
3972
|
*/
|
|
3708
|
-
deleteEducationUser(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3973
|
+
deleteEducationUser(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3709
3974
|
/**
|
|
3710
3975
|
*
|
|
3711
3976
|
* @summary Get properties of educationUser
|
|
@@ -3714,7 +3979,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3714
3979
|
* @param {*} [options] Override http request option.
|
|
3715
3980
|
* @throws {RequiredError}
|
|
3716
3981
|
*/
|
|
3717
|
-
getEducationUser(userId: string, $expand?: Set<GetEducationUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}>>;
|
|
3982
|
+
getEducationUser(userId: string, $expand?: Set<GetEducationUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}, any>>;
|
|
3718
3983
|
/**
|
|
3719
3984
|
* Retrieves a collection of education users with optional filtering, ordering, and expansion. **Filtering by external ID:** Use `$filter` to query users by their external identifier, for example: `$filter=externalId eq \'EX12345\'`
|
|
3720
3985
|
* @summary Get entities from education users
|
|
@@ -3724,7 +3989,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3724
3989
|
* @param {*} [options] Override http request option.
|
|
3725
3990
|
* @throws {RequiredError}
|
|
3726
3991
|
*/
|
|
3727
|
-
listEducationUsers($filter?: string, $orderby?: Set<ListEducationUsersOrderbyEnum>, $expand?: Set<ListEducationUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
3992
|
+
listEducationUsers($filter?: string, $orderby?: Set<ListEducationUsersOrderbyEnum>, $expand?: Set<ListEducationUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3728
3993
|
/**
|
|
3729
3994
|
*
|
|
3730
3995
|
* @summary Update properties of educationUser
|
|
@@ -3733,7 +3998,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3733
3998
|
* @param {*} [options] Override http request option.
|
|
3734
3999
|
* @throws {RequiredError}
|
|
3735
4000
|
*/
|
|
3736
|
-
updateEducationUser(userId: string, educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}>>;
|
|
4001
|
+
updateEducationUser(userId: string, educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}, any>>;
|
|
3737
4002
|
}
|
|
3738
4003
|
export declare const GetEducationUserExpandEnum: {
|
|
3739
4004
|
readonly MemberOf: "memberOf";
|
|
@@ -3944,7 +4209,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
3944
4209
|
* @param {*} [options] Override http request option.
|
|
3945
4210
|
* @throws {RequiredError}
|
|
3946
4211
|
*/
|
|
3947
|
-
addMember(groupId: string, memberReference: MemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4212
|
+
addMember(groupId: string, memberReference: MemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3948
4213
|
/**
|
|
3949
4214
|
*
|
|
3950
4215
|
* @summary Delete entity from groups
|
|
@@ -3953,7 +4218,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
3953
4218
|
* @param {*} [options] Override http request option.
|
|
3954
4219
|
* @throws {RequiredError}
|
|
3955
4220
|
*/
|
|
3956
|
-
deleteGroup(groupId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4221
|
+
deleteGroup(groupId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3957
4222
|
/**
|
|
3958
4223
|
*
|
|
3959
4224
|
* @summary Delete member from a group
|
|
@@ -3963,7 +4228,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
3963
4228
|
* @param {*} [options] Override http request option.
|
|
3964
4229
|
* @throws {RequiredError}
|
|
3965
4230
|
*/
|
|
3966
|
-
deleteMember(groupId: string, directoryObjectId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4231
|
+
deleteMember(groupId: string, directoryObjectId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3967
4232
|
/**
|
|
3968
4233
|
*
|
|
3969
4234
|
* @summary Get entity from groups by key
|
|
@@ -3973,7 +4238,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
3973
4238
|
* @param {*} [options] Override http request option.
|
|
3974
4239
|
* @throws {RequiredError}
|
|
3975
4240
|
*/
|
|
3976
|
-
getGroup(groupId: string, $select?: Set<GetGroupSelectEnum>, $expand?: Set<GetGroupExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}>>;
|
|
4241
|
+
getGroup(groupId: string, $select?: Set<GetGroupSelectEnum>, $expand?: Set<GetGroupExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}, any>>;
|
|
3977
4242
|
/**
|
|
3978
4243
|
*
|
|
3979
4244
|
* @summary Get a list of the group\'s direct members
|
|
@@ -3981,7 +4246,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
3981
4246
|
* @param {*} [options] Override http request option.
|
|
3982
4247
|
* @throws {RequiredError}
|
|
3983
4248
|
*/
|
|
3984
|
-
listMembers(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUsers, any, {}>>;
|
|
4249
|
+
listMembers(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUsers, any, {}, any>>;
|
|
3985
4250
|
/**
|
|
3986
4251
|
*
|
|
3987
4252
|
* @summary Update entity in groups
|
|
@@ -3990,7 +4255,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
3990
4255
|
* @param {*} [options] Override http request option.
|
|
3991
4256
|
* @throws {RequiredError}
|
|
3992
4257
|
*/
|
|
3993
|
-
updateGroup(groupId: string, group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4258
|
+
updateGroup(groupId: string, group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3994
4259
|
}
|
|
3995
4260
|
export declare const GetGroupSelectEnum: {
|
|
3996
4261
|
readonly Id: "id";
|
|
@@ -4086,7 +4351,7 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
4086
4351
|
* @param {*} [options] Override http request option.
|
|
4087
4352
|
* @throws {RequiredError}
|
|
4088
4353
|
*/
|
|
4089
|
-
createGroup(group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}>>;
|
|
4354
|
+
createGroup(group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}, any>>;
|
|
4090
4355
|
/**
|
|
4091
4356
|
*
|
|
4092
4357
|
* @summary Get entities from groups
|
|
@@ -4097,7 +4362,7 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
4097
4362
|
* @param {*} [options] Override http request option.
|
|
4098
4363
|
* @throws {RequiredError}
|
|
4099
4364
|
*/
|
|
4100
|
-
listGroups($search?: string, $orderby?: Set<ListGroupsOrderbyEnum>, $select?: Set<ListGroupsSelectEnum>, $expand?: Set<ListGroupsExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfGroup, any, {}>>;
|
|
4365
|
+
listGroups($search?: string, $orderby?: Set<ListGroupsOrderbyEnum>, $select?: Set<ListGroupsSelectEnum>, $expand?: Set<ListGroupsExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfGroup, any, {}, any>>;
|
|
4101
4366
|
}
|
|
4102
4367
|
export declare const ListGroupsOrderbyEnum: {
|
|
4103
4368
|
readonly DisplayName: "displayName";
|
|
@@ -4211,7 +4476,7 @@ export declare class InvitationsApi extends BaseAPI {
|
|
|
4211
4476
|
* @param {*} [options] Override http request option.
|
|
4212
4477
|
* @throws {RequiredError}
|
|
4213
4478
|
*/
|
|
4214
|
-
createInvitation(invitation?: Invitation, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}>>;
|
|
4479
|
+
createInvitation(invitation?: Invitation, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}, any>>;
|
|
4215
4480
|
/**
|
|
4216
4481
|
*
|
|
4217
4482
|
* @summary Get an invitation by key
|
|
@@ -4219,14 +4484,14 @@ export declare class InvitationsApi extends BaseAPI {
|
|
|
4219
4484
|
* @param {*} [options] Override http request option.
|
|
4220
4485
|
* @throws {RequiredError}
|
|
4221
4486
|
*/
|
|
4222
|
-
getInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}>>;
|
|
4487
|
+
getInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}, any>>;
|
|
4223
4488
|
/**
|
|
4224
4489
|
*
|
|
4225
4490
|
* @summary Get a list of invitations
|
|
4226
4491
|
* @param {*} [options] Override http request option.
|
|
4227
4492
|
* @throws {RequiredError}
|
|
4228
4493
|
*/
|
|
4229
|
-
listInvitations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfInvitations, any, {}>>;
|
|
4494
|
+
listInvitations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfInvitations, any, {}, any>>;
|
|
4230
4495
|
}
|
|
4231
4496
|
/**
|
|
4232
4497
|
* MeChangepasswordApi - axios parameter creator
|
|
@@ -4278,7 +4543,7 @@ export declare class MeChangepasswordApi extends BaseAPI {
|
|
|
4278
4543
|
* @param {*} [options] Override http request option.
|
|
4279
4544
|
* @throws {RequiredError}
|
|
4280
4545
|
*/
|
|
4281
|
-
changeOwnPassword(passwordChange: PasswordChange, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4546
|
+
changeOwnPassword(passwordChange: PasswordChange, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4282
4547
|
}
|
|
4283
4548
|
/**
|
|
4284
4549
|
* MeDriveApi - axios parameter creator
|
|
@@ -4423,14 +4688,14 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4423
4688
|
* @param {*} [options] Override http request option.
|
|
4424
4689
|
* @throws {RequiredError}
|
|
4425
4690
|
*/
|
|
4426
|
-
followDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
4691
|
+
followDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
4427
4692
|
/**
|
|
4428
4693
|
*
|
|
4429
4694
|
* @summary Get personal space for user
|
|
4430
4695
|
* @param {*} [options] Override http request option.
|
|
4431
4696
|
* @throws {RequiredError}
|
|
4432
4697
|
*/
|
|
4433
|
-
getHome(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
4698
|
+
getHome(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
4434
4699
|
/**
|
|
4435
4700
|
* The `driveItems` returned from the `sharedByMe` method always include the `permissions` relation that indicates they are shared items.
|
|
4436
4701
|
* @summary Get a list of driveItem objects shared by the current user.
|
|
@@ -4438,7 +4703,7 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4438
4703
|
* @param {*} [options] Override http request option.
|
|
4439
4704
|
* @throws {RequiredError}
|
|
4440
4705
|
*/
|
|
4441
|
-
listSharedByMe($expand?: Set<ListSharedByMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}>>;
|
|
4706
|
+
listSharedByMe($expand?: Set<ListSharedByMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}, any>>;
|
|
4442
4707
|
/**
|
|
4443
4708
|
* The `driveItems` returned from the `sharedWithMe` method always include the `remoteItem` facet that indicates they are items from a different drive.
|
|
4444
4709
|
* @summary Get a list of driveItem objects shared with the owner of a drive.
|
|
@@ -4446,7 +4711,7 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4446
4711
|
* @param {*} [options] Override http request option.
|
|
4447
4712
|
* @throws {RequiredError}
|
|
4448
4713
|
*/
|
|
4449
|
-
listSharedWithMe($expand?: Set<ListSharedWithMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}>>;
|
|
4714
|
+
listSharedWithMe($expand?: Set<ListSharedWithMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}, any>>;
|
|
4450
4715
|
/**
|
|
4451
4716
|
* Unfollow a DriveItem.
|
|
4452
4717
|
* @summary Unfollow a DriveItem
|
|
@@ -4454,7 +4719,7 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4454
4719
|
* @param {*} [options] Override http request option.
|
|
4455
4720
|
* @throws {RequiredError}
|
|
4456
4721
|
*/
|
|
4457
|
-
unfollowDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4722
|
+
unfollowDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4458
4723
|
}
|
|
4459
4724
|
export declare const ListSharedByMeExpandEnum: {
|
|
4460
4725
|
readonly Thumbnails: "thumbnails";
|
|
@@ -4471,10 +4736,11 @@ export declare const MeDriveRootApiAxiosParamCreator: (configuration?: Configura
|
|
|
4471
4736
|
/**
|
|
4472
4737
|
*
|
|
4473
4738
|
* @summary Get root from personal space
|
|
4739
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4474
4740
|
* @param {*} [options] Override http request option.
|
|
4475
4741
|
* @throws {RequiredError}
|
|
4476
4742
|
*/
|
|
4477
|
-
homeGetRoot: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4743
|
+
homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4478
4744
|
};
|
|
4479
4745
|
/**
|
|
4480
4746
|
* MeDriveRootApi - functional programming interface
|
|
@@ -4483,10 +4749,11 @@ export declare const MeDriveRootApiFp: (configuration?: Configuration) => {
|
|
|
4483
4749
|
/**
|
|
4484
4750
|
*
|
|
4485
4751
|
* @summary Get root from personal space
|
|
4752
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4486
4753
|
* @param {*} [options] Override http request option.
|
|
4487
4754
|
* @throws {RequiredError}
|
|
4488
4755
|
*/
|
|
4489
|
-
homeGetRoot(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4756
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4490
4757
|
};
|
|
4491
4758
|
/**
|
|
4492
4759
|
* MeDriveRootApi - factory interface
|
|
@@ -4495,10 +4762,11 @@ export declare const MeDriveRootApiFactory: (configuration?: Configuration, base
|
|
|
4495
4762
|
/**
|
|
4496
4763
|
*
|
|
4497
4764
|
* @summary Get root from personal space
|
|
4765
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4498
4766
|
* @param {*} [options] Override http request option.
|
|
4499
4767
|
* @throws {RequiredError}
|
|
4500
4768
|
*/
|
|
4501
|
-
homeGetRoot(options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4769
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4502
4770
|
};
|
|
4503
4771
|
/**
|
|
4504
4772
|
* MeDriveRootApi - object-oriented interface
|
|
@@ -4507,11 +4775,17 @@ export declare class MeDriveRootApi extends BaseAPI {
|
|
|
4507
4775
|
/**
|
|
4508
4776
|
*
|
|
4509
4777
|
* @summary Get root from personal space
|
|
4778
|
+
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4510
4779
|
* @param {*} [options] Override http request option.
|
|
4511
4780
|
* @throws {RequiredError}
|
|
4512
4781
|
*/
|
|
4513
|
-
homeGetRoot(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
4782
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
4514
4783
|
}
|
|
4784
|
+
export declare const HomeGetRootSelectEnum: {
|
|
4785
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4786
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4787
|
+
};
|
|
4788
|
+
export type HomeGetRootSelectEnum = typeof HomeGetRootSelectEnum[keyof typeof HomeGetRootSelectEnum];
|
|
4515
4789
|
/**
|
|
4516
4790
|
* MeDriveRootChildrenApi - axios parameter creator
|
|
4517
4791
|
*/
|
|
@@ -4519,10 +4793,11 @@ export declare const MeDriveRootChildrenApiAxiosParamCreator: (configuration?: C
|
|
|
4519
4793
|
/**
|
|
4520
4794
|
*
|
|
4521
4795
|
* @summary Get children from drive
|
|
4796
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4522
4797
|
* @param {*} [options] Override http request option.
|
|
4523
4798
|
* @throws {RequiredError}
|
|
4524
4799
|
*/
|
|
4525
|
-
homeGetChildren: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4800
|
+
homeGetChildren: ($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4526
4801
|
};
|
|
4527
4802
|
/**
|
|
4528
4803
|
* MeDriveRootChildrenApi - functional programming interface
|
|
@@ -4531,10 +4806,11 @@ export declare const MeDriveRootChildrenApiFp: (configuration?: Configuration) =
|
|
|
4531
4806
|
/**
|
|
4532
4807
|
*
|
|
4533
4808
|
* @summary Get children from drive
|
|
4809
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4534
4810
|
* @param {*} [options] Override http request option.
|
|
4535
4811
|
* @throws {RequiredError}
|
|
4536
4812
|
*/
|
|
4537
|
-
homeGetChildren(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDriveItems>>;
|
|
4813
|
+
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDriveItems>>;
|
|
4538
4814
|
};
|
|
4539
4815
|
/**
|
|
4540
4816
|
* MeDriveRootChildrenApi - factory interface
|
|
@@ -4543,10 +4819,11 @@ export declare const MeDriveRootChildrenApiFactory: (configuration?: Configurati
|
|
|
4543
4819
|
/**
|
|
4544
4820
|
*
|
|
4545
4821
|
* @summary Get children from drive
|
|
4822
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4546
4823
|
* @param {*} [options] Override http request option.
|
|
4547
4824
|
* @throws {RequiredError}
|
|
4548
4825
|
*/
|
|
4549
|
-
homeGetChildren(options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDriveItems>;
|
|
4826
|
+
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDriveItems>;
|
|
4550
4827
|
};
|
|
4551
4828
|
/**
|
|
4552
4829
|
* MeDriveRootChildrenApi - object-oriented interface
|
|
@@ -4555,11 +4832,17 @@ export declare class MeDriveRootChildrenApi extends BaseAPI {
|
|
|
4555
4832
|
/**
|
|
4556
4833
|
*
|
|
4557
4834
|
* @summary Get children from drive
|
|
4835
|
+
* @param {Set<HomeGetChildrenSelectEnum>} [$select] Select additional properties to be returned.
|
|
4558
4836
|
* @param {*} [options] Override http request option.
|
|
4559
4837
|
* @throws {RequiredError}
|
|
4560
4838
|
*/
|
|
4561
|
-
homeGetChildren(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}>>;
|
|
4839
|
+
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}, any>>;
|
|
4562
4840
|
}
|
|
4841
|
+
export declare const HomeGetChildrenSelectEnum: {
|
|
4842
|
+
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4843
|
+
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4844
|
+
};
|
|
4845
|
+
export type HomeGetChildrenSelectEnum = typeof HomeGetChildrenSelectEnum[keyof typeof HomeGetChildrenSelectEnum];
|
|
4563
4846
|
/**
|
|
4564
4847
|
* MeDrivesApi - axios parameter creator
|
|
4565
4848
|
*/
|
|
@@ -4647,7 +4930,7 @@ export declare class MeDrivesApi extends BaseAPI {
|
|
|
4647
4930
|
* @param {*} [options] Override http request option.
|
|
4648
4931
|
* @throws {RequiredError}
|
|
4649
4932
|
*/
|
|
4650
|
-
listMyDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}>>;
|
|
4933
|
+
listMyDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}, any>>;
|
|
4651
4934
|
/**
|
|
4652
4935
|
*
|
|
4653
4936
|
* @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
|
|
@@ -4658,7 +4941,7 @@ export declare class MeDrivesApi extends BaseAPI {
|
|
|
4658
4941
|
* @param {*} [options] Override http request option.
|
|
4659
4942
|
* @throws {RequiredError}
|
|
4660
4943
|
*/
|
|
4661
|
-
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}>>;
|
|
4944
|
+
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}, any>>;
|
|
4662
4945
|
}
|
|
4663
4946
|
export declare const ListMyDrivesBetaSelectEnum: {
|
|
4664
4947
|
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
@@ -4779,14 +5062,14 @@ export declare class MePhotoApi extends BaseAPI {
|
|
|
4779
5062
|
* @param {*} [options] Override http request option.
|
|
4780
5063
|
* @throws {RequiredError}
|
|
4781
5064
|
*/
|
|
4782
|
-
deleteOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5065
|
+
deleteOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4783
5066
|
/**
|
|
4784
5067
|
*
|
|
4785
5068
|
* @summary Get the current user\'s profile photo
|
|
4786
5069
|
* @param {*} [options] Override http request option.
|
|
4787
5070
|
* @throws {RequiredError}
|
|
4788
5071
|
*/
|
|
4789
|
-
getOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
5072
|
+
getOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
4790
5073
|
/**
|
|
4791
5074
|
*
|
|
4792
5075
|
* @summary Update the current user\'s profile photo
|
|
@@ -4794,7 +5077,7 @@ export declare class MePhotoApi extends BaseAPI {
|
|
|
4794
5077
|
* @param {*} [options] Override http request option.
|
|
4795
5078
|
* @throws {RequiredError}
|
|
4796
5079
|
*/
|
|
4797
|
-
updateOwnUserPhotoPatch(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5080
|
+
updateOwnUserPhotoPatch(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4798
5081
|
/**
|
|
4799
5082
|
*
|
|
4800
5083
|
* @summary Update the current user\'s profile photo
|
|
@@ -4802,7 +5085,7 @@ export declare class MePhotoApi extends BaseAPI {
|
|
|
4802
5085
|
* @param {*} [options] Override http request option.
|
|
4803
5086
|
* @throws {RequiredError}
|
|
4804
5087
|
*/
|
|
4805
|
-
updateOwnUserPhotoPut(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5088
|
+
updateOwnUserPhotoPut(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4806
5089
|
}
|
|
4807
5090
|
/**
|
|
4808
5091
|
* MeUserApi - axios parameter creator
|
|
@@ -4878,7 +5161,7 @@ export declare class MeUserApi extends BaseAPI {
|
|
|
4878
5161
|
* @param {*} [options] Override http request option.
|
|
4879
5162
|
* @throws {RequiredError}
|
|
4880
5163
|
*/
|
|
4881
|
-
getOwnUser($expand?: Set<GetOwnUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5164
|
+
getOwnUser($expand?: Set<GetOwnUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
4882
5165
|
/**
|
|
4883
5166
|
*
|
|
4884
5167
|
* @summary Update the current user
|
|
@@ -4886,7 +5169,7 @@ export declare class MeUserApi extends BaseAPI {
|
|
|
4886
5169
|
* @param {*} [options] Override http request option.
|
|
4887
5170
|
* @throws {RequiredError}
|
|
4888
5171
|
*/
|
|
4889
|
-
updateOwnUser(userUpdate?: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5172
|
+
updateOwnUser(userUpdate?: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
4890
5173
|
}
|
|
4891
5174
|
export declare const GetOwnUserExpandEnum: {
|
|
4892
5175
|
readonly MemberOf: "memberOf";
|
|
@@ -4963,14 +5246,14 @@ export declare class RoleManagementApi extends BaseAPI {
|
|
|
4963
5246
|
* @param {*} [options] Override http request option.
|
|
4964
5247
|
* @throws {RequiredError}
|
|
4965
5248
|
*/
|
|
4966
|
-
getPermissionRoleDefinition(roleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition, any, {}>>;
|
|
5249
|
+
getPermissionRoleDefinition(roleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition, any, {}, any>>;
|
|
4967
5250
|
/**
|
|
4968
5251
|
* Get a list of `unifiedRoleDefinition` objects for the permissions provider. This list determines the roles that can be selected when creating sharing invites.
|
|
4969
5252
|
* @summary List roleDefinitions
|
|
4970
5253
|
* @param {*} [options] Override http request option.
|
|
4971
5254
|
* @throws {RequiredError}
|
|
4972
5255
|
*/
|
|
4973
|
-
listPermissionRoleDefinitions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition[], any, {}>>;
|
|
5256
|
+
listPermissionRoleDefinitions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition[], any, {}, any>>;
|
|
4974
5257
|
}
|
|
4975
5258
|
/**
|
|
4976
5259
|
* TagsApi - axios parameter creator
|
|
@@ -5067,14 +5350,14 @@ export declare class TagsApi extends BaseAPI {
|
|
|
5067
5350
|
* @param {*} [options] Override http request option.
|
|
5068
5351
|
* @throws {RequiredError}
|
|
5069
5352
|
*/
|
|
5070
|
-
assignTags(tagAssignment?: TagAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5353
|
+
assignTags(tagAssignment?: TagAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5071
5354
|
/**
|
|
5072
5355
|
*
|
|
5073
5356
|
* @summary Get all known tags
|
|
5074
5357
|
* @param {*} [options] Override http request option.
|
|
5075
5358
|
* @throws {RequiredError}
|
|
5076
5359
|
*/
|
|
5077
|
-
getTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfTags, any, {}>>;
|
|
5360
|
+
getTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfTags, any, {}, any>>;
|
|
5078
5361
|
/**
|
|
5079
5362
|
*
|
|
5080
5363
|
* @summary Unassign tags from a resource
|
|
@@ -5082,7 +5365,7 @@ export declare class TagsApi extends BaseAPI {
|
|
|
5082
5365
|
* @param {*} [options] Override http request option.
|
|
5083
5366
|
* @throws {RequiredError}
|
|
5084
5367
|
*/
|
|
5085
|
-
unassignTags(tagUnassignment?: TagUnassignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5368
|
+
unassignTags(tagUnassignment?: TagUnassignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5086
5369
|
}
|
|
5087
5370
|
/**
|
|
5088
5371
|
* UserApi - axios parameter creator
|
|
@@ -5222,7 +5505,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5222
5505
|
* @param {*} [options] Override http request option.
|
|
5223
5506
|
* @throws {RequiredError}
|
|
5224
5507
|
*/
|
|
5225
|
-
deleteUser(userId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5508
|
+
deleteUser(userId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5226
5509
|
/**
|
|
5227
5510
|
*
|
|
5228
5511
|
* @summary export personal data of a user
|
|
@@ -5231,7 +5514,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5231
5514
|
* @param {*} [options] Override http request option.
|
|
5232
5515
|
* @throws {RequiredError}
|
|
5233
5516
|
*/
|
|
5234
|
-
exportPersonalData(userId: string, exportPersonalDataRequest?: ExportPersonalDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5517
|
+
exportPersonalData(userId: string, exportPersonalDataRequest?: ExportPersonalDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5235
5518
|
/**
|
|
5236
5519
|
*
|
|
5237
5520
|
* @summary Get entity from users by key
|
|
@@ -5241,7 +5524,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5241
5524
|
* @param {*} [options] Override http request option.
|
|
5242
5525
|
* @throws {RequiredError}
|
|
5243
5526
|
*/
|
|
5244
|
-
getUser(userId: string, $select?: Set<GetUserSelectEnum>, $expand?: Set<GetUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5527
|
+
getUser(userId: string, $select?: Set<GetUserSelectEnum>, $expand?: Set<GetUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5245
5528
|
/**
|
|
5246
5529
|
*
|
|
5247
5530
|
* @summary Update entity in users
|
|
@@ -5250,7 +5533,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5250
5533
|
* @param {*} [options] Override http request option.
|
|
5251
5534
|
* @throws {RequiredError}
|
|
5252
5535
|
*/
|
|
5253
|
-
updateUser(userId: string, userUpdate: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5536
|
+
updateUser(userId: string, userUpdate: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5254
5537
|
}
|
|
5255
5538
|
export declare const GetUserSelectEnum: {
|
|
5256
5539
|
readonly Id: "id";
|
|
@@ -5378,7 +5661,7 @@ export declare class UserAppRoleAssignmentApi extends BaseAPI {
|
|
|
5378
5661
|
* @param {*} [options] Override http request option.
|
|
5379
5662
|
* @throws {RequiredError}
|
|
5380
5663
|
*/
|
|
5381
|
-
userCreateAppRoleAssignments(userId: string, appRoleAssignment: AppRoleAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AppRoleAssignment, any, {}>>;
|
|
5664
|
+
userCreateAppRoleAssignments(userId: string, appRoleAssignment: AppRoleAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AppRoleAssignment, any, {}, any>>;
|
|
5382
5665
|
/**
|
|
5383
5666
|
*
|
|
5384
5667
|
* @summary Delete the appRoleAssignment from a user
|
|
@@ -5388,7 +5671,7 @@ export declare class UserAppRoleAssignmentApi extends BaseAPI {
|
|
|
5388
5671
|
* @param {*} [options] Override http request option.
|
|
5389
5672
|
* @throws {RequiredError}
|
|
5390
5673
|
*/
|
|
5391
|
-
userDeleteAppRoleAssignments(userId: string, appRoleAssignmentId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5674
|
+
userDeleteAppRoleAssignments(userId: string, appRoleAssignmentId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5392
5675
|
/**
|
|
5393
5676
|
* Represents the global roles a user has been granted for an application.
|
|
5394
5677
|
* @summary Get appRoleAssignments from a user
|
|
@@ -5396,7 +5679,7 @@ export declare class UserAppRoleAssignmentApi extends BaseAPI {
|
|
|
5396
5679
|
* @param {*} [options] Override http request option.
|
|
5397
5680
|
* @throws {RequiredError}
|
|
5398
5681
|
*/
|
|
5399
|
-
userListAppRoleAssignments(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfAppRoleAssignments, any, {}>>;
|
|
5682
|
+
userListAppRoleAssignments(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfAppRoleAssignments, any, {}, any>>;
|
|
5400
5683
|
}
|
|
5401
5684
|
/**
|
|
5402
5685
|
* UserPhotoApi - axios parameter creator
|
|
@@ -5448,7 +5731,63 @@ export declare class UserPhotoApi extends BaseAPI {
|
|
|
5448
5731
|
* @param {*} [options] Override http request option.
|
|
5449
5732
|
* @throws {RequiredError}
|
|
5450
5733
|
*/
|
|
5451
|
-
getUserPhoto(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
5734
|
+
getUserPhoto(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
5735
|
+
}
|
|
5736
|
+
/**
|
|
5737
|
+
* UserTeamworkApi - axios parameter creator
|
|
5738
|
+
*/
|
|
5739
|
+
export declare const UserTeamworkApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5740
|
+
/**
|
|
5741
|
+
* 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.
|
|
5742
|
+
* @summary Send an activity notification to a user
|
|
5743
|
+
* @param {string} userId key: id or name of user
|
|
5744
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5745
|
+
* @param {*} [options] Override http request option.
|
|
5746
|
+
* @throws {RequiredError}
|
|
5747
|
+
*/
|
|
5748
|
+
sendActivityNotification: (userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5749
|
+
};
|
|
5750
|
+
/**
|
|
5751
|
+
* UserTeamworkApi - functional programming interface
|
|
5752
|
+
*/
|
|
5753
|
+
export declare const UserTeamworkApiFp: (configuration?: Configuration) => {
|
|
5754
|
+
/**
|
|
5755
|
+
* 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.
|
|
5756
|
+
* @summary Send an activity notification to a user
|
|
5757
|
+
* @param {string} userId key: id or name of user
|
|
5758
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5759
|
+
* @param {*} [options] Override http request option.
|
|
5760
|
+
* @throws {RequiredError}
|
|
5761
|
+
*/
|
|
5762
|
+
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5763
|
+
};
|
|
5764
|
+
/**
|
|
5765
|
+
* UserTeamworkApi - factory interface
|
|
5766
|
+
*/
|
|
5767
|
+
export declare const UserTeamworkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5768
|
+
/**
|
|
5769
|
+
* 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.
|
|
5770
|
+
* @summary Send an activity notification to a user
|
|
5771
|
+
* @param {string} userId key: id or name of user
|
|
5772
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5773
|
+
* @param {*} [options] Override http request option.
|
|
5774
|
+
* @throws {RequiredError}
|
|
5775
|
+
*/
|
|
5776
|
+
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
5777
|
+
};
|
|
5778
|
+
/**
|
|
5779
|
+
* UserTeamworkApi - object-oriented interface
|
|
5780
|
+
*/
|
|
5781
|
+
export declare class UserTeamworkApi extends BaseAPI {
|
|
5782
|
+
/**
|
|
5783
|
+
* 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.
|
|
5784
|
+
* @summary Send an activity notification to a user
|
|
5785
|
+
* @param {string} userId key: id or name of user
|
|
5786
|
+
* @param {ActivityNotification} activityNotification The activity the user is notified about.
|
|
5787
|
+
* @param {*} [options] Override http request option.
|
|
5788
|
+
* @throws {RequiredError}
|
|
5789
|
+
*/
|
|
5790
|
+
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5452
5791
|
}
|
|
5453
5792
|
/**
|
|
5454
5793
|
* UsersApi - axios parameter creator
|
|
@@ -5536,7 +5875,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
5536
5875
|
* @param {*} [options] Override http request option.
|
|
5537
5876
|
* @throws {RequiredError}
|
|
5538
5877
|
*/
|
|
5539
|
-
createUser(user: User, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5878
|
+
createUser(user: User, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5540
5879
|
/**
|
|
5541
5880
|
*
|
|
5542
5881
|
* @summary Get entities from users
|
|
@@ -5548,7 +5887,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
5548
5887
|
* @param {*} [options] Override http request option.
|
|
5549
5888
|
* @throws {RequiredError}
|
|
5550
5889
|
*/
|
|
5551
|
-
listUsers($search?: string, $filter?: string, $orderby?: Set<ListUsersOrderbyEnum>, $select?: Set<ListUsersSelectEnum>, $expand?: Set<ListUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUser, any, {}>>;
|
|
5890
|
+
listUsers($search?: string, $filter?: string, $orderby?: Set<ListUsersOrderbyEnum>, $select?: Set<ListUsersSelectEnum>, $expand?: Set<ListUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUser, any, {}, any>>;
|
|
5552
5891
|
}
|
|
5553
5892
|
export declare const ListUsersOrderbyEnum: {
|
|
5554
5893
|
readonly DisplayName: "displayName";
|