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.
Files changed (98) hide show
  1. package/.editorconfig +1 -1
  2. package/.vscode/settings.json +1 -8
  3. package/biome.jsonc +16 -17
  4. package/dist/cjs/models/AzureApplicationCredentials.d.ts.map +1 -1
  5. package/dist/cjs/models/AzureApplicationCredentials.js +5 -1
  6. package/dist/cjs/models/Cell.d.ts.map +1 -1
  7. package/dist/cjs/models/Drive.d.ts.map +1 -1
  8. package/dist/cjs/models/Drive.js +5 -1
  9. package/dist/cjs/models/DriveItem.d.ts.map +1 -1
  10. package/dist/cjs/models/DriveItem.js +5 -1
  11. package/dist/cjs/models/Http.d.ts.map +1 -1
  12. package/dist/cjs/models/Http.js +0 -1
  13. package/dist/cjs/models/Site.d.ts.map +1 -1
  14. package/dist/cjs/models/Site.js +5 -1
  15. package/dist/cjs/models/Workbook.d.ts.map +1 -1
  16. package/dist/cjs/models/Workbook.js +5 -1
  17. package/dist/cjs/models/WorkbookNamedRange.d.ts.map +1 -1
  18. package/dist/cjs/models/WorkbookNamedRange.js +5 -1
  19. package/dist/cjs/models/WorkbookPivotTable.d.ts.map +1 -1
  20. package/dist/cjs/models/WorkbookPivotTable.js +5 -1
  21. package/dist/cjs/models/WorkbookRange.d.ts.map +1 -1
  22. package/dist/cjs/models/WorkbookRange.js +5 -1
  23. package/dist/cjs/models/WorkbookSession.d.ts.map +1 -1
  24. package/dist/cjs/models/WorkbookSession.js +5 -1
  25. package/dist/cjs/models/WorkbookTable.d.ts.map +1 -1
  26. package/dist/cjs/models/WorkbookTable.js +5 -1
  27. package/dist/cjs/models/WorkbookWorksheet.d.ts.map +1 -1
  28. package/dist/cjs/models/WorkbookWorksheet.js +5 -1
  29. package/dist/cjs/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
  30. package/dist/cjs/operations/driveItem/streamDriveItemContent.js +1 -0
  31. package/dist/cjs/services/context.d.ts.map +1 -1
  32. package/dist/cjs/services/context.js +0 -1
  33. package/dist/cjs/services/iteration.d.ts +1 -1
  34. package/dist/cjs/services/iteration.d.ts.map +1 -1
  35. package/dist/cjs/services/iteration.js +2 -2
  36. package/dist/cjs/services/objectMapping.js +3 -3
  37. package/dist/cjs/services/operationInvoker.d.ts.map +1 -1
  38. package/dist/cjs/services/operationInvoker.js +0 -1
  39. package/dist/cjs/tasks/iterateWorkbookRangeRows.d.ts +4 -2
  40. package/dist/cjs/tasks/iterateWorkbookRangeRows.d.ts.map +1 -1
  41. package/dist/cjs/tasks/iterateWorkbookRangeRows.js +11 -4
  42. package/dist/esm/models/AzureApplicationCredentials.d.ts.map +1 -1
  43. package/dist/esm/models/AzureApplicationCredentials.js +5 -1
  44. package/dist/esm/models/Cell.d.ts.map +1 -1
  45. package/dist/esm/models/Drive.d.ts.map +1 -1
  46. package/dist/esm/models/Drive.js +5 -1
  47. package/dist/esm/models/DriveItem.d.ts.map +1 -1
  48. package/dist/esm/models/DriveItem.js +5 -1
  49. package/dist/esm/models/Http.d.ts.map +1 -1
  50. package/dist/esm/models/Http.js +0 -1
  51. package/dist/esm/models/Site.d.ts.map +1 -1
  52. package/dist/esm/models/Site.js +5 -1
  53. package/dist/esm/models/Workbook.d.ts.map +1 -1
  54. package/dist/esm/models/Workbook.js +5 -1
  55. package/dist/esm/models/WorkbookNamedRange.d.ts.map +1 -1
  56. package/dist/esm/models/WorkbookNamedRange.js +5 -1
  57. package/dist/esm/models/WorkbookPivotTable.d.ts.map +1 -1
  58. package/dist/esm/models/WorkbookPivotTable.js +5 -1
  59. package/dist/esm/models/WorkbookRange.d.ts.map +1 -1
  60. package/dist/esm/models/WorkbookRange.js +5 -1
  61. package/dist/esm/models/WorkbookSession.d.ts.map +1 -1
  62. package/dist/esm/models/WorkbookSession.js +5 -1
  63. package/dist/esm/models/WorkbookTable.d.ts.map +1 -1
  64. package/dist/esm/models/WorkbookTable.js +5 -1
  65. package/dist/esm/models/WorkbookWorksheet.d.ts.map +1 -1
  66. package/dist/esm/models/WorkbookWorksheet.js +5 -1
  67. package/dist/esm/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
  68. package/dist/esm/operations/driveItem/streamDriveItemContent.js +1 -0
  69. package/dist/esm/services/context.d.ts.map +1 -1
  70. package/dist/esm/services/context.js +0 -1
  71. package/dist/esm/services/iteration.d.ts +1 -1
  72. package/dist/esm/services/iteration.d.ts.map +1 -1
  73. package/dist/esm/services/iteration.js +2 -2
  74. package/dist/esm/services/objectMapping.js +3 -3
  75. package/dist/esm/services/operationInvoker.d.ts.map +1 -1
  76. package/dist/esm/services/operationInvoker.js +0 -1
  77. package/dist/esm/tasks/iterateWorkbookRangeRows.d.ts +4 -2
  78. package/dist/esm/tasks/iterateWorkbookRangeRows.d.ts.map +1 -1
  79. package/dist/esm/tasks/iterateWorkbookRangeRows.js +12 -5
  80. package/docs/api/AzureApplicationCredentials-1.md +4 -4
  81. package/docs/api/Cell.md +31 -31
  82. package/docs/api/Drive-1.md +3 -3
  83. package/docs/api/DriveItem-1.md +3 -3
  84. package/docs/api/Http-1.md +6 -6
  85. package/docs/api/Iteration.md +7 -5
  86. package/docs/api/Site-1.md +5 -5
  87. package/docs/api/Workbook.md +1 -1
  88. package/docs/api/WorkbookNamedRange.md +2 -2
  89. package/docs/api/WorkbookPivotTable-1.md +2 -2
  90. package/docs/api/WorkbookRange-1.md +1 -1
  91. package/docs/api/WorkbookSession.md +1 -1
  92. package/docs/api/WorkbookTable-1.md +3 -3
  93. package/docs/api/WorkbookWorksheet-1.md +3 -3
  94. package/docs/api/context.md +4 -4
  95. package/docs/api/iterateWorkbookRangeRows.md +9 -8
  96. package/docs/api/operationInvoker.md +1 -1
  97. package/package.json +1907 -1907
  98. 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:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookNamedRange.ts#L22)
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:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookNamedRange.ts#L15)
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:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookPivotTable.ts#L14)
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:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookPivotTable.ts#L21)
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:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookRange.ts#L15)
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:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookSession.ts#L12)
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:29](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookTable.ts#L29)
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:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookTable.ts#L15)
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:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookTable.ts#L22)
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:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookWorksheet.ts#L14)
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:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookWorksheet.ts#L21)
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:28](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/WorkbookWorksheet.ts#L28)
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
 
@@ -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:38](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L38)
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:49](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L49)
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:60](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L60)
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:67](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L67)
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:33](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L33)
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="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:34](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L34) |
26
- | <a id="isfirst"></a> `isFirst` | `boolean` | If this is the first row in the iteration. | [src/tasks/iterateWorkbookRangeRows.ts:36](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L36) |
27
- | <a id="islast"></a> `isLast` | `boolean` | If this is the last row in the iteration. | [src/tasks/iterateWorkbookRangeRows.ts:37](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L37) |
28
- | <a id="offset"></a> `offset` | [`RowOffset`](Row.md#rowoffset) | Zero-based offset of the row within the original range. | [src/tasks/iterateWorkbookRangeRows.ts:35](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L35) |
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:51](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L51)
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 { row } of iterateRows(rangeRef)) {
56
- console.log(row);
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:329](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/operationInvoker.ts#L329)
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