@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.
- package/drives/item/bundles/item/content/index.d.ts +12 -0
- package/drives/item/bundles/item/content/index.d.ts.map +1 -1
- package/drives/item/bundles/item/content/index.js +8 -0
- package/drives/item/following/item/content/index.d.ts +12 -0
- package/drives/item/following/item/content/index.d.ts.map +1 -1
- package/drives/item/following/item/content/index.js +8 -0
- package/drives/item/items/index.d.ts +4 -3
- package/drives/item/items/index.d.ts.map +1 -1
- package/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/index.d.ts +12 -0
- package/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/index.d.ts.map +1 -1
- package/drives/item/items/item/analytics/itemActivityStats/item/activities/item/driveItem/content/index.js +8 -0
- package/drives/item/items/item/children/index.d.ts +4 -3
- package/drives/item/items/item/children/index.d.ts.map +1 -1
- package/drives/item/items/item/children/item/content/index.d.ts +12 -0
- package/drives/item/items/item/children/item/content/index.d.ts.map +1 -1
- package/drives/item/items/item/children/item/content/index.js +8 -0
- package/drives/item/items/item/content/index.d.ts +12 -0
- package/drives/item/items/item/content/index.d.ts.map +1 -1
- package/drives/item/items/item/content/index.js +8 -0
- package/drives/item/items/item/retentionLabel/index.d.ts +6 -4
- package/drives/item/items/item/retentionLabel/index.d.ts.map +1 -1
- package/drives/item/items/item/versions/item/content/index.d.ts +12 -0
- package/drives/item/items/item/versions/item/content/index.d.ts.map +1 -1
- package/drives/item/items/item/versions/item/content/index.js +8 -0
- package/drives/item/items/item/workbook/names/item/range/index.d.ts +3 -3
- package/drives/item/items/item/workbook/worksheets/item/names/item/range/index.d.ts +3 -3
- package/drives/item/list/items/index.d.ts +5 -1
- package/drives/item/list/items/index.d.ts.map +1 -1
- package/drives/item/list/items/index.js +2 -1
- package/drives/item/list/items/item/driveItem/content/index.d.ts +12 -0
- package/drives/item/list/items/item/driveItem/content/index.d.ts.map +1 -1
- package/drives/item/list/items/item/driveItem/content/index.js +8 -0
- package/drives/item/root/content/index.d.ts +12 -0
- package/drives/item/root/content/index.d.ts.map +1 -1
- package/drives/item/root/content/index.js +8 -0
- package/drives/item/special/item/content/index.d.ts +12 -0
- package/drives/item/special/item/content/index.d.ts.map +1 -1
- package/drives/item/special/item/content/index.js +8 -0
- package/package.json +3 -3
- 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,iFAAiF,CAAC;AAO/H;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.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GAEG;AACH,eAAO,MAAM,gCAAgC,iFAAiF,CAAC;AAO/H;;GAEG;AACH,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",
|
|
@@ -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,CA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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,mFAAmF,CAAC;AAOjI;;GAEG;AACH,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",
|
|
@@ -17,10 +17,11 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
|
|
|
17
17
|
*/
|
|
18
18
|
byDriveItemId(driveItemId: string): DriveItemItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DriveItemCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/drive-sharedwithme?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<ItemsRequestBuilderGetQueryParameters> | undefined): Promise<DriveItemCollectionResponse | undefined>;
|
|
26
27
|
/**
|
|
@@ -32,7 +33,7 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
|
|
|
32
33
|
*/
|
|
33
34
|
post(body: DriveItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveItem | undefined>;
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive.
|
|
36
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
38
|
* @returns {RequestInformation}
|
|
38
39
|
*/
|
|
@@ -46,7 +47,7 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
|
|
|
46
47
|
toPostRequestInformation(body: DriveItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they are items from a different drive.
|
|
50
51
|
*/
|
|
51
52
|
export interface ItemsRequestBuilderGetQueryParameters {
|
|
52
53
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsH,KAAK,SAAS,EAAE,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAItN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAA8F,KAAK,2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oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,sHAAsH,CAAC;AAclK;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC"}
|
|
@@ -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,EAA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AAC,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,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;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,4KAA4K,CAAC;AAO1N;;GAEG;AACH,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",
|
|
@@ -17,10 +17,11 @@ export interface ChildrenRequestBuilder extends BaseRequestBuilder<ChildrenReque
|
|
|
17
17
|
*/
|
|
18
18
|
byDriveItemId1(driveItemId1: string): DriveItemItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DriveItemCollectionResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/driveitem-list-children?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<ChildrenRequestBuilderGetQueryParameters> | undefined): Promise<DriveItemCollectionResponse | undefined>;
|
|
26
27
|
/**
|
|
@@ -32,7 +33,7 @@ export interface ChildrenRequestBuilder extends BaseRequestBuilder<ChildrenReque
|
|
|
32
33
|
*/
|
|
33
34
|
post(body: DriveItem, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DriveItem | undefined>;
|
|
34
35
|
/**
|
|
35
|
-
*
|
|
36
|
+
* Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems.
|
|
36
37
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
38
|
* @returns {RequestInformation}
|
|
38
39
|
*/
|
|
@@ -46,7 +47,7 @@ export interface ChildrenRequestBuilder extends BaseRequestBuilder<ChildrenReque
|
|
|
46
47
|
toPostRequestInformation(body: DriveItem, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems.
|
|
50
51
|
*/
|
|
51
52
|
export interface ChildrenRequestBuilderGetQueryParameters {
|
|
52
53
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsH,KAAK,SAAS,EAAE,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAItN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAEvJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,cAAc,CAAC,YAAY,EAAE,MAAM,GAAI,2BAA2B,CAAC;IACpE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsH,KAAK,SAAS,EAAE,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAItN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAEvJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBA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,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,gJAAgJ,CAAC;AAc/L;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
|
|
@@ -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,0GAA0G,CAAC;AAOxJ;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],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AAgC,0GAA0G,CAAC;AAOxJ;;GAEG;AACH,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",
|
|
@@ -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,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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,+EAA+E,CAAC;AAO7H;;GAEG;AACH,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",
|
|
@@ -5,9 +5,10 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface RetentionLabelRequestBuilder extends BaseRequestBuilder<RetentionLabelRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
* @see {@link https://learn.microsoft.com/graph/api/driveitem-removeretentionlabel?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
14
|
/**
|
|
@@ -18,15 +19,16 @@ export interface RetentionLabelRequestBuilder extends BaseRequestBuilder<Retenti
|
|
|
18
19
|
*/
|
|
19
20
|
get(requestConfiguration?: RequestConfiguration<RetentionLabelRequestBuilderGetQueryParameters> | undefined): Promise<ItemRetentionLabel | undefined>;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
+
* Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
|
22
23
|
* @param body The request body
|
|
23
24
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
25
|
* @returns {Promise<ItemRetentionLabel>}
|
|
25
26
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
27
|
+
* @see {@link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0|Find more info here}
|
|
26
28
|
*/
|
|
27
29
|
patch(body: ItemRetentionLabel, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ItemRetentionLabel | undefined>;
|
|
28
30
|
/**
|
|
29
|
-
*
|
|
31
|
+
* Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
|
|
30
32
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
33
|
* @returns {RequestInformation}
|
|
32
34
|
*/
|
|
@@ -38,7 +40,7 @@ export interface RetentionLabelRequestBuilder extends BaseRequestBuilder<Retenti
|
|
|
38
40
|
*/
|
|
39
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RetentionLabelRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
42
|
/**
|
|
41
|
-
*
|
|
43
|
+
* Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
|
42
44
|
* @param body The request body
|
|
43
45
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
46
|
* @returns {RequestInformation}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAItJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAItJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,+FAA+F,CAAC;AAQpJ;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,CAAC"}
|
|
@@ -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 for this version of the item.
|
|
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 for this version of the item.
|
|
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<DriveItemVersion | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The content stream for this version of the item.
|
|
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 for this version of the item.
|
|
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,EAAgD,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIrH,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,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;OAMG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,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AC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;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,eAAO,MAAM,gCAAgC,mGAAmG,CAAC;AACjJ;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBA6BnD,CAAC"}
|
|
@@ -16,6 +16,14 @@ exports.ContentRequestBuilderUriTemplate = "{+baseurl}/drives/{drive%2Did}/items
|
|
|
16
16
|
* Metadata for all the requests in the request builder.
|
|
17
17
|
*/
|
|
18
18
|
exports.ContentRequestBuilderRequestsMetadata = {
|
|
19
|
+
delete: {
|
|
20
|
+
uriTemplate: exports.ContentRequestBuilderUriTemplate,
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendNoResponseContent",
|
|
26
|
+
},
|
|
19
27
|
get: {
|
|
20
28
|
uriTemplate: exports.ContentRequestBuilderUriTemplate,
|
|
21
29
|
responseBodyContentType: "application/octet-stream, application/json",
|
|
@@ -5,15 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<WorkbookRange>}
|
|
11
11
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
-
* @see {@link https://learn.microsoft.com/graph/api/range
|
|
12
|
+
* @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here}
|
|
13
13
|
*/
|
|
14
14
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookRange | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
@@ -5,15 +5,15 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface RangeRequestBuilder extends BaseRequestBuilder<RangeRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<WorkbookRange>}
|
|
11
11
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
-
* @see {@link https://learn.microsoft.com/graph/api/range
|
|
12
|
+
* @see {@link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0|Find more info here}
|
|
13
13
|
*/
|
|
14
14
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkbookRange | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
@@ -61,6 +61,10 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
|
|
|
61
61
|
* All items contained in the list.
|
|
62
62
|
*/
|
|
63
63
|
export interface ItemsRequestBuilderGetQueryParameters {
|
|
64
|
+
/**
|
|
65
|
+
* Include count of items
|
|
66
|
+
*/
|
|
67
|
+
count?: boolean;
|
|
64
68
|
/**
|
|
65
69
|
* Expand related entities
|
|
66
70
|
*/
|
|
@@ -93,7 +97,7 @@ export interface ItemsRequestBuilderGetQueryParameters {
|
|
|
93
97
|
/**
|
|
94
98
|
* Uri template for the request builder.
|
|
95
99
|
*/
|
|
96
|
-
export declare const ItemsRequestBuilderUriTemplate = "{+baseurl}/drives/{drive%2Did}/list/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
100
|
+
export declare const ItemsRequestBuilderUriTemplate = "{+baseurl}/drives/{drive%2Did}/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
97
101
|
/**
|
|
98
102
|
* Metadata for all the navigation properties in the request builder.
|
|
99
103
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAIjN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAEpH,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAEpJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE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,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACvH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,2HAA2H,CAAC;AAcvK;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAepJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC"}
|
|
@@ -19,11 +19,12 @@ const item_1 = require("./item/");
|
|
|
19
19
|
/**
|
|
20
20
|
* Uri template for the request builder.
|
|
21
21
|
*/
|
|
22
|
-
exports.ItemsRequestBuilderUriTemplate = "{+baseurl}/drives/{drive%2Did}/list/items{?%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
22
|
+
exports.ItemsRequestBuilderUriTemplate = "{+baseurl}/drives/{drive%2Did}/list/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
23
23
|
/**
|
|
24
24
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
25
25
|
*/
|
|
26
26
|
const ItemsRequestBuilderGetQueryParametersMapper = {
|
|
27
|
+
"count": "%24count",
|
|
27
28
|
"expand": "%24expand",
|
|
28
29
|
"filter": "%24filter",
|
|
29
30
|
"orderby": "%24orderby",
|
|
@@ -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,6FAA6F,CAAC;AAO3I;;GAEG;AACH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ACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,6FAA6F,CAAC;AAO3I;;GAEG;AACH,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",
|