microsoft-graph 2.14.0 → 2.14.1
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/tasks/tryCloseWorkbookSession.d.ts +1 -1
- package/dist/cjs/tasks/tryCloseWorkbookSession.d.ts.map +1 -1
- package/dist/cjs/tasks/tryCloseWorkbookSession.js +7 -3
- package/dist/esm/tasks/tryCloseWorkbookSession.d.ts +1 -1
- package/dist/esm/tasks/tryCloseWorkbookSession.d.ts.map +1 -1
- package/dist/esm/tasks/tryCloseWorkbookSession.js +2 -1
- package/package.json +1 -1
|
@@ -5,5 +5,5 @@ import type { WorkbookRef } from "../models/WorkbookRef.ts";
|
|
|
5
5
|
* @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
|
|
6
6
|
* @returns true if the session was closed, false if it was not possible to close the session.
|
|
7
7
|
**/
|
|
8
|
-
export default function
|
|
8
|
+
export default function tryCloseWorkbookSession(workbookRef: WorkbookRef): Promise<boolean>;
|
|
9
9
|
//# sourceMappingURL=tryCloseWorkbookSession.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tryCloseWorkbookSession.d.ts","sourceRoot":"","sources":["../../../src/tasks/tryCloseWorkbookSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"tryCloseWorkbookSession.d.ts","sourceRoot":"","sources":["../../../src/tasks/tryCloseWorkbookSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D;;;;;IAKI;AACJ,wBAA8B,uBAAuB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAOhG"}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default =
|
|
6
|
+
exports.default = tryCloseWorkbookSession;
|
|
7
|
+
const closeWorkbookSession_ts_1 = __importDefault(require("../operations/workbookSession/closeWorkbookSession.js"));
|
|
4
8
|
/**
|
|
5
9
|
* Try and close a workbook session. Do not error if not possible
|
|
6
10
|
*
|
|
7
11
|
* @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
|
|
8
12
|
* @returns true if the session was closed, false if it was not possible to close the session.
|
|
9
13
|
**/
|
|
10
|
-
async function
|
|
14
|
+
async function tryCloseWorkbookSession(workbookRef) {
|
|
11
15
|
try {
|
|
12
|
-
await
|
|
16
|
+
await (0, closeWorkbookSession_ts_1.default)(workbookRef);
|
|
13
17
|
return true;
|
|
14
18
|
}
|
|
15
19
|
catch (_) {
|
|
@@ -5,5 +5,5 @@ import type { WorkbookRef } from "../models/WorkbookRef.ts";
|
|
|
5
5
|
* @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
|
|
6
6
|
* @returns true if the session was closed, false if it was not possible to close the session.
|
|
7
7
|
**/
|
|
8
|
-
export default function
|
|
8
|
+
export default function tryCloseWorkbookSession(workbookRef: WorkbookRef): Promise<boolean>;
|
|
9
9
|
//# sourceMappingURL=tryCloseWorkbookSession.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tryCloseWorkbookSession.d.ts","sourceRoot":"","sources":["../../../src/tasks/tryCloseWorkbookSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"tryCloseWorkbookSession.d.ts","sourceRoot":"","sources":["../../../src/tasks/tryCloseWorkbookSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D;;;;;IAKI;AACJ,wBAA8B,uBAAuB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAOhG"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import closeWorkbookSession from "../operations/workbookSession/closeWorkbookSession.js";
|
|
1
2
|
/**
|
|
2
3
|
* Try and close a workbook session. Do not error if not possible
|
|
3
4
|
*
|
|
4
5
|
* @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
|
|
5
6
|
* @returns true if the session was closed, false if it was not possible to close the session.
|
|
6
7
|
**/
|
|
7
|
-
export default async function
|
|
8
|
+
export default async function tryCloseWorkbookSession(workbookRef) {
|
|
8
9
|
try {
|
|
9
10
|
await closeWorkbookSession(workbookRef);
|
|
10
11
|
return true;
|