microsoft-graph 3.13.28 → 3.13.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/test.setup.d.ts +6 -0
- package/dist/cjs/test.setup.d.ts.map +1 -0
- package/dist/cjs/test.setup.js +9 -0
- package/dist/esm/test.setup.d.ts +6 -0
- package/dist/esm/test.setup.d.ts.map +1 -0
- package/dist/esm/test.setup.js +7 -0
- package/docs/api/AccessToken.md +1 -1
- package/docs/api/Address.md +4 -4
- package/docs/api/AzureApplicationCredentials.md +4 -4
- package/docs/api/BadRequestError.md +4 -4
- package/docs/api/BadTemplateError.md +4 -4
- package/docs/api/BandwidthLimitExceededError.md +4 -4
- package/docs/api/Border.md +3 -3
- package/docs/api/Cartesian.md +4 -4
- package/docs/api/Cell.md +16 -16
- package/docs/api/CellFormat.md +4 -4
- package/docs/api/Color.md +1 -1
- package/docs/api/Column.md +2 -2
- package/docs/api/ConflictError.md +4 -4
- package/docs/api/Context-1.md +2 -2
- package/docs/api/Drive-1.md +3 -3
- package/docs/api/DriveItem-1.md +4 -4
- package/docs/api/EnvironmentVariableMissingError.md +4 -4
- package/docs/api/FontName.md +1 -1
- package/docs/api/ForbiddenError.md +4 -4
- package/docs/api/GatewayTimeoutError.md +4 -4
- package/docs/api/GoneError.md +4 -4
- package/docs/api/GraphOperation.md +10 -10
- package/docs/api/HostName.md +1 -1
- package/docs/api/Http-1.md +4 -4
- package/docs/api/InconsistentContextError.md +4 -4
- package/docs/api/InsufficientStorageError.md +4 -4
- package/docs/api/InternalServerError.md +4 -4
- package/docs/api/InvalidArgumentError.md +4 -4
- package/docs/api/InvalidOperationError.md +4 -4
- package/docs/api/LengthRequiredError.md +4 -4
- package/docs/api/LockedError.md +4 -4
- package/docs/api/MethodNotAllowedError.md +4 -4
- package/docs/api/NeverError.md +4 -4
- package/docs/api/NotAcceptableError.md +4 -4
- package/docs/api/NotFoundError.md +4 -4
- package/docs/api/NotImplementedError.md +4 -4
- package/docs/api/PaymentRequiredError.md +4 -4
- package/docs/api/PreconditionFailedError.md +4 -4
- package/docs/api/ProtocolError.md +4 -4
- package/docs/api/README.md +1 -0
- package/docs/api/RequestEntityTooLargeError.md +4 -4
- package/docs/api/RequestFailedError.md +4 -4
- package/docs/api/RequestTimeoutError.md +4 -4
- package/docs/api/RequestedRangeNotSatisfiableError.md +4 -4
- package/docs/api/Row.md +2 -2
- package/docs/api/ServiceUnavailableError.md +4 -4
- package/docs/api/Site-1.md +4 -4
- package/docs/api/TooManyRequestsError.md +4 -4
- package/docs/api/UnauthorizedError.md +4 -4
- package/docs/api/UnprocessableEntityError.md +4 -4
- package/docs/api/UnsupportedAddressTypeError.md +4 -4
- package/docs/api/UnsupportedMediaTypeError.md +4 -4
- package/docs/api/Workbook.md +1 -1
- package/docs/api/WorkbookNamedRange.md +2 -2
- package/docs/api/WorkbookPivotTable-1.md +2 -2
- package/docs/api/WorkbookRange-1.md +1 -1
- package/docs/api/WorkbookSession.md +1 -1
- package/docs/api/WorkbookTable-1.md +3 -3
- package/docs/api/WorkbookWorksheet-1.md +3 -3
- package/docs/api/addressManipulation.md +14 -14
- package/docs/api/calculateWorkbook.md +1 -1
- package/docs/api/clearWorkbookRange.md +1 -1
- package/docs/api/context.md +1 -1
- package/docs/api/copyDriveItem.md +1 -1
- package/docs/api/createDriveItemContent.md +2 -2
- package/docs/api/createFolder.md +1 -1
- package/docs/api/createWorkbookSession.md +1 -1
- package/docs/api/deleteDriveItem.md +3 -3
- package/docs/api/drive.md +1 -1
- package/docs/api/driveItem.md +1 -1
- package/docs/api/environmentVariable.md +4 -4
- package/docs/api/findDriveItem.md +5 -5
- package/docs/api/http.md +5 -5
- package/docs/api/insertWorkbookRangeRows.md +2 -2
- package/docs/api/iterateDriveItems.md +1 -1
- package/docs/api/iterateDrives.md +1 -1
- package/docs/api/iterateSites.md +1 -1
- package/docs/api/iterateWorkbookRangeRows.md +7 -7
- package/docs/api/listDriveItems.md +5 -5
- package/docs/api/listDrives.md +5 -5
- package/docs/api/listSites.md +5 -5
- package/docs/api/mergeWorkbookRange.md +1 -1
- package/docs/api/objectMapping.md +2 -2
- package/docs/api/random.md +1 -1
- package/docs/api/rangeManipulation.md +6 -6
- package/docs/api/readWorkbookRangeFirstRow.md +1 -1
- package/docs/api/readWorkbookRangeRows.md +1 -1
- package/docs/api/readWorkbookRows.md +2 -2
- package/docs/api/searchSites.md +4 -4
- package/docs/api/services/sharepointUrl.md +2 -2
- package/docs/api/services/usedAddress.md +2 -2
- package/docs/api/site.md +1 -1
- package/docs/api/streamDriveItemContent.md +2 -2
- package/docs/api/tasks/tryGetWorkbookWorksheetUsedRangeRef.md +2 -2
- package/docs/api/temporaryFiles.md +2 -2
- package/docs/api/test.setup.md +3 -0
- package/docs/api/tryGetDriveItemByPath.md +2 -2
- package/docs/api/tryGetWorkbookWorksheetByName.md +2 -2
- package/docs/api/updateWorkbookRangeRows.md +2 -2
- package/docs/api/userSendMail.md +1 -1
- package/docs/api/workbookPivotTable.md +1 -1
- package/docs/api/workbookRange.md +1 -1
- package/docs/api/workbookTable.md +1 -1
- package/docs/api/workbookTableColumn.md +1 -1
- package/docs/api/workbookWorksheet.md +1 -1
- package/docs/api/writeWorkbookRows.md +2 -2
- package/package.json +30 -19
- package/vitest.config.ts +2 -5
|
@@ -48,7 +48,7 @@ cellToRangeAddress("B2", 2, -2)).toBe("A2:B3")
|
|
|
48
48
|
|
|
49
49
|
### composeAddress()
|
|
50
50
|
|
|
51
|
-
> **composeAddress**(`components`, `forceRange
|
|
51
|
+
> **composeAddress**(`components`, `forceRange?`): [`Address`](Address.md#address)
|
|
52
52
|
|
|
53
53
|
Defined in: [src/services/addressManipulation.ts:74](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L74)
|
|
54
54
|
|
|
@@ -432,7 +432,7 @@ True if the components represent a single riw, otherwise false.
|
|
|
432
432
|
|
|
433
433
|
### normalizeAddress()
|
|
434
434
|
|
|
435
|
-
> **normalizeAddress**(`address`, `forceRange
|
|
435
|
+
> **normalizeAddress**(`address`, `forceRange?`): [`Address`](Address.md#address)
|
|
436
436
|
|
|
437
437
|
Defined in: [src/services/addressManipulation.ts:41](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L41)
|
|
438
438
|
|
|
@@ -485,7 +485,7 @@ InvalidArgumentError if the offset is out of bounds.
|
|
|
485
485
|
|
|
486
486
|
### subAddress()
|
|
487
487
|
|
|
488
|
-
> **subAddress**(`address`, `skipRows
|
|
488
|
+
> **subAddress**(`address`, `skipRows?`, `takeRows?`, `skipCols?`, `takeCols?`): [`Address`](Address.md#address)
|
|
489
489
|
|
|
490
490
|
Defined in: [src/services/addressManipulation.ts:401](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L401)
|
|
491
491
|
|
|
@@ -501,9 +501,9 @@ Supports negative values for `takeRows` and `takeCols` to exclude from the end a
|
|
|
501
501
|
| ------ | ------ | ------ | ------ |
|
|
502
502
|
| `address` | [`Address`](Address.md#address) | `undefined` | Original range in A1 notation (e.g., "A1:D10"). |
|
|
503
503
|
| `skipRows` | `number` | `0` | Number of rows to skip. If negative, skips from the end. Default is 0. |
|
|
504
|
-
| `takeRows` | `
|
|
504
|
+
| `takeRows` | `number` \| `null` | `null` | Number of rows to take after skipping. If negative, excludes from the end of the remaining rows. Default is Infinity. |
|
|
505
505
|
| `skipCols` | `number` | `0` | Number of columns to skip. If negative, skips from the end. Default is 0. |
|
|
506
|
-
| `takeCols` | `
|
|
506
|
+
| `takeCols` | `number` \| `null` | `null` | Number of columns to take after skipping. If negative, excludes from the end of the remaining columns. Default is Infinity. |
|
|
507
507
|
|
|
508
508
|
#### Returns
|
|
509
509
|
|
|
@@ -524,7 +524,7 @@ subaddress("A1:D10", 0, Infinity, -2, 1); // Second last column: "C1:C10"
|
|
|
524
524
|
|
|
525
525
|
### subRange()
|
|
526
526
|
|
|
527
|
-
> **subRange**(`rangeRef`, `skipRows
|
|
527
|
+
> **subRange**(`rangeRef`, `skipRows?`, `takeRows?`, `skipCols?`, `takeCols?`): [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref)
|
|
528
528
|
|
|
529
529
|
Defined in: [src/services/addressManipulation.ts:518](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L518)
|
|
530
530
|
|
|
@@ -536,9 +536,9 @@ Extracts a sub-range from a WorkbookRangeRef using skip/take semantics.
|
|
|
536
536
|
| ------ | ------ | ------ | ------ |
|
|
537
537
|
| `rangeRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) | `undefined` | Range reference to extract the sub-range from. |
|
|
538
538
|
| `skipRows` | `number` | `0` | Number of rows to skip. If negative, skips from the end. Default 0. |
|
|
539
|
-
| `takeRows` | `
|
|
539
|
+
| `takeRows` | `number` \| `null` | `null` | Number of rows to take after skipping. If negative, excludes from the end. Default Infinity. |
|
|
540
540
|
| `skipCols` | `number` | `0` | Number of columns to skip. If negative, skips from the end. Default 0. |
|
|
541
|
-
| `takeCols` | `
|
|
541
|
+
| `takeCols` | `number` \| `null` | `null` | Number of columns to take after skipping. If negative, excludes from the end. Default Infinity. |
|
|
542
542
|
|
|
543
543
|
#### Returns
|
|
544
544
|
|
|
@@ -554,7 +554,7 @@ InvalidArgumentError if the requested rows or columns exceed the available range
|
|
|
554
554
|
|
|
555
555
|
### superAddress()
|
|
556
556
|
|
|
557
|
-
> **superAddress**(`address`, `skipRows
|
|
557
|
+
> **superAddress**(`address`, `skipRows?`, `takeRows?`, `skipCols?`, `takeCols?`): [`Address`](Address.md#address)
|
|
558
558
|
|
|
559
559
|
Defined in: [src/services/addressManipulation.ts:464](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L464)
|
|
560
560
|
|
|
@@ -567,9 +567,9 @@ Negative skip moves the start above/left of the original range (not from the end
|
|
|
567
567
|
| ------ | ------ | ------ | ------ |
|
|
568
568
|
| `address` | [`Address`](Address.md#address) | `undefined` | Original range in A1 notation (e.g., "A1:D10"). |
|
|
569
569
|
| `skipRows` | `number` | `0` | Number of rows to skip (can be negative to extend above). |
|
|
570
|
-
| `takeRows` | `
|
|
570
|
+
| `takeRows` | `number` \| `null` | `null` | Number of rows to take after skipping. If negative, excludes from the end. Default is Infinity. |
|
|
571
571
|
| `skipCols` | `number` | `0` | Number of columns to skip (can be negative to extend left). |
|
|
572
|
-
| `takeCols` | `
|
|
572
|
+
| `takeCols` | `number` \| `null` | `null` | Number of columns to take after skipping. If negative, excludes from the end. Default is Infinity. |
|
|
573
573
|
|
|
574
574
|
#### Returns
|
|
575
575
|
|
|
@@ -587,7 +587,7 @@ superAddress("B2:C3", -1, 4, -1, 4) // "A1:D5"
|
|
|
587
587
|
|
|
588
588
|
### superRange()
|
|
589
589
|
|
|
590
|
-
> **superRange**(`rangeRef`, `skipRows
|
|
590
|
+
> **superRange**(`rangeRef`, `skipRows?`, `takeRows?`, `skipCols?`, `takeCols?`): [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref)
|
|
591
591
|
|
|
592
592
|
Defined in: [src/services/addressManipulation.ts:537](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/addressManipulation.ts#L537)
|
|
593
593
|
|
|
@@ -600,9 +600,9 @@ Negative skip moves the start above/left of the original range (not from the end
|
|
|
600
600
|
| ------ | ------ | ------ | ------ |
|
|
601
601
|
| `rangeRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) | `undefined` | Range reference to extend. |
|
|
602
602
|
| `skipRows` | `number` | `0` | Number of rows to skip (can be negative to extend above). Default 0. |
|
|
603
|
-
| `takeRows` | `
|
|
603
|
+
| `takeRows` | `number` \| `null` | `null` | Number of rows to take after skipping. If negative, excludes from the end. Default Infinity. |
|
|
604
604
|
| `skipCols` | `number` | `0` | Number of columns to skip (can be negative to extend left). Default 0. |
|
|
605
|
-
| `takeCols` | `
|
|
605
|
+
| `takeCols` | `number` \| `null` | `null` | Number of columns to take after skipping. If negative, excludes from the end. Default Infinity. |
|
|
606
606
|
|
|
607
607
|
#### Returns
|
|
608
608
|
|
|
@@ -8,7 +8,7 @@ Recalculate a workbook.
|
|
|
8
8
|
|
|
9
9
|
### calculateWorkbook()
|
|
10
10
|
|
|
11
|
-
> **calculateWorkbook**(`workbookRef`, `calculationType
|
|
11
|
+
> **calculateWorkbook**(`workbookRef`, `calculationType?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<`void`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/operations/workbook/calculateWorkbook.ts:18](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/workbook/calculateWorkbook.ts#L18)
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Clear a range - content, formatting, or both.
|
|
|
8
8
|
|
|
9
9
|
### clearWorkbookRange()
|
|
10
10
|
|
|
11
|
-
> **clearWorkbookRange**(`rangeRef`, `applyTo
|
|
11
|
+
> **clearWorkbookRange**(`rangeRef`, `applyTo?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<`void`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/operations/workbookRange/clearWorkbookRange.ts:19](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/workbookRange/clearWorkbookRange.ts#L19)
|
|
14
14
|
|
package/docs/api/context.md
CHANGED
|
@@ -30,7 +30,7 @@ Use `createContext(accessTokenGenerator)` instead.
|
|
|
30
30
|
|
|
31
31
|
### ~~createClientSecretContext()~~
|
|
32
32
|
|
|
33
|
-
> **createClientSecretContext**(`tenantId`, `clientId`, `clientSecret`, `scope
|
|
33
|
+
> **createClientSecretContext**(`tenantId`, `clientId`, `clientSecret`, `scope?`): [`ContextRef`](Context-1.md#contextref)
|
|
34
34
|
|
|
35
35
|
Defined in: [src/services/context.ts:31](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/context.ts#L31)
|
|
36
36
|
|
|
@@ -8,7 +8,7 @@ Copy a drive item.
|
|
|
8
8
|
|
|
9
9
|
### copyDriveItem()
|
|
10
10
|
|
|
11
|
-
> **copyDriveItem**(`srcFileRef`, `dstDriveRef`, `dstFilePath`, `timeoutMs
|
|
11
|
+
> **copyDriveItem**(`srcFileRef`, `dstDriveRef`, `dstFilePath`, `timeoutMs?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object` & `object`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/copyDriveItem.ts:26](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/copyDriveItem.ts#L26)
|
|
14
14
|
|
|
@@ -68,7 +68,7 @@ https://learn.microsoft.com/en-us/graph/api/driveitem-createuploadsession
|
|
|
68
68
|
|
|
69
69
|
### createDriveItemContent()
|
|
70
70
|
|
|
71
|
-
> **createDriveItemContent**(`parentRef`, `itemPath`, `contentStream`, `contentLength`, `options
|
|
71
|
+
> **createDriveItemContent**(`parentRef`, `itemPath`, `contentStream`, `contentLength`, `options?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object` & `object`\>
|
|
72
72
|
|
|
73
73
|
Defined in: [src/operations/driveItem/createDriveItemContent.ts:64](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/createDriveItemContent.ts#L64)
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ Creates a new drive item in the specified parent drive or folder using a stream
|
|
|
80
80
|
| ------ | ------ | ------ |
|
|
81
81
|
| `parentRef` | [`DriveRef`](Drive-1.md#driveref) \| [`DriveItemRef`](DriveItem-1.md#driveitemref) | Reference to the parent drive or folder where the drive item will be created. |
|
|
82
82
|
| `itemPath` | [`DriveItemPath`](DriveItem-1.md#driveitempath) | Path (including the filename) for the new drive item within the given parent. |
|
|
83
|
-
| `contentStream` | [`ReadableStream`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/
|
|
83
|
+
| `contentStream` | [`ReadableStream`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/stream.d.ts#L1731) | A Node.js readable stream containing the file content. |
|
|
84
84
|
| `contentLength` | `number` | The total size in bytes of the content to be uploaded. |
|
|
85
85
|
| `options` | [`CreateDriveItemContentOptions`](#createdriveitemcontentoptions) | Optional. Additional options for the upload operation. |
|
|
86
86
|
|
package/docs/api/createFolder.md
CHANGED
|
@@ -24,7 +24,7 @@ Defined in: [src/operations/drive/createFolder.ts:20](https://github.com/Future-
|
|
|
24
24
|
|
|
25
25
|
### createFolder()
|
|
26
26
|
|
|
27
|
-
> **createFolder**(`parentRef`, `folderName`, `options
|
|
27
|
+
> **createFolder**(`parentRef`, `folderName`, `options?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object` & `object`\>
|
|
28
28
|
|
|
29
29
|
Defined in: [src/operations/drive/createFolder.ts:31](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/createFolder.ts#L31)
|
|
30
30
|
|
|
@@ -8,7 +8,7 @@ Create a new workbook session.
|
|
|
8
8
|
|
|
9
9
|
### createWorkbookSession()
|
|
10
10
|
|
|
11
|
-
> **createWorkbookSession**(`itemRef`, `persistChanges
|
|
11
|
+
> **createWorkbookSession**(`itemRef`, `persistChanges?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<[`WorkbookRef`](Workbook.md#workbookref)\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/operations/workbookSession/createWorkbookSession.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/workbookSession/createWorkbookSession.ts#L22)
|
|
14
14
|
|
|
@@ -18,14 +18,14 @@ Options for deleting a drive item.
|
|
|
18
18
|
|
|
19
19
|
| Property | Type | Description | Defined in |
|
|
20
20
|
| ------ | ------ | ------ | ------ |
|
|
21
|
-
| <a id="bypasscheckedout"></a> `bypassCheckedOut?` | `boolean` | If true, bypasses the checkout condition on the driveItem. | [src/operations/driveItem/deleteDriveItem.ts:25](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/deleteDriveItem.ts#L25) |
|
|
22
|
-
| <a id="bypasssharedlock"></a> `bypassSharedLock?` | `boolean` | If true, bypasses any shared locks on the driveItem (e.g., from a coauthoring session). | [src/operations/driveItem/deleteDriveItem.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/deleteDriveItem.ts#L21) |
|
|
21
|
+
| <a id="property-bypasscheckedout"></a> `bypassCheckedOut?` | `boolean` | If true, bypasses the checkout condition on the driveItem. | [src/operations/driveItem/deleteDriveItem.ts:25](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/deleteDriveItem.ts#L25) |
|
|
22
|
+
| <a id="property-bypasssharedlock"></a> `bypassSharedLock?` | `boolean` | If true, bypasses any shared locks on the driveItem (e.g., from a coauthoring session). | [src/operations/driveItem/deleteDriveItem.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/deleteDriveItem.ts#L21) |
|
|
23
23
|
|
|
24
24
|
## Functions
|
|
25
25
|
|
|
26
26
|
### deleteDriveItem()
|
|
27
27
|
|
|
28
|
-
> **deleteDriveItem**(`itemRef`, `options
|
|
28
|
+
> **deleteDriveItem**(`itemRef`, `options?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<`void`\>
|
|
29
29
|
|
|
30
30
|
Defined in: [src/operations/driveItem/deleteDriveItem.ts:34](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/deleteDriveItem.ts#L34)
|
|
31
31
|
|
package/docs/api/drive.md
CHANGED
|
@@ -43,7 +43,7 @@ Creates a reference to a drive.
|
|
|
43
43
|
| Parameter | Type | Description |
|
|
44
44
|
| ------ | ------ | ------ |
|
|
45
45
|
| `siteRef` | [`SiteRef`](Site-1.md#siteref) | The reference to the site. |
|
|
46
|
-
| `driveId` |
|
|
46
|
+
| `driveId` | [`DriveId`](Drive-1.md#driveid) \| `undefined` | The ID of the drive. |
|
|
47
47
|
|
|
48
48
|
#### Returns
|
|
49
49
|
|
package/docs/api/driveItem.md
CHANGED
|
@@ -43,7 +43,7 @@ Creates a reference to a drive item.
|
|
|
43
43
|
| Parameter | Type | Description |
|
|
44
44
|
| ------ | ------ | ------ |
|
|
45
45
|
| `driveRef` | [`DriveRef`](Drive-1.md#driveref) | The reference to the drive. |
|
|
46
|
-
| `itemId` |
|
|
46
|
+
| `itemId` | [`DriveItemId`](DriveItem-1.md#driveitemid) \| `undefined` | The ID of the drive item. |
|
|
47
47
|
|
|
48
48
|
#### Returns
|
|
49
49
|
|
|
@@ -8,7 +8,7 @@ Utilities for accessing environment variables with error handling and fallbacks.
|
|
|
8
8
|
|
|
9
9
|
### bindEnvironmentVariable()
|
|
10
10
|
|
|
11
|
-
> **bindEnvironmentVariable**(`env`, `fallbackValue
|
|
11
|
+
> **bindEnvironmentVariable**(`env`, `fallbackValue?`): () => `unknown`
|
|
12
12
|
|
|
13
13
|
Defined in: [src/services/environmentVariable.ts:35](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/environmentVariable.ts#L35)
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ Binds an environment variable to a function that retrieves its value.
|
|
|
19
19
|
| Parameter | Type | Default value | Description |
|
|
20
20
|
| ------ | ------ | ------ | ------ |
|
|
21
21
|
| `env` | `string` | `undefined` | Name of the environment variable. |
|
|
22
|
-
| `fallbackValue` | `
|
|
22
|
+
| `fallbackValue` | `string` \| `null` | `null` | The fallback value to use if the environment variable is not set. Defaults to null. |
|
|
23
23
|
|
|
24
24
|
#### Returns
|
|
25
25
|
|
|
@@ -35,7 +35,7 @@ A function that retrieves the value of the environment variable or the fallback
|
|
|
35
35
|
|
|
36
36
|
### getEnvironmentVariable()
|
|
37
37
|
|
|
38
|
-
> **getEnvironmentVariable**(`env`, `fallbackValue
|
|
38
|
+
> **getEnvironmentVariable**(`env`, `fallbackValue?`): `unknown`
|
|
39
39
|
|
|
40
40
|
Defined in: [src/services/environmentVariable.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/environmentVariable.ts#L16)
|
|
41
41
|
|
|
@@ -46,7 +46,7 @@ Retrieves the value of an environment variable.
|
|
|
46
46
|
| Parameter | Type | Default value | Description |
|
|
47
47
|
| ------ | ------ | ------ | ------ |
|
|
48
48
|
| `env` | `string` | `undefined` | Name of the environment variable. |
|
|
49
|
-
| `fallbackValue` | `
|
|
49
|
+
| `fallbackValue` | `string` \| `null` | `null` | The fallback value to use if the environment variable is not set. Defaults to null. |
|
|
50
50
|
|
|
51
51
|
#### Returns
|
|
52
52
|
|
|
@@ -16,8 +16,8 @@ Defined in: [src/operations/driveItem/findDriveItem.ts:21](https://github.com/Fu
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Defined in |
|
|
18
18
|
| ------ | ------ | ------ |
|
|
19
|
-
| <a id="items"></a> `items` | `DriveItem` & [`DriveItemRef`](DriveItem-1.md#driveitemref)[] | [src/operations/driveItem/findDriveItem.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L22) |
|
|
20
|
-
| <a id="nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/driveItem/findDriveItem.ts:23](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L23) |
|
|
19
|
+
| <a id="property-items"></a> `items` | `DriveItem` & [`DriveItemRef`](DriveItem-1.md#driveitemref)[] | [src/operations/driveItem/findDriveItem.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L22) |
|
|
20
|
+
| <a id="property-nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/driveItem/findDriveItem.ts:23](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L23) |
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
@@ -31,14 +31,14 @@ Defined in: [src/operations/driveItem/findDriveItem.ts:16](https://github.com/Fu
|
|
|
31
31
|
|
|
32
32
|
| Property | Type | Defined in |
|
|
33
33
|
| ------ | ------ | ------ |
|
|
34
|
-
| <a id="odatanextlink"></a> `@odata.nextLink?` | `string` \| `null` | [src/operations/driveItem/findDriveItem.ts:18](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L18) |
|
|
35
|
-
| <a id="value"></a> `value` | `DriveItem`[] | [src/operations/driveItem/findDriveItem.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L17) |
|
|
34
|
+
| <a id="property-odatanextlink"></a> `@odata.nextLink?` | `string` \| `null` | [src/operations/driveItem/findDriveItem.ts:18](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L18) |
|
|
35
|
+
| <a id="property-value"></a> `value` | `DriveItem`[] | [src/operations/driveItem/findDriveItem.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L17) |
|
|
36
36
|
|
|
37
37
|
## Functions
|
|
38
38
|
|
|
39
39
|
### findDriveItem()
|
|
40
40
|
|
|
41
|
-
> **findDriveItem**(`parentRef`, `query`, `parentPath
|
|
41
|
+
> **findDriveItem**(`parentRef`, `query`, `parentPath?`, `take?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<[`DriveItemSearchList`](#driveitemsearchlist)\>
|
|
42
42
|
|
|
43
43
|
Defined in: [src/operations/driveItem/findDriveItem.ts:35](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/findDriveItem.ts#L35)
|
|
44
44
|
|
package/docs/api/http.md
CHANGED
|
@@ -16,11 +16,11 @@ Defined in: [src/services/http.ts:68](https://github.com/Future-Secure-AI/micros
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Defined in |
|
|
18
18
|
| ------ | ------ | ------ |
|
|
19
|
-
| <a id="data"></a> `data?` | `unknown` | [src/services/http.ts:72](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L72) |
|
|
20
|
-
| <a id="headers"></a> `headers?` | `RawAxiosRequestHeaders` | [src/services/http.ts:71](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L71) |
|
|
21
|
-
| <a id="method"></a> `method` | [`HttpMethod`](Http-1.md#httpmethod) | [src/services/http.ts:70](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L70) |
|
|
22
|
-
| <a id="responsetype"></a> `responseType?` | `ResponseType` | [src/services/http.ts:73](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L73) |
|
|
23
|
-
| <a id="url"></a> `url` | `string` | [src/services/http.ts:69](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L69) |
|
|
19
|
+
| <a id="property-data"></a> `data?` | `unknown` | [src/services/http.ts:72](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L72) |
|
|
20
|
+
| <a id="property-headers"></a> `headers?` | `RawAxiosRequestHeaders` | [src/services/http.ts:71](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L71) |
|
|
21
|
+
| <a id="property-method"></a> `method` | [`HttpMethod`](Http-1.md#httpmethod) | [src/services/http.ts:70](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L70) |
|
|
22
|
+
| <a id="property-responsetype"></a> `responseType?` | `ResponseType` | [src/services/http.ts:73](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L73) |
|
|
23
|
+
| <a id="property-url"></a> `url` | `string` | [src/services/http.ts:69](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/http.ts#L69) |
|
|
24
24
|
|
|
25
25
|
## Functions
|
|
26
26
|
|
|
@@ -10,7 +10,7 @@ Inserts rows into a workbook range.
|
|
|
10
10
|
|
|
11
11
|
### insertWorkbookRangeRows()
|
|
12
12
|
|
|
13
|
-
> **insertWorkbookRangeRows**(`originRef`, `cells`, `maxCellsPerOperation
|
|
13
|
+
> **insertWorkbookRangeRows**(`originRef`, `cells`, `maxCellsPerOperation?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<`void`\>
|
|
14
14
|
|
|
15
15
|
Defined in: [src/tasks/insertWorkbookRangeRows.ts:38](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/insertWorkbookRangeRows.ts#L38)
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ Inserts rows into a workbook range.
|
|
|
24
24
|
| ------ | ------ | ------ | ------ |
|
|
25
25
|
| `originRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) | `undefined` | Reference to the workbook range to update. Only the upper-left cell is used as an origin point. |
|
|
26
26
|
| `cells` | `AsyncIterable`\<[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`Cell`](Cell.md#cell)\>[], `any`, `any`\> \| [`Iterable`](https://www.typescriptlang.org/docs/handbook/iterators-and-generators.html#iterable-interface)\<[`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`Cell`](Cell.md#cell)\>[], `any`, `any`\> | `undefined` | Array of arrays of cells to update in the specified range. |
|
|
27
|
-
| `maxCellsPerOperation` | `
|
|
27
|
+
| `maxCellsPerOperation` | `number` \| `null` | `null` | Prescribe max cells to retrieve per operation. `null` automatically determines value. DO NOT SET EXCEPT FOR ADVANCED TUNING. |
|
|
28
28
|
|
|
29
29
|
#### Returns
|
|
30
30
|
|
|
@@ -8,7 +8,7 @@ List drive items in a drive or a drive item.
|
|
|
8
8
|
|
|
9
9
|
### iterateDriveItems()
|
|
10
10
|
|
|
11
|
-
> **iterateDriveItems**(`parentRef`, `maxPerChunk
|
|
11
|
+
> **iterateDriveItems**(`parentRef`, `maxPerChunk?`): [`AsyncGenerator`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object` & `object`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/iterateDriveItems.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateDriveItems.ts#L21)
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ List drives in a site as an async iterable.
|
|
|
8
8
|
|
|
9
9
|
### iterateDrives()
|
|
10
10
|
|
|
11
|
-
> **iterateDrives**(`siteRef`, `maxPerChunk
|
|
11
|
+
> **iterateDrives**(`siteRef`, `maxPerChunk?`): [`AsyncGenerator`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator)\<`DriveItem` & [`SiteRef`](Site-1.md#siteref) & `object`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/iterateDrives.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateDrives.ts#L20)
|
|
14
14
|
|
package/docs/api/iterateSites.md
CHANGED
|
@@ -8,7 +8,7 @@ List sites in your company geography as an async iterable.
|
|
|
8
8
|
|
|
9
9
|
### iterateSites()
|
|
10
10
|
|
|
11
|
-
> **iterateSites**(`contextRef`, `maxPerChunk
|
|
11
|
+
> **iterateSites**(`contextRef`, `maxPerChunk?`): [`AsyncGenerator`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator)\<`Site` & [`SiteRef`](Site-1.md#siteref)\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/tasks/iterateSites.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateSites.ts#L20)
|
|
14
14
|
|
|
@@ -22,17 +22,17 @@ Represents a row yielded by the [iterateWorkbookRangeRows](#iterateworkbookrange
|
|
|
22
22
|
|
|
23
23
|
| Property | Type | Description | Defined in |
|
|
24
24
|
| ------ | ------ | ------ | ------ |
|
|
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) |
|
|
25
|
+
| <a id="property-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="property-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="property-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="property-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="property-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) |
|
|
30
30
|
|
|
31
31
|
## Functions
|
|
32
32
|
|
|
33
33
|
### iterateWorkbookRangeRows()
|
|
34
34
|
|
|
35
|
-
> **iterateWorkbookRangeRows**(`rangeRef`, `scope
|
|
35
|
+
> **iterateWorkbookRangeRows**(`rangeRef`, `scope?`, `maxCellsPerOperation?`): `AsyncIterable`\<[`IteratedRow`](#iteratedrow)\>
|
|
36
36
|
|
|
37
37
|
Defined in: [src/tasks/iterateWorkbookRangeRows.ts:54](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/iterateWorkbookRangeRows.ts#L54)
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@ Iterate over the rows in a given worksheet range.
|
|
|
46
46
|
| ------ | ------ | ------ | ------ |
|
|
47
47
|
| `rangeRef` | [`WorkbookRangeRef`](WorkbookRange-1.md#workbookrangeref) | `undefined` | Reference to the workbook range to iterate over. |
|
|
48
48
|
| `scope` | [`Partial`](https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype)\<[`CellScope`](Cell.md#cellscope)\> | `defaultCellScope` | Amount of detail to include for each cell. |
|
|
49
|
-
| `maxCellsPerOperation` | `
|
|
49
|
+
| `maxCellsPerOperation` | `number` \| `null` | `null` | Prescribe max cells to retrieve per operation. `null` automatically determines value. DO NOT SET EXCEPT FOR ADVANCED TUNING. |
|
|
50
50
|
|
|
51
51
|
#### Returns
|
|
52
52
|
|
|
@@ -16,8 +16,8 @@ Defined in: [src/operations/driveItem/listDriveItems.ts:20](https://github.com/F
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Defined in |
|
|
18
18
|
| ------ | ------ | ------ |
|
|
19
|
-
| <a id="items"></a> `items` | `DriveItem` & [`DriveItemRef`](DriveItem-1.md#driveitemref)[] | [src/operations/driveItem/listDriveItems.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L21) |
|
|
20
|
-
| <a id="nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/driveItem/listDriveItems.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L22) |
|
|
19
|
+
| <a id="property-items"></a> `items` | `DriveItem` & [`DriveItemRef`](DriveItem-1.md#driveitemref)[] | [src/operations/driveItem/listDriveItems.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L21) |
|
|
20
|
+
| <a id="property-nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/driveItem/listDriveItems.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L22) |
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
@@ -31,14 +31,14 @@ Defined in: [src/operations/driveItem/listDriveItems.ts:15](https://github.com/F
|
|
|
31
31
|
|
|
32
32
|
| Property | Type | Defined in |
|
|
33
33
|
| ------ | ------ | ------ |
|
|
34
|
-
| <a id="odatanextlink"></a> `@odata.nextLink` | `string` \| `null` | [src/operations/driveItem/listDriveItems.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L17) |
|
|
35
|
-
| <a id="value"></a> `value` | `DriveItem` & [`DriveItemRef`](DriveItem-1.md#driveitemref)[] | [src/operations/driveItem/listDriveItems.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L16) |
|
|
34
|
+
| <a id="property-odatanextlink"></a> `@odata.nextLink` | `string` \| `null` | [src/operations/driveItem/listDriveItems.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L17) |
|
|
35
|
+
| <a id="property-value"></a> `value` | `DriveItem` & [`DriveItemRef`](DriveItem-1.md#driveitemref)[] | [src/operations/driveItem/listDriveItems.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L16) |
|
|
36
36
|
|
|
37
37
|
## Functions
|
|
38
38
|
|
|
39
39
|
### listDriveItems()
|
|
40
40
|
|
|
41
|
-
> **listDriveItems**(`parentRef`, `take
|
|
41
|
+
> **listDriveItems**(`parentRef`, `take?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<[`DriveItemList`](#driveitemlist)\>
|
|
42
42
|
|
|
43
43
|
Defined in: [src/operations/driveItem/listDriveItems.ts:32](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/driveItem/listDriveItems.ts#L32)
|
|
44
44
|
|
package/docs/api/listDrives.md
CHANGED
|
@@ -16,8 +16,8 @@ Defined in: [src/operations/drive/listDrives.ts:20](https://github.com/Future-Se
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Defined in |
|
|
18
18
|
| ------ | ------ | ------ |
|
|
19
|
-
| <a id="drives"></a> `drives` | `Drive` & [`DriveRef`](Drive-1.md#driveref)[] | [src/operations/drive/listDrives.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L21) |
|
|
20
|
-
| <a id="nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/drive/listDrives.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L22) |
|
|
19
|
+
| <a id="property-drives"></a> `drives` | `Drive` & [`DriveRef`](Drive-1.md#driveref)[] | [src/operations/drive/listDrives.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L21) |
|
|
20
|
+
| <a id="property-nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/drive/listDrives.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L22) |
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
@@ -31,14 +31,14 @@ Defined in: [src/operations/drive/listDrives.ts:15](https://github.com/Future-Se
|
|
|
31
31
|
|
|
32
32
|
| Property | Type | Defined in |
|
|
33
33
|
| ------ | ------ | ------ |
|
|
34
|
-
| <a id="odatanextlink"></a> `@odata.nextLink` | `string` \| `null` | [src/operations/drive/listDrives.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L17) |
|
|
35
|
-
| <a id="value"></a> `value` | `DriveItem` & [`DriveRef`](Drive-1.md#driveref)[] | [src/operations/drive/listDrives.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L16) |
|
|
34
|
+
| <a id="property-odatanextlink"></a> `@odata.nextLink` | `string` \| `null` | [src/operations/drive/listDrives.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L17) |
|
|
35
|
+
| <a id="property-value"></a> `value` | `DriveItem` & [`DriveRef`](Drive-1.md#driveref)[] | [src/operations/drive/listDrives.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L16) |
|
|
36
36
|
|
|
37
37
|
## Functions
|
|
38
38
|
|
|
39
39
|
### listDrives()
|
|
40
40
|
|
|
41
|
-
> **listDrives**(`siteRef`, `take
|
|
41
|
+
> **listDrives**(`siteRef`, `take?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<[`DriveList`](#drivelist)\>
|
|
42
42
|
|
|
43
43
|
Defined in: [src/operations/drive/listDrives.ts:32](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/drive/listDrives.ts#L32)
|
|
44
44
|
|
package/docs/api/listSites.md
CHANGED
|
@@ -16,8 +16,8 @@ Defined in: [src/operations/site/listSites.ts:15](https://github.com/Future-Secu
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Defined in |
|
|
18
18
|
| ------ | ------ | ------ |
|
|
19
|
-
| <a id="odatanextlink"></a> `@odata.nextLink` | `string` \| `null` | [src/operations/site/listSites.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L17) |
|
|
20
|
-
| <a id="value"></a> `value` | `Site` & [`SiteRef`](Site-1.md#siteref)[] | [src/operations/site/listSites.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L16) |
|
|
19
|
+
| <a id="property-odatanextlink"></a> `@odata.nextLink` | `string` \| `null` | [src/operations/site/listSites.ts:17](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L17) |
|
|
20
|
+
| <a id="property-value"></a> `value` | `Site` & [`SiteRef`](Site-1.md#siteref)[] | [src/operations/site/listSites.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L16) |
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
@@ -31,14 +31,14 @@ Defined in: [src/operations/site/listSites.ts:20](https://github.com/Future-Secu
|
|
|
31
31
|
|
|
32
32
|
| Property | Type | Defined in |
|
|
33
33
|
| ------ | ------ | ------ |
|
|
34
|
-
| <a id="nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/site/listSites.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L22) |
|
|
35
|
-
| <a id="sites"></a> `sites` | `Site` & [`SiteRef`](Site-1.md#siteref)[] | [src/operations/site/listSites.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L21) |
|
|
34
|
+
| <a id="property-nextlink"></a> `nextLink` | [`URL`](https://developer.mozilla.org/docs/Web/API/URL) \| `null` | [src/operations/site/listSites.ts:22](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L22) |
|
|
35
|
+
| <a id="property-sites"></a> `sites` | `Site` & [`SiteRef`](Site-1.md#siteref)[] | [src/operations/site/listSites.ts:21](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L21) |
|
|
36
36
|
|
|
37
37
|
## Functions
|
|
38
38
|
|
|
39
39
|
### listSites()
|
|
40
40
|
|
|
41
|
-
> **listSites**(`contextRef`, `take
|
|
41
|
+
> **listSites**(`contextRef`, `take?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<[`SiteList`](#sitelist)\>
|
|
42
42
|
|
|
43
43
|
Defined in: [src/operations/site/listSites.ts:32](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/site/listSites.ts#L32)
|
|
44
44
|
|
|
@@ -8,7 +8,7 @@ Merge a range of cells in a worksheet.
|
|
|
8
8
|
|
|
9
9
|
### mergeWorkbookRange()
|
|
10
10
|
|
|
11
|
-
> **mergeWorkbookRange**(`rangeRef`, `across
|
|
11
|
+
> **mergeWorkbookRange**(`rangeRef`, `across?`): [`GraphOperation`](GraphOperation.md#graphoperation)\<`void`\>
|
|
12
12
|
|
|
13
13
|
Defined in: [src/operations/workbookRange/mergeWorkbookRange.ts:20](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/operations/workbookRange/mergeWorkbookRange.ts#L20)
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@ Automated conversion of rows to objects and vice versa based on defined mapping
|
|
|
6
6
|
|
|
7
7
|
## Type Aliases
|
|
8
8
|
|
|
9
|
-
### ObjectMapping
|
|
9
|
+
### ObjectMapping
|
|
10
10
|
|
|
11
11
|
> **ObjectMapping**\<`T`\> = `{ [K in keyof T]-?: { columnPattern: RegExp; decode?: (cell: Cell) => T[K]; encode?: (prop: T[K]) => Cell } }`
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ Defines rules for mapping between spreadsheet rows and object properties.
|
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
25
|
-
### ResolvedObjectMapping
|
|
25
|
+
### ResolvedObjectMapping
|
|
26
26
|
|
|
27
27
|
> **ResolvedObjectMapping**\<`T`\> = `{ [K in keyof T]-?: { columnOffset: ColumnOffset; decode: (cell: Cell) => T[K]; encode: (prop: T[K]) => Cell } }`
|
|
28
28
|
|
package/docs/api/random.md
CHANGED
|
@@ -8,7 +8,7 @@ Utilities for generating random values for spreadsheet and API operations.
|
|
|
8
8
|
|
|
9
9
|
### generateRandomString()
|
|
10
10
|
|
|
11
|
-
> **generateRandomString**(`length
|
|
11
|
+
> **generateRandomString**(`length?`): `string`
|
|
12
12
|
|
|
13
13
|
Defined in: [src/services/random.ts:16](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/random.ts#L16)
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Utilities for inferring and manipulating spreadsheet ranges and objects.
|
|
|
8
8
|
|
|
9
9
|
### inferObjectRange()
|
|
10
10
|
|
|
11
|
-
> **inferObjectRange**(`objs`, `header
|
|
11
|
+
> **inferObjectRange**(`objs`, `header?`): [`CellValue`](Cell.md#cellvalue)[][]
|
|
12
12
|
|
|
13
13
|
Defined in: [src/services/rangeManipulation.ts:120](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/services/rangeManipulation.ts#L120)
|
|
14
14
|
|
|
@@ -20,11 +20,11 @@ The first row of the 2D array contains the keys as headers.
|
|
|
20
20
|
| Parameter | Type | Default value | Description |
|
|
21
21
|
| ------ | ------ | ------ | ------ |
|
|
22
22
|
| `objs` | `unknown`[] | `undefined` | Array of objects to convert. |
|
|
23
|
-
| `header` | `
|
|
23
|
+
| `header` | `string`[] \| `null` | `null` | Optional header row. If not provided, it will be inferred from the object keys. |
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
[`CellValue`](Cell.md#cellvalue
|
|
27
|
+
[`CellValue`](Cell.md#cellvalue)[][]
|
|
28
28
|
|
|
29
29
|
A 2D array where the first row is the header and subsequent rows are the object values.
|
|
30
30
|
|
|
@@ -42,7 +42,7 @@ Converts a 2D array of cell values into range address in the upper left.
|
|
|
42
42
|
|
|
43
43
|
| Parameter | Type | Description |
|
|
44
44
|
| ------ | ------ | ------ |
|
|
45
|
-
| `values` | [`CellValue`](Cell.md#cellvalue
|
|
45
|
+
| `values` | [`CellValue`](Cell.md#cellvalue)[][] | A 2D array representing cell values. |
|
|
46
46
|
| `rowOffset?` | [`RowOffset`](Row.md#rowoffset) | The row offset to apply to the range address. |
|
|
47
47
|
| `columnOffset?` | [`ColumnOffset`](Column.md#columnoffset) | The column offset to apply to the range address. |
|
|
48
48
|
|
|
@@ -71,7 +71,7 @@ Assumes the first row is a header and uses it as keys for the objects.
|
|
|
71
71
|
|
|
72
72
|
| Parameter | Type | Description |
|
|
73
73
|
| ------ | ------ | ------ |
|
|
74
|
-
| `values` | [`CellValue`](Cell.md#cellvalue
|
|
74
|
+
| `values` | [`CellValue`](Cell.md#cellvalue)[][] | A 2D array representing cell values. |
|
|
75
75
|
|
|
76
76
|
#### Returns
|
|
77
77
|
|
|
@@ -97,7 +97,7 @@ Converts a 2D array of cell values into a row address in the upper left.
|
|
|
97
97
|
|
|
98
98
|
| Parameter | Type | Description |
|
|
99
99
|
| ------ | ------ | ------ |
|
|
100
|
-
| `row` | [`CellValue`](Cell.md#cellvalue
|
|
100
|
+
| `row` | [`CellValue`](Cell.md#cellvalue)[] | A single row of cell values. |
|
|
101
101
|
| `rowOffset?` | [`RowOffset`](Row.md#rowoffset) | The row offset to apply to the address. |
|
|
102
102
|
| `columnOffset?` | [`ColumnOffset`](Column.md#columnoffset) | The column offset to apply to the address. |
|
|
103
103
|
|
|
@@ -10,7 +10,7 @@ Read the first row from a given workbook range.
|
|
|
10
10
|
|
|
11
11
|
### readWorkbookRangeFirstRow()
|
|
12
12
|
|
|
13
|
-
> **readWorkbookRangeFirstRow**(`rangeRef`, `scope
|
|
13
|
+
> **readWorkbookRangeFirstRow**(`rangeRef`, `scope?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`Cell`](Cell.md#cell)[]\>
|
|
14
14
|
|
|
15
15
|
Defined in: [src/tasks/readWorkbookRangeFirstRow.ts:23](https://github.com/Future-Secure-AI/microsoft-graph/blob/main/src/tasks/readWorkbookRangeFirstRow.ts#L23)
|
|
16
16
|
|