microsoft-graph 3.9.5 → 3.9.6

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.
@@ -3,6 +3,7 @@
3
3
  * @module streamDriveItemContent
4
4
  * @category Operations
5
5
  */
6
+ import type { Readable } from "node:stream";
6
7
  import type { DriveItemRef } from "../../models/DriveItem.ts";
7
8
  /**
8
9
  * Stream the content of a drive item.
@@ -12,5 +13,5 @@ import type { DriveItemRef } from "../../models/DriveItem.ts";
12
13
  * @throws Error if the download fails or the response is not a stream.
13
14
  * @see https://learn.microsoft.com/en-us/graph/api/driveitem-get-content
14
15
  */
15
- export default function streamDriveItemContent(itemRef: DriveItemRef): Promise<NodeJS.ReadableStream>;
16
+ export default function streamDriveItemContent(itemRef: DriveItemRef): Promise<Readable>;
16
17
  //# sourceMappingURL=streamDriveItemContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"streamDriveItemContent.d.ts","sourceRoot":"","sources":["../../../../src/operations/driveItem/streamDriveItemContent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAK9D;;;;;;;GAOG;AACH,wBAA8B,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAe1G"}
1
+ {"version":3,"file":"streamDriveItemContent.d.ts","sourceRoot":"","sources":["../../../../src/operations/driveItem/streamDriveItemContent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAK9D;;;;;;;GAOG;AACH,wBAA8B,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,CAe7F"}
@@ -3,6 +3,7 @@
3
3
  * @module streamDriveItemContent
4
4
  * @category Operations
5
5
  */
6
+ import type { Readable } from "node:stream";
6
7
  import type { DriveItemRef } from "../../models/DriveItem.ts";
7
8
  /**
8
9
  * Stream the content of a drive item.
@@ -12,5 +13,5 @@ import type { DriveItemRef } from "../../models/DriveItem.ts";
12
13
  * @throws Error if the download fails or the response is not a stream.
13
14
  * @see https://learn.microsoft.com/en-us/graph/api/driveitem-get-content
14
15
  */
15
- export default function streamDriveItemContent(itemRef: DriveItemRef): Promise<NodeJS.ReadableStream>;
16
+ export default function streamDriveItemContent(itemRef: DriveItemRef): Promise<Readable>;
16
17
  //# sourceMappingURL=streamDriveItemContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"streamDriveItemContent.d.ts","sourceRoot":"","sources":["../../../../src/operations/driveItem/streamDriveItemContent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAK9D;;;;;;;GAOG;AACH,wBAA8B,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAe1G"}
1
+ {"version":3,"file":"streamDriveItemContent.d.ts","sourceRoot":"","sources":["../../../../src/operations/driveItem/streamDriveItemContent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAK9D;;;;;;;GAOG;AACH,wBAA8B,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,CAe7F"}
@@ -8,9 +8,9 @@ Stream the content of a drive item as a Node.js readable stream.
8
8
 
9
9
  ### streamDriveItemContent()
10
10
 
11
- > **streamDriveItemContent**(`itemRef`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`ReadableStream`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/globals.d.ts#L202)\>
11
+ > **streamDriveItemContent**(`itemRef`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`Readable`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/stream.d.ts#L68)\>
12
12
 
13
- Defined in: [src/operations/driveItem/streamDriveItemContent.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/streamDriveItemContent.ts#L20)
13
+ Defined in: [src/operations/driveItem/streamDriveItemContent.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/streamDriveItemContent.ts#L21)
14
14
 
15
15
  Stream the content of a drive item.
16
16
 
@@ -22,7 +22,7 @@ Stream the content of a drive item.
22
22
 
23
23
  #### Returns
24
24
 
25
- [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`ReadableStream`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/globals.d.ts#L202)\>
25
+ [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`Readable`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/stream.d.ts#L68)\>
26
26
 
27
27
  A Node.js readable stream of the drive item content.
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microsoft-graph",
3
- "version": "3.9.5",
3
+ "version": "3.9.6",
4
4
  "description": "Microsoft GraphAPI SDK for NodeJS",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",