microsoft-graph 2.13.0 → 2.14.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.
@@ -0,0 +1,9 @@
1
+ import type { WorkbookRef } from "../models/WorkbookRef.ts";
2
+ /**
3
+ * Try and close a workbook session. Do not error if not possible
4
+ *
5
+ * @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
6
+ * @returns true if the session was closed, false if it was not possible to close the session.
7
+ **/
8
+ export default function closeWorkbookSession(workbookRef: WorkbookRef): Promise<boolean>;
9
+ //# sourceMappingURL=tryCloseWorkbookSession.d.ts.map
@@ -0,0 +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;AAE5D;;;;;IAKI;AACJ,wBAA8B,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAO7F"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = closeWorkbookSession;
4
+ /**
5
+ * Try and close a workbook session. Do not error if not possible
6
+ *
7
+ * @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
8
+ * @returns true if the session was closed, false if it was not possible to close the session.
9
+ **/
10
+ async function closeWorkbookSession(workbookRef) {
11
+ try {
12
+ await closeWorkbookSession(workbookRef);
13
+ return true;
14
+ }
15
+ catch (_) {
16
+ return false;
17
+ }
18
+ }
@@ -0,0 +1,9 @@
1
+ import type { WorkbookRef } from "../models/WorkbookRef.ts";
2
+ /**
3
+ * Try and close a workbook session. Do not error if not possible
4
+ *
5
+ * @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
6
+ * @returns true if the session was closed, false if it was not possible to close the session.
7
+ **/
8
+ export default function closeWorkbookSession(workbookRef: WorkbookRef): Promise<boolean>;
9
+ //# sourceMappingURL=tryCloseWorkbookSession.d.ts.map
@@ -0,0 +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;AAE5D;;;;;IAKI;AACJ,wBAA8B,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAO7F"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Try and close a workbook session. Do not error if not possible
3
+ *
4
+ * @param workbookRef - A reference to the workbook, optionally including session information. The session ID is required.
5
+ * @returns true if the session was closed, false if it was not possible to close the session.
6
+ **/
7
+ export default async function closeWorkbookSession(workbookRef) {
8
+ try {
9
+ await closeWorkbookSession(workbookRef);
10
+ return true;
11
+ }
12
+ catch (_) {
13
+ return false;
14
+ }
15
+ }