microsoft-graph 3.2.3 → 3.3.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/.editorconfig +1 -1
- package/.vscode/settings.json +1 -8
- package/biome.jsonc +16 -17
- package/dist/cjs/models/AzureApplicationCredentials.d.ts.map +1 -1
- package/dist/cjs/models/AzureApplicationCredentials.js +5 -1
- package/dist/cjs/models/Cell.d.ts.map +1 -1
- package/dist/cjs/models/Drive.d.ts.map +1 -1
- package/dist/cjs/models/Drive.js +5 -1
- package/dist/cjs/models/DriveItem.d.ts.map +1 -1
- package/dist/cjs/models/DriveItem.js +5 -1
- package/dist/cjs/models/Http.d.ts.map +1 -1
- package/dist/cjs/models/Http.js +0 -1
- package/dist/cjs/models/Site.d.ts.map +1 -1
- package/dist/cjs/models/Site.js +5 -1
- package/dist/cjs/models/Workbook.d.ts.map +1 -1
- package/dist/cjs/models/Workbook.js +5 -1
- package/dist/cjs/models/WorkbookNamedRange.d.ts.map +1 -1
- package/dist/cjs/models/WorkbookNamedRange.js +5 -1
- package/dist/cjs/models/WorkbookPivotTable.d.ts.map +1 -1
- package/dist/cjs/models/WorkbookPivotTable.js +5 -1
- package/dist/cjs/models/WorkbookRange.d.ts.map +1 -1
- package/dist/cjs/models/WorkbookRange.js +5 -1
- package/dist/cjs/models/WorkbookSession.d.ts.map +1 -1
- package/dist/cjs/models/WorkbookSession.js +5 -1
- package/dist/cjs/models/WorkbookTable.d.ts.map +1 -1
- package/dist/cjs/models/WorkbookTable.js +5 -1
- package/dist/cjs/models/WorkbookWorksheet.d.ts.map +1 -1
- package/dist/cjs/models/WorkbookWorksheet.js +5 -1
- package/dist/cjs/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
- package/dist/cjs/operations/driveItem/streamDriveItemContent.js +1 -0
- package/dist/cjs/services/context.d.ts.map +1 -1
- package/dist/cjs/services/context.js +0 -1
- package/dist/cjs/services/iteration.d.ts +1 -1
- package/dist/cjs/services/iteration.d.ts.map +1 -1
- package/dist/cjs/services/iteration.js +2 -2
- package/dist/cjs/services/objectMapping.js +3 -3
- package/dist/cjs/services/operationInvoker.d.ts.map +1 -1
- package/dist/cjs/services/operationInvoker.js +0 -1
- package/dist/cjs/tasks/iterateWorkbookRangeRows.d.ts +4 -2
- package/dist/cjs/tasks/iterateWorkbookRangeRows.d.ts.map +1 -1
- package/dist/cjs/tasks/iterateWorkbookRangeRows.js +11 -4
- package/dist/esm/models/AzureApplicationCredentials.d.ts.map +1 -1
- package/dist/esm/models/AzureApplicationCredentials.js +5 -1
- package/dist/esm/models/Cell.d.ts.map +1 -1
- package/dist/esm/models/Drive.d.ts.map +1 -1
- package/dist/esm/models/Drive.js +5 -1
- package/dist/esm/models/DriveItem.d.ts.map +1 -1
- package/dist/esm/models/DriveItem.js +5 -1
- package/dist/esm/models/Http.d.ts.map +1 -1
- package/dist/esm/models/Http.js +0 -1
- package/dist/esm/models/Site.d.ts.map +1 -1
- package/dist/esm/models/Site.js +5 -1
- package/dist/esm/models/Workbook.d.ts.map +1 -1
- package/dist/esm/models/Workbook.js +5 -1
- package/dist/esm/models/WorkbookNamedRange.d.ts.map +1 -1
- package/dist/esm/models/WorkbookNamedRange.js +5 -1
- package/dist/esm/models/WorkbookPivotTable.d.ts.map +1 -1
- package/dist/esm/models/WorkbookPivotTable.js +5 -1
- package/dist/esm/models/WorkbookRange.d.ts.map +1 -1
- package/dist/esm/models/WorkbookRange.js +5 -1
- package/dist/esm/models/WorkbookSession.d.ts.map +1 -1
- package/dist/esm/models/WorkbookSession.js +5 -1
- package/dist/esm/models/WorkbookTable.d.ts.map +1 -1
- package/dist/esm/models/WorkbookTable.js +5 -1
- package/dist/esm/models/WorkbookWorksheet.d.ts.map +1 -1
- package/dist/esm/models/WorkbookWorksheet.js +5 -1
- package/dist/esm/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
- package/dist/esm/operations/driveItem/streamDriveItemContent.js +1 -0
- package/dist/esm/services/context.d.ts.map +1 -1
- package/dist/esm/services/context.js +0 -1
- package/dist/esm/services/iteration.d.ts +1 -1
- package/dist/esm/services/iteration.d.ts.map +1 -1
- package/dist/esm/services/iteration.js +2 -2
- package/dist/esm/services/objectMapping.js +3 -3
- package/dist/esm/services/operationInvoker.d.ts.map +1 -1
- package/dist/esm/services/operationInvoker.js +0 -1
- package/dist/esm/tasks/iterateWorkbookRangeRows.d.ts +4 -2
- package/dist/esm/tasks/iterateWorkbookRangeRows.d.ts.map +1 -1
- package/dist/esm/tasks/iterateWorkbookRangeRows.js +12 -5
- package/docs/api/AzureApplicationCredentials-1.md +4 -4
- package/docs/api/Cell.md +31 -31
- package/docs/api/Drive-1.md +3 -3
- package/docs/api/DriveItem-1.md +3 -3
- package/docs/api/Http-1.md +6 -6
- package/docs/api/Iteration.md +7 -5
- package/docs/api/Site-1.md +5 -5
- 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/context.md +4 -4
- package/docs/api/iterateWorkbookRangeRows.md +9 -8
- package/docs/api/operationInvoker.md +1 -1
- package/package.json +1907 -1907
- package/update-exports.ts +2 -7
|
@@ -10,7 +10,7 @@ Pointers to a named range in a worksheet.
|
|
|
10
10
|
|
|
11
11
|
> **WorkbookNamedRangeRef** = [`WorkbookRef`](Workbook.md#workbookref) & `object`
|
|
12
12
|
|
|
13
|
-
Defined in: [src/models/WorkbookNamedRange.ts:
|
|
13
|
+
Defined in: [src/models/WorkbookNamedRange.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookNamedRange.ts#L20)
|
|
14
14
|
|
|
15
15
|
Reference to a named range in a workbook.
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ Reference to a named range in a workbook.
|
|
|
26
26
|
|
|
27
27
|
> **WorkbookRangeName** = `string` & `object`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/models/WorkbookNamedRange.ts:
|
|
29
|
+
Defined in: [src/models/WorkbookNamedRange.ts:13](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookNamedRange.ts#L13)
|
|
30
30
|
|
|
31
31
|
Name of a range in a workbook.
|
|
32
32
|
|
|
@@ -10,7 +10,7 @@ Pointer for a pivot table in a worksheet.
|
|
|
10
10
|
|
|
11
11
|
> **WorkbookPivotTableId** = `string` & `object`
|
|
12
12
|
|
|
13
|
-
Defined in: [src/models/WorkbookPivotTable.ts:
|
|
13
|
+
Defined in: [src/models/WorkbookPivotTable.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookPivotTable.ts#L12)
|
|
14
14
|
|
|
15
15
|
Identifier for a pivot table in a worksheet.
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ Identifier for a pivot table in a worksheet.
|
|
|
26
26
|
|
|
27
27
|
> **WorkbookPivotTableRef** = [`WorkbookWorksheetRef`](WorkbookWorksheet-1.md#workbookworksheetref) & `object`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/models/WorkbookPivotTable.ts:
|
|
29
|
+
Defined in: [src/models/WorkbookPivotTable.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookPivotTable.ts#L19)
|
|
30
30
|
|
|
31
31
|
Reference to a pivot table in a worksheet.
|
|
32
32
|
|
|
@@ -10,7 +10,7 @@ Pointers to a range in a worksheet.
|
|
|
10
10
|
|
|
11
11
|
> **WorkbookRangeRef** = [`WorkbookWorksheetRef`](WorkbookWorksheet-1.md#workbookworksheetref) & `object`
|
|
12
12
|
|
|
13
|
-
Defined in: [src/models/WorkbookRange.ts:
|
|
13
|
+
Defined in: [src/models/WorkbookRange.ts:13](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookRange.ts#L13)
|
|
14
14
|
|
|
15
15
|
Reference to a range in a workbook worksheet.
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ Pointers to a workbook session .
|
|
|
10
10
|
|
|
11
11
|
> **WorkbookSessionId** = `string` & `object`
|
|
12
12
|
|
|
13
|
-
Defined in: [src/models/WorkbookSession.ts:
|
|
13
|
+
Defined in: [src/models/WorkbookSession.ts:10](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookSession.ts#L10)
|
|
14
14
|
|
|
15
15
|
Identifier for a workbook session.
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ Pointer for a table in a worksheet.
|
|
|
10
10
|
|
|
11
11
|
> **WorkbookTableColumnRef** = [`WorkbookTableRef`](#workbooktableref) & `object`
|
|
12
12
|
|
|
13
|
-
Defined in: [src/models/WorkbookTable.ts:
|
|
13
|
+
Defined in: [src/models/WorkbookTable.ts:27](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookTable.ts#L27)
|
|
14
14
|
|
|
15
15
|
Reference to a column in a table in a worksheet.
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ Reference to a column in a table in a worksheet.
|
|
|
26
26
|
|
|
27
27
|
> **WorkbookTableId** = `string` & `object`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/models/WorkbookTable.ts:
|
|
29
|
+
Defined in: [src/models/WorkbookTable.ts:13](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookTable.ts#L13)
|
|
30
30
|
|
|
31
31
|
Identifier for a table in a worksheet.
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@ Identifier for a table in a worksheet.
|
|
|
42
42
|
|
|
43
43
|
> **WorkbookTableRef** = [`WorkbookWorksheetRef`](WorkbookWorksheet-1.md#workbookworksheetref) & `object`
|
|
44
44
|
|
|
45
|
-
Defined in: [src/models/WorkbookTable.ts:
|
|
45
|
+
Defined in: [src/models/WorkbookTable.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookTable.ts#L20)
|
|
46
46
|
|
|
47
47
|
Reference to a table in a worksheet.
|
|
48
48
|
|
|
@@ -10,7 +10,7 @@ Pointer for a worksheet in a workbook.
|
|
|
10
10
|
|
|
11
11
|
> **WorkbookWorksheetId** = `string` & `object`
|
|
12
12
|
|
|
13
|
-
Defined in: [src/models/WorkbookWorksheet.ts:
|
|
13
|
+
Defined in: [src/models/WorkbookWorksheet.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookWorksheet.ts#L12)
|
|
14
14
|
|
|
15
15
|
Identifier for a worksheet in a workbook.
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ Identifier for a worksheet in a workbook.
|
|
|
26
26
|
|
|
27
27
|
> **WorkbookWorksheetName** = `string` & `object`
|
|
28
28
|
|
|
29
|
-
Defined in: [src/models/WorkbookWorksheet.ts:
|
|
29
|
+
Defined in: [src/models/WorkbookWorksheet.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookWorksheet.ts#L19)
|
|
30
30
|
|
|
31
31
|
Name of a worksheet in a workbook.
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@ Name of a worksheet in a workbook.
|
|
|
42
42
|
|
|
43
43
|
> **WorkbookWorksheetRef** = [`WorkbookRef`](Workbook.md#workbookref) & `object`
|
|
44
44
|
|
|
45
|
-
Defined in: [src/models/WorkbookWorksheet.ts:
|
|
45
|
+
Defined in: [src/models/WorkbookWorksheet.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookWorksheet.ts#L26)
|
|
46
46
|
|
|
47
47
|
Reference to a worksheet in a workbook.
|
|
48
48
|
|
package/docs/api/context.md
CHANGED
|
@@ -57,7 +57,7 @@ Create a context using the client secret credential.
|
|
|
57
57
|
|
|
58
58
|
> **createContext**(`accessTokenGenerator`): [`ContextRef`](Context-1.md#contextref)
|
|
59
59
|
|
|
60
|
-
Defined in: [src/services/context.ts:
|
|
60
|
+
Defined in: [src/services/context.ts:37](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L37)
|
|
61
61
|
|
|
62
62
|
Create a context using a given access token generator.
|
|
63
63
|
|
|
@@ -77,7 +77,7 @@ Create a context using a given access token generator.
|
|
|
77
77
|
|
|
78
78
|
> **createDefaultClientSecretContext**(): [`ContextRef`](Context-1.md#contextref)
|
|
79
79
|
|
|
80
|
-
Defined in: [src/services/context.ts:
|
|
80
|
+
Defined in: [src/services/context.ts:48](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L48)
|
|
81
81
|
|
|
82
82
|
Create a context using the client secret credential using environment variables AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET.
|
|
83
83
|
|
|
@@ -91,7 +91,7 @@ Create a context using the client secret credential using environment variables
|
|
|
91
91
|
|
|
92
92
|
> **getDefaultContextRef**(): [`ContextRef`](Context-1.md#contextref)
|
|
93
93
|
|
|
94
|
-
Defined in: [src/services/context.ts:
|
|
94
|
+
Defined in: [src/services/context.ts:59](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L59)
|
|
95
95
|
|
|
96
96
|
#### Returns
|
|
97
97
|
|
|
@@ -107,7 +107,7 @@ Use `createDefaultClientSecretContext()` instead.
|
|
|
107
107
|
|
|
108
108
|
> **register**(`tenantId`, `clientId`, `clientSecret`): [`ContextRef`](Context-1.md#contextref)
|
|
109
109
|
|
|
110
|
-
Defined in: [src/services/context.ts:
|
|
110
|
+
Defined in: [src/services/context.ts:66](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L66)
|
|
111
111
|
|
|
112
112
|
#### Parameters
|
|
113
113
|
|
|
@@ -12,7 +12,7 @@ Iterate over the rows in a given worksheet range.
|
|
|
12
12
|
|
|
13
13
|
> **IteratedRow** = `object`
|
|
14
14
|
|
|
15
|
-
Defined in: [src/tasks/iterateWorkbookRangeRows.ts:
|
|
15
|
+
Defined in: [src/tasks/iterateWorkbookRangeRows.ts:35](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L35)
|
|
16
16
|
|
|
17
17
|
**`Experimental`**
|
|
18
18
|
|
|
@@ -22,10 +22,11 @@ Represents a row yielded by the [iterateWorkbookRangeRows](#iterateworkbookrange
|
|
|
22
22
|
|
|
23
23
|
| Property | Type | Description | Defined in |
|
|
24
24
|
| ------ | ------ | ------ | ------ |
|
|
25
|
-
| <a id="
|
|
26
|
-
| <a id="
|
|
27
|
-
| <a id="
|
|
28
|
-
| <a id="
|
|
25
|
+
| <a id="address"></a> `address` | [`RowAddress`](Address.md#rowaddress) | - | [src/tasks/iterateWorkbookRangeRows.ts:37](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L37) |
|
|
26
|
+
| <a id="cells"></a> `cells` | [`Cell`](Cell.md#cell)[] | Array of cells in the row, each containing value, text, format, and optionally style information depending on the scope. | [src/tasks/iterateWorkbookRangeRows.ts:36](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L36) |
|
|
27
|
+
| <a id="isfirst"></a> `isFirst` | `boolean` | If this is the first row in the iteration. | [src/tasks/iterateWorkbookRangeRows.ts:39](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L39) |
|
|
28
|
+
| <a id="islast"></a> `isLast` | `boolean` | If this is the last row in the iteration. | [src/tasks/iterateWorkbookRangeRows.ts:40](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L40) |
|
|
29
|
+
| <a id="offset"></a> `offset` | [`RowOffset`](Row.md#rowoffset) | Zero-based offset of the row within the original range. | [src/tasks/iterateWorkbookRangeRows.ts:38](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L38) |
|
|
29
30
|
|
|
30
31
|
## Functions
|
|
31
32
|
|
|
@@ -33,7 +34,7 @@ Represents a row yielded by the [iterateWorkbookRangeRows](#iterateworkbookrange
|
|
|
33
34
|
|
|
34
35
|
> **iterateWorkbookRangeRows**(`rangeRef`, `scope`, `maxCellsPerOperation`): `AsyncIterable`\<[`IteratedRow`](#iteratedrow)\>
|
|
35
36
|
|
|
36
|
-
Defined in: [src/tasks/iterateWorkbookRangeRows.ts:
|
|
37
|
+
Defined in: [src/tasks/iterateWorkbookRangeRows.ts:54](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L54)
|
|
37
38
|
|
|
38
39
|
**`Experimental`**
|
|
39
40
|
|
|
@@ -52,7 +53,7 @@ Defined in: [src/tasks/iterateWorkbookRangeRows.ts:51](https://github.com/Future
|
|
|
52
53
|
#### Example
|
|
53
54
|
|
|
54
55
|
```ts
|
|
55
|
-
for await (const {
|
|
56
|
-
console.log(
|
|
56
|
+
for await (const { cells } of iterateRows(rangeRef)) {
|
|
57
|
+
console.log(cells);
|
|
57
58
|
}
|
|
58
59
|
```
|
|
@@ -100,7 +100,7 @@ The responses for each operation, in the same order.
|
|
|
100
100
|
|
|
101
101
|
> **throwException**(`responseCode`, `message`): `never`
|
|
102
102
|
|
|
103
|
-
Defined in: [src/services/operationInvoker.ts:
|
|
103
|
+
Defined in: [src/services/operationInvoker.ts:328](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L328)
|
|
104
104
|
|
|
105
105
|
#### Parameters
|
|
106
106
|
|