@microsoft/msgraph-sdk-drives 1.0.0-preview.21 → 1.0.0-preview.22

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 (40) hide show
  1. package/drives/item/bundles/item/content/index.d.ts +12 -0
  2. package/drives/item/bundles/item/content/index.d.ts.map +1 -1
  3. package/drives/item/bundles/item/content/index.js +8 -0
  4. package/drives/item/following/item/content/index.d.ts +12 -0
  5. package/drives/item/following/item/content/index.d.ts.map +1 -1
  6. package/drives/item/following/item/content/index.js +8 -0
  7. package/drives/item/items/index.d.ts +4 -3
  8. package/drives/item/items/index.d.ts.map +1 -1
  9. package/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/index.d.ts +12 -0
  10. package/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/index.d.ts.map +1 -1
  11. package/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/index.js +8 -0
  12. package/drives/item/items/item/children/index.d.ts +4 -3
  13. package/drives/item/items/item/children/index.d.ts.map +1 -1
  14. package/drives/item/items/item/children/item/content/index.d.ts +12 -0
  15. package/drives/item/items/item/children/item/content/index.d.ts.map +1 -1
  16. package/drives/item/items/item/children/item/content/index.js +8 -0
  17. package/drives/item/items/item/content/index.d.ts +12 -0
  18. package/drives/item/items/item/content/index.d.ts.map +1 -1
  19. package/drives/item/items/item/content/index.js +8 -0
  20. package/drives/item/items/item/retentionLabel/index.d.ts +6 -4
  21. package/drives/item/items/item/retentionLabel/index.d.ts.map +1 -1
  22. package/drives/item/items/item/versions/item/content/index.d.ts +12 -0
  23. package/drives/item/items/item/versions/item/content/index.d.ts.map +1 -1
  24. package/drives/item/items/item/versions/item/content/index.js +8 -0
  25. package/drives/item/items/item/workbook/names/item/range/index.d.ts +3 -3
  26. package/drives/item/items/item/workbook/worksheets/item/names/item/range/index.d.ts +3 -3
  27. package/drives/item/list/items/index.d.ts +5 -1
  28. package/drives/item/list/items/index.d.ts.map +1 -1
  29. package/drives/item/list/items/index.js +2 -1
  30. package/drives/item/list/items/item/driveItem/content/index.d.ts +12 -0
  31. package/drives/item/list/items/item/driveItem/content/index.d.ts.map +1 -1
  32. package/drives/item/list/items/item/driveItem/content/index.js +8 -0
  33. package/drives/item/root/content/index.d.ts +12 -0
  34. package/drives/item/root/content/index.d.ts.map +1 -1
  35. package/drives/item/root/content/index.js +8 -0
  36. package/drives/item/special/item/content/index.d.ts +12 -0
  37. package/drives/item/special/item/content/index.d.ts.map +1 -1
  38. package/drives/item/special/item/content/index.js +8 -0
  39. package/package.json +3 -3
  40. package/tsconfig.tsbuildinfo +1 -1
@@ -4,6 +4,12 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
4
4
  * Provides operations to manage the media for the drive entity.
5
5
  */
6
6
  export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequestBuilder> {
7
+ /**
8
+ * The content stream, if the item represents a file.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
7
13
  /**
8
14
  * The content stream, if the item represents a file.
9
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -19,6 +25,12 @@ export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequest
19
25
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
20
26
  */
21
27
  put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveItem | undefined>;
28
+ /**
29
+ * The content stream, if the item represents a file.
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {RequestInformation}
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
22
34
  /**
23
35
  * The content stream, if the item represents a file.
24
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAIvG,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;;OAMG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACtI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,6DAA6D,CAAC;AAO3G;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAsBnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,SAAS,EA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AAM,qCAAqC,EAAE,gBA8BnD,CAAC"}
@@ -22,6 +22,14 @@ const ContentRequestBuilderGetQueryParametersMapper = {
22
22
  * Metadata for all the requests in the request builder.
23
23
  */
24
24
  exports.ContentRequestBuilderRequestsMetadata = {
25
+ delete: {
26
+ uriTemplate: exports.ContentRequestBuilderUriTemplate,
27
+ responseBodyContentType: "application/json",
28
+ errorMappings: {
29
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
30
+ },
31
+ adapterMethodName: "sendNoResponseContent",
32
+ },
25
33
  get: {
26
34
  uriTemplate: exports.ContentRequestBuilderUriTemplate,
27
35
  responseBodyContentType: "application/octet-stream, application/json",
@@ -4,6 +4,12 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
4
4
  * Provides operations to manage the media for the drive entity.
5
5
  */
6
6
  export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequestBuilder> {
7
+ /**
8
+ * The content stream, if the item represents a file.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
7
13
  /**
8
14
  * The content stream, if the item represents a file.
9
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -19,6 +25,12 @@ export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequest
19
25
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
20
26
  */
21
27
  put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveItem | undefined>;
28
+ /**
29
+ * The content stream, if the item represents a file.
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {RequestInformation}
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
22
34
  /**
23
35
  * The content stream, if the item represents a file.
24
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAIvG,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;;OAMG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACtI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,iFAAiF,CAAC;AAO/H;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAsBnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyC,KAAK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H,eAAO,MAAM,qCAAqC,EAAE,gBA8BnD,CAAC"}
@@ -22,6 +22,14 @@ const ContentRequestBuilderGetQueryParametersMapper = {
22
22
  * Metadata for all the requests in the request builder.
23
23
  */
24
24
  exports.ContentRequestBuilderRequestsMetadata = {
25
+ delete: {
26
+ uriTemplate: exports.ContentRequestBuilderUriTemplate,
27
+ responseBodyContentType: "application/json",
28
+ errorMappings: {
29
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
30
+ },
31
+ adapterMethodName: "sendNoResponseContent",
32
+ },
25
33
  get: {
26
34
  uriTemplate: exports.ContentRequestBuilderUriTemplate,
27
35
  responseBodyContentType: "application/octet-stream, application/json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-drives",
3
- "version": "1.0.0-preview.21",
3
+ "version": "1.0.0-preview.22",
4
4
  "description": "Drives fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,12 +37,12 @@
37
37
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
38
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
39
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.21",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.22",
41
41
  "guid-typescript": "^1.0.9",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.3"
46
46
  },
47
- "gitHead": "f03627411c44ca629630cfbc689f57141c6cb7c0"
47
+ "gitHead": "d41363478d26ba2bcde02901bb2983793b286bdf"
48
48
  }