microsoft-graph 2.10.0 → 2.11.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.
@@ -6,7 +6,7 @@ export type GraphPath = string & {
6
6
  };
7
7
  export type GraphHeaders = {
8
8
  "workbook-session-id"?: WorkbookSessionId | undefined;
9
- "content-type"?: "application/json" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | undefined;
9
+ "content-type"?: string | undefined;
10
10
  };
11
11
  export type GraphOperationDefinition<T> = {
12
12
  /** Context to match the operation to. Used for authentication etc. */
@@ -1 +1 @@
1
- {"version":3,"file":"GraphOperation.d.ts","sourceRoot":"","sources":["../../../src/models/GraphOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AACtE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG;IAC1B,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtD,cAAc,CAAC,EAAE,kBAAkB,GAAG,mEAAmE,GAAG,SAAS,CAAC;CACtH,CAAC;AAGF,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACzC,sEAAsE;IACtE,SAAS,EAAE,SAAS,CAAC;IACrB,8BAA8B;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,oJAAoJ;IACpJ,IAAI,EAAE,SAAS,CAAC;IAChB,kGAAkG;IAClG,OAAO,EAAE,YAAY,CAAC;IACtB,6LAA6L;IAC7L,IAAI,EAAE,OAAO,CAAC;IACd,wDAAwD;IACxD,iBAAiB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG;IAC5C,UAAU,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC;CACxC,CAAC"}
1
+ {"version":3,"file":"GraphOperation.d.ts","sourceRoot":"","sources":["../../../src/models/GraphOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AACtE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG;IAC1B,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAGF,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACzC,sEAAsE;IACtE,SAAS,EAAE,SAAS,CAAC;IACrB,8BAA8B;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,oJAAoJ;IACpJ,IAAI,EAAE,SAAS,CAAC;IAChB,kGAAkG;IAClG,OAAO,EAAE,YAAY,CAAC;IACtB,6LAA6L;IAC7L,IAAI,EAAE,OAAO,CAAC;IACd,wDAAwD;IACxD,iBAAiB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG;IAC5C,UAAU,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC;CACxC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { DriveItem } from "@microsoft/microsoft-graph-types";
2
+ import type { DriveItemPath } from "../../models/DriveItemPath.ts";
3
+ import type { DriveItemRef } from "../../models/DriveItemRef.ts";
4
+ import type { DriveRef } from "../../models/DriveRef.ts";
5
+ import type { GraphOperation } from "../../models/GraphOperation.ts";
6
+ /**
7
+ * Creates new drive item in the specified parent drive or folder. If the file already exists, it will be replaced.
8
+ *
9
+ * @param parentRef - A reference to the parent drive or folder where the workbook will be created.
10
+ * @param itemPath - The path (including the filename) for the new workbook.
11
+ * @returns The newly created workbook, including its metadata and reference information.
12
+ * @see https://learn.microsoft.com/en-us/graph/api/driveitem-put-content
13
+ */
14
+ export default function createDriveItem(parentRef: DriveRef | DriveItemRef, itemPath: DriveItemPath, contextType: string, content: ArrayBuffer): GraphOperation<DriveItem & DriveItemRef>;
15
+ //# sourceMappingURL=createDriveItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDriveItem.d.ts","sourceRoot":"","sources":["../../../../src/operations/driveItem/createDriveItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAIrE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAS,EAAE,QAAQ,GAAG,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,cAAc,CAAC,SAAS,GAAG,YAAY,CAAC,CAsBxL"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = createDriveItem;
4
+ const graphApi_ts_1 = require("../../graphApi.js");
5
+ const driveItem_ts_1 = require("../../services/driveItem.js");
6
+ const templatedPaths_ts_1 = require("../../services/templatedPaths.js");
7
+ /**
8
+ * Creates new drive item in the specified parent drive or folder. If the file already exists, it will be replaced.
9
+ *
10
+ * @param parentRef - A reference to the parent drive or folder where the workbook will be created.
11
+ * @param itemPath - The path (including the filename) for the new workbook.
12
+ * @returns The newly created workbook, including its metadata and reference information.
13
+ * @see https://learn.microsoft.com/en-us/graph/api/driveitem-put-content
14
+ */
15
+ function createDriveItem(parentRef, itemPath, contextType, content) {
16
+ const pathSegment = parentRef.itemId ? "items/{item-id}" : "root";
17
+ return (0, graphApi_ts_1.operation)({
18
+ contextId: parentRef.contextId,
19
+ method: "PUT",
20
+ path: (0, templatedPaths_ts_1.generatePath)(`/sites/{site-id}/drives/{drive-id}/${pathSegment}:/${itemPath}:/content`, parentRef),
21
+ headers: {
22
+ "content-type": contextType,
23
+ },
24
+ body: content,
25
+ responseTransform: (response) => {
26
+ const driveItem = response;
27
+ const itemRef = (0, driveItem_ts_1.createDriveItemRef)(parentRef, driveItem.id);
28
+ return {
29
+ ...driveItem,
30
+ ...itemRef,
31
+ };
32
+ },
33
+ });
34
+ }
@@ -1,10 +1,11 @@
1
1
  import type { WorkbookRef } from "../models/WorkbookRef.ts";
2
2
  import type { WorkbookWorksheetId } from "../models/WorkbookWorksheetId.ts";
3
+ import type { WorkbookWorksheetName } from "../models/WorkbookWorksheetName.ts";
3
4
  import type { WorkbookWorksheetRef } from "../models/WorkbookWorksheetRef.ts";
4
5
  /** ID of the initial worksheet that is included in a new workbook. */
5
6
  export declare const defaultWorkbookWorksheetId: WorkbookWorksheetId;
6
7
  /** Name of the initial worksheet that is included in a new workbook. */
7
- export declare const defaultWorkbookWorksheetName = "Sheet1";
8
+ export declare const defaultWorkbookWorksheetName: WorkbookWorksheetName;
8
9
  /**
9
10
  * Creates a reference to a workbook worksheet.
10
11
  * @param workbookRef - The reference to the workbook.
@@ -1 +1 @@
1
- {"version":3,"file":"workbookWorksheet.d.ts","sourceRoot":"","sources":["../../../src/services/workbookWorksheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,sEAAsE;AACtE,eAAO,MAAM,0BAA0B,EAA+C,mBAAmB,CAAC;AAE1G,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,WAAW,CAAC;AAErD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,mBAAmB,GAAG,SAAS,GAAG,oBAAoB,CAavI;AAED;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,WAAW,EAAE,WAAW,GAAG,oBAAoB,CAEhG"}
1
+ {"version":3,"file":"workbookWorksheet.d.ts","sourceRoot":"","sources":["../../../src/services/workbookWorksheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,sEAAsE;AACtE,eAAO,MAAM,0BAA0B,EAA+C,mBAAmB,CAAC;AAE1G,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,EAAe,qBAAqB,CAAC;AAE9E;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,mBAAmB,GAAG,SAAS,GAAG,oBAAoB,CAavI;AAED;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,WAAW,EAAE,WAAW,GAAG,oBAAoB,CAEhG"}
@@ -6,7 +6,7 @@ export type GraphPath = string & {
6
6
  };
7
7
  export type GraphHeaders = {
8
8
  "workbook-session-id"?: WorkbookSessionId | undefined;
9
- "content-type"?: "application/json" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | undefined;
9
+ "content-type"?: string | undefined;
10
10
  };
11
11
  export type GraphOperationDefinition<T> = {
12
12
  /** Context to match the operation to. Used for authentication etc. */
@@ -1 +1 @@
1
- {"version":3,"file":"GraphOperation.d.ts","sourceRoot":"","sources":["../../../src/models/GraphOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AACtE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG;IAC1B,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtD,cAAc,CAAC,EAAE,kBAAkB,GAAG,mEAAmE,GAAG,SAAS,CAAC;CACtH,CAAC;AAGF,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACzC,sEAAsE;IACtE,SAAS,EAAE,SAAS,CAAC;IACrB,8BAA8B;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,oJAAoJ;IACpJ,IAAI,EAAE,SAAS,CAAC;IAChB,kGAAkG;IAClG,OAAO,EAAE,YAAY,CAAC;IACtB,6LAA6L;IAC7L,IAAI,EAAE,OAAO,CAAC;IACd,wDAAwD;IACxD,iBAAiB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG;IAC5C,UAAU,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC;CACxC,CAAC"}
1
+ {"version":3,"file":"GraphOperation.d.ts","sourceRoot":"","sources":["../../../src/models/GraphOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;AACtE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG;IAC1B,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAGF,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACzC,sEAAsE;IACtE,SAAS,EAAE,SAAS,CAAC;IACrB,8BAA8B;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,oJAAoJ;IACpJ,IAAI,EAAE,SAAS,CAAC;IAChB,kGAAkG;IAClG,OAAO,EAAE,YAAY,CAAC;IACtB,6LAA6L;IAC7L,IAAI,EAAE,OAAO,CAAC;IACd,wDAAwD;IACxD,iBAAiB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG;IAC5C,UAAU,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC;CACxC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { DriveItem } from "@microsoft/microsoft-graph-types";
2
+ import type { DriveItemPath } from "../../models/DriveItemPath.ts";
3
+ import type { DriveItemRef } from "../../models/DriveItemRef.ts";
4
+ import type { DriveRef } from "../../models/DriveRef.ts";
5
+ import type { GraphOperation } from "../../models/GraphOperation.ts";
6
+ /**
7
+ * Creates new drive item in the specified parent drive or folder. If the file already exists, it will be replaced.
8
+ *
9
+ * @param parentRef - A reference to the parent drive or folder where the workbook will be created.
10
+ * @param itemPath - The path (including the filename) for the new workbook.
11
+ * @returns The newly created workbook, including its metadata and reference information.
12
+ * @see https://learn.microsoft.com/en-us/graph/api/driveitem-put-content
13
+ */
14
+ export default function createDriveItem(parentRef: DriveRef | DriveItemRef, itemPath: DriveItemPath, contextType: string, content: ArrayBuffer): GraphOperation<DriveItem & DriveItemRef>;
15
+ //# sourceMappingURL=createDriveItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDriveItem.d.ts","sourceRoot":"","sources":["../../../../src/operations/driveItem/createDriveItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAIrE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAS,EAAE,QAAQ,GAAG,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,cAAc,CAAC,SAAS,GAAG,YAAY,CAAC,CAsBxL"}
@@ -0,0 +1,31 @@
1
+ import { operation } from "../../graphApi.js";
2
+ import { createDriveItemRef } from "../../services/driveItem.js";
3
+ import { generatePath } from "../../services/templatedPaths.js";
4
+ /**
5
+ * Creates new drive item in the specified parent drive or folder. If the file already exists, it will be replaced.
6
+ *
7
+ * @param parentRef - A reference to the parent drive or folder where the workbook will be created.
8
+ * @param itemPath - The path (including the filename) for the new workbook.
9
+ * @returns The newly created workbook, including its metadata and reference information.
10
+ * @see https://learn.microsoft.com/en-us/graph/api/driveitem-put-content
11
+ */
12
+ export default function createDriveItem(parentRef, itemPath, contextType, content) {
13
+ const pathSegment = parentRef.itemId ? "items/{item-id}" : "root";
14
+ return operation({
15
+ contextId: parentRef.contextId,
16
+ method: "PUT",
17
+ path: generatePath(`/sites/{site-id}/drives/{drive-id}/${pathSegment}:/${itemPath}:/content`, parentRef),
18
+ headers: {
19
+ "content-type": contextType,
20
+ },
21
+ body: content,
22
+ responseTransform: (response) => {
23
+ const driveItem = response;
24
+ const itemRef = createDriveItemRef(parentRef, driveItem.id);
25
+ return {
26
+ ...driveItem,
27
+ ...itemRef,
28
+ };
29
+ },
30
+ });
31
+ }
@@ -1,10 +1,11 @@
1
1
  import type { WorkbookRef } from "../models/WorkbookRef.ts";
2
2
  import type { WorkbookWorksheetId } from "../models/WorkbookWorksheetId.ts";
3
+ import type { WorkbookWorksheetName } from "../models/WorkbookWorksheetName.ts";
3
4
  import type { WorkbookWorksheetRef } from "../models/WorkbookWorksheetRef.ts";
4
5
  /** ID of the initial worksheet that is included in a new workbook. */
5
6
  export declare const defaultWorkbookWorksheetId: WorkbookWorksheetId;
6
7
  /** Name of the initial worksheet that is included in a new workbook. */
7
- export declare const defaultWorkbookWorksheetName = "Sheet1";
8
+ export declare const defaultWorkbookWorksheetName: WorkbookWorksheetName;
8
9
  /**
9
10
  * Creates a reference to a workbook worksheet.
10
11
  * @param workbookRef - The reference to the workbook.
@@ -1 +1 @@
1
- {"version":3,"file":"workbookWorksheet.d.ts","sourceRoot":"","sources":["../../../src/services/workbookWorksheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,sEAAsE;AACtE,eAAO,MAAM,0BAA0B,EAA+C,mBAAmB,CAAC;AAE1G,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,WAAW,CAAC;AAErD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,mBAAmB,GAAG,SAAS,GAAG,oBAAoB,CAavI;AAED;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,WAAW,EAAE,WAAW,GAAG,oBAAoB,CAEhG"}
1
+ {"version":3,"file":"workbookWorksheet.d.ts","sourceRoot":"","sources":["../../../src/services/workbookWorksheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,sEAAsE;AACtE,eAAO,MAAM,0BAA0B,EAA+C,mBAAmB,CAAC;AAE1G,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,EAAe,qBAAqB,CAAC;AAE9E;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,mBAAmB,GAAG,SAAS,GAAG,oBAAoB,CAavI;AAED;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,WAAW,EAAE,WAAW,GAAG,oBAAoB,CAEhG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microsoft-graph",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Microsoft GraphAPI SDK for NodeJS",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -312,6 +312,11 @@
312
312
  "require": "./dist/cjs/operations/drive/listDrives.js",
313
313
  "types": "./dist/esm/operations/drive/listDrives.d.ts"
314
314
  },
315
+ "./operations/driveItem/createDriveItem": {
316
+ "import": "./dist/esm/operations/driveItem/createDriveItem.js",
317
+ "require": "./dist/cjs/operations/driveItem/createDriveItem.js",
318
+ "types": "./dist/esm/operations/driveItem/createDriveItem.d.ts"
319
+ },
315
320
  "./operations/driveItem/deleteDriveItem": {
316
321
  "import": "./dist/esm/operations/driveItem/deleteDriveItem.js",
317
322
  "require": "./dist/cjs/operations/driveItem/deleteDriveItem.js",
@@ -1012,6 +1017,11 @@
1012
1017
  "import": "./dist/esm/operations/drive/listDrives.js",
1013
1018
  "types": "./dist/esm/operations/drive/listDrives.d.ts"
1014
1019
  },
1020
+ "./dist/cjs/operations/driveItem/createDriveItem.js": {
1021
+ "require": "./dist/cjs/operations/driveItem/createDriveItem.js",
1022
+ "import": "./dist/esm/operations/driveItem/createDriveItem.js",
1023
+ "types": "./dist/esm/operations/driveItem/createDriveItem.d.ts"
1024
+ },
1015
1025
  "./dist/cjs/operations/driveItem/deleteDriveItem.js": {
1016
1026
  "require": "./dist/cjs/operations/driveItem/deleteDriveItem.js",
1017
1027
  "import": "./dist/esm/operations/driveItem/deleteDriveItem.js",