microsoft-graph 3.13.28 → 3.13.30
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/cjs/test.setup.d.ts +6 -0
- package/dist/cjs/test.setup.d.ts.map +1 -0
- package/dist/cjs/test.setup.js +9 -0
- package/dist/esm/test.setup.d.ts +6 -0
- package/dist/esm/test.setup.d.ts.map +1 -0
- package/dist/esm/test.setup.js +7 -0
- package/docs/api/AccessToken.md +1 -1
- package/docs/api/Address.md +4 -4
- package/docs/api/AzureApplicationCredentials.md +4 -4
- package/docs/api/BadRequestError.md +4 -4
- package/docs/api/BadTemplateError.md +4 -4
- package/docs/api/BandwidthLimitExceededError.md +4 -4
- package/docs/api/Border.md +3 -3
- package/docs/api/Cartesian.md +4 -4
- package/docs/api/Cell.md +16 -16
- package/docs/api/CellFormat.md +4 -4
- package/docs/api/Color.md +1 -1
- package/docs/api/Column.md +2 -2
- package/docs/api/ConflictError.md +4 -4
- package/docs/api/Context-1.md +2 -2
- package/docs/api/Drive-1.md +3 -3
- package/docs/api/DriveItem-1.md +4 -4
- package/docs/api/EnvironmentVariableMissingError.md +4 -4
- package/docs/api/FontName.md +1 -1
- package/docs/api/ForbiddenError.md +4 -4
- package/docs/api/GatewayTimeoutError.md +4 -4
- package/docs/api/GoneError.md +4 -4
- package/docs/api/GraphOperation.md +10 -10
- package/docs/api/HostName.md +1 -1
- package/docs/api/Http-1.md +4 -4
- package/docs/api/InconsistentContextError.md +4 -4
- package/docs/api/InsufficientStorageError.md +4 -4
- package/docs/api/InternalServerError.md +4 -4
- package/docs/api/InvalidArgumentError.md +4 -4
- package/docs/api/InvalidOperationError.md +4 -4
- package/docs/api/LengthRequiredError.md +4 -4
- package/docs/api/LockedError.md +4 -4
- package/docs/api/MethodNotAllowedError.md +4 -4
- package/docs/api/NeverError.md +4 -4
- package/docs/api/NotAcceptableError.md +4 -4
- package/docs/api/NotFoundError.md +4 -4
- package/docs/api/NotImplementedError.md +4 -4
- package/docs/api/PaymentRequiredError.md +4 -4
- package/docs/api/PreconditionFailedError.md +4 -4
- package/docs/api/ProtocolError.md +4 -4
- package/docs/api/README.md +1 -0
- package/docs/api/RequestEntityTooLargeError.md +4 -4
- package/docs/api/RequestFailedError.md +4 -4
- package/docs/api/RequestTimeoutError.md +4 -4
- package/docs/api/RequestedRangeNotSatisfiableError.md +4 -4
- package/docs/api/Row.md +2 -2
- package/docs/api/ServiceUnavailableError.md +4 -4
- package/docs/api/Site-1.md +4 -4
- package/docs/api/TooManyRequestsError.md +4 -4
- package/docs/api/UnauthorizedError.md +4 -4
- package/docs/api/UnprocessableEntityError.md +4 -4
- package/docs/api/UnsupportedAddressTypeError.md +4 -4
- package/docs/api/UnsupportedMediaTypeError.md +4 -4
- package/docs/api/Workbook.md +1 -1
- package/docs/api/WorkbookNamedRange.md +2 -2
- package/docs/api/WorkbookPivotTable-1.md +2 -2
- package/docs/api/WorkbookRange-1.md +1 -1
- package/docs/api/WorkbookSession.md +1 -1
- package/docs/api/WorkbookTable-1.md +3 -3
- package/docs/api/WorkbookWorksheet-1.md +3 -3
- package/docs/api/addressManipulation.md +14 -14
- package/docs/api/calculateWorkbook.md +1 -1
- package/docs/api/clearWorkbookRange.md +1 -1
- package/docs/api/context.md +1 -1
- package/docs/api/copyDriveItem.md +1 -1
- package/docs/api/createDriveItemContent.md +2 -2
- package/docs/api/createFolder.md +1 -1
- package/docs/api/createWorkbookSession.md +1 -1
- package/docs/api/deleteDriveItem.md +3 -3
- package/docs/api/drive.md +1 -1
- package/docs/api/driveItem.md +1 -1
- package/docs/api/environmentVariable.md +4 -4
- package/docs/api/findDriveItem.md +5 -5
- package/docs/api/http.md +5 -5
- package/docs/api/insertWorkbookRangeRows.md +2 -2
- package/docs/api/iterateDriveItems.md +1 -1
- package/docs/api/iterateDrives.md +1 -1
- package/docs/api/iterateSites.md +1 -1
- package/docs/api/iterateWorkbookRangeRows.md +7 -7
- package/docs/api/listDriveItems.md +5 -5
- package/docs/api/listDrives.md +5 -5
- package/docs/api/listSites.md +5 -5
- package/docs/api/mergeWorkbookRange.md +1 -1
- package/docs/api/objectMapping.md +2 -2
- package/docs/api/random.md +1 -1
- package/docs/api/rangeManipulation.md +6 -6
- package/docs/api/readWorkbookRangeFirstRow.md +1 -1
- package/docs/api/readWorkbookRangeRows.md +1 -1
- package/docs/api/readWorkbookRows.md +2 -2
- package/docs/api/searchSites.md +4 -4
- package/docs/api/services/sharepointUrl.md +2 -2
- package/docs/api/services/usedAddress.md +2 -2
- package/docs/api/site.md +1 -1
- package/docs/api/streamDriveItemContent.md +2 -2
- package/docs/api/tasks/tryGetWorkbookWorksheetUsedRangeRef.md +2 -2
- package/docs/api/temporaryFiles.md +2 -2
- package/docs/api/test.setup.md +3 -0
- package/docs/api/tryGetDriveItemByPath.md +2 -2
- package/docs/api/tryGetWorkbookWorksheetByName.md +2 -2
- package/docs/api/updateWorkbookRangeRows.md +2 -2
- package/docs/api/userSendMail.md +1 -1
- package/docs/api/workbookPivotTable.md +1 -1
- package/docs/api/workbookRange.md +1 -1
- package/docs/api/workbookTable.md +1 -1
- package/docs/api/workbookTableColumn.md +1 -1
- package/docs/api/workbookWorksheet.md +1 -1
- package/docs/api/writeWorkbookRows.md +2 -2
- package/package.json +30 -19
- package/vitest.config.ts +2 -5
|
@@ -10,7 +10,7 @@ Read all rows from a given workbook range.
|
|
|
10
10
|
|
|
11
11
|
### readWorkbookRangeRows()
|
|
12
12
|
|
|
13
|
-
> **readWorkbookRangeRows**(`rangeRef`, `scope
|
|
13
|
+
> **readWorkbookRangeRows**(`rangeRef`, `scope?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`Cell`](Cell.md#cell)[][]\>
|
|
14
14
|
|
|
15
15
|
Defined in: [src/tasks/readWorkbookRangeRows.ts:23](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/readWorkbookRangeRows.ts#L23)
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@ Iterates over the rows in a given worksheet range.
|
|
|
8
8
|
|
|
9
9
|
### readWorkbookRows()
|
|
10
10
|
|
|
11
|
-
> **readWorkbookRows**(`rangeRef`, `overwriteMaxRowsPerChunk
|
|
11
|
+
> **readWorkbookRows**(`rangeRef`, `overwriteMaxRowsPerChunk?`): `AsyncIterable`\<[`Row`](Row.md#row)\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/readWorkbookRows.ts:25](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/readWorkbookRows.ts#L25)
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ Iterates over the rows in a given worksheet range.
|
|
|
19
19
|
| Parameter | Type | Default value | Description |
|
|
20
20
|
| ------ | ------ | ------ | ------ |
|
|
21
21
|
| `rangeRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) | `undefined` | Reference to the workbook range to iterate over. |
|
|
22
|
-
| `overwriteMaxRowsPerChunk` | `
|
|
22
|
+
| `overwriteMaxRowsPerChunk` | `number` \| `null` | `null` | Overwrite the number of rows per underlying request. DO NOT SET EXCEPT FOR ADVANCED TUNING. |
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
package/docs/api/searchSites.md
CHANGED
|
@@ -16,8 +16,8 @@ Defined in: [src/operations/site/searchSites.ts:15](https://github.com/Future-Se
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Defined in |
|
|
18
18
|
| ------ | ------ | ------ |
|
|
19
|
-
| <a id="odatanextlink"></a> `@odata.nextLink?` | `string` | [src/operations/site/searchSites.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L17) |
|
|
20
|
-
| <a id="value"></a> `value` | `Site`[] | [src/operations/site/searchSites.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L16) |
|
|
19
|
+
| <a id="property-odatanextlink"></a> `@odata.nextLink?` | `string` | [src/operations/site/searchSites.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L17) |
|
|
20
|
+
| <a id="property-value"></a> `value` | `Site`[] | [src/operations/site/searchSites.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L16) |
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
@@ -31,8 +31,8 @@ Defined in: [src/operations/site/searchSites.ts:20](https://github.com/Future-Se
|
|
|
31
31
|
|
|
32
32
|
| Property | Type | Defined in |
|
|
33
33
|
| ------ | ------ | ------ |
|
|
34
|
-
| <a id="nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/site/searchSites.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L22) |
|
|
35
|
-
| <a id="sites"></a> `sites` | `Site` & [`SiteRef`](Site-1.md#siteref)[] | [src/operations/site/searchSites.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L21) |
|
|
34
|
+
| <a id="property-nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/site/searchSites.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L22) |
|
|
35
|
+
| <a id="property-sites"></a> `sites` | `Site` & [`SiteRef`](Site-1.md#siteref)[] | [src/operations/site/searchSites.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/searchSites.ts#L21) |
|
|
36
36
|
|
|
37
37
|
## Functions
|
|
38
38
|
|
|
@@ -14,8 +14,8 @@ Defined in: [src/services/sharepointUrl.ts:4](https://github.com/Future-Secure-A
|
|
|
14
14
|
|
|
15
15
|
| Property | Type | Defined in |
|
|
16
16
|
| ------ | ------ | ------ |
|
|
17
|
-
| <a id="hostname"></a> `hostName` | [`HostName`](../HostName.md#hostname) \| `null` | [src/services/sharepointUrl.ts:5](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L5) |
|
|
18
|
-
| <a id="sitename"></a> `siteName` | [`SiteName`](../Site-1.md#sitename) \| `null` | [src/services/sharepointUrl.ts:6](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L6) |
|
|
17
|
+
| <a id="property-hostname"></a> `hostName` | [`HostName`](../HostName.md#hostname) \| `null` | [src/services/sharepointUrl.ts:5](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L5) |
|
|
18
|
+
| <a id="property-sitename"></a> `siteName` | [`SiteName`](../Site-1.md#sitename) \| `null` | [src/services/sharepointUrl.ts:6](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/sharepointUrl.ts#L6) |
|
|
19
19
|
|
|
20
20
|
## Functions
|
|
21
21
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
### resolveUsedAddress()
|
|
8
8
|
|
|
9
|
-
> **resolveUsedAddress**(`address`, `usedRange`):
|
|
9
|
+
> **resolveUsedAddress**(`address`, `usedRange`): [`Address`](../Address.md#address) \| `null`
|
|
10
10
|
|
|
11
11
|
Defined in: [src/services/usedAddress.ts:30](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/usedAddress.ts#L30)
|
|
12
12
|
|
|
@@ -23,7 +23,7 @@ This function fills in any missing start/end columns or rows in the `usedRangeAd
|
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
[`Address`](../Address.md#address) \| `null`
|
|
27
27
|
|
|
28
28
|
The resolved address as a concrete A1 range (e.g., "C2:E10"), or null if there is no overlap.
|
|
29
29
|
|
package/docs/api/site.md
CHANGED
|
@@ -19,7 +19,7 @@ Creates a reference to a site.
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| ------ | ------ | ------ |
|
|
21
21
|
| `contextRef` | [`ContextRef`](Context-1.md#contextref) | The reference to the context. |
|
|
22
|
-
| `siteId` |
|
|
22
|
+
| `siteId` | [`SiteId`](Site-1.md#siteid) \| `undefined` | The ID of the site. |
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
|
@@ -8,7 +8,7 @@ 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)\<[`Readable`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/stream.d.ts#
|
|
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#L97)\>
|
|
12
12
|
|
|
13
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
|
|
|
@@ -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)\<[`Readable`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/stream.d.ts#
|
|
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#L97)\>
|
|
26
26
|
|
|
27
27
|
A Node.js readable stream of the drive item content.
|
|
28
28
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
### tryGetWorkbookWorksheetUsedRangeRef()
|
|
8
8
|
|
|
9
|
-
> **tryGetWorkbookWorksheetUsedRangeRef**(`worksheetRef`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
9
|
+
> **tryGetWorkbookWorksheetUsedRangeRef**(`worksheetRef`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`WorkbookRangeRef`](../WorkbookRange-1.md#workbookrangeref) \| `null`\>
|
|
10
10
|
|
|
11
11
|
Defined in: [src/tasks/tryGetWorkbookWorksheetUsedRangeRef.ts:6](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/tryGetWorkbookWorksheetUsedRangeRef.ts#L6)
|
|
12
12
|
|
|
@@ -18,4 +18,4 @@ Defined in: [src/tasks/tryGetWorkbookWorksheetUsedRangeRef.ts:6](https://github.
|
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
21
|
-
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
21
|
+
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`WorkbookRangeRef`](../WorkbookRange-1.md#workbookrangeref) \| `null`\>
|
|
@@ -8,7 +8,7 @@ Utilities for generating temporary file names for use with Drive Items.
|
|
|
8
8
|
|
|
9
9
|
### generateTempFileName()
|
|
10
10
|
|
|
11
|
-
> **generateTempFileName**(`extension
|
|
11
|
+
> **generateTempFileName**(`extension?`): [`DriveItemPath`](DriveItem-1.md#driveitempath)
|
|
12
12
|
|
|
13
13
|
Defined in: [src/services/temporaryFiles.ts:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/temporaryFiles.ts#L15)
|
|
14
14
|
|
|
@@ -18,7 +18,7 @@ Generates a temporary file name with the specified extension.
|
|
|
18
18
|
|
|
19
19
|
| Parameter | Type | Default value | Description |
|
|
20
20
|
| ------ | ------ | ------ | ------ |
|
|
21
|
-
| `extension` | `
|
|
21
|
+
| `extension` | `string` \| `null` | `"tmp"` | The file extension. Defaults to "tmp". |
|
|
22
22
|
|
|
23
23
|
#### Returns
|
|
24
24
|
|
|
@@ -8,7 +8,7 @@ Attempts to retrieve the metadata for an item in a drive by file path, returning
|
|
|
8
8
|
|
|
9
9
|
### tryGetDriveItemByPath()
|
|
10
10
|
|
|
11
|
-
> **tryGetDriveItemByPath**(`parentRef`, `itemPath`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`
|
|
11
|
+
> **tryGetDriveItemByPath**(`parentRef`, `itemPath`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object` & `object` \| `null`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/tryGetDriveItemByPath.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/tryGetDriveItemByPath.ts#L20)
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ Returns null if the item does not exist (NotFoundError).
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`
|
|
27
|
+
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object` & `object` \| `null`\>
|
|
28
28
|
|
|
29
29
|
The metadata of the specified drive item, or null if not found.
|
|
30
30
|
|
|
@@ -8,7 +8,7 @@ Attempts to retrieve a worksheet by its name, returning null if not found.
|
|
|
8
8
|
|
|
9
9
|
### tryGetWorkbookWorksheetByName()
|
|
10
10
|
|
|
11
|
-
> **tryGetWorkbookWorksheetByName**(`workbookRef`, `name`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`
|
|
11
|
+
> **tryGetWorkbookWorksheetByName**(`workbookRef`, `name`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`WorkbookWorksheet` & [`SiteRef`](Site-1.md#siteref) & `object` & `object` & `object` & `object` \| `null`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/tryGetWorkbookWorksheetByName.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/tryGetWorkbookWorksheetByName.ts#L19)
|
|
14
14
|
|
|
@@ -24,6 +24,6 @@ Returns null if the worksheet does not exist (NotFoundError).
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`
|
|
27
|
+
[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`WorkbookWorksheet` & [`SiteRef`](Site-1.md#siteref) & `object` & `object` & `object` & `object` \| `null`\>
|
|
28
28
|
|
|
29
29
|
The worksheet, or null if not found.
|
|
@@ -10,7 +10,7 @@ Update rows in a given workbook range.
|
|
|
10
10
|
|
|
11
11
|
### updateWorkbookRangeRows()
|
|
12
12
|
|
|
13
|
-
> **updateWorkbookRangeRows**(`originRef`, `cells`, `maxCellsPerOperation
|
|
13
|
+
> **updateWorkbookRangeRows**(`originRef`, `cells`, `maxCellsPerOperation?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
|
|
14
14
|
|
|
15
15
|
Defined in: [src/tasks/updateWorkbookRangeRows.ts:55](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/updateWorkbookRangeRows.ts#L55)
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ Update rows in a given workbook range.
|
|
|
24
24
|
| ------ | ------ | ------ | ------ |
|
|
25
25
|
| `originRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) | `undefined` | Reference to the workbook range to update. Only the upper-left cell is used as an origin point. |
|
|
26
26
|
| `cells` | `AsyncIterable`\<[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`Cell`](Cell.md#cell)\>[], `any`, `any`\> \| [`Iterable`](https://www.typescriptlang.org/docs/handbook/iterators-and-generators.html#iterable-interface)\<[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`Cell`](Cell.md#cell)\>[], `any`, `any`\> | `undefined` | Array of arrays of cells to update in the specified range. |
|
|
27
|
-
| `maxCellsPerOperation` | `
|
|
27
|
+
| `maxCellsPerOperation` | `number` \| `null` | `null` | Prescribe max cells to retrieve per operation. `null` automatically determines value. DO NOT SET EXCEPT FOR ADVANCED TUNING. |
|
|
28
28
|
|
|
29
29
|
#### Returns
|
|
30
30
|
|
package/docs/api/userSendMail.md
CHANGED
|
@@ -19,7 +19,7 @@ Send an email.
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| ------ | ------ | ------ |
|
|
21
21
|
| `context` | [`Context`](Context-1.md#context) | Reference to the context. |
|
|
22
|
-
| `sender` | `
|
|
22
|
+
| `sender` | `string` \| `null` | The email address of the sender or NULL for the current user. Must match a valid email address in this tenant. |
|
|
23
23
|
| `message` | `Message` | The email message to be sent. * |
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
@@ -19,7 +19,7 @@ Creates a reference to a workbook pivot table.
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| ------ | ------ | ------ |
|
|
21
21
|
| `worksheetRef` | [`WorkbookWorksheetRef`](WorkbookWorksheet-1.md#workbookworksheetref) | Reference to the worksheet containing the pivot table. |
|
|
22
|
-
| `pivotTableId` |
|
|
22
|
+
| `pivotTableId` | [`WorkbookPivotTableId`](WorkbookPivotTable-1.md#workbookpivottableid) \| `undefined` | ID of the pivot table. |
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
|
@@ -19,7 +19,7 @@ Creates a reference to a workbook range.
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| ------ | ------ | ------ |
|
|
21
21
|
| `worksheetRef` | [`WorkbookWorksheetRef`](WorkbookWorksheet-1.md#workbookworksheetref) | The reference to the worksheet containing the range. |
|
|
22
|
-
| `address` |
|
|
22
|
+
| `address` | [`Address`](Address.md#address) \| `undefined` | The address of the range. |
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
|
@@ -19,7 +19,7 @@ Creates a reference to a workbook table.
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| ------ | ------ | ------ |
|
|
21
21
|
| `worksheetRef` | [`WorkbookWorksheetRef`](WorkbookWorksheet-1.md#workbookworksheetref) | The reference to the worksheet containing the table. |
|
|
22
|
-
| `tableId` |
|
|
22
|
+
| `tableId` | [`WorkbookTableId`](WorkbookTable-1.md#workbooktableid) \| `undefined` | The ID of the table. |
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
|
@@ -19,7 +19,7 @@ Creates a reference to a workbook table column.
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| ------ | ------ | ------ |
|
|
21
21
|
| `tableRef` | [`WorkbookTableRef`](WorkbookTable-1.md#workbooktableref) | The reference to the worksheet containing the table. |
|
|
22
|
-
| `column` | `
|
|
22
|
+
| `column` | `string` \| [`ColumnName`](Column.md#columnname) \| `undefined` | Name of the table column |
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
|
@@ -69,7 +69,7 @@ Creates a reference to a workbook worksheet.
|
|
|
69
69
|
| Parameter | Type | Description |
|
|
70
70
|
| ------ | ------ | ------ |
|
|
71
71
|
| `workbookRef` | [`WorkbookRef`](Workbook.md#workbookref) | The reference to the workbook. |
|
|
72
|
-
| `worksheetId` |
|
|
72
|
+
| `worksheetId` | [`WorkbookWorksheetId`](WorkbookWorksheet-1.md#workbookworksheetid) \| `undefined` | The ID of the worksheet. |
|
|
73
73
|
|
|
74
74
|
#### Returns
|
|
75
75
|
|
|
@@ -8,7 +8,7 @@ Write rows to a workbook range.
|
|
|
8
8
|
|
|
9
9
|
### writeWorkbookRows()
|
|
10
10
|
|
|
11
|
-
> **writeWorkbookRows**(`originRef`, `rows`, `overwriteMaxRowsPerChunk
|
|
11
|
+
> **writeWorkbookRows**(`originRef`, `rows`, `overwriteMaxRowsPerChunk?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`number`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/writeWorkbookRows.ts:30](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/writeWorkbookRows.ts#L30)
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@ Write rows to a workbook range.
|
|
|
20
20
|
| ------ | ------ | ------ | ------ |
|
|
21
21
|
| `originRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) | `undefined` | The reference to the workbook range where rows will be written. Only the upper-left is used as an origin point. |
|
|
22
22
|
| `rows` | `AsyncIterable`\<[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`Cell`](Cell.md#cell)\>[], `any`, `any`\> \| [`Iterable`](https://www.typescriptlang.org/docs/handbook/iterators-and-generators.html#iterable-interface)\<[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`Cell`](Cell.md#cell)\>[], `any`, `any`\> | `undefined` | An iterable or async iterable of rows to write. Each row is an array of cells. |
|
|
23
|
-
| `overwriteMaxRowsPerChunk` | `
|
|
23
|
+
| `overwriteMaxRowsPerChunk` | `number` \| `null` | `null` | Overwrite the number of rows per underlying request. DO NOT SET EXCEPT FOR ADVANCED TUNING. |
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microsoft-graph",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.30",
|
|
4
4
|
"description": "Microsoft GraphAPI SDK for NodeJS",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -27,28 +27,29 @@
|
|
|
27
27
|
"license": "PolyForm Noncommercial License 1.0.0",
|
|
28
28
|
"type": "module",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@biomejs/biome": "^2.
|
|
31
|
-
"@microsoft/microsoft-graph-types": "^2.
|
|
32
|
-
"@types/lodash": "^4.17.
|
|
33
|
-
"@types/node": "^
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"typedoc
|
|
39
|
-
"typedoc-
|
|
40
|
-
"typedoc-plugin-
|
|
41
|
-
"typedoc-plugin-
|
|
42
|
-
"typedoc-plugin-
|
|
30
|
+
"@biomejs/biome": "^2.4.5",
|
|
31
|
+
"@microsoft/microsoft-graph-types": "^2.43.1",
|
|
32
|
+
"@types/lodash": "^4.17.24",
|
|
33
|
+
"@types/node": "^25.3.3",
|
|
34
|
+
"dotenv": "^17.3.1",
|
|
35
|
+
"globals": "^17.4.0",
|
|
36
|
+
"npm-check-updates": "^19.6.3",
|
|
37
|
+
"tsx": "^4.21.0",
|
|
38
|
+
"typedoc": "^0.28.17",
|
|
39
|
+
"typedoc-material-theme": "^1.4.1",
|
|
40
|
+
"typedoc-plugin-dt-links": "^2.0.44",
|
|
41
|
+
"typedoc-plugin-include-example": "^3.0.2",
|
|
42
|
+
"typedoc-plugin-markdown": "^4.10.0",
|
|
43
|
+
"typedoc-plugin-mdn-links": "^5.1.1",
|
|
43
44
|
"typedoc-plugin-rename-defaults": "^0.7.3",
|
|
44
|
-
"typescript": "^5.
|
|
45
|
-
"vitest": "^
|
|
45
|
+
"typescript": "^5.9.3",
|
|
46
|
+
"vitest": "^4.0.18"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
|
-
"@azure/identity": "^4.
|
|
49
|
-
"axios": "^1.
|
|
49
|
+
"@azure/identity": "^4.13.0",
|
|
50
|
+
"axios": "^1.13.6",
|
|
50
51
|
"https-proxy-agent": "^7.0.6",
|
|
51
|
-
"lodash": "^4.17.
|
|
52
|
+
"lodash": "^4.17.23"
|
|
52
53
|
},
|
|
53
54
|
"exports": {
|
|
54
55
|
".": {
|
|
@@ -1990,6 +1991,16 @@
|
|
|
1990
1991
|
"import": "./dist/esm/tasks/writeWorkbookRows.js",
|
|
1991
1992
|
"require": "./dist/cjs/tasks/writeWorkbookRows.js",
|
|
1992
1993
|
"types": "./dist/esm/tasks/writeWorkbookRows.d.ts"
|
|
1994
|
+
},
|
|
1995
|
+
"./test.setup": {
|
|
1996
|
+
"import": "./dist/esm/test.setup.js",
|
|
1997
|
+
"require": "./dist/cjs/test.setup.js",
|
|
1998
|
+
"types": "./dist/esm/test.setup.d.ts"
|
|
1999
|
+
},
|
|
2000
|
+
"./dist/cjs/test.setup": {
|
|
2001
|
+
"import": "./dist/esm/test.setup.js",
|
|
2002
|
+
"require": "./dist/cjs/test.setup.js",
|
|
2003
|
+
"types": "./dist/esm/test.setup.d.ts"
|
|
1993
2004
|
}
|
|
1994
2005
|
}
|
|
1995
2006
|
}
|
package/vitest.config.ts
CHANGED
|
@@ -5,13 +5,10 @@ export default defineConfig({
|
|
|
5
5
|
environment: "node",
|
|
6
6
|
watch: false,
|
|
7
7
|
include: ["src/**/*.test.ts"],
|
|
8
|
+
setupFiles: ["./src/test.setup.ts"],
|
|
8
9
|
maxConcurrency: 1, // Avoid API throttling
|
|
9
10
|
retry: 1,
|
|
10
|
-
|
|
11
|
-
threads: {
|
|
12
|
-
maxThreads: 1, // Avoid API throttling
|
|
13
|
-
},
|
|
14
|
-
},
|
|
11
|
+
fileParallelism: false, // Run files sequentially to avoid API throttling
|
|
15
12
|
sequence: {
|
|
16
13
|
concurrent: false,
|
|
17
14
|
},
|