microsoft-graph 3.2.4 → 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 (93) 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/Drive.d.ts.map +1 -1
  7. package/dist/cjs/models/Drive.js +5 -1
  8. package/dist/cjs/models/DriveItem.d.ts.map +1 -1
  9. package/dist/cjs/models/DriveItem.js +5 -1
  10. package/dist/cjs/models/Http.d.ts.map +1 -1
  11. package/dist/cjs/models/Http.js +0 -1
  12. package/dist/cjs/models/Site.d.ts.map +1 -1
  13. package/dist/cjs/models/Site.js +5 -1
  14. package/dist/cjs/models/Workbook.d.ts.map +1 -1
  15. package/dist/cjs/models/Workbook.js +5 -1
  16. package/dist/cjs/models/WorkbookNamedRange.d.ts.map +1 -1
  17. package/dist/cjs/models/WorkbookNamedRange.js +5 -1
  18. package/dist/cjs/models/WorkbookPivotTable.d.ts.map +1 -1
  19. package/dist/cjs/models/WorkbookPivotTable.js +5 -1
  20. package/dist/cjs/models/WorkbookRange.d.ts.map +1 -1
  21. package/dist/cjs/models/WorkbookRange.js +5 -1
  22. package/dist/cjs/models/WorkbookSession.d.ts.map +1 -1
  23. package/dist/cjs/models/WorkbookSession.js +5 -1
  24. package/dist/cjs/models/WorkbookTable.d.ts.map +1 -1
  25. package/dist/cjs/models/WorkbookTable.js +5 -1
  26. package/dist/cjs/models/WorkbookWorksheet.d.ts.map +1 -1
  27. package/dist/cjs/models/WorkbookWorksheet.js +5 -1
  28. package/dist/cjs/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
  29. package/dist/cjs/operations/driveItem/streamDriveItemContent.js +1 -0
  30. package/dist/cjs/services/context.d.ts.map +1 -1
  31. package/dist/cjs/services/context.js +0 -1
  32. package/dist/cjs/services/iteration.d.ts +1 -1
  33. package/dist/cjs/services/iteration.d.ts.map +1 -1
  34. package/dist/cjs/services/iteration.js +2 -2
  35. package/dist/cjs/services/objectMapping.js +3 -3
  36. package/dist/cjs/services/operationInvoker.d.ts.map +1 -1
  37. package/dist/cjs/services/operationInvoker.js +0 -1
  38. package/dist/cjs/tasks/iterateWorkbookRangeRows.d.ts +2 -2
  39. package/dist/cjs/tasks/iterateWorkbookRangeRows.js +2 -2
  40. package/dist/esm/models/AzureApplicationCredentials.d.ts.map +1 -1
  41. package/dist/esm/models/AzureApplicationCredentials.js +5 -1
  42. package/dist/esm/models/Drive.d.ts.map +1 -1
  43. package/dist/esm/models/Drive.js +5 -1
  44. package/dist/esm/models/DriveItem.d.ts.map +1 -1
  45. package/dist/esm/models/DriveItem.js +5 -1
  46. package/dist/esm/models/Http.d.ts.map +1 -1
  47. package/dist/esm/models/Http.js +0 -1
  48. package/dist/esm/models/Site.d.ts.map +1 -1
  49. package/dist/esm/models/Site.js +5 -1
  50. package/dist/esm/models/Workbook.d.ts.map +1 -1
  51. package/dist/esm/models/Workbook.js +5 -1
  52. package/dist/esm/models/WorkbookNamedRange.d.ts.map +1 -1
  53. package/dist/esm/models/WorkbookNamedRange.js +5 -1
  54. package/dist/esm/models/WorkbookPivotTable.d.ts.map +1 -1
  55. package/dist/esm/models/WorkbookPivotTable.js +5 -1
  56. package/dist/esm/models/WorkbookRange.d.ts.map +1 -1
  57. package/dist/esm/models/WorkbookRange.js +5 -1
  58. package/dist/esm/models/WorkbookSession.d.ts.map +1 -1
  59. package/dist/esm/models/WorkbookSession.js +5 -1
  60. package/dist/esm/models/WorkbookTable.d.ts.map +1 -1
  61. package/dist/esm/models/WorkbookTable.js +5 -1
  62. package/dist/esm/models/WorkbookWorksheet.d.ts.map +1 -1
  63. package/dist/esm/models/WorkbookWorksheet.js +5 -1
  64. package/dist/esm/operations/driveItem/streamDriveItemContent.d.ts.map +1 -1
  65. package/dist/esm/operations/driveItem/streamDriveItemContent.js +1 -0
  66. package/dist/esm/services/context.d.ts.map +1 -1
  67. package/dist/esm/services/context.js +0 -1
  68. package/dist/esm/services/iteration.d.ts +1 -1
  69. package/dist/esm/services/iteration.d.ts.map +1 -1
  70. package/dist/esm/services/iteration.js +2 -2
  71. package/dist/esm/services/objectMapping.js +3 -3
  72. package/dist/esm/services/operationInvoker.d.ts.map +1 -1
  73. package/dist/esm/services/operationInvoker.js +0 -1
  74. package/dist/esm/tasks/iterateWorkbookRangeRows.d.ts +2 -2
  75. package/dist/esm/tasks/iterateWorkbookRangeRows.js +2 -2
  76. package/docs/api/AzureApplicationCredentials-1.md +4 -4
  77. package/docs/api/Drive-1.md +3 -3
  78. package/docs/api/DriveItem-1.md +3 -3
  79. package/docs/api/Http-1.md +6 -6
  80. package/docs/api/Iteration.md +7 -5
  81. package/docs/api/Site-1.md +5 -5
  82. package/docs/api/Workbook.md +1 -1
  83. package/docs/api/WorkbookNamedRange.md +2 -2
  84. package/docs/api/WorkbookPivotTable-1.md +2 -2
  85. package/docs/api/WorkbookRange-1.md +1 -1
  86. package/docs/api/WorkbookSession.md +1 -1
  87. package/docs/api/WorkbookTable-1.md +3 -3
  88. package/docs/api/WorkbookWorksheet-1.md +3 -3
  89. package/docs/api/context.md +4 -4
  90. package/docs/api/iterateWorkbookRangeRows.md +2 -2
  91. package/docs/api/operationInvoker.md +1 -1
  92. package/package.json +1907 -1907
  93. package/update-exports.ts +2 -7
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/services/context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,0CAA0C,CAAC;AACvH,O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AgB,aAAa,CAAC,oBAAoB,EAAE,oBAAoB,GAAG,UAAU,CAQpF;AAED,gJAAgJ;AAChJ,wBAAgB,gCAAgC,IAAI,UAAU,CAM7D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,UAAU,CAEjD;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,GAAG,UAAU,CAEtH"}
@@ -19,7 +19,6 @@ export function createClientSecretContext(tenantId, clientId, clientSecret, scop
19
19
  * @remarks You must manually handle renewal of the access token with this approach.
20
20
  */
21
21
  export function createAccessTokenContext(accessToken) {
22
- // biome-ignore lint/suspicious/useAwait: Not applicable here, as we are creating a context that returns a static access token.
23
22
  return createContext(async () => {
24
23
  return accessToken;
25
24
  });
@@ -8,5 +8,5 @@
8
8
  * @param iterable
9
9
  * @returns Array of items collected from the iterable.
10
10
  */
11
- export declare function iterateToArray<T>(iterable: AsyncIterable<T>): Promise<T[]>;
11
+ export declare function iterateToArray<T, U = T>(iterable: AsyncIterable<T>, converter?: (item: T) => U): Promise<U[]>;
12
12
  //# sourceMappingURL=iteration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"iteration.d.ts","sourceRoot":"","sources":["../../../src/services/iteration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,CAAC,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAMhF"}
1
+ {"version":3,"file":"iteration.d.ts","sourceRoot":"","sources":["../../../src/services/iteration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAMnH"}
@@ -8,10 +8,10 @@
8
8
  * @param iterable
9
9
  * @returns Array of items collected from the iterable.
10
10
  */
11
- export async function iterateToArray(iterable) {
11
+ export async function iterateToArray(iterable, converter) {
12
12
  const result = [];
13
13
  for await (const item of iterable) {
14
- result.push(item);
14
+ result.push(converter ? converter(item) : item);
15
15
  }
16
16
  return result;
17
17
  }
@@ -42,7 +42,7 @@ export function createObjectMapping(headerRow, rules) {
42
42
  const headStrings = headerRow.map((c) => (typeof c === "object" ? c.text : c));
43
43
  const resolved = {};
44
44
  for (const key in rules) {
45
- if (!Object.prototype.hasOwnProperty.call(rules, key)) {
45
+ if (!Object.hasOwn(rules, key)) {
46
46
  continue;
47
47
  }
48
48
  const rule = rules[key];
@@ -107,7 +107,7 @@ export async function* objectsToRows(objects, mapping) {
107
107
  export function rowToObject(cells, rules) {
108
108
  const record = {};
109
109
  for (const key in rules) {
110
- if (!Object.prototype.hasOwnProperty.call(rules, key)) {
110
+ if (!Object.hasOwn(rules, key)) {
111
111
  continue;
112
112
  }
113
113
  const rule = rules[key];
@@ -129,7 +129,7 @@ export function rowToObject(cells, rules) {
129
129
  export function objectToRow(record, mapper) {
130
130
  const row = [];
131
131
  for (const key in mapper) {
132
- if (!Object.prototype.hasOwnProperty.call(mapper, key)) {
132
+ if (!Object.hasOwn(mapper, key)) {
133
133
  continue;
134
134
  }
135
135
  const { columnOffset, encode } = mapper[key];
@@ -1 +1 @@
1
- {"version":3,"file":"operationInvoker.d.ts","sourceRoot":"","sources":["../../../src/services/operationInvoker.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAiC/G;;;GAGG;AACH,eAAO,MAAM,QAAQ,qCAAqC,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,aAAa,4CAAuB,CAAC;AAElD;;;;;;;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,EAAE,GAAG,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAOrH;AAqMD,wBAAgB,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,KAAK,CAwE3E"}
@@ -239,7 +239,6 @@ function handleResponseError(response, errorLog, attempts, operationIndex = null
239
239
  message += `\n${errorLog}`;
240
240
  throwException(response.status, message);
241
241
  }
242
- // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: Simple enough
243
242
  export function throwException(responseCode, message) {
244
243
  if (isHttpBadRequest(responseCode)) {
245
244
  throw new BadRequestError(message);
@@ -29,8 +29,8 @@ export type IteratedRow = {
29
29
  * @param maxCellsPerOperation Prescribe max cells to retrieve per operation. `null` automatically determines value. DO NOT SET EXCEPT FOR ADVANCED TUNING.
30
30
  * @experimental
31
31
  * @example
32
- * for await (const { row } of iterateRows(rangeRef)) {
33
- * console.log(row);
32
+ * for await (const { cells } of iterateRows(rangeRef)) {
33
+ * console.log(cells);
34
34
  * }
35
35
  */
36
36
  export declare function iterateWorkbookRangeRows(rangeRef: WorkbookRangeRef, scope?: Partial<CellScope>, maxCellsPerOperation?: number | null): AsyncIterable<IteratedRow>;
@@ -21,8 +21,8 @@ import { defaultCellScope } from "../services/cell.js";
21
21
  * @param maxCellsPerOperation Prescribe max cells to retrieve per operation. `null` automatically determines value. DO NOT SET EXCEPT FOR ADVANCED TUNING.
22
22
  * @experimental
23
23
  * @example
24
- * for await (const { row } of iterateRows(rangeRef)) {
25
- * console.log(row);
24
+ * for await (const { cells } of iterateRows(rangeRef)) {
25
+ * console.log(cells);
26
26
  * }
27
27
  */
28
28
  export async function* iterateWorkbookRangeRows(rangeRef, scope = defaultCellScope, maxCellsPerOperation = null) {
@@ -10,7 +10,7 @@ Credentials used to authenticate an application with Azure.
10
10
 
11
11
  > **AzureClientId** = `string` & `object`
12
12
 
13
- Defined in: [src/models/AzureApplicationCredentials.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L12)
13
+ Defined in: [src/models/AzureApplicationCredentials.ts:10](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L10)
14
14
 
15
15
  Application Client ID to authenticate with Azure.
16
16
 
@@ -26,7 +26,7 @@ Application Client ID to authenticate with Azure.
26
26
 
27
27
  > **AzureClientSecret** = `string` & `object`
28
28
 
29
- Defined in: [src/models/AzureApplicationCredentials.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L19)
29
+ Defined in: [src/models/AzureApplicationCredentials.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L17)
30
30
 
31
31
  Application Client secret to authenticate with Azure.
32
32
 
@@ -42,7 +42,7 @@ Application Client secret to authenticate with Azure.
42
42
 
43
43
  > **AzureTenantId** = `string` & `object`
44
44
 
45
- Defined in: [src/models/AzureApplicationCredentials.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L26)
45
+ Defined in: [src/models/AzureApplicationCredentials.ts:24](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L24)
46
46
 
47
47
  ID of tenant in Azure.
48
48
 
@@ -58,7 +58,7 @@ ID of tenant in Azure.
58
58
 
59
59
  > **Scope** = `string` & `object`
60
60
 
61
- Defined in: [src/models/AzureApplicationCredentials.ts:34](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L34)
61
+ Defined in: [src/models/AzureApplicationCredentials.ts:32](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/AzureApplicationCredentials.ts#L32)
62
62
 
63
63
  Scope for which the access token is requested.
64
64
 
@@ -10,7 +10,7 @@ Drive pointers.
10
10
 
11
11
  > **DriveId** = `string` & `object`
12
12
 
13
- Defined in: [src/models/Drive.ts:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Drive.ts#L14)
13
+ Defined in: [src/models/Drive.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Drive.ts#L12)
14
14
 
15
15
  Identifier for a drive.
16
16
 
@@ -26,7 +26,7 @@ Identifier for a drive.
26
26
 
27
27
  > **DriveName** = `string` & `object`
28
28
 
29
- Defined in: [src/models/Drive.ts:28](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Drive.ts#L28)
29
+ Defined in: [src/models/Drive.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Drive.ts#L26)
30
30
 
31
31
  Name of a drive.
32
32
 
@@ -42,7 +42,7 @@ Name of a drive.
42
42
 
43
43
  > **DriveRef** = [`SiteRef`](Site-1.md#siteref) & `object`
44
44
 
45
- Defined in: [src/models/Drive.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Drive.ts#L21)
45
+ Defined in: [src/models/Drive.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Drive.ts#L19)
46
46
 
47
47
  Reference to a drive.
48
48
 
@@ -10,7 +10,7 @@ Drive item pointers.
10
10
 
11
11
  > **DriveItemId** = `string` & `object`
12
12
 
13
- Defined in: [src/models/DriveItem.ts:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DriveItem.ts#L14)
13
+ Defined in: [src/models/DriveItem.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DriveItem.ts#L12)
14
14
 
15
15
  Unique identifier of an item in a drive.
16
16
 
@@ -26,7 +26,7 @@ Unique identifier of an item in a drive.
26
26
 
27
27
  > **DriveItemPath** = `string` & `object`
28
28
 
29
- Defined in: [src/models/DriveItem.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DriveItem.ts#L21)
29
+ Defined in: [src/models/DriveItem.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DriveItem.ts#L19)
30
30
 
31
31
  Path of an item in a drive.
32
32
 
@@ -42,7 +42,7 @@ Path of an item in a drive.
42
42
 
43
43
  > **DriveItemRef** = [`DriveRef`](Drive-1.md#driveref) & `object`
44
44
 
45
- Defined in: [src/models/DriveItem.ts:28](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DriveItem.ts#L28)
45
+ Defined in: [src/models/DriveItem.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/DriveItem.ts#L26)
46
46
 
47
47
  Reference to a drive item.
48
48
 
@@ -10,7 +10,7 @@ HTTP models for handling HTTP requests and responses.
10
10
 
11
11
  > **HttpHeaders** = `object`
12
12
 
13
- Defined in: [src/models/Http.ts:13](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L13)
13
+ Defined in: [src/models/Http.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L12)
14
14
 
15
15
  HTTP headers used in requests and responses.
16
16
 
@@ -18,8 +18,8 @@ HTTP headers used in requests and responses.
18
18
 
19
19
  | Property | Type | Defined in |
20
20
  | ------ | ------ | ------ |
21
- | <a id="content-type"></a> `content-type?` | `string` | [src/models/Http.ts:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L15) |
22
- | <a id="workbook-session-id"></a> `workbook-session-id?` | [`WorkbookSessionId`](WorkbookSession.md#workbooksessionid) | [src/models/Http.ts:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L14) |
21
+ | <a id="content-type"></a> `content-type?` | `string` | [src/models/Http.ts:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L14) |
22
+ | <a id="workbook-session-id"></a> `workbook-session-id?` | [`WorkbookSessionId`](WorkbookSession.md#workbooksessionid) | [src/models/Http.ts:13](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L13) |
23
23
 
24
24
  ***
25
25
 
@@ -27,7 +27,7 @@ HTTP headers used in requests and responses.
27
27
 
28
28
  > **HttpMethod** = `"GET"` \| `"POST"` \| `"PUT"` \| `"PATCH"` \| `"DELETE"`
29
29
 
30
- Defined in: [src/models/Http.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L19)
30
+ Defined in: [src/models/Http.ts:18](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L18)
31
31
 
32
32
  HTTP methods used in requests.
33
33
 
@@ -37,7 +37,7 @@ HTTP methods used in requests.
37
37
 
38
38
  > **HttpPath** = `string` & `object`
39
39
 
40
- Defined in: [src/models/Http.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L22)
40
+ Defined in: [src/models/Http.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L21)
41
41
 
42
42
  HTTP path used in requests
43
43
 
@@ -53,7 +53,7 @@ HTTP path used in requests
53
53
 
54
54
  > **HttpProxy** = `string` & `object`
55
55
 
56
- Defined in: [src/models/Http.ts:27](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L27)
56
+ Defined in: [src/models/Http.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Http.ts#L26)
57
57
 
58
58
  HTTP proxy used to route requests
59
59
 
@@ -8,7 +8,7 @@ Utilities for iterating over AsyncIterables.
8
8
 
9
9
  ### iterateToArray()
10
10
 
11
- > **iterateToArray**\<`T`\>(`iterable`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`T`[]\>
11
+ > **iterateToArray**\<`T`, `U`\>(`iterable`, `converter?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`U`[]\>
12
12
 
13
13
  Defined in: [src/services/iteration.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/iteration.ts#L12)
14
14
 
@@ -16,18 +16,20 @@ Iterate over an AsyncIterable and collect all items into an array.
16
16
 
17
17
  #### Type Parameters
18
18
 
19
- | Type Parameter |
20
- | ------ |
21
- | `T` |
19
+ | Type Parameter | Default type |
20
+ | ------ | ------ |
21
+ | `T` | - |
22
+ | `U` | `T` |
22
23
 
23
24
  #### Parameters
24
25
 
25
26
  | Parameter | Type | Description |
26
27
  | ------ | ------ | ------ |
27
28
  | `iterable` | `AsyncIterable`\<`T`\> | |
29
+ | `converter?` | (`item`) => `U` | - |
28
30
 
29
31
  #### Returns
30
32
 
31
- [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`T`[]\>
33
+ [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`U`[]\>
32
34
 
33
35
  Array of items collected from the iterable.
@@ -10,7 +10,7 @@ Pointers to a site.
10
10
 
11
11
  > **SiteId** = `string` & `object`
12
12
 
13
- Defined in: [src/models/Site.ts:14](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L14)
13
+ Defined in: [src/models/Site.ts:12](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L12)
14
14
 
15
15
  Identifier for a site.
16
16
 
@@ -26,7 +26,7 @@ Identifier for a site.
26
26
 
27
27
  > **SiteName** = `string` & `object`
28
28
 
29
- Defined in: [src/models/Site.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L21)
29
+ Defined in: [src/models/Site.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L19)
30
30
 
31
31
  Name of a site.
32
32
 
@@ -42,7 +42,7 @@ Name of a site.
42
42
 
43
43
  > **SiteRef** = `object`
44
44
 
45
- Defined in: [src/models/Site.ts:28](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L28)
45
+ Defined in: [src/models/Site.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L26)
46
46
 
47
47
  Reference to a site.
48
48
 
@@ -50,5 +50,5 @@ Reference to a site.
50
50
 
51
51
  | Property | Type | Defined in |
52
52
  | ------ | ------ | ------ |
53
- | <a id="context"></a> `context` | [`Context`](Context-1.md#context) | [src/models/Site.ts:29](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L29) |
54
- | <a id="siteid-1"></a> `siteId` | [`SiteId`](#siteid) | [src/models/Site.ts:30](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L30) |
53
+ | <a id="context"></a> `context` | [`Context`](Context-1.md#context) | [src/models/Site.ts:27](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L27) |
54
+ | <a id="siteid-1"></a> `siteId` | [`SiteId`](#siteid) | [src/models/Site.ts:28](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Site.ts#L28) |
@@ -10,7 +10,7 @@ Pointers to a workbook.
10
10
 
11
11
  > **WorkbookRef** = [`DriveItemRef`](DriveItem-1.md#driveitemref) & `object`
12
12
 
13
- Defined in: [src/models/Workbook.ts:15](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Workbook.ts#L15)
13
+ Defined in: [src/models/Workbook.ts:13](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/models/Workbook.ts#L13)
14
14
 
15
15
  Reference to a workbook.
16
16
 
@@ -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
 
@@ -53,7 +53,7 @@ Defined in: [src/tasks/iterateWorkbookRangeRows.ts:54](https://github.com/Future
53
53
  #### Example
54
54
 
55
55
  ```ts
56
- for await (const { row } of iterateRows(rangeRef)) {
57
- console.log(row);
56
+ for await (const { cells } of iterateRows(rangeRef)) {
57
+ console.log(cells);
58
58
  }
59
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