@opencloud-eu/web-client 7.4.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{axios-CAceQWl5.js → axios-CiL7Z3dm.js} +837 -623
- package/dist/dist-p2k0FYjB.js +4 -0
- package/dist/{generated-CSkivkhn.js → generated-5SvS30Rr.js} +350 -324
- package/dist/graph-u53S3WT9.js +376 -0
- package/dist/{helpers-hr58GB0t.js → helpers-CrYtf7Ol.js} +9 -3
- package/dist/{ocs-BupRjiCI.js → ocs-CDSkdguM.js} +1282 -429
- package/dist/schemas-BlxXwTjV.js +3959 -0
- package/dist/src/graph/generated/api.d.ts +256 -152
- package/dist/src/helpers/resource/types.d.ts +3 -2
- package/dist/src/sse/index.d.ts +12 -0
- package/dist/src/webdav/constants/dav.d.ts +5 -1
- package/dist/{toString-Y_fh2BSJ.js → toString-CVetDRwx.js} +1 -1
- package/dist/web-client/graph/generated.js +2 -2
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/ox.js +49 -2
- package/dist/web-client/sse.js +57 -48
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.js +5 -5
- package/dist/webdav-BdeuuZHv.js +6422 -0
- package/package.json +4 -4
- package/dist/dist-Ciqaw6jy.js +0 -812
- package/dist/graph-BDtqSczU.js +0 -375
- package/dist/ox-DIaYdpxw.js +0 -3045
- package/dist/webdav-BE0Z-EcD.js +0 -4538
|
@@ -399,6 +399,7 @@ export interface DriveItem {
|
|
|
399
399
|
*/
|
|
400
400
|
'cTag'?: string;
|
|
401
401
|
'deleted'?: Deleted;
|
|
402
|
+
'pendingOperations'?: PendingOperations;
|
|
402
403
|
'file'?: OpenGraphFile;
|
|
403
404
|
'fileSystemInfo'?: FileSystemInfo;
|
|
404
405
|
'folder'?: Folder;
|
|
@@ -436,6 +437,7 @@ export interface DriveItem {
|
|
|
436
437
|
'video'?: Video;
|
|
437
438
|
'@libre.graph.motionPhoto'?: MotionPhoto;
|
|
438
439
|
'@libre.graph.livePhoto'?: LivePhoto;
|
|
440
|
+
'lockInfo'?: LockInfo;
|
|
439
441
|
/**
|
|
440
442
|
* Indicates if the item is synchronized with the underlying storage provider. Read-only.
|
|
441
443
|
*/
|
|
@@ -460,7 +462,18 @@ export interface DriveItem {
|
|
|
460
462
|
* A list of actions the caller is allowed to perform on this item. Only returned when explicitly requested via `$select` on endpoints that support it. Mirrors the annotation of the same name on the `/permissions` endpoint, allowing clients to learn a caller\'s effective actions on an item without a separate round-trip.
|
|
461
463
|
*/
|
|
462
464
|
'@libre.graph.permissions.actions.allowedValues'?: Array<string>;
|
|
465
|
+
/**
|
|
466
|
+
* The types of shares existing on this item, aggregated over all of its grants. Absent or empty if the item is not shared. This is a summary of the item\'s `permissions` collection. For the full grants use the permissions endpoints, for the caller\'s own capabilities use `@libre.graph.permissions.actions.allowedValues`. Only returned when explicitly requested via `$select`.
|
|
467
|
+
*/
|
|
468
|
+
'@libre.graph.shareTypes'?: Array<DriveItemAtLibreGraphShareTypesEnum>;
|
|
463
469
|
}
|
|
470
|
+
export declare const DriveItemAtLibreGraphShareTypesEnum: {
|
|
471
|
+
readonly User: "user";
|
|
472
|
+
readonly Group: "group";
|
|
473
|
+
readonly Link: "link";
|
|
474
|
+
readonly Remote: "remote";
|
|
475
|
+
};
|
|
476
|
+
export type DriveItemAtLibreGraphShareTypesEnum = typeof DriveItemAtLibreGraphShareTypesEnum[keyof typeof DriveItemAtLibreGraphShareTypesEnum];
|
|
464
477
|
export interface DriveItemCreateLink {
|
|
465
478
|
'type'?: SharingLinkType;
|
|
466
479
|
/**
|
|
@@ -502,6 +515,10 @@ export interface DriveItemInvite {
|
|
|
502
515
|
* Represents a person, group, or other recipient to share a drive item with using the invite action. When using invite to add permissions, the `driveRecipient` object would specify the `email`, `alias`, or `objectId` of the recipient. Only one of these values is required; multiple values are not accepted.
|
|
503
516
|
*/
|
|
504
517
|
export interface DriveRecipient {
|
|
518
|
+
/**
|
|
519
|
+
* The email address for the recipient, if the recipient has an associated email address.
|
|
520
|
+
*/
|
|
521
|
+
'email'?: string;
|
|
505
522
|
/**
|
|
506
523
|
* The unique identifier for the recipient in the directory.
|
|
507
524
|
*/
|
|
@@ -961,6 +978,36 @@ export interface LivePhoto {
|
|
|
961
978
|
*/
|
|
962
979
|
'vitalityScoringVersion'?: number;
|
|
963
980
|
}
|
|
981
|
+
/**
|
|
982
|
+
* Read-only lock metadata for a file, matching the MS Graph beta lockInfo resource. Indicates whether the file is locked, the kind of lock, when it was created, when it expires and who holds it.
|
|
983
|
+
*/
|
|
984
|
+
export interface LockInfo {
|
|
985
|
+
/**
|
|
986
|
+
* The type of lock currently held on the file. OpenCloud currently only issues exclusive locks, same as MS Graph, even if it defines more. Read-only.
|
|
987
|
+
*/
|
|
988
|
+
'lockType'?: LockInfoLockTypeEnum;
|
|
989
|
+
/**
|
|
990
|
+
* The date and time when the lock was created, in UTC. Read-only.
|
|
991
|
+
*/
|
|
992
|
+
'createdDateTime'?: string;
|
|
993
|
+
/**
|
|
994
|
+
* The date and time when the lock expires, in UTC. Read-only.
|
|
995
|
+
*/
|
|
996
|
+
'expirationDateTime'?: string;
|
|
997
|
+
/**
|
|
998
|
+
* The collection of users that currently hold the lock on the file. Read-only.
|
|
999
|
+
*/
|
|
1000
|
+
'owners'?: Array<Identity>;
|
|
1001
|
+
/**
|
|
1002
|
+
* Name of the application holding the lock, for example an office application. Not part of MS Graph. Read-only.
|
|
1003
|
+
*/
|
|
1004
|
+
'@libre.graph.appName'?: string;
|
|
1005
|
+
}
|
|
1006
|
+
export declare const LockInfoLockTypeEnum: {
|
|
1007
|
+
readonly None: "none";
|
|
1008
|
+
readonly Exclusive: "exclusive";
|
|
1009
|
+
};
|
|
1010
|
+
export type LockInfoLockTypeEnum = typeof LockInfoLockTypeEnum[keyof typeof LockInfoLockTypeEnum];
|
|
964
1011
|
export interface MemberReference {
|
|
965
1012
|
'@odata.id'?: string;
|
|
966
1013
|
}
|
|
@@ -1040,6 +1087,21 @@ export interface PasswordProfile {
|
|
|
1040
1087
|
*/
|
|
1041
1088
|
'password'?: string;
|
|
1042
1089
|
}
|
|
1090
|
+
/**
|
|
1091
|
+
* 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.
|
|
1092
|
+
*/
|
|
1093
|
+
export interface PendingOperations {
|
|
1094
|
+
'pendingContentUpdate'?: PendingOperationsPendingContentUpdate;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* 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.
|
|
1098
|
+
*/
|
|
1099
|
+
export interface PendingOperationsPendingContentUpdate {
|
|
1100
|
+
/**
|
|
1101
|
+
* Time the operation was queued. May be absent. Read-only.
|
|
1102
|
+
*/
|
|
1103
|
+
'queuedDateTime'?: string;
|
|
1104
|
+
}
|
|
1043
1105
|
/**
|
|
1044
1106
|
* 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.
|
|
1045
1107
|
*/
|
|
@@ -1594,7 +1656,7 @@ export declare class ActivitiesApi extends BaseAPI {
|
|
|
1594
1656
|
* @param {*} [options] Override http request option.
|
|
1595
1657
|
* @throws {RequiredError}
|
|
1596
1658
|
*/
|
|
1597
|
-
getActivities(kql?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfActivities, any, {}>>;
|
|
1659
|
+
getActivities(kql?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfActivities, any, {}, any>>;
|
|
1598
1660
|
}
|
|
1599
1661
|
/**
|
|
1600
1662
|
* ApplicationsApi - axios parameter creator
|
|
@@ -1667,14 +1729,14 @@ export declare class ApplicationsApi extends BaseAPI {
|
|
|
1667
1729
|
* @param {*} [options] Override http request option.
|
|
1668
1730
|
* @throws {RequiredError}
|
|
1669
1731
|
*/
|
|
1670
|
-
getApplication(applicationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application, any, {}>>;
|
|
1732
|
+
getApplication(applicationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Application, any, {}, any>>;
|
|
1671
1733
|
/**
|
|
1672
1734
|
*
|
|
1673
1735
|
* @summary Get all applications
|
|
1674
1736
|
* @param {*} [options] Override http request option.
|
|
1675
1737
|
* @throws {RequiredError}
|
|
1676
1738
|
*/
|
|
1677
|
-
listApplications(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfApplications, any, {}>>;
|
|
1739
|
+
listApplications(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfApplications, any, {}, any>>;
|
|
1678
1740
|
}
|
|
1679
1741
|
/**
|
|
1680
1742
|
* DriveItemApi - axios parameter creator
|
|
@@ -1686,12 +1748,12 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1686
1748
|
* @param {string} driveId key: id of drive
|
|
1687
1749
|
* @param {string} itemId key: id of item
|
|
1688
1750
|
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1689
|
-
* @param {
|
|
1690
|
-
* @param {
|
|
1751
|
+
* @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.
|
|
1752
|
+
* @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.
|
|
1691
1753
|
* @param {*} [options] Override http request option.
|
|
1692
1754
|
* @throws {RequiredError}
|
|
1693
1755
|
*/
|
|
1694
|
-
createChildDriveItem: (driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?:
|
|
1756
|
+
createChildDriveItem: (driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1695
1757
|
/**
|
|
1696
1758
|
* 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.
|
|
1697
1759
|
* @summary Delete a DriveItem.
|
|
@@ -1702,15 +1764,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1702
1764
|
*/
|
|
1703
1765
|
deleteDriveItem: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1704
1766
|
/**
|
|
1705
|
-
* Get a DriveItem by using its ID.
|
|
1767
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1706
1768
|
* @summary Get a DriveItem.
|
|
1707
1769
|
* @param {string} driveId key: id of drive
|
|
1708
1770
|
* @param {string} itemId key: id of item
|
|
1709
1771
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
1772
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1710
1773
|
* @param {*} [options] Override http request option.
|
|
1711
1774
|
* @throws {RequiredError}
|
|
1712
1775
|
*/
|
|
1713
|
-
getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1776
|
+
getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1714
1777
|
/**
|
|
1715
1778
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1716
1779
|
* @summary List children of a DriveItem
|
|
@@ -1731,15 +1794,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1731
1794
|
*/
|
|
1732
1795
|
getDriveItemContent: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1733
1796
|
/**
|
|
1734
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1797
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1735
1798
|
* @summary Get a DriveItem.
|
|
1736
1799
|
* @param {string} driveId key: id of drive
|
|
1737
1800
|
* @param {string} itemId key: id of item
|
|
1738
1801
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1802
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1739
1803
|
* @param {*} [options] Override http request option.
|
|
1740
1804
|
* @throws {RequiredError}
|
|
1741
1805
|
*/
|
|
1742
|
-
getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1806
|
+
getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1743
1807
|
/**
|
|
1744
1808
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1745
1809
|
* @summary Update a DriveItem.
|
|
@@ -1761,12 +1825,12 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1761
1825
|
* @param {string} driveId key: id of drive
|
|
1762
1826
|
* @param {string} itemId key: id of item
|
|
1763
1827
|
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1764
|
-
* @param {
|
|
1765
|
-
* @param {
|
|
1828
|
+
* @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.
|
|
1829
|
+
* @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.
|
|
1766
1830
|
* @param {*} [options] Override http request option.
|
|
1767
1831
|
* @throws {RequiredError}
|
|
1768
1832
|
*/
|
|
1769
|
-
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?:
|
|
1833
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1770
1834
|
/**
|
|
1771
1835
|
* 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.
|
|
1772
1836
|
* @summary Delete a DriveItem.
|
|
@@ -1777,15 +1841,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1777
1841
|
*/
|
|
1778
1842
|
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1779
1843
|
/**
|
|
1780
|
-
* Get a DriveItem by using its ID.
|
|
1844
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1781
1845
|
* @summary Get a DriveItem.
|
|
1782
1846
|
* @param {string} driveId key: id of drive
|
|
1783
1847
|
* @param {string} itemId key: id of item
|
|
1784
1848
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
1849
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1785
1850
|
* @param {*} [options] Override http request option.
|
|
1786
1851
|
* @throws {RequiredError}
|
|
1787
1852
|
*/
|
|
1788
|
-
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1853
|
+
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1789
1854
|
/**
|
|
1790
1855
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1791
1856
|
* @summary List children of a DriveItem
|
|
@@ -1806,15 +1871,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1806
1871
|
*/
|
|
1807
1872
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OdataError>>;
|
|
1808
1873
|
/**
|
|
1809
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1874
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1810
1875
|
* @summary Get a DriveItem.
|
|
1811
1876
|
* @param {string} driveId key: id of drive
|
|
1812
1877
|
* @param {string} itemId key: id of item
|
|
1813
1878
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1879
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1814
1880
|
* @param {*} [options] Override http request option.
|
|
1815
1881
|
* @throws {RequiredError}
|
|
1816
1882
|
*/
|
|
1817
|
-
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1883
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1818
1884
|
/**
|
|
1819
1885
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1820
1886
|
* @summary Update a DriveItem.
|
|
@@ -1836,12 +1902,12 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1836
1902
|
* @param {string} driveId key: id of drive
|
|
1837
1903
|
* @param {string} itemId key: id of item
|
|
1838
1904
|
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1839
|
-
* @param {
|
|
1840
|
-
* @param {
|
|
1905
|
+
* @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.
|
|
1906
|
+
* @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.
|
|
1841
1907
|
* @param {*} [options] Override http request option.
|
|
1842
1908
|
* @throws {RequiredError}
|
|
1843
1909
|
*/
|
|
1844
|
-
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?:
|
|
1910
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1845
1911
|
/**
|
|
1846
1912
|
* 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.
|
|
1847
1913
|
* @summary Delete a DriveItem.
|
|
@@ -1852,15 +1918,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1852
1918
|
*/
|
|
1853
1919
|
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1854
1920
|
/**
|
|
1855
|
-
* Get a DriveItem by using its ID.
|
|
1921
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1856
1922
|
* @summary Get a DriveItem.
|
|
1857
1923
|
* @param {string} driveId key: id of drive
|
|
1858
1924
|
* @param {string} itemId key: id of item
|
|
1859
1925
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
1926
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1860
1927
|
* @param {*} [options] Override http request option.
|
|
1861
1928
|
* @throws {RequiredError}
|
|
1862
1929
|
*/
|
|
1863
|
-
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1930
|
+
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1864
1931
|
/**
|
|
1865
1932
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1866
1933
|
* @summary List children of a DriveItem
|
|
@@ -1881,15 +1948,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1881
1948
|
*/
|
|
1882
1949
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<OdataError>;
|
|
1883
1950
|
/**
|
|
1884
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1951
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1885
1952
|
* @summary Get a DriveItem.
|
|
1886
1953
|
* @param {string} driveId key: id of drive
|
|
1887
1954
|
* @param {string} itemId key: id of item
|
|
1888
1955
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1956
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1889
1957
|
* @param {*} [options] Override http request option.
|
|
1890
1958
|
* @throws {RequiredError}
|
|
1891
1959
|
*/
|
|
1892
|
-
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1960
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1893
1961
|
/**
|
|
1894
1962
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1895
1963
|
* @summary Update a DriveItem.
|
|
@@ -1911,12 +1979,12 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1911
1979
|
* @param {string} driveId key: id of drive
|
|
1912
1980
|
* @param {string} itemId key: id of item
|
|
1913
1981
|
* @param {DriveItem} driveItem In the request body, provide a JSON object describing the new driveItem. Must specify exactly one of `folder` or `file`.
|
|
1914
|
-
* @param {
|
|
1915
|
-
* @param {
|
|
1982
|
+
* @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.
|
|
1983
|
+
* @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.
|
|
1916
1984
|
* @param {*} [options] Override http request option.
|
|
1917
1985
|
* @throws {RequiredError}
|
|
1918
1986
|
*/
|
|
1919
|
-
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?:
|
|
1987
|
+
createChildDriveItem(driveId: string, itemId: string, driveItem: DriveItem, libreGraphConflictBehavior?: CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1920
1988
|
/**
|
|
1921
1989
|
* 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.
|
|
1922
1990
|
* @summary Delete a DriveItem.
|
|
@@ -1925,17 +1993,18 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1925
1993
|
* @param {*} [options] Override http request option.
|
|
1926
1994
|
* @throws {RequiredError}
|
|
1927
1995
|
*/
|
|
1928
|
-
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1996
|
+
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
1929
1997
|
/**
|
|
1930
|
-
* Get a DriveItem by using its ID.
|
|
1998
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1931
1999
|
* @summary Get a DriveItem.
|
|
1932
2000
|
* @param {string} driveId key: id of drive
|
|
1933
2001
|
* @param {string} itemId key: id of item
|
|
1934
2002
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
2003
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1935
2004
|
* @param {*} [options] Override http request option.
|
|
1936
2005
|
* @throws {RequiredError}
|
|
1937
2006
|
*/
|
|
1938
|
-
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2007
|
+
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1939
2008
|
/**
|
|
1940
2009
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1941
2010
|
* @summary List children of a DriveItem
|
|
@@ -1945,7 +2014,7 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1945
2014
|
* @param {*} [options] Override http request option.
|
|
1946
2015
|
* @throws {RequiredError}
|
|
1947
2016
|
*/
|
|
1948
|
-
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}>>;
|
|
2017
|
+
getDriveItemChildren(driveId: string, itemId: string, $select?: Set<GetDriveItemChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}, any>>;
|
|
1949
2018
|
/**
|
|
1950
2019
|
* 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.
|
|
1951
2020
|
* @summary Download the content of a DriveItem
|
|
@@ -1954,17 +2023,18 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1954
2023
|
* @param {*} [options] Override http request option.
|
|
1955
2024
|
* @throws {RequiredError}
|
|
1956
2025
|
*/
|
|
1957
|
-
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OdataError, any, {}>>;
|
|
2026
|
+
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OdataError, any, {}, any>>;
|
|
1958
2027
|
/**
|
|
1959
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
2028
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1960
2029
|
* @summary Get a DriveItem.
|
|
1961
2030
|
* @param {string} driveId key: id of drive
|
|
1962
2031
|
* @param {string} itemId key: id of item
|
|
1963
2032
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
2033
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1964
2034
|
* @param {*} [options] Override http request option.
|
|
1965
2035
|
* @throws {RequiredError}
|
|
1966
2036
|
*/
|
|
1967
|
-
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2037
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1968
2038
|
/**
|
|
1969
2039
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1970
2040
|
* @summary Update a DriveItem.
|
|
@@ -1974,33 +2044,46 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1974
2044
|
* @param {*} [options] Override http request option.
|
|
1975
2045
|
* @throws {RequiredError}
|
|
1976
2046
|
*/
|
|
1977
|
-
updateDriveItem(driveId: string, itemId: string, driveItem: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
2047
|
+
updateDriveItem(driveId: string, itemId: string, driveItem: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1978
2048
|
}
|
|
1979
|
-
export declare const
|
|
2049
|
+
export declare const CreateChildDriveItemAtLibreGraphConflictBehaviorEnum: {
|
|
1980
2050
|
readonly Fail: "fail";
|
|
1981
2051
|
readonly Replace: "replace";
|
|
1982
2052
|
};
|
|
1983
|
-
export type
|
|
1984
|
-
export declare const
|
|
2053
|
+
export type CreateChildDriveItemAtLibreGraphConflictBehaviorEnum = typeof CreateChildDriveItemAtLibreGraphConflictBehaviorEnum[keyof typeof CreateChildDriveItemAtLibreGraphConflictBehaviorEnum];
|
|
2054
|
+
export declare const CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum: {
|
|
1985
2055
|
readonly Fail: "fail";
|
|
1986
2056
|
readonly Create: "create";
|
|
1987
2057
|
};
|
|
1988
|
-
export type
|
|
2058
|
+
export type CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum[keyof typeof CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum];
|
|
1989
2059
|
export declare const GetDriveItemSelectEnum: {
|
|
1990
2060
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
1991
2061
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2062
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
1992
2063
|
};
|
|
1993
2064
|
export type GetDriveItemSelectEnum = typeof GetDriveItemSelectEnum[keyof typeof GetDriveItemSelectEnum];
|
|
2065
|
+
export declare const GetDriveItemExpandEnum: {
|
|
2066
|
+
readonly Children: "children";
|
|
2067
|
+
readonly Thumbnails: "thumbnails";
|
|
2068
|
+
};
|
|
2069
|
+
export type GetDriveItemExpandEnum = typeof GetDriveItemExpandEnum[keyof typeof GetDriveItemExpandEnum];
|
|
1994
2070
|
export declare const GetDriveItemChildrenSelectEnum: {
|
|
1995
2071
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
1996
2072
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2073
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
1997
2074
|
};
|
|
1998
2075
|
export type GetDriveItemChildrenSelectEnum = typeof GetDriveItemChildrenSelectEnum[keyof typeof GetDriveItemChildrenSelectEnum];
|
|
1999
2076
|
export declare const GetDriveItemV1SelectEnum: {
|
|
2000
2077
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2001
2078
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2079
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
2002
2080
|
};
|
|
2003
2081
|
export type GetDriveItemV1SelectEnum = typeof GetDriveItemV1SelectEnum[keyof typeof GetDriveItemV1SelectEnum];
|
|
2082
|
+
export declare const GetDriveItemV1ExpandEnum: {
|
|
2083
|
+
readonly Children: "children";
|
|
2084
|
+
readonly Thumbnails: "thumbnails";
|
|
2085
|
+
};
|
|
2086
|
+
export type GetDriveItemV1ExpandEnum = typeof GetDriveItemV1ExpandEnum[keyof typeof GetDriveItemV1ExpandEnum];
|
|
2004
2087
|
/**
|
|
2005
2088
|
* DrivesApi - axios parameter creator
|
|
2006
2089
|
*/
|
|
@@ -2132,7 +2215,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
2132
2215
|
* @param {*} [options] Override http request option.
|
|
2133
2216
|
* @throws {RequiredError}
|
|
2134
2217
|
*/
|
|
2135
|
-
createDrive(drive: Drive, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
2218
|
+
createDrive(drive: Drive, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
2136
2219
|
/**
|
|
2137
2220
|
*
|
|
2138
2221
|
* @summary Delete a specific space
|
|
@@ -2141,7 +2224,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
2141
2224
|
* @param {*} [options] Override http request option.
|
|
2142
2225
|
* @throws {RequiredError}
|
|
2143
2226
|
*/
|
|
2144
|
-
deleteDrive(driveId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2227
|
+
deleteDrive(driveId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2145
2228
|
/**
|
|
2146
2229
|
*
|
|
2147
2230
|
* @summary Get drive by id
|
|
@@ -2150,7 +2233,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
2150
2233
|
* @param {*} [options] Override http request option.
|
|
2151
2234
|
* @throws {RequiredError}
|
|
2152
2235
|
*/
|
|
2153
|
-
getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
2236
|
+
getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
2154
2237
|
/**
|
|
2155
2238
|
*
|
|
2156
2239
|
* @summary Update the drive
|
|
@@ -2159,7 +2242,7 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
2159
2242
|
* @param {*} [options] Override http request option.
|
|
2160
2243
|
* @throws {RequiredError}
|
|
2161
2244
|
*/
|
|
2162
|
-
updateDrive(driveId: string, driveUpdate: DriveUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
2245
|
+
updateDrive(driveId: string, driveUpdate: DriveUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
2163
2246
|
}
|
|
2164
2247
|
export declare const GetDriveSelectEnum: {
|
|
2165
2248
|
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
@@ -2252,7 +2335,7 @@ export declare class DrivesGetDrivesApi extends BaseAPI {
|
|
|
2252
2335
|
* @param {*} [options] Override http request option.
|
|
2253
2336
|
* @throws {RequiredError}
|
|
2254
2337
|
*/
|
|
2255
|
-
listAllDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}>>;
|
|
2338
|
+
listAllDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}, any>>;
|
|
2256
2339
|
/**
|
|
2257
2340
|
*
|
|
2258
2341
|
* @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
|
|
@@ -2263,7 +2346,7 @@ export declare class DrivesGetDrivesApi extends BaseAPI {
|
|
|
2263
2346
|
* @param {*} [options] Override http request option.
|
|
2264
2347
|
* @throws {RequiredError}
|
|
2265
2348
|
*/
|
|
2266
|
-
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}>>;
|
|
2349
|
+
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives1, any, {}, any>>;
|
|
2267
2350
|
}
|
|
2268
2351
|
export declare const ListAllDrivesBetaSelectEnum: {
|
|
2269
2352
|
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
@@ -2522,7 +2605,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2522
2605
|
* @param {*} [options] Override http request option.
|
|
2523
2606
|
* @throws {RequiredError}
|
|
2524
2607
|
*/
|
|
2525
|
-
createLink(driveId: string, itemId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2608
|
+
createLink(driveId: string, itemId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2526
2609
|
/**
|
|
2527
2610
|
* Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted. The `inheritedFrom` property must be `null`.
|
|
2528
2611
|
* @summary Remove access to a DriveItem
|
|
@@ -2532,7 +2615,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2532
2615
|
* @param {*} [options] Override http request option.
|
|
2533
2616
|
* @throws {RequiredError}
|
|
2534
2617
|
*/
|
|
2535
|
-
deletePermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2618
|
+
deletePermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2536
2619
|
/**
|
|
2537
2620
|
* Return the effective sharing permission for a particular permission resource.
|
|
2538
2621
|
* @summary Get sharing permission for a file or folder
|
|
@@ -2542,7 +2625,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2542
2625
|
* @param {*} [options] Override http request option.
|
|
2543
2626
|
* @throws {RequiredError}
|
|
2544
2627
|
*/
|
|
2545
|
-
getPermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2628
|
+
getPermission(driveId: string, itemId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2546
2629
|
/**
|
|
2547
2630
|
* 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.
|
|
2548
2631
|
* @summary Send a sharing invitation
|
|
@@ -2552,7 +2635,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2552
2635
|
* @param {*} [options] Override http request option.
|
|
2553
2636
|
* @throws {RequiredError}
|
|
2554
2637
|
*/
|
|
2555
|
-
invite(driveId: string, itemId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}>>;
|
|
2638
|
+
invite(driveId: string, itemId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}, any>>;
|
|
2556
2639
|
/**
|
|
2557
2640
|
* 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.
|
|
2558
2641
|
* @summary List the effective sharing permissions on a driveItem.
|
|
@@ -2565,7 +2648,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2565
2648
|
* @param {*} [options] Override http request option.
|
|
2566
2649
|
* @throws {RequiredError}
|
|
2567
2650
|
*/
|
|
2568
|
-
listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}>>;
|
|
2651
|
+
listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}, any>>;
|
|
2569
2652
|
/**
|
|
2570
2653
|
* Set the password of a sharing permission. Only the `password` property can be modified this way.
|
|
2571
2654
|
* @summary Set sharing link password
|
|
@@ -2576,7 +2659,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2576
2659
|
* @param {*} [options] Override http request option.
|
|
2577
2660
|
* @throws {RequiredError}
|
|
2578
2661
|
*/
|
|
2579
|
-
setPermissionPassword(driveId: string, itemId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2662
|
+
setPermissionPassword(driveId: string, itemId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2580
2663
|
/**
|
|
2581
2664
|
* Update the properties of a sharing permission by patching the permission resource. Only the `roles`, `expirationDateTime` and `password` properties can be modified this way.
|
|
2582
2665
|
* @summary Update sharing permission
|
|
@@ -2587,7 +2670,7 @@ export declare class DrivesPermissionsApi extends BaseAPI {
|
|
|
2587
2670
|
* @param {*} [options] Override http request option.
|
|
2588
2671
|
* @throws {RequiredError}
|
|
2589
2672
|
*/
|
|
2590
|
-
updatePermission(driveId: string, itemId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2673
|
+
updatePermission(driveId: string, itemId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2591
2674
|
}
|
|
2592
2675
|
export declare const ListPermissionsSelectEnum: {
|
|
2593
2676
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
@@ -2603,13 +2686,13 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2603
2686
|
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2604
2687
|
* @summary Create a new DriveItem at the drive root
|
|
2605
2688
|
* @param {string} driveId key: id of drive
|
|
2606
|
-
* @param {
|
|
2607
|
-
* @param {
|
|
2689
|
+
* @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.
|
|
2690
|
+
* @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.
|
|
2608
2691
|
* @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.
|
|
2609
2692
|
* @param {*} [options] Override http request option.
|
|
2610
2693
|
* @throws {RequiredError}
|
|
2611
2694
|
*/
|
|
2612
|
-
createDriveItem: (driveId: string, libreGraphConflictBehavior?:
|
|
2695
|
+
createDriveItem: (driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2613
2696
|
/**
|
|
2614
2697
|
* 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. |
|
|
2615
2698
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2642,10 +2725,11 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2642
2725
|
* @summary Get root from arbitrary space
|
|
2643
2726
|
* @param {string} driveId key: id of drive
|
|
2644
2727
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2728
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2645
2729
|
* @param {*} [options] Override http request option.
|
|
2646
2730
|
* @throws {RequiredError}
|
|
2647
2731
|
*/
|
|
2648
|
-
getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2732
|
+
getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2649
2733
|
/**
|
|
2650
2734
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2651
2735
|
* @summary Send a sharing invitation
|
|
@@ -2696,13 +2780,13 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
|
2696
2780
|
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2697
2781
|
* @summary Create a new DriveItem at the drive root
|
|
2698
2782
|
* @param {string} driveId key: id of drive
|
|
2699
|
-
* @param {
|
|
2700
|
-
* @param {
|
|
2783
|
+
* @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.
|
|
2784
|
+
* @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.
|
|
2701
2785
|
* @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.
|
|
2702
2786
|
* @param {*} [options] Override http request option.
|
|
2703
2787
|
* @throws {RequiredError}
|
|
2704
2788
|
*/
|
|
2705
|
-
createDriveItem(driveId: string, libreGraphConflictBehavior?:
|
|
2789
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2706
2790
|
/**
|
|
2707
2791
|
* 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. |
|
|
2708
2792
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2735,10 +2819,11 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
|
2735
2819
|
* @summary Get root from arbitrary space
|
|
2736
2820
|
* @param {string} driveId key: id of drive
|
|
2737
2821
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2822
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2738
2823
|
* @param {*} [options] Override http request option.
|
|
2739
2824
|
* @throws {RequiredError}
|
|
2740
2825
|
*/
|
|
2741
|
-
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2826
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2742
2827
|
/**
|
|
2743
2828
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2744
2829
|
* @summary Send a sharing invitation
|
|
@@ -2789,13 +2874,13 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
|
|
|
2789
2874
|
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2790
2875
|
* @summary Create a new DriveItem at the drive root
|
|
2791
2876
|
* @param {string} driveId key: id of drive
|
|
2792
|
-
* @param {
|
|
2793
|
-
* @param {
|
|
2877
|
+
* @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.
|
|
2878
|
+
* @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.
|
|
2794
2879
|
* @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.
|
|
2795
2880
|
* @param {*} [options] Override http request option.
|
|
2796
2881
|
* @throws {RequiredError}
|
|
2797
2882
|
*/
|
|
2798
|
-
createDriveItem(driveId: string, libreGraphConflictBehavior?:
|
|
2883
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2799
2884
|
/**
|
|
2800
2885
|
* 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. |
|
|
2801
2886
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2828,10 +2913,11 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
|
|
|
2828
2913
|
* @summary Get root from arbitrary space
|
|
2829
2914
|
* @param {string} driveId key: id of drive
|
|
2830
2915
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2916
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2831
2917
|
* @param {*} [options] Override http request option.
|
|
2832
2918
|
* @throws {RequiredError}
|
|
2833
2919
|
*/
|
|
2834
|
-
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2920
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2835
2921
|
/**
|
|
2836
2922
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2837
2923
|
* @summary Send a sharing invitation
|
|
@@ -2882,13 +2968,13 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2882
2968
|
* Create a new folder or DriveItem in a Drive with the drive root as the parent. Modeled on the MS Graph create driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-post-children). The request body must specify exactly one of `folder` (set to `{}` to create a folder), `file` (to create a file item), or `remoteItem` (to mount a shared item; see [sharedWithMe](#/me.drive/ListSharedWithMe) for obtaining the source `remoteItem.id`). Requests with none of these, or with more than one, return 400. Mounting a share changes the `@client.synchronize` property of the `driveItem` in [sharedWithMe](#/me.drive/ListSharedWithMe) to true. The `@libre.graph.conflictBehavior` query parameter controls what happens if a child with the same name already exists. This endpoint also accepts the MS Graph colon-syntax URL form: POST /v1beta1/drives/{drive-id}/root:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so this URL form is not represented as a separate operation in this specification. The server still accepts it, resolves `:/{path}:` as the parent of the new item, and applies `@libre.graph.missingParentsBehavior` to decide whether to create missing intermediate folders.
|
|
2883
2969
|
* @summary Create a new DriveItem at the drive root
|
|
2884
2970
|
* @param {string} driveId key: id of drive
|
|
2885
|
-
* @param {
|
|
2886
|
-
* @param {
|
|
2971
|
+
* @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.
|
|
2972
|
+
* @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.
|
|
2887
2973
|
* @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.
|
|
2888
2974
|
* @param {*} [options] Override http request option.
|
|
2889
2975
|
* @throws {RequiredError}
|
|
2890
2976
|
*/
|
|
2891
|
-
createDriveItem(driveId: string, libreGraphConflictBehavior?:
|
|
2977
|
+
createDriveItem(driveId: string, libreGraphConflictBehavior?: CreateDriveItemAtLibreGraphConflictBehaviorEnum, libreGraphMissingParentsBehavior?: CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, driveItem?: DriveItem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
2892
2978
|
/**
|
|
2893
2979
|
* 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. |
|
|
2894
2980
|
* @summary Create a sharing link for the root item of a Drive
|
|
@@ -2897,7 +2983,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2897
2983
|
* @param {*} [options] Override http request option.
|
|
2898
2984
|
* @throws {RequiredError}
|
|
2899
2985
|
*/
|
|
2900
|
-
createLinkSpaceRoot(driveId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
2986
|
+
createLinkSpaceRoot(driveId: string, driveItemCreateLink?: DriveItemCreateLink, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2901
2987
|
/**
|
|
2902
2988
|
* 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`.
|
|
2903
2989
|
* @summary Remove access to a Drive
|
|
@@ -2906,7 +2992,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2906
2992
|
* @param {*} [options] Override http request option.
|
|
2907
2993
|
* @throws {RequiredError}
|
|
2908
2994
|
*/
|
|
2909
|
-
deletePermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2995
|
+
deletePermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
2910
2996
|
/**
|
|
2911
2997
|
* Return the effective sharing permission for a particular permission resource.
|
|
2912
2998
|
* @summary Get a single sharing permission for the root item of a drive
|
|
@@ -2915,16 +3001,17 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2915
3001
|
* @param {*} [options] Override http request option.
|
|
2916
3002
|
* @throws {RequiredError}
|
|
2917
3003
|
*/
|
|
2918
|
-
getPermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
3004
|
+
getPermissionSpaceRoot(driveId: string, permId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2919
3005
|
/**
|
|
2920
3006
|
*
|
|
2921
3007
|
* @summary Get root from arbitrary space
|
|
2922
3008
|
* @param {string} driveId key: id of drive
|
|
2923
3009
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
3010
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2924
3011
|
* @param {*} [options] Override http request option.
|
|
2925
3012
|
* @throws {RequiredError}
|
|
2926
3013
|
*/
|
|
2927
|
-
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
3014
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
2928
3015
|
/**
|
|
2929
3016
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2930
3017
|
* @summary Send a sharing invitation
|
|
@@ -2933,7 +3020,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2933
3020
|
* @param {*} [options] Override http request option.
|
|
2934
3021
|
* @throws {RequiredError}
|
|
2935
3022
|
*/
|
|
2936
|
-
inviteSpaceRoot(driveId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}>>;
|
|
3023
|
+
inviteSpaceRoot(driveId: string, driveItemInvite?: DriveItemInvite, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissions, any, {}, any>>;
|
|
2937
3024
|
/**
|
|
2938
3025
|
* 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.
|
|
2939
3026
|
* @summary List the effective permissions on the root item of a drive.
|
|
@@ -2945,7 +3032,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2945
3032
|
* @param {*} [options] Override http request option.
|
|
2946
3033
|
* @throws {RequiredError}
|
|
2947
3034
|
*/
|
|
2948
|
-
listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}>>;
|
|
3035
|
+
listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfPermissionsWithAllowedValues, any, {}, any>>;
|
|
2949
3036
|
/**
|
|
2950
3037
|
* Set the password of a sharing permission. Only the `password` property can be modified this way.
|
|
2951
3038
|
* @summary Set sharing link password for the root item of a drive
|
|
@@ -2955,7 +3042,7 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2955
3042
|
* @param {*} [options] Override http request option.
|
|
2956
3043
|
* @throws {RequiredError}
|
|
2957
3044
|
*/
|
|
2958
|
-
setPermissionPasswordSpaceRoot(driveId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
3045
|
+
setPermissionPasswordSpaceRoot(driveId: string, permId: string, sharingLinkPassword: SharingLinkPassword, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2959
3046
|
/**
|
|
2960
3047
|
* Update the properties of a sharing permission by patching the permission resource. Only the `roles`, `expirationDateTime` and `password` properties can be modified this way.
|
|
2961
3048
|
* @summary Update sharing permission
|
|
@@ -2965,23 +3052,29 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2965
3052
|
* @param {*} [options] Override http request option.
|
|
2966
3053
|
* @throws {RequiredError}
|
|
2967
3054
|
*/
|
|
2968
|
-
updatePermissionSpaceRoot(driveId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}>>;
|
|
3055
|
+
updatePermissionSpaceRoot(driveId: string, permId: string, permission: Permission, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Permission, any, {}, any>>;
|
|
2969
3056
|
}
|
|
2970
|
-
export declare const
|
|
3057
|
+
export declare const CreateDriveItemAtLibreGraphConflictBehaviorEnum: {
|
|
2971
3058
|
readonly Fail: "fail";
|
|
2972
3059
|
readonly Replace: "replace";
|
|
2973
3060
|
};
|
|
2974
|
-
export type
|
|
2975
|
-
export declare const
|
|
3061
|
+
export type CreateDriveItemAtLibreGraphConflictBehaviorEnum = typeof CreateDriveItemAtLibreGraphConflictBehaviorEnum[keyof typeof CreateDriveItemAtLibreGraphConflictBehaviorEnum];
|
|
3062
|
+
export declare const CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum: {
|
|
2976
3063
|
readonly Fail: "fail";
|
|
2977
3064
|
readonly Create: "create";
|
|
2978
3065
|
};
|
|
2979
|
-
export type
|
|
3066
|
+
export type CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum[keyof typeof CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum];
|
|
2980
3067
|
export declare const GetRootSelectEnum: {
|
|
2981
3068
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2982
3069
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
3070
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
2983
3071
|
};
|
|
2984
3072
|
export type GetRootSelectEnum = typeof GetRootSelectEnum[keyof typeof GetRootSelectEnum];
|
|
3073
|
+
export declare const GetRootExpandEnum: {
|
|
3074
|
+
readonly Children: "children";
|
|
3075
|
+
readonly Thumbnails: "thumbnails";
|
|
3076
|
+
};
|
|
3077
|
+
export type GetRootExpandEnum = typeof GetRootExpandEnum[keyof typeof GetRootExpandEnum];
|
|
2985
3078
|
export declare const ListPermissionsSpaceRootSelectEnum: {
|
|
2986
3079
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2987
3080
|
readonly LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues";
|
|
@@ -3213,7 +3306,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3213
3306
|
* @param {*} [options] Override http request option.
|
|
3214
3307
|
* @throws {RequiredError}
|
|
3215
3308
|
*/
|
|
3216
|
-
addUserToClass(classId: string, classMemberReference: ClassMemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3309
|
+
addUserToClass(classId: string, classMemberReference: ClassMemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3217
3310
|
/**
|
|
3218
3311
|
*
|
|
3219
3312
|
* @summary Add new education class
|
|
@@ -3221,7 +3314,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3221
3314
|
* @param {*} [options] Override http request option.
|
|
3222
3315
|
* @throws {RequiredError}
|
|
3223
3316
|
*/
|
|
3224
|
-
createClass(educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}>>;
|
|
3317
|
+
createClass(educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}, any>>;
|
|
3225
3318
|
/**
|
|
3226
3319
|
*
|
|
3227
3320
|
* @summary Delete education class
|
|
@@ -3229,7 +3322,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3229
3322
|
* @param {*} [options] Override http request option.
|
|
3230
3323
|
* @throws {RequiredError}
|
|
3231
3324
|
*/
|
|
3232
|
-
deleteClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3325
|
+
deleteClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3233
3326
|
/**
|
|
3234
3327
|
*
|
|
3235
3328
|
* @summary Unassign user from a class
|
|
@@ -3238,7 +3331,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3238
3331
|
* @param {*} [options] Override http request option.
|
|
3239
3332
|
* @throws {RequiredError}
|
|
3240
3333
|
*/
|
|
3241
|
-
deleteUserFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3334
|
+
deleteUserFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3242
3335
|
/**
|
|
3243
3336
|
*
|
|
3244
3337
|
* @summary Get class by key
|
|
@@ -3246,7 +3339,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3246
3339
|
* @param {*} [options] Override http request option.
|
|
3247
3340
|
* @throws {RequiredError}
|
|
3248
3341
|
*/
|
|
3249
|
-
getClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}>>;
|
|
3342
|
+
getClass(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}, any>>;
|
|
3250
3343
|
/**
|
|
3251
3344
|
*
|
|
3252
3345
|
* @summary Get the educationClass resources owned by an educationSchool
|
|
@@ -3254,14 +3347,14 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3254
3347
|
* @param {*} [options] Override http request option.
|
|
3255
3348
|
* @throws {RequiredError}
|
|
3256
3349
|
*/
|
|
3257
|
-
listClassMembers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
3350
|
+
listClassMembers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3258
3351
|
/**
|
|
3259
3352
|
*
|
|
3260
3353
|
* @summary list education classes
|
|
3261
3354
|
* @param {*} [options] Override http request option.
|
|
3262
3355
|
* @throws {RequiredError}
|
|
3263
3356
|
*/
|
|
3264
|
-
listClasses(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfClass, any, {}>>;
|
|
3357
|
+
listClasses(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfClass, any, {}, any>>;
|
|
3265
3358
|
/**
|
|
3266
3359
|
*
|
|
3267
3360
|
* @summary Update properties of a education class
|
|
@@ -3270,7 +3363,7 @@ export declare class EducationClassApi extends BaseAPI {
|
|
|
3270
3363
|
* @param {*} [options] Override http request option.
|
|
3271
3364
|
* @throws {RequiredError}
|
|
3272
3365
|
*/
|
|
3273
|
-
updateClass(classId: string, educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}>>;
|
|
3366
|
+
updateClass(classId: string, educationClass: EducationClass, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationClass, any, {}, any>>;
|
|
3274
3367
|
}
|
|
3275
3368
|
/**
|
|
3276
3369
|
* EducationClassTeachersApi - axios parameter creator
|
|
@@ -3377,7 +3470,7 @@ export declare class EducationClassTeachersApi extends BaseAPI {
|
|
|
3377
3470
|
* @param {*} [options] Override http request option.
|
|
3378
3471
|
* @throws {RequiredError}
|
|
3379
3472
|
*/
|
|
3380
|
-
addTeacherToClass(classId: string, classTeacherReference: ClassTeacherReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3473
|
+
addTeacherToClass(classId: string, classTeacherReference: ClassTeacherReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3381
3474
|
/**
|
|
3382
3475
|
*
|
|
3383
3476
|
* @summary Unassign user as teacher of a class
|
|
@@ -3386,7 +3479,7 @@ export declare class EducationClassTeachersApi extends BaseAPI {
|
|
|
3386
3479
|
* @param {*} [options] Override http request option.
|
|
3387
3480
|
* @throws {RequiredError}
|
|
3388
3481
|
*/
|
|
3389
|
-
deleteTeacherFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3482
|
+
deleteTeacherFromClass(classId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3390
3483
|
/**
|
|
3391
3484
|
*
|
|
3392
3485
|
* @summary Get the teachers for a class
|
|
@@ -3394,7 +3487,7 @@ export declare class EducationClassTeachersApi extends BaseAPI {
|
|
|
3394
3487
|
* @param {*} [options] Override http request option.
|
|
3395
3488
|
* @throws {RequiredError}
|
|
3396
3489
|
*/
|
|
3397
|
-
getTeachers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
3490
|
+
getTeachers(classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3398
3491
|
}
|
|
3399
3492
|
/**
|
|
3400
3493
|
* EducationSchoolApi - axios parameter creator
|
|
@@ -3702,7 +3795,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3702
3795
|
* @param {*} [options] Override http request option.
|
|
3703
3796
|
* @throws {RequiredError}
|
|
3704
3797
|
*/
|
|
3705
|
-
addClassToSchool(schoolId: string, classReference: ClassReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3798
|
+
addClassToSchool(schoolId: string, classReference: ClassReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3706
3799
|
/**
|
|
3707
3800
|
*
|
|
3708
3801
|
* @summary Assign a user to a school
|
|
@@ -3711,7 +3804,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3711
3804
|
* @param {*} [options] Override http request option.
|
|
3712
3805
|
* @throws {RequiredError}
|
|
3713
3806
|
*/
|
|
3714
|
-
addUserToSchool(schoolId: string, educationUserReference: EducationUserReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3807
|
+
addUserToSchool(schoolId: string, educationUserReference: EducationUserReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3715
3808
|
/**
|
|
3716
3809
|
*
|
|
3717
3810
|
* @summary Add new school
|
|
@@ -3719,7 +3812,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3719
3812
|
* @param {*} [options] Override http request option.
|
|
3720
3813
|
* @throws {RequiredError}
|
|
3721
3814
|
*/
|
|
3722
|
-
createSchool(educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}>>;
|
|
3815
|
+
createSchool(educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}, any>>;
|
|
3723
3816
|
/**
|
|
3724
3817
|
*
|
|
3725
3818
|
* @summary Unassign class from a school
|
|
@@ -3728,7 +3821,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3728
3821
|
* @param {*} [options] Override http request option.
|
|
3729
3822
|
* @throws {RequiredError}
|
|
3730
3823
|
*/
|
|
3731
|
-
deleteClassFromSchool(schoolId: string, classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3824
|
+
deleteClassFromSchool(schoolId: string, classId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3732
3825
|
/**
|
|
3733
3826
|
* 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.
|
|
3734
3827
|
* @summary Delete school
|
|
@@ -3736,7 +3829,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3736
3829
|
* @param {*} [options] Override http request option.
|
|
3737
3830
|
* @throws {RequiredError}
|
|
3738
3831
|
*/
|
|
3739
|
-
deleteSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3832
|
+
deleteSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3740
3833
|
/**
|
|
3741
3834
|
*
|
|
3742
3835
|
* @summary Unassign user from a school
|
|
@@ -3745,7 +3838,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3745
3838
|
* @param {*} [options] Override http request option.
|
|
3746
3839
|
* @throws {RequiredError}
|
|
3747
3840
|
*/
|
|
3748
|
-
deleteUserFromSchool(schoolId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3841
|
+
deleteUserFromSchool(schoolId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3749
3842
|
/**
|
|
3750
3843
|
*
|
|
3751
3844
|
* @summary Get the properties of a specific school
|
|
@@ -3753,7 +3846,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3753
3846
|
* @param {*} [options] Override http request option.
|
|
3754
3847
|
* @throws {RequiredError}
|
|
3755
3848
|
*/
|
|
3756
|
-
getSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}>>;
|
|
3849
|
+
getSchool(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}, any>>;
|
|
3757
3850
|
/**
|
|
3758
3851
|
*
|
|
3759
3852
|
* @summary Get the educationClass resources owned by an educationSchool
|
|
@@ -3761,7 +3854,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3761
3854
|
* @param {*} [options] Override http request option.
|
|
3762
3855
|
* @throws {RequiredError}
|
|
3763
3856
|
*/
|
|
3764
|
-
listSchoolClasses(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationClass, any, {}>>;
|
|
3857
|
+
listSchoolClasses(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationClass, any, {}, any>>;
|
|
3765
3858
|
/**
|
|
3766
3859
|
*
|
|
3767
3860
|
* @summary Get the educationUser resources associated with an educationSchool
|
|
@@ -3769,7 +3862,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3769
3862
|
* @param {*} [options] Override http request option.
|
|
3770
3863
|
* @throws {RequiredError}
|
|
3771
3864
|
*/
|
|
3772
|
-
listSchoolUsers(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
3865
|
+
listSchoolUsers(schoolId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3773
3866
|
/**
|
|
3774
3867
|
* 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\'`
|
|
3775
3868
|
* @summary Get a list of schools and their properties
|
|
@@ -3777,7 +3870,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3777
3870
|
* @param {*} [options] Override http request option.
|
|
3778
3871
|
* @throws {RequiredError}
|
|
3779
3872
|
*/
|
|
3780
|
-
listSchools($filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfSchools, any, {}>>;
|
|
3873
|
+
listSchools($filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfSchools, any, {}, any>>;
|
|
3781
3874
|
/**
|
|
3782
3875
|
*
|
|
3783
3876
|
* @summary Update properties of a school
|
|
@@ -3786,7 +3879,7 @@ export declare class EducationSchoolApi extends BaseAPI {
|
|
|
3786
3879
|
* @param {*} [options] Override http request option.
|
|
3787
3880
|
* @throws {RequiredError}
|
|
3788
3881
|
*/
|
|
3789
|
-
updateSchool(schoolId: string, educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}>>;
|
|
3882
|
+
updateSchool(schoolId: string, educationSchool: EducationSchool, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationSchool, any, {}, any>>;
|
|
3790
3883
|
}
|
|
3791
3884
|
/**
|
|
3792
3885
|
* EducationUserApi - axios parameter creator
|
|
@@ -3946,7 +4039,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3946
4039
|
* @param {*} [options] Override http request option.
|
|
3947
4040
|
* @throws {RequiredError}
|
|
3948
4041
|
*/
|
|
3949
|
-
createEducationUser(educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}>>;
|
|
4042
|
+
createEducationUser(educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}, any>>;
|
|
3950
4043
|
/**
|
|
3951
4044
|
* 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.
|
|
3952
4045
|
* @summary Delete educationUser
|
|
@@ -3954,7 +4047,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3954
4047
|
* @param {*} [options] Override http request option.
|
|
3955
4048
|
* @throws {RequiredError}
|
|
3956
4049
|
*/
|
|
3957
|
-
deleteEducationUser(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4050
|
+
deleteEducationUser(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
3958
4051
|
/**
|
|
3959
4052
|
*
|
|
3960
4053
|
* @summary Get properties of educationUser
|
|
@@ -3963,7 +4056,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3963
4056
|
* @param {*} [options] Override http request option.
|
|
3964
4057
|
* @throws {RequiredError}
|
|
3965
4058
|
*/
|
|
3966
|
-
getEducationUser(userId: string, $expand?: Set<GetEducationUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}>>;
|
|
4059
|
+
getEducationUser(userId: string, $expand?: Set<GetEducationUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}, any>>;
|
|
3967
4060
|
/**
|
|
3968
4061
|
* 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\'`
|
|
3969
4062
|
* @summary Get entities from education users
|
|
@@ -3973,7 +4066,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3973
4066
|
* @param {*} [options] Override http request option.
|
|
3974
4067
|
* @throws {RequiredError}
|
|
3975
4068
|
*/
|
|
3976
|
-
listEducationUsers($filter?: string, $orderby?: Set<ListEducationUsersOrderbyEnum>, $expand?: Set<ListEducationUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}>>;
|
|
4069
|
+
listEducationUsers($filter?: string, $orderby?: Set<ListEducationUsersOrderbyEnum>, $expand?: Set<ListEducationUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfEducationUser, any, {}, any>>;
|
|
3977
4070
|
/**
|
|
3978
4071
|
*
|
|
3979
4072
|
* @summary Update properties of educationUser
|
|
@@ -3982,7 +4075,7 @@ export declare class EducationUserApi extends BaseAPI {
|
|
|
3982
4075
|
* @param {*} [options] Override http request option.
|
|
3983
4076
|
* @throws {RequiredError}
|
|
3984
4077
|
*/
|
|
3985
|
-
updateEducationUser(userId: string, educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}>>;
|
|
4078
|
+
updateEducationUser(userId: string, educationUser: EducationUser, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EducationUser, any, {}, any>>;
|
|
3986
4079
|
}
|
|
3987
4080
|
export declare const GetEducationUserExpandEnum: {
|
|
3988
4081
|
readonly MemberOf: "memberOf";
|
|
@@ -4193,7 +4286,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
4193
4286
|
* @param {*} [options] Override http request option.
|
|
4194
4287
|
* @throws {RequiredError}
|
|
4195
4288
|
*/
|
|
4196
|
-
addMember(groupId: string, memberReference: MemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4289
|
+
addMember(groupId: string, memberReference: MemberReference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4197
4290
|
/**
|
|
4198
4291
|
*
|
|
4199
4292
|
* @summary Delete entity from groups
|
|
@@ -4202,7 +4295,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
4202
4295
|
* @param {*} [options] Override http request option.
|
|
4203
4296
|
* @throws {RequiredError}
|
|
4204
4297
|
*/
|
|
4205
|
-
deleteGroup(groupId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4298
|
+
deleteGroup(groupId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4206
4299
|
/**
|
|
4207
4300
|
*
|
|
4208
4301
|
* @summary Delete member from a group
|
|
@@ -4212,7 +4305,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
4212
4305
|
* @param {*} [options] Override http request option.
|
|
4213
4306
|
* @throws {RequiredError}
|
|
4214
4307
|
*/
|
|
4215
|
-
deleteMember(groupId: string, directoryObjectId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4308
|
+
deleteMember(groupId: string, directoryObjectId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4216
4309
|
/**
|
|
4217
4310
|
*
|
|
4218
4311
|
* @summary Get entity from groups by key
|
|
@@ -4222,7 +4315,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
4222
4315
|
* @param {*} [options] Override http request option.
|
|
4223
4316
|
* @throws {RequiredError}
|
|
4224
4317
|
*/
|
|
4225
|
-
getGroup(groupId: string, $select?: Set<GetGroupSelectEnum>, $expand?: Set<GetGroupExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}>>;
|
|
4318
|
+
getGroup(groupId: string, $select?: Set<GetGroupSelectEnum>, $expand?: Set<GetGroupExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}, any>>;
|
|
4226
4319
|
/**
|
|
4227
4320
|
*
|
|
4228
4321
|
* @summary Get a list of the group\'s direct members
|
|
@@ -4230,7 +4323,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
4230
4323
|
* @param {*} [options] Override http request option.
|
|
4231
4324
|
* @throws {RequiredError}
|
|
4232
4325
|
*/
|
|
4233
|
-
listMembers(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUsers, any, {}>>;
|
|
4326
|
+
listMembers(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUsers, any, {}, any>>;
|
|
4234
4327
|
/**
|
|
4235
4328
|
*
|
|
4236
4329
|
* @summary Update entity in groups
|
|
@@ -4239,7 +4332,7 @@ export declare class GroupApi extends BaseAPI {
|
|
|
4239
4332
|
* @param {*} [options] Override http request option.
|
|
4240
4333
|
* @throws {RequiredError}
|
|
4241
4334
|
*/
|
|
4242
|
-
updateGroup(groupId: string, group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4335
|
+
updateGroup(groupId: string, group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4243
4336
|
}
|
|
4244
4337
|
export declare const GetGroupSelectEnum: {
|
|
4245
4338
|
readonly Id: "id";
|
|
@@ -4335,7 +4428,7 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
4335
4428
|
* @param {*} [options] Override http request option.
|
|
4336
4429
|
* @throws {RequiredError}
|
|
4337
4430
|
*/
|
|
4338
|
-
createGroup(group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}>>;
|
|
4431
|
+
createGroup(group: Group, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Group, any, {}, any>>;
|
|
4339
4432
|
/**
|
|
4340
4433
|
*
|
|
4341
4434
|
* @summary Get entities from groups
|
|
@@ -4346,7 +4439,7 @@ export declare class GroupsApi extends BaseAPI {
|
|
|
4346
4439
|
* @param {*} [options] Override http request option.
|
|
4347
4440
|
* @throws {RequiredError}
|
|
4348
4441
|
*/
|
|
4349
|
-
listGroups($search?: string, $orderby?: Set<ListGroupsOrderbyEnum>, $select?: Set<ListGroupsSelectEnum>, $expand?: Set<ListGroupsExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfGroup, any, {}>>;
|
|
4442
|
+
listGroups($search?: string, $orderby?: Set<ListGroupsOrderbyEnum>, $select?: Set<ListGroupsSelectEnum>, $expand?: Set<ListGroupsExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfGroup, any, {}, any>>;
|
|
4350
4443
|
}
|
|
4351
4444
|
export declare const ListGroupsOrderbyEnum: {
|
|
4352
4445
|
readonly DisplayName: "displayName";
|
|
@@ -4460,7 +4553,7 @@ export declare class InvitationsApi extends BaseAPI {
|
|
|
4460
4553
|
* @param {*} [options] Override http request option.
|
|
4461
4554
|
* @throws {RequiredError}
|
|
4462
4555
|
*/
|
|
4463
|
-
createInvitation(invitation?: Invitation, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}>>;
|
|
4556
|
+
createInvitation(invitation?: Invitation, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}, any>>;
|
|
4464
4557
|
/**
|
|
4465
4558
|
*
|
|
4466
4559
|
* @summary Get an invitation by key
|
|
@@ -4468,14 +4561,14 @@ export declare class InvitationsApi extends BaseAPI {
|
|
|
4468
4561
|
* @param {*} [options] Override http request option.
|
|
4469
4562
|
* @throws {RequiredError}
|
|
4470
4563
|
*/
|
|
4471
|
-
getInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}>>;
|
|
4564
|
+
getInvitation(invitationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Invitation, any, {}, any>>;
|
|
4472
4565
|
/**
|
|
4473
4566
|
*
|
|
4474
4567
|
* @summary Get a list of invitations
|
|
4475
4568
|
* @param {*} [options] Override http request option.
|
|
4476
4569
|
* @throws {RequiredError}
|
|
4477
4570
|
*/
|
|
4478
|
-
listInvitations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfInvitations, any, {}>>;
|
|
4571
|
+
listInvitations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfInvitations, any, {}, any>>;
|
|
4479
4572
|
}
|
|
4480
4573
|
/**
|
|
4481
4574
|
* MeChangepasswordApi - axios parameter creator
|
|
@@ -4527,7 +4620,7 @@ export declare class MeChangepasswordApi extends BaseAPI {
|
|
|
4527
4620
|
* @param {*} [options] Override http request option.
|
|
4528
4621
|
* @throws {RequiredError}
|
|
4529
4622
|
*/
|
|
4530
|
-
changeOwnPassword(passwordChange: PasswordChange, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4623
|
+
changeOwnPassword(passwordChange: PasswordChange, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4531
4624
|
}
|
|
4532
4625
|
/**
|
|
4533
4626
|
* MeDriveApi - axios parameter creator
|
|
@@ -4672,14 +4765,14 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4672
4765
|
* @param {*} [options] Override http request option.
|
|
4673
4766
|
* @throws {RequiredError}
|
|
4674
4767
|
*/
|
|
4675
|
-
followDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
4768
|
+
followDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
4676
4769
|
/**
|
|
4677
4770
|
*
|
|
4678
4771
|
* @summary Get personal space for user
|
|
4679
4772
|
* @param {*} [options] Override http request option.
|
|
4680
4773
|
* @throws {RequiredError}
|
|
4681
4774
|
*/
|
|
4682
|
-
getHome(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}>>;
|
|
4775
|
+
getHome(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Drive, any, {}, any>>;
|
|
4683
4776
|
/**
|
|
4684
4777
|
* The `driveItems` returned from the `sharedByMe` method always include the `permissions` relation that indicates they are shared items.
|
|
4685
4778
|
* @summary Get a list of driveItem objects shared by the current user.
|
|
@@ -4687,7 +4780,7 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4687
4780
|
* @param {*} [options] Override http request option.
|
|
4688
4781
|
* @throws {RequiredError}
|
|
4689
4782
|
*/
|
|
4690
|
-
listSharedByMe($expand?: Set<ListSharedByMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}>>;
|
|
4783
|
+
listSharedByMe($expand?: Set<ListSharedByMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}, any>>;
|
|
4691
4784
|
/**
|
|
4692
4785
|
* The `driveItems` returned from the `sharedWithMe` method always include the `remoteItem` facet that indicates they are items from a different drive.
|
|
4693
4786
|
* @summary Get a list of driveItem objects shared with the owner of a drive.
|
|
@@ -4695,7 +4788,7 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4695
4788
|
* @param {*} [options] Override http request option.
|
|
4696
4789
|
* @throws {RequiredError}
|
|
4697
4790
|
*/
|
|
4698
|
-
listSharedWithMe($expand?: Set<ListSharedWithMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}>>;
|
|
4791
|
+
listSharedWithMe($expand?: Set<ListSharedWithMeExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems1, any, {}, any>>;
|
|
4699
4792
|
/**
|
|
4700
4793
|
* Unfollow a DriveItem.
|
|
4701
4794
|
* @summary Unfollow a DriveItem
|
|
@@ -4703,7 +4796,7 @@ export declare class MeDriveApi extends BaseAPI {
|
|
|
4703
4796
|
* @param {*} [options] Override http request option.
|
|
4704
4797
|
* @throws {RequiredError}
|
|
4705
4798
|
*/
|
|
4706
|
-
unfollowDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4799
|
+
unfollowDriveItem(itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
4707
4800
|
}
|
|
4708
4801
|
export declare const ListSharedByMeExpandEnum: {
|
|
4709
4802
|
readonly Thumbnails: "thumbnails";
|
|
@@ -4721,10 +4814,11 @@ export declare const MeDriveRootApiAxiosParamCreator: (configuration?: Configura
|
|
|
4721
4814
|
*
|
|
4722
4815
|
* @summary Get root from personal space
|
|
4723
4816
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4817
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4724
4818
|
* @param {*} [options] Override http request option.
|
|
4725
4819
|
* @throws {RequiredError}
|
|
4726
4820
|
*/
|
|
4727
|
-
homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4821
|
+
homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4728
4822
|
};
|
|
4729
4823
|
/**
|
|
4730
4824
|
* MeDriveRootApi - functional programming interface
|
|
@@ -4734,10 +4828,11 @@ export declare const MeDriveRootApiFp: (configuration?: Configuration) => {
|
|
|
4734
4828
|
*
|
|
4735
4829
|
* @summary Get root from personal space
|
|
4736
4830
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4831
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4737
4832
|
* @param {*} [options] Override http request option.
|
|
4738
4833
|
* @throws {RequiredError}
|
|
4739
4834
|
*/
|
|
4740
|
-
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4835
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4741
4836
|
};
|
|
4742
4837
|
/**
|
|
4743
4838
|
* MeDriveRootApi - factory interface
|
|
@@ -4747,10 +4842,11 @@ export declare const MeDriveRootApiFactory: (configuration?: Configuration, base
|
|
|
4747
4842
|
*
|
|
4748
4843
|
* @summary Get root from personal space
|
|
4749
4844
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4845
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4750
4846
|
* @param {*} [options] Override http request option.
|
|
4751
4847
|
* @throws {RequiredError}
|
|
4752
4848
|
*/
|
|
4753
|
-
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4849
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4754
4850
|
};
|
|
4755
4851
|
/**
|
|
4756
4852
|
* MeDriveRootApi - object-oriented interface
|
|
@@ -4760,16 +4856,23 @@ export declare class MeDriveRootApi extends BaseAPI {
|
|
|
4760
4856
|
*
|
|
4761
4857
|
* @summary Get root from personal space
|
|
4762
4858
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4859
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4763
4860
|
* @param {*} [options] Override http request option.
|
|
4764
4861
|
* @throws {RequiredError}
|
|
4765
4862
|
*/
|
|
4766
|
-
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}>>;
|
|
4863
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
4767
4864
|
}
|
|
4768
4865
|
export declare const HomeGetRootSelectEnum: {
|
|
4769
4866
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4770
4867
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4868
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
4771
4869
|
};
|
|
4772
4870
|
export type HomeGetRootSelectEnum = typeof HomeGetRootSelectEnum[keyof typeof HomeGetRootSelectEnum];
|
|
4871
|
+
export declare const HomeGetRootExpandEnum: {
|
|
4872
|
+
readonly Children: "children";
|
|
4873
|
+
readonly Thumbnails: "thumbnails";
|
|
4874
|
+
};
|
|
4875
|
+
export type HomeGetRootExpandEnum = typeof HomeGetRootExpandEnum[keyof typeof HomeGetRootExpandEnum];
|
|
4773
4876
|
/**
|
|
4774
4877
|
* MeDriveRootChildrenApi - axios parameter creator
|
|
4775
4878
|
*/
|
|
@@ -4820,11 +4923,12 @@ export declare class MeDriveRootChildrenApi extends BaseAPI {
|
|
|
4820
4923
|
* @param {*} [options] Override http request option.
|
|
4821
4924
|
* @throws {RequiredError}
|
|
4822
4925
|
*/
|
|
4823
|
-
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}>>;
|
|
4926
|
+
homeGetChildren($select?: Set<HomeGetChildrenSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDriveItems, any, {}, any>>;
|
|
4824
4927
|
}
|
|
4825
4928
|
export declare const HomeGetChildrenSelectEnum: {
|
|
4826
4929
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4827
4930
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4931
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
4828
4932
|
};
|
|
4829
4933
|
export type HomeGetChildrenSelectEnum = typeof HomeGetChildrenSelectEnum[keyof typeof HomeGetChildrenSelectEnum];
|
|
4830
4934
|
/**
|
|
@@ -4914,7 +5018,7 @@ export declare class MeDrivesApi extends BaseAPI {
|
|
|
4914
5018
|
* @param {*} [options] Override http request option.
|
|
4915
5019
|
* @throws {RequiredError}
|
|
4916
5020
|
*/
|
|
4917
|
-
listMyDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}>>;
|
|
5021
|
+
listMyDrives($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}, any>>;
|
|
4918
5022
|
/**
|
|
4919
5023
|
*
|
|
4920
5024
|
* @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
|
|
@@ -4925,7 +5029,7 @@ export declare class MeDrivesApi extends BaseAPI {
|
|
|
4925
5029
|
* @param {*} [options] Override http request option.
|
|
4926
5030
|
* @throws {RequiredError}
|
|
4927
5031
|
*/
|
|
4928
|
-
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}>>;
|
|
5032
|
+
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfDrives, any, {}, any>>;
|
|
4929
5033
|
}
|
|
4930
5034
|
export declare const ListMyDrivesBetaSelectEnum: {
|
|
4931
5035
|
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
@@ -5046,14 +5150,14 @@ export declare class MePhotoApi extends BaseAPI {
|
|
|
5046
5150
|
* @param {*} [options] Override http request option.
|
|
5047
5151
|
* @throws {RequiredError}
|
|
5048
5152
|
*/
|
|
5049
|
-
deleteOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5153
|
+
deleteOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5050
5154
|
/**
|
|
5051
5155
|
*
|
|
5052
5156
|
* @summary Get the current user\'s profile photo
|
|
5053
5157
|
* @param {*} [options] Override http request option.
|
|
5054
5158
|
* @throws {RequiredError}
|
|
5055
5159
|
*/
|
|
5056
|
-
getOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
5160
|
+
getOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
5057
5161
|
/**
|
|
5058
5162
|
*
|
|
5059
5163
|
* @summary Update the current user\'s profile photo
|
|
@@ -5061,7 +5165,7 @@ export declare class MePhotoApi extends BaseAPI {
|
|
|
5061
5165
|
* @param {*} [options] Override http request option.
|
|
5062
5166
|
* @throws {RequiredError}
|
|
5063
5167
|
*/
|
|
5064
|
-
updateOwnUserPhotoPatch(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5168
|
+
updateOwnUserPhotoPatch(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5065
5169
|
/**
|
|
5066
5170
|
*
|
|
5067
5171
|
* @summary Update the current user\'s profile photo
|
|
@@ -5069,7 +5173,7 @@ export declare class MePhotoApi extends BaseAPI {
|
|
|
5069
5173
|
* @param {*} [options] Override http request option.
|
|
5070
5174
|
* @throws {RequiredError}
|
|
5071
5175
|
*/
|
|
5072
|
-
updateOwnUserPhotoPut(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5176
|
+
updateOwnUserPhotoPut(body?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5073
5177
|
}
|
|
5074
5178
|
/**
|
|
5075
5179
|
* MeUserApi - axios parameter creator
|
|
@@ -5145,7 +5249,7 @@ export declare class MeUserApi extends BaseAPI {
|
|
|
5145
5249
|
* @param {*} [options] Override http request option.
|
|
5146
5250
|
* @throws {RequiredError}
|
|
5147
5251
|
*/
|
|
5148
|
-
getOwnUser($expand?: Set<GetOwnUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5252
|
+
getOwnUser($expand?: Set<GetOwnUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5149
5253
|
/**
|
|
5150
5254
|
*
|
|
5151
5255
|
* @summary Update the current user
|
|
@@ -5153,7 +5257,7 @@ export declare class MeUserApi extends BaseAPI {
|
|
|
5153
5257
|
* @param {*} [options] Override http request option.
|
|
5154
5258
|
* @throws {RequiredError}
|
|
5155
5259
|
*/
|
|
5156
|
-
updateOwnUser(userUpdate?: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5260
|
+
updateOwnUser(userUpdate?: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5157
5261
|
}
|
|
5158
5262
|
export declare const GetOwnUserExpandEnum: {
|
|
5159
5263
|
readonly MemberOf: "memberOf";
|
|
@@ -5230,14 +5334,14 @@ export declare class RoleManagementApi extends BaseAPI {
|
|
|
5230
5334
|
* @param {*} [options] Override http request option.
|
|
5231
5335
|
* @throws {RequiredError}
|
|
5232
5336
|
*/
|
|
5233
|
-
getPermissionRoleDefinition(roleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition, any, {}>>;
|
|
5337
|
+
getPermissionRoleDefinition(roleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition, any, {}, any>>;
|
|
5234
5338
|
/**
|
|
5235
5339
|
* Get a list of `unifiedRoleDefinition` objects for the permissions provider. This list determines the roles that can be selected when creating sharing invites.
|
|
5236
5340
|
* @summary List roleDefinitions
|
|
5237
5341
|
* @param {*} [options] Override http request option.
|
|
5238
5342
|
* @throws {RequiredError}
|
|
5239
5343
|
*/
|
|
5240
|
-
listPermissionRoleDefinitions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition[], any, {}>>;
|
|
5344
|
+
listPermissionRoleDefinitions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnifiedRoleDefinition[], any, {}, any>>;
|
|
5241
5345
|
}
|
|
5242
5346
|
/**
|
|
5243
5347
|
* TagsApi - axios parameter creator
|
|
@@ -5334,14 +5438,14 @@ export declare class TagsApi extends BaseAPI {
|
|
|
5334
5438
|
* @param {*} [options] Override http request option.
|
|
5335
5439
|
* @throws {RequiredError}
|
|
5336
5440
|
*/
|
|
5337
|
-
assignTags(tagAssignment?: TagAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5441
|
+
assignTags(tagAssignment?: TagAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5338
5442
|
/**
|
|
5339
5443
|
*
|
|
5340
5444
|
* @summary Get all known tags
|
|
5341
5445
|
* @param {*} [options] Override http request option.
|
|
5342
5446
|
* @throws {RequiredError}
|
|
5343
5447
|
*/
|
|
5344
|
-
getTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfTags, any, {}>>;
|
|
5448
|
+
getTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfTags, any, {}, any>>;
|
|
5345
5449
|
/**
|
|
5346
5450
|
*
|
|
5347
5451
|
* @summary Unassign tags from a resource
|
|
@@ -5349,7 +5453,7 @@ export declare class TagsApi extends BaseAPI {
|
|
|
5349
5453
|
* @param {*} [options] Override http request option.
|
|
5350
5454
|
* @throws {RequiredError}
|
|
5351
5455
|
*/
|
|
5352
|
-
unassignTags(tagUnassignment?: TagUnassignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5456
|
+
unassignTags(tagUnassignment?: TagUnassignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5353
5457
|
}
|
|
5354
5458
|
/**
|
|
5355
5459
|
* UserApi - axios parameter creator
|
|
@@ -5489,7 +5593,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5489
5593
|
* @param {*} [options] Override http request option.
|
|
5490
5594
|
* @throws {RequiredError}
|
|
5491
5595
|
*/
|
|
5492
|
-
deleteUser(userId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5596
|
+
deleteUser(userId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5493
5597
|
/**
|
|
5494
5598
|
*
|
|
5495
5599
|
* @summary export personal data of a user
|
|
@@ -5498,7 +5602,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5498
5602
|
* @param {*} [options] Override http request option.
|
|
5499
5603
|
* @throws {RequiredError}
|
|
5500
5604
|
*/
|
|
5501
|
-
exportPersonalData(userId: string, exportPersonalDataRequest?: ExportPersonalDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5605
|
+
exportPersonalData(userId: string, exportPersonalDataRequest?: ExportPersonalDataRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5502
5606
|
/**
|
|
5503
5607
|
*
|
|
5504
5608
|
* @summary Get entity from users by key
|
|
@@ -5508,7 +5612,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5508
5612
|
* @param {*} [options] Override http request option.
|
|
5509
5613
|
* @throws {RequiredError}
|
|
5510
5614
|
*/
|
|
5511
|
-
getUser(userId: string, $select?: Set<GetUserSelectEnum>, $expand?: Set<GetUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5615
|
+
getUser(userId: string, $select?: Set<GetUserSelectEnum>, $expand?: Set<GetUserExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5512
5616
|
/**
|
|
5513
5617
|
*
|
|
5514
5618
|
* @summary Update entity in users
|
|
@@ -5517,7 +5621,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
5517
5621
|
* @param {*} [options] Override http request option.
|
|
5518
5622
|
* @throws {RequiredError}
|
|
5519
5623
|
*/
|
|
5520
|
-
updateUser(userId: string, userUpdate: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5624
|
+
updateUser(userId: string, userUpdate: UserUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5521
5625
|
}
|
|
5522
5626
|
export declare const GetUserSelectEnum: {
|
|
5523
5627
|
readonly Id: "id";
|
|
@@ -5645,7 +5749,7 @@ export declare class UserAppRoleAssignmentApi extends BaseAPI {
|
|
|
5645
5749
|
* @param {*} [options] Override http request option.
|
|
5646
5750
|
* @throws {RequiredError}
|
|
5647
5751
|
*/
|
|
5648
|
-
userCreateAppRoleAssignments(userId: string, appRoleAssignment: AppRoleAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AppRoleAssignment, any, {}>>;
|
|
5752
|
+
userCreateAppRoleAssignments(userId: string, appRoleAssignment: AppRoleAssignment, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AppRoleAssignment, any, {}, any>>;
|
|
5649
5753
|
/**
|
|
5650
5754
|
*
|
|
5651
5755
|
* @summary Delete the appRoleAssignment from a user
|
|
@@ -5655,7 +5759,7 @@ export declare class UserAppRoleAssignmentApi extends BaseAPI {
|
|
|
5655
5759
|
* @param {*} [options] Override http request option.
|
|
5656
5760
|
* @throws {RequiredError}
|
|
5657
5761
|
*/
|
|
5658
|
-
userDeleteAppRoleAssignments(userId: string, appRoleAssignmentId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5762
|
+
userDeleteAppRoleAssignments(userId: string, appRoleAssignmentId: string, ifMatch?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5659
5763
|
/**
|
|
5660
5764
|
* Represents the global roles a user has been granted for an application.
|
|
5661
5765
|
* @summary Get appRoleAssignments from a user
|
|
@@ -5663,7 +5767,7 @@ export declare class UserAppRoleAssignmentApi extends BaseAPI {
|
|
|
5663
5767
|
* @param {*} [options] Override http request option.
|
|
5664
5768
|
* @throws {RequiredError}
|
|
5665
5769
|
*/
|
|
5666
|
-
userListAppRoleAssignments(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfAppRoleAssignments, any, {}>>;
|
|
5770
|
+
userListAppRoleAssignments(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfAppRoleAssignments, any, {}, any>>;
|
|
5667
5771
|
}
|
|
5668
5772
|
/**
|
|
5669
5773
|
* UserPhotoApi - axios parameter creator
|
|
@@ -5715,7 +5819,7 @@ export declare class UserPhotoApi extends BaseAPI {
|
|
|
5715
5819
|
* @param {*} [options] Override http request option.
|
|
5716
5820
|
* @throws {RequiredError}
|
|
5717
5821
|
*/
|
|
5718
|
-
getUserPhoto(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
5822
|
+
getUserPhoto(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
5719
5823
|
}
|
|
5720
5824
|
/**
|
|
5721
5825
|
* UserTeamworkApi - axios parameter creator
|
|
@@ -5771,7 +5875,7 @@ export declare class UserTeamworkApi extends BaseAPI {
|
|
|
5771
5875
|
* @param {*} [options] Override http request option.
|
|
5772
5876
|
* @throws {RequiredError}
|
|
5773
5877
|
*/
|
|
5774
|
-
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5878
|
+
sendActivityNotification(userId: string, activityNotification: ActivityNotification, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
5775
5879
|
}
|
|
5776
5880
|
/**
|
|
5777
5881
|
* UsersApi - axios parameter creator
|
|
@@ -5859,7 +5963,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
5859
5963
|
* @param {*} [options] Override http request option.
|
|
5860
5964
|
* @throws {RequiredError}
|
|
5861
5965
|
*/
|
|
5862
|
-
createUser(user: User, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
5966
|
+
createUser(user: User, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}, any>>;
|
|
5863
5967
|
/**
|
|
5864
5968
|
*
|
|
5865
5969
|
* @summary Get entities from users
|
|
@@ -5871,7 +5975,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
5871
5975
|
* @param {*} [options] Override http request option.
|
|
5872
5976
|
* @throws {RequiredError}
|
|
5873
5977
|
*/
|
|
5874
|
-
listUsers($search?: string, $filter?: string, $orderby?: Set<ListUsersOrderbyEnum>, $select?: Set<ListUsersSelectEnum>, $expand?: Set<ListUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUser, any, {}>>;
|
|
5978
|
+
listUsers($search?: string, $filter?: string, $orderby?: Set<ListUsersOrderbyEnum>, $select?: Set<ListUsersSelectEnum>, $expand?: Set<ListUsersExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionOfUser, any, {}, any>>;
|
|
5875
5979
|
}
|
|
5876
5980
|
export declare const ListUsersOrderbyEnum: {
|
|
5877
5981
|
readonly DisplayName: "displayName";
|