microsoft-graph 2.26.0 → 2.28.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 (138) hide show
  1. package/dist/cjs/models/Border.d.ts +16 -0
  2. package/dist/cjs/models/Border.d.ts.map +1 -0
  3. package/dist/cjs/models/Border.js +2 -0
  4. package/dist/cjs/models/Cell.d.ts +90 -7
  5. package/dist/cjs/models/Cell.d.ts.map +1 -1
  6. package/dist/cjs/models/Color.d.ts +9 -0
  7. package/dist/cjs/models/Color.d.ts.map +1 -0
  8. package/dist/cjs/models/Color.js +2 -0
  9. package/dist/cjs/models/Column.d.ts +5 -0
  10. package/dist/cjs/models/Column.d.ts.map +1 -1
  11. package/dist/cjs/models/Column.js +5 -1
  12. package/dist/cjs/models/DataSource.d.ts +49 -0
  13. package/dist/cjs/models/DataSource.d.ts.map +1 -0
  14. package/dist/cjs/models/DataSource.js +8 -0
  15. package/dist/cjs/models/FontName.d.ts +9 -0
  16. package/dist/cjs/models/FontName.d.ts.map +1 -0
  17. package/dist/cjs/models/FontName.js +2 -0
  18. package/dist/cjs/models/Row.d.ts +3 -0
  19. package/dist/cjs/models/Row.d.ts.map +1 -1
  20. package/dist/cjs/operations/workbookRange/getWorkbookWorksheetRange.d.ts +6 -1
  21. package/dist/cjs/operations/workbookRange/getWorkbookWorksheetRange.d.ts.map +1 -1
  22. package/dist/cjs/operations/workbookRange/getWorkbookWorksheetRange.js +9 -2
  23. package/dist/cjs/operations/workbookRange/listWorkbookRangeBorders.d.ts +16 -0
  24. package/dist/cjs/operations/workbookRange/listWorkbookRangeBorders.d.ts.map +1 -0
  25. package/dist/cjs/operations/workbookRange/listWorkbookRangeBorders.js +33 -0
  26. package/dist/cjs/operations/workbookRange/setWorkbookRangeBorder.d.ts +19 -0
  27. package/dist/cjs/operations/workbookRange/setWorkbookRangeBorder.d.ts.map +1 -0
  28. package/dist/cjs/operations/workbookRange/setWorkbookRangeBorder.js +44 -0
  29. package/dist/cjs/services/addressManipulation.d.ts.map +1 -1
  30. package/dist/cjs/services/addressManipulation.js +2 -1
  31. package/dist/cjs/services/cartesianAddress.js +2 -2
  32. package/dist/cjs/services/dataSource.d.ts +69 -0
  33. package/dist/cjs/services/dataSource.d.ts.map +1 -0
  34. package/dist/cjs/services/dataSource.js +195 -0
  35. package/dist/cjs/services/iteration.d.ts +1 -0
  36. package/dist/cjs/services/iteration.d.ts.map +1 -1
  37. package/dist/cjs/services/iteration.js +1 -0
  38. package/dist/cjs/tasks/deleteDriveItemWithRetry.d.ts +1 -0
  39. package/dist/cjs/tasks/deleteDriveItemWithRetry.d.ts.map +1 -1
  40. package/dist/cjs/tasks/deleteDriveItemWithRetry.js +1 -0
  41. package/dist/cjs/tasks/iterateRows.d.ts +24 -0
  42. package/dist/cjs/tasks/iterateRows.d.ts.map +1 -0
  43. package/dist/cjs/tasks/iterateRows.js +127 -0
  44. package/dist/cjs/tasks/iterateWorkbookRange.d.ts.map +1 -1
  45. package/dist/cjs/tasks/iterateWorkbookRange.js +7 -0
  46. package/dist/cjs/tasks/readWorkbookRows.d.ts.map +1 -1
  47. package/dist/cjs/tasks/readWorkbookRows.js +8 -0
  48. package/dist/cjs/tasks/setColumnHidden.d.ts +5 -0
  49. package/dist/cjs/tasks/setColumnHidden.d.ts.map +1 -1
  50. package/dist/cjs/tasks/setColumnHidden.js +5 -0
  51. package/dist/cjs/tasks/setRowHidden.d.ts +5 -0
  52. package/dist/cjs/tasks/setRowHidden.d.ts.map +1 -1
  53. package/dist/cjs/tasks/setRowHidden.js +5 -0
  54. package/dist/cjs/tasks/setWorkbookRangeValues.d.ts +7 -2
  55. package/dist/cjs/tasks/setWorkbookRangeValues.d.ts.map +1 -1
  56. package/dist/cjs/tasks/setWorkbookRangeValues.js +7 -2
  57. package/dist/esm/models/Border.d.ts +16 -0
  58. package/dist/esm/models/Border.d.ts.map +1 -0
  59. package/dist/esm/models/Border.js +1 -0
  60. package/dist/esm/models/Cell.d.ts +90 -7
  61. package/dist/esm/models/Cell.d.ts.map +1 -1
  62. package/dist/esm/models/Color.d.ts +9 -0
  63. package/dist/esm/models/Color.d.ts.map +1 -0
  64. package/dist/esm/models/Color.js +1 -0
  65. package/dist/esm/models/Column.d.ts +5 -0
  66. package/dist/esm/models/Column.d.ts.map +1 -1
  67. package/dist/esm/models/Column.js +5 -1
  68. package/dist/esm/models/DataSource.d.ts +49 -0
  69. package/dist/esm/models/DataSource.d.ts.map +1 -0
  70. package/dist/esm/models/DataSource.js +7 -0
  71. package/dist/esm/models/FontName.d.ts +9 -0
  72. package/dist/esm/models/FontName.d.ts.map +1 -0
  73. package/dist/esm/models/FontName.js +1 -0
  74. package/dist/esm/models/Row.d.ts +3 -0
  75. package/dist/esm/models/Row.d.ts.map +1 -1
  76. package/dist/esm/operations/workbookRange/getWorkbookWorksheetRange.d.ts +6 -1
  77. package/dist/esm/operations/workbookRange/getWorkbookWorksheetRange.d.ts.map +1 -1
  78. package/dist/esm/operations/workbookRange/getWorkbookWorksheetRange.js +9 -2
  79. package/dist/esm/operations/workbookRange/listWorkbookRangeBorders.d.ts +16 -0
  80. package/dist/esm/operations/workbookRange/listWorkbookRangeBorders.d.ts.map +1 -0
  81. package/dist/esm/operations/workbookRange/listWorkbookRangeBorders.js +30 -0
  82. package/dist/esm/operations/workbookRange/setWorkbookRangeBorder.d.ts +19 -0
  83. package/dist/esm/operations/workbookRange/setWorkbookRangeBorder.d.ts.map +1 -0
  84. package/dist/esm/operations/workbookRange/setWorkbookRangeBorder.js +41 -0
  85. package/dist/esm/services/addressManipulation.d.ts.map +1 -1
  86. package/dist/esm/services/addressManipulation.js +2 -1
  87. package/dist/esm/services/cartesianAddress.js +2 -2
  88. package/dist/esm/services/dataSource.d.ts +69 -0
  89. package/dist/esm/services/dataSource.d.ts.map +1 -0
  90. package/dist/esm/services/dataSource.js +184 -0
  91. package/dist/esm/services/iteration.d.ts +1 -0
  92. package/dist/esm/services/iteration.d.ts.map +1 -1
  93. package/dist/esm/services/iteration.js +1 -0
  94. package/dist/esm/tasks/deleteDriveItemWithRetry.d.ts +1 -0
  95. package/dist/esm/tasks/deleteDriveItemWithRetry.d.ts.map +1 -1
  96. package/dist/esm/tasks/deleteDriveItemWithRetry.js +1 -0
  97. package/dist/esm/tasks/iterateRows.d.ts +24 -0
  98. package/dist/esm/tasks/iterateRows.d.ts.map +1 -0
  99. package/dist/esm/tasks/iterateRows.js +121 -0
  100. package/dist/esm/tasks/iterateWorkbookRange.d.ts.map +1 -1
  101. package/dist/esm/tasks/iterateWorkbookRange.js +7 -0
  102. package/dist/esm/tasks/readWorkbookRows.d.ts.map +1 -1
  103. package/dist/esm/tasks/readWorkbookRows.js +8 -0
  104. package/dist/esm/tasks/setColumnHidden.d.ts +5 -0
  105. package/dist/esm/tasks/setColumnHidden.d.ts.map +1 -1
  106. package/dist/esm/tasks/setColumnHidden.js +5 -0
  107. package/dist/esm/tasks/setRowHidden.d.ts +5 -0
  108. package/dist/esm/tasks/setRowHidden.d.ts.map +1 -1
  109. package/dist/esm/tasks/setRowHidden.js +5 -0
  110. package/dist/esm/tasks/setWorkbookRangeValues.d.ts +7 -2
  111. package/dist/esm/tasks/setWorkbookRangeValues.d.ts.map +1 -1
  112. package/dist/esm/tasks/setWorkbookRangeValues.js +7 -2
  113. package/docs/api/Border.md +55 -0
  114. package/docs/api/Cell.md +94 -13
  115. package/docs/api/Color.md +19 -0
  116. package/docs/api/Column.md +12 -2
  117. package/docs/api/DataSource-1.md +191 -0
  118. package/docs/api/FontName.md +19 -0
  119. package/docs/api/Iteration.md +3 -1
  120. package/docs/api/README.md +11 -10
  121. package/docs/api/Row.md +5 -3
  122. package/docs/api/addressManipulation.md +3 -3
  123. package/docs/api/dataSource.md +204 -0
  124. package/docs/api/deleteWorkbookRange.md +1 -1
  125. package/docs/api/getWorkbookWorksheetByName.md +1 -1
  126. package/docs/api/getWorkbookWorksheetRange.md +6 -2
  127. package/docs/api/insertWorkbookCells.md +1 -1
  128. package/docs/api/iterateRows.md +43 -0
  129. package/docs/api/listWorkbookRangeBorders.md +31 -0
  130. package/docs/api/readWorkbookRows.md +1 -1
  131. package/docs/api/{tasks/setColumnHidden.md → setColumnHidden.md} +6 -4
  132. package/docs/api/{tasks/setRowHidden.md → setRowHidden.md} +6 -4
  133. package/docs/api/setWorkbookRangeBorder.md +33 -0
  134. package/docs/topics/README.md +2 -1
  135. package/docs/topics/versioning.md +17 -0
  136. package/package.json +201 -1
  137. package/docs/api/deleteDriveItemWithRetry.md +0 -33
  138. package/docs/api/tasks/setWorkbookRangeValues.md +0 -3
package/docs/api/Cell.md CHANGED
@@ -10,7 +10,7 @@ Cell in a worksheet.
10
10
 
11
11
  > **Cell** = `object`
12
12
 
13
- Defined in: [src/models/Cell.ts:11](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L11)
13
+ Defined in: [src/models/Cell.ts:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L15)
14
14
 
15
15
  Cell in a worksheet.
16
16
 
@@ -22,9 +22,10 @@ Contrary to common expectation, while a cell does contain a single value, it als
22
22
 
23
23
  | Property | Type | Description | Defined in |
24
24
  | ------ | ------ | ------ | ------ |
25
- | <a id="format"></a> `format` | [`CellFormat`](#cellformat-1) | Formatting that is applied to the value to derive the text representation. | [src/models/Cell.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L26) |
26
- | <a id="text"></a> `text` | [`CellText`](#celltext-1) | The text representation of the cell's value. **Remarks** This is often the same as the value, but can differ in cases where the value is a number and the text representation is formatted (e.g., "1,000" vs. 1000), or in the case of the value being a formula. | [src/models/Cell.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L16) |
27
- | <a id="value"></a> `value` | [`CellValue`](#cellvalue-1) | The actual value of the cell. | [src/models/Cell.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L21) |
25
+ | <a id="format"></a> `format` | [`CellFormat`](#cellformat-1) | Formatting that is applied to the value to derive the text representation. | [src/models/Cell.ts:30](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L30) |
26
+ | <a id="style"></a> `style` | [`CellStyle`](#cellstyle-1) | Style applied to the cell to affect its appearance, like color, borders, alignment, etc. | [src/models/Cell.ts:35](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L35) |
27
+ | <a id="text"></a> `text` | [`CellText`](#celltext-1) | The text representation of the cell's value. **Remarks** This is often the same as the value, but can differ in cases where the value is a number and the text representation is formatted (e.g., "1,000" vs. 1000), or in the case of the value being a formula. | [src/models/Cell.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L20) |
28
+ | <a id="value"></a> `value` | [`CellValue`](#cellvalue-1) | The actual value of the cell. | [src/models/Cell.ts:25](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L25) |
28
29
 
29
30
  ***
30
31
 
@@ -32,7 +33,7 @@ Contrary to common expectation, while a cell does contain a single value, it als
32
33
 
33
34
  > **CellFormat** = `string` & `object`
34
35
 
35
- Defined in: [src/models/Cell.ts:47](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L47)
36
+ Defined in: [src/models/Cell.ts:54](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L54)
36
37
 
37
38
  Format to be applied to a cell value to convert it to text to display to the user.
38
39
 
@@ -48,19 +49,83 @@ Format to be applied to a cell value to convert it to text to display to the use
48
49
 
49
50
  ***
50
51
 
51
- ### CellText
52
+ ### CellHorizontalAlignment
52
53
 
53
- > **CellText** = `string` & `object`
54
+ > **CellHorizontalAlignment** = `"General"` \| `"Left"` \| `"Center"` \| `"Right"` \| `"Fill"` \| `"Justify"` \| `"CenterAcrossSelection"` \| `"Distributed"`
54
55
 
55
- Defined in: [src/models/Cell.ts:33](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L33)
56
+ Defined in: [src/models/Cell.ts:150](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L150)
56
57
 
57
- Text content of a cell in a worksheet.
58
+ ***
58
59
 
59
- #### Type declaration
60
+ ### CellScope
60
61
 
61
- ##### \_\_brand
62
+ > **CellScope** = `object`
63
+
64
+ Defined in: [src/models/Cell.ts:127](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L127)
65
+
66
+ The amount of detail that we're reading from a cell.
67
+
68
+ #### Properties
69
+
70
+ | Property | Type | Description | Defined in |
71
+ | ------ | ------ | ------ | ------ |
72
+ | <a id="alignment"></a> `alignment` | `boolean` | Content position with the cell. Expensive to read/write (1 op per cell) | [src/models/Cell.ts:138](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L138) |
73
+ | <a id="borders"></a> `borders` | `boolean` | Cell borders. Expensive to read/write (1 op per cell) | [src/models/Cell.ts:141](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L141) |
74
+ | <a id="fill"></a> `fill` | `boolean` | Background fill style. Expensive to read/write (1 op per cell) | [src/models/Cell.ts:144](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L144) |
75
+ | <a id="font"></a> `font` | `boolean` | Text style. Expensive to read/write (1 op per cell) | [src/models/Cell.ts:147](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L147) |
76
+ | <a id="format-1"></a> `format` | `boolean` | Logic used to format values to text. Cheap to read/write (1 op per ~10K cells for values, text & format) | [src/models/Cell.ts:135](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L135) |
77
+ | <a id="text-1"></a> `text` | `boolean` | Formatted value, as presented to the user. Cheap to read/write (1 op per ~10K cells for values, text & format) | [src/models/Cell.ts:132](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L132) |
78
+ | <a id="values"></a> `values` | `boolean` | Raw underlying value. Cheap to read/write (1 op per ~10K cells for values, text & format) | [src/models/Cell.ts:129](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L129) |
79
+
80
+ ***
81
+
82
+ ### CellStyle
83
+
84
+ > **CellStyle** = `object`
85
+
86
+ Defined in: [src/models/Cell.ts:61](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L61)
87
+
88
+ Style applied to the cell to affect its appearance, like color, borders, alignment, etc.
89
+
90
+ #### Properties
62
91
 
63
- > **\_\_brand**: `"CellText"`
92
+ | Property | Type | Description | Defined in |
93
+ | ------ | ------ | ------ | ------ |
94
+ | <a id="alignment-1"></a> `alignment` | `object` | **`Experimental`** Alignment of cell contents. | [src/models/Cell.ts:75](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L75) |
95
+ | `alignment.horizontal?` | [`CellHorizontalAlignment`](#cellhorizontalalignment) | - | [src/models/Cell.ts:76](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L76) |
96
+ | `alignment.vertical?` | [`CellVerticalAlignment`](#cellverticalalignment) | - | [src/models/Cell.ts:77](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L77) |
97
+ | `alignment.wrapText?` | `boolean` | - | [src/models/Cell.ts:78](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L78) |
98
+ | <a id="borders-1"></a> `borders` | `object` | **`Experimental`** Borders around the cell. | [src/models/Cell.ts:84](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L84) |
99
+ | `borders.bottom?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:86](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L86) |
100
+ | `borders.diagonalDown?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:91](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L91) |
101
+ | `borders.diagonalUp?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:92](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L92) |
102
+ | `borders.insideHorizontal?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:90](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L90) |
103
+ | `borders.insideVertical?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:89](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L89) |
104
+ | `borders.left?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:87](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L87) |
105
+ | `borders.right?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:88](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L88) |
106
+ | `borders.top?` | [`Border`](Border.md#border) | - | [src/models/Cell.ts:85](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L85) |
107
+ | <a id="fill-1"></a> `fill` | `object` | **`Experimental`** Fill color of the cell. | [src/models/Cell.ts:107](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L107) |
108
+ | `fill.color?` | [`Color`](Color.md#color) | - | [src/models/Cell.ts:108](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L108) |
109
+ | <a id="font-1"></a> `font` | `object` | **`Experimental`** Font settings for the cell. | [src/models/Cell.ts:114](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L114) |
110
+ | `font.bold?` | `boolean` | - | [src/models/Cell.ts:118](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L118) |
111
+ | `font.color?` | [`Color`](Color.md#color) | - | [src/models/Cell.ts:117](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L117) |
112
+ | `font.italic?` | `boolean` | - | [src/models/Cell.ts:119](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L119) |
113
+ | `font.name?` | [`FontName`](FontName.md#fontname) | - | [src/models/Cell.ts:115](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L115) |
114
+ | `font.size?` | `number` | - | [src/models/Cell.ts:116](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L116) |
115
+ | `font.underline?` | [`CellUnderline`](#cellunderline) | - | [src/models/Cell.ts:120](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L120) |
116
+ | <a id="merge"></a> `merge` | `object` | **`Experimental`** Number of cell merges (WRITE ONLY). **Remarks** Due to API limitations, this value is never populated when reading a cell, but it can be set when writing a cell. | [src/models/Cell.ts:67](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L67) |
117
+ | `merge.down?` | `number` | - | [src/models/Cell.ts:69](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L69) |
118
+ | `merge.right?` | `number` | - | [src/models/Cell.ts:68](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L68) |
119
+
120
+ ***
121
+
122
+ ### CellText
123
+
124
+ > **CellText** = `string`
125
+
126
+ Defined in: [src/models/Cell.ts:48](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L48)
127
+
128
+ Text content of a cell in a worksheet.
64
129
 
65
130
  #### Remarks
66
131
 
@@ -68,14 +133,30 @@ This is a string that represents the text displayed in the cell, which may diffe
68
133
 
69
134
  ***
70
135
 
136
+ ### CellUnderline
137
+
138
+ > **CellUnderline** = `"None"` \| `"Single"` \| `"Double"` \| `"SingleAccountant"` \| `"DoubleAccountant"`
139
+
140
+ Defined in: [src/models/Cell.ts:154](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L154)
141
+
142
+ ***
143
+
71
144
  ### CellValue
72
145
 
73
146
  > **CellValue** = `string` \| `number` \| `boolean`
74
147
 
75
- Defined in: [src/models/Cell.ts:41](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L41)
148
+ Defined in: [src/models/Cell.ts:42](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L42)
76
149
 
77
150
  CellValue represents the value of a cell in a spreadsheet.
78
151
 
79
152
  #### See
80
153
 
81
154
  [Cell](#cell) for a more comprehensive representation of a cell, which includes text and formatting.
155
+
156
+ ***
157
+
158
+ ### CellVerticalAlignment
159
+
160
+ > **CellVerticalAlignment** = `"Top"` \| `"Center"` \| `"Bottom"` \| `"Justify"` \| `"Distributed"`
161
+
162
+ Defined in: [src/models/Cell.ts:152](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Cell.ts#L152)
@@ -0,0 +1,19 @@
1
+ [Microsoft Graph SDK](README.md) / Color
2
+
3
+ # Color
4
+
5
+ Color has a hexadecimal representation (ie #ffffff").
6
+
7
+ ## Type Aliases
8
+
9
+ ### Color
10
+
11
+ > **Color** = `string` & `object`
12
+
13
+ Defined in: [src/models/Color.ts:6](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Color.ts#L6)
14
+
15
+ #### Type declaration
16
+
17
+ ##### \_\_brand
18
+
19
+ > **\_\_brand**: `"Color"`
@@ -6,11 +6,21 @@ Column pointers.
6
6
 
7
7
  ## Type Aliases
8
8
 
9
+ ### Column
10
+
11
+ > **Column** = [`Cell`](Cell.md#cell)[]
12
+
13
+ Defined in: [src/models/Column.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Column.ts#L12)
14
+
15
+ Vertical linear sequence of cells in a worksheet.
16
+
17
+ ***
18
+
9
19
  ### ColumnName
10
20
 
11
21
  > **ColumnName** = `string` & `object`
12
22
 
13
- Defined in: [src/models/Column.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Column.ts#L19)
23
+ Defined in: [src/models/Column.ts:24](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Column.ts#L24)
14
24
 
15
25
  Name of a column, as configured by the user.
16
26
 
@@ -26,7 +36,7 @@ Name of a column, as configured by the user.
26
36
 
27
37
  > **ColumnOffset** = `number` & `object`
28
38
 
29
- Defined in: [src/models/Column.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Column.ts#L12)
39
+ Defined in: [src/models/Column.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Column.ts#L17)
30
40
 
31
41
  Zero-based index representing the position of a column in a range.
32
42
 
@@ -0,0 +1,191 @@
1
+ [Microsoft Graph SDK](README.md) / DataSource
2
+
3
+ # DataSource
4
+
5
+ **`Experimental`**
6
+
7
+ Tooling for easily creating, updating, and deleting items in a worksheet or range.
8
+
9
+ ## Type Aliases
10
+
11
+ ### DataSource\<T\>
12
+
13
+ > **DataSource**\<`T`\> = `object` & `AsyncIterable`\<[`Item`](#item)\<`T`\>\>
14
+
15
+ Defined in: [src/models/DataSource.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L17)
16
+
17
+ **`Experimental`**
18
+
19
+ Defines a data source for a worksheet or range.
20
+
21
+ #### Type declaration
22
+
23
+ ##### bodyOffset
24
+
25
+ > **bodyOffset**: [`RowOffset`](Row.md#rowoffset)
26
+
27
+ ##### bodyRef
28
+
29
+ > **bodyRef**: [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref)
30
+
31
+ ##### coding
32
+
33
+ > **coding**: `object`
34
+
35
+ ###### coding.decode
36
+
37
+ > **decode**: [`RowDecoder`](#rowdecoder)\<`T`\>
38
+
39
+ ###### coding.encode
40
+
41
+ > **encode**: [`RowEncoder`](#rowencoder)\<`T`\> \| `null`
42
+
43
+ ##### head
44
+
45
+ > **head**: [`ColumnName`](Column.md#columnname)[]
46
+
47
+ #### Type Parameters
48
+
49
+ | Type Parameter | Description |
50
+ | ------ | ------ |
51
+ | `T` *extends* [`RecordBase`](#recordbase) | Type of the record, extending RecordBase. |
52
+
53
+ ***
54
+
55
+ ### DataSourceRow
56
+
57
+ > **DataSourceRow** = [`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<[`ColumnName`](Column.md#columnname), [`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`Cell`](Cell.md#cell)\>\>
58
+
59
+ Defined in: [src/models/DataSource.ts:55](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L55)
60
+
61
+ **`Experimental`**
62
+
63
+ ***
64
+
65
+ ### Item\<T\>
66
+
67
+ > **Item**\<`T`\> = `object`
68
+
69
+ Defined in: [src/models/DataSource.ts:47](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L47)
70
+
71
+ **`Experimental`**
72
+
73
+ Item within a data source.
74
+
75
+ #### Type Parameters
76
+
77
+ | Type Parameter |
78
+ | ------ |
79
+ | `T` *extends* [`RecordBase`](#recordbase) |
80
+
81
+ #### Properties
82
+
83
+ | Property | Type | Defined in |
84
+ | ------ | ------ | ------ |
85
+ | <a id="index"></a> `index` | [`ItemIndex`](#itemindex-1) | [src/models/DataSource.ts:48](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L48) |
86
+ | <a id="record"></a> `record` | `T` | [src/models/DataSource.ts:50](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L50) |
87
+ | <a id="rownumber"></a> `rowNumber` | [`RowNumber`](Row.md#rownumber) | [src/models/DataSource.ts:49](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L49) |
88
+
89
+ ***
90
+
91
+ ### ItemIndex
92
+
93
+ > **ItemIndex** = `number` & `object`
94
+
95
+ Defined in: [src/models/DataSource.ts:40](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L40)
96
+
97
+ **`Experimental`**
98
+
99
+ Item's position within a data source.
100
+
101
+ #### Type declaration
102
+
103
+ ##### \_\_brand
104
+
105
+ > **\_\_brand**: `"ItemIndex"`
106
+
107
+ ***
108
+
109
+ ### RangeOperationCallback()
110
+
111
+ > **RangeOperationCallback** = (`rangeRef`) => [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
112
+
113
+ Defined in: [src/models/DataSource.ts:56](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L56)
114
+
115
+ **`Experimental`**
116
+
117
+ #### Parameters
118
+
119
+ | Parameter | Type |
120
+ | ------ | ------ |
121
+ | `rangeRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) |
122
+
123
+ #### Returns
124
+
125
+ [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
126
+
127
+ ***
128
+
129
+ ### RecordBase
130
+
131
+ > **RecordBase** = [`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, [`CellValue`](Cell.md#cellvalue-1)\>
132
+
133
+ Defined in: [src/models/DataSource.ts:54](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L54)
134
+
135
+ **`Experimental`**
136
+
137
+ ***
138
+
139
+ ### RowDecoder()\<T\>
140
+
141
+ > **RowDecoder**\<`T`\> = (`row`) => `T`
142
+
143
+ Defined in: [src/models/DataSource.ts:30](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L30)
144
+
145
+ **`Experimental`**
146
+
147
+ Method to decode row into a record.
148
+
149
+ #### Type Parameters
150
+
151
+ | Type Parameter |
152
+ | ------ |
153
+ | `T` *extends* [`RecordBase`](#recordbase) |
154
+
155
+ #### Parameters
156
+
157
+ | Parameter | Type |
158
+ | ------ | ------ |
159
+ | `row` | [`DataSourceRow`](#datasourcerow) |
160
+
161
+ #### Returns
162
+
163
+ `T`
164
+
165
+ ***
166
+
167
+ ### RowEncoder()\<T\>
168
+
169
+ > **RowEncoder**\<`T`\> = (`record`) => [`DataSourceRow`](#datasourcerow)
170
+
171
+ Defined in: [src/models/DataSource.ts:35](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DataSource.ts#L35)
172
+
173
+ **`Experimental`**
174
+
175
+ Method to encode a record into a row.
176
+
177
+ #### Type Parameters
178
+
179
+ | Type Parameter |
180
+ | ------ |
181
+ | `T` *extends* [`RecordBase`](#recordbase) |
182
+
183
+ #### Parameters
184
+
185
+ | Parameter | Type |
186
+ | ------ | ------ |
187
+ | `record` | `T` |
188
+
189
+ #### Returns
190
+
191
+ [`DataSourceRow`](#datasourcerow)
@@ -0,0 +1,19 @@
1
+ [Microsoft Graph SDK](README.md) / FontName
2
+
3
+ # FontName
4
+
5
+ Name of a font.
6
+
7
+ ## Type Aliases
8
+
9
+ ### FontName
10
+
11
+ > **FontName** = `string` & `object`
12
+
13
+ Defined in: [src/models/FontName.ts:6](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/FontName.ts#L6)
14
+
15
+ #### Type declaration
16
+
17
+ ##### \_\_brand
18
+
19
+ > **\_\_brand**: `"FontName"`
@@ -2,13 +2,15 @@
2
2
 
3
3
  # Iteration
4
4
 
5
+ Utilities for iterating over AsyncIterables.
6
+
5
7
  ## Functions
6
8
 
7
9
  ### iterateToArray()
8
10
 
9
11
  > **iterateToArray**\<`T`\>(`iterable`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`T`[]\>
10
12
 
11
- Defined in: [src/services/iteration.ts:11](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/iteration.ts#L11)
13
+ Defined in: [src/services/iteration.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/iteration.ts#L12)
12
14
 
13
15
  Iterate over an AsyncIterable and collect all items into an array.
14
16
 
@@ -25,12 +25,16 @@
25
25
  | [AccessTokenGenerator](AccessTokenGenerator.md) | Callback function that generates an access token. |
26
26
  | [Address](Address.md) | Address of a set of cells in a spreadsheet. |
27
27
  | [AzureApplicationCredentials](AzureApplicationCredentials-1.md) | Credentials used to authenticate an application with Azure. |
28
+ | [Border](Border.md) | Defining a border that could be on a cell. |
28
29
  | [Cartesian](Cartesian.md) | Cartesian coordinates of a set of cells in a spreadsheet. |
29
30
  | [Cell](Cell.md) | Cell in a worksheet. |
31
+ | [Color](Color.md) | Color has a hexadecimal representation (ie #ffffff"). |
30
32
  | [Column](Column.md) | Column pointers. |
31
33
  | [Context](Context-1.md) | Context of requests. |
34
+ | [DataSource](DataSource-1.md) | Tooling for easily creating, updating, and deleting items in a worksheet or range. |
32
35
  | [Drive](Drive-1.md) | Drive pointers. |
33
36
  | [DriveItem](DriveItem-1.md) | Drive item pointers. |
37
+ | [FontName](FontName.md) | Name of a font. |
34
38
  | [GraphOperation](GraphOperation.md) | An atomic operation to be performed against the Microsoft Graph API. |
35
39
  | [HostName](HostName.md) | Name of a remote host, resolvable by DNS. |
36
40
  | [Http](Http-1.md) | HTTP models for handling HTTP requests and responses. |
@@ -90,6 +94,7 @@
90
94
  | [listDriveItemChildren](listDriveItemChildren.md) | Retrieve the metadata for items in a drive or folder. |
91
95
  | [listDrives](listDrives.md) | Retrieve the list of accessible Drives in a Site. |
92
96
  | [listSites](listSites.md) | List accessible sites. |
97
+ | [listWorkbookRangeBorders](listWorkbookRangeBorders.md) | List the borders of a range. |
93
98
  | [listWorkbookTableColumns](listWorkbookTableColumns.md) | Retrieve a list of columns in a table. |
94
99
  | [listWorkbookTableRows](listWorkbookTableRows.md) | Retrieve a list of rows in a table. |
95
100
  | [listWorkbookTables](listWorkbookTables.md) | Retrieve a list of tables in a worksheet. |
@@ -98,6 +103,7 @@
98
103
  | [moveDriveItem](moveDriveItem.md) | Moves a file to a new location in the same drive. |
99
104
  | [refreshWorkbookSession](refreshWorkbookSession.md) | Refresh a workbook session. |
100
105
  | [searchSites](searchSites.md) | Find accessible sites that match the provided keywords. |
106
+ | [setWorkbookRangeBorder](setWorkbookRangeBorder.md) | Update a specific border of a workbook range. |
101
107
  | [setWorkbookRangeFill](setWorkbookRangeFill.md) | Update the fill format of a workbook range. |
102
108
  | [setWorkbookRangeFont](setWorkbookRangeFont.md) | Update the font format of a workbook range. |
103
109
  | [setWorkbookRangeFormat](setWorkbookRangeFormat.md) | Update the general format of a workbook range. |
@@ -107,14 +113,6 @@
107
113
  | [updateWorkbookWorksheet](updateWorkbookWorksheet.md) | Update the name, position, and/or visibility of a worksheet. |
108
114
  | [userSendMail](userSendMail.md) | Send an email. |
109
115
 
110
- ## Other
111
-
112
- | Module | Description |
113
- | ------ | ------ |
114
- | [tasks/setColumnHidden](tasks/setColumnHidden.md) | - |
115
- | [tasks/setRowHidden](tasks/setRowHidden.md) | - |
116
- | [tasks/setWorkbookRangeValues](tasks/setWorkbookRangeValues.md) | - |
117
-
118
116
  ## Services
119
117
 
120
118
  | Module | Description |
@@ -126,12 +124,13 @@
126
124
  | [cartesianAddress](cartesianAddress.md) | Utilities for converting between A1 addresses and Cartesian coordinates. |
127
125
  | [CellFormat](CellFormat.md) | Spreadsheet number format constants for Microsoft Graph API. |
128
126
  | [context](context.md) | Context creation and management utilities for Microsoft Graph API authentication. |
127
+ | [dataSource](dataSource.md) | Tooling for easily creating, updating, and deleting items in a worksheet or range. |
129
128
  | [drive](drive.md) | Utilities for working with Microsoft Graph Drive references and operations. |
130
129
  | [driveItem](driveItem.md) | Utilities for working with Microsoft Graph Drive Items (files and folders). |
131
130
  | [environmentVariable](environmentVariable.md) | Utilities for accessing environment variables with error handling and fallbacks. |
132
131
  | [http](http.md) | HTTP request utilities for Microsoft Graph API, with proxy support. |
133
132
  | [httpStatus](httpStatus.md) | Utilities for analyzing HTTP status codes for Microsoft Graph API responses. |
134
- | [Iteration](Iteration.md) | - |
133
+ | [Iteration](Iteration.md) | Utilities for iterating over AsyncIterables. |
135
134
  | [operationId](operationId.md) | Utilities for converting between operation IDs and indexes. |
136
135
  | [operationInvoker](operationInvoker.md) | Invoke operations, potentially as parallel or sequential batches. |
137
136
  | [random](random.md) | Utilities for generating random values for spreadsheet and API operations. |
@@ -153,12 +152,14 @@
153
152
  | ------ | ------ |
154
153
  | [copyDriveItem](copyDriveItem.md) | Copy a drive item. |
155
154
  | [createWorkbookAndStartSession](createWorkbookAndStartSession.md) | Create a new workbook and open a session for that workbook. |
156
- | [deleteDriveItemWithRetry](deleteDriveItemWithRetry.md) | Delete a drive item, avoiding locking issues through automatic retries. |
157
155
  | [downloadDriveItemContent](downloadDriveItemContent.md) | Download a drive item and save it to the local disk. |
158
156
  | [getWorkbookWorksheetByName](getWorkbookWorksheetByName-1.md) | Get a worksheet by its name. |
157
+ | [iterateRows](iterateRows.md) | Iterate over the rows in a given worksheet range. |
159
158
  | [listDriveItems](listDriveItems.md) | List drive items in a drive or a drive item. |
160
159
  | [readWorkbookRows](readWorkbookRows.md) | Iterates over the rows in a given worksheet range. |
161
160
  | [safeDeleteWorkbook](safeDeleteWorkbook.md) | Safely delete a workbook by first closing any open sessions and then deleting it. |
161
+ | [setColumnHidden](setColumnHidden.md) | Set one or more columns visibility. |
162
+ | [setRowHidden](setRowHidden.md) | Set one or more rows visibility. |
162
163
  | [setWorkbookTableBodyVisibleRows](setWorkbookTableBodyVisibleRows.md) | Set visible rows of a workbook table with the provided 2D array of values, ignoring hidden rows and inserting new rows at the end if needed. |
163
164
  | [tryCloseWorkbookSession](tryCloseWorkbookSession.md) | Try and close a workbook session. |
164
165
  | [tryDeleteDriveItem](tryDeleteDriveItem.md) | Attempts to delete a drive item, returning success status. |
package/docs/api/Row.md CHANGED
@@ -10,7 +10,9 @@ A linear sequency of cells in a worksheet.
10
10
 
11
11
  > **Row** = [`Cell`](Cell.md#cell)[]
12
12
 
13
- Defined in: [src/models/Row.ts:9](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Row.ts#L9)
13
+ Defined in: [src/models/Row.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Row.ts#L12)
14
+
15
+ Horizontal linear sequence of cells in a worksheet.
14
16
 
15
17
  ***
16
18
 
@@ -18,7 +20,7 @@ Defined in: [src/models/Row.ts:9](https://github.com/Future-Secure-AI/microsoft-
18
20
 
19
21
  > **RowNumber** = `number` & `object`
20
22
 
21
- Defined in: [src/models/Row.ts:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Row.ts#L15)
23
+ Defined in: [src/models/Row.ts:18](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Row.ts#L18)
22
24
 
23
25
  Row number as it appears in Excel.
24
26
 
@@ -38,7 +40,7 @@ First row is 1.
38
40
 
39
41
  > **RowOffset** = `number` & `object`
40
42
 
41
- Defined in: [src/models/Row.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Row.ts#L22)
43
+ Defined in: [src/models/Row.ts:25](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Row.ts#L25)
42
44
 
43
45
  Zero-based index representing the position of a row in a range.
44
46
 
@@ -526,7 +526,7 @@ subaddress("A1:D10", 0, Infinity, -2, 1); // Second last column: "C1:C10"
526
526
 
527
527
  > **subRange**(`rangeRef`, `skipRows`, `takeRows`, `skipCols`, `takeCols`): [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref)
528
528
 
529
- Defined in: [src/services/addressManipulation.ts:493](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L493)
529
+ Defined in: [src/services/addressManipulation.ts:494](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L494)
530
530
 
531
531
  Extracts a sub-range from a WorkbookRangeRef using skip/take semantics.
532
532
 
@@ -556,7 +556,7 @@ InvalidArgumentError if the requested rows or columns exceed the available range
556
556
 
557
557
  > **superAddress**(`address`, `skipRows`, `takeRows`, `skipCols`, `takeCols`): [`Address`](Address.md#address)
558
558
 
559
- Defined in: [src/services/addressManipulation.ts:454](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L454)
559
+ Defined in: [src/services/addressManipulation.ts:455](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L455)
560
560
 
561
561
  Returns a super-address that extends the given address by skipping/taking rows/columns, possibly outside the original bounds.
562
562
  Negative skip moves the start above/left of the original range (not from the end).
@@ -589,7 +589,7 @@ superAddress("B2:C3", -1, 4, -1, 4) // "A1:D5"
589
589
 
590
590
  > **superRange**(`rangeRef`, `skipRows`, `takeRows`, `skipCols`, `takeCols`): [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref)
591
591
 
592
- Defined in: [src/services/addressManipulation.ts:512](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L512)
592
+ Defined in: [src/services/addressManipulation.ts:513](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L513)
593
593
 
594
594
  Returns a super-range from a WorkbookRangeRef using skip/take semantics, possibly extending outside the original bounds.
595
595
  Negative skip moves the start above/left of the original range (not from the end).