@microsoft/msgraph-sdk-drives 1.0.0-preview.21 → 1.0.0-preview.23
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/charts/item/dataLabels/index.d.ts +3 -3
- package/drives/item/items/item/workbook/worksheets/item/charts/item/title/index.d.ts +3 -3
- package/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/dataLabels/index.d.ts +3 -3
- package/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/title/index.d.ts +3 -3
- package/drives/item/items/item/workbook/worksheets/item/charts/itemWithName/dataLabels/index.d.ts +3 -3
- package/drives/item/items/item/workbook/worksheets/item/charts/itemWithName/title/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,CA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,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,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,CAA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AAG,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,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,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,aAAa,CAAC,WAAW,EAAE,MAAM,GAAI,2BAA2B,CAAC;IAClE
|
|
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,mBAAoB,SAAQ,kBAAkB,CA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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.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-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.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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,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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E,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,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,GAA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AAW,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,+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
|
+
* Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
|
|
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-setretentionlabel?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
|
+
* Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
|
|
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,OA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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,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B,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;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,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;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,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
|
*/
|
|
@@ -16,7 +16,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
16
16
|
*/
|
|
17
17
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
18
|
/**
|
|
19
|
-
* Represents the
|
|
19
|
+
* Represents the data labels on the chart. Read-only.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {Promise<WorkbookChartDataLabels>}
|
|
22
22
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -37,7 +37,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
37
37
|
*/
|
|
38
38
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
39
|
/**
|
|
40
|
-
* Represents the
|
|
40
|
+
* Represents the data labels on the chart. Read-only.
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {RequestInformation}
|
|
43
43
|
*/
|
|
@@ -51,7 +51,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
51
51
|
toPatchRequestInformation(body: WorkbookChartDataLabels, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Represents the
|
|
54
|
+
* Represents the data labels on the chart. Read-only.
|
|
55
55
|
*/
|
|
56
56
|
export interface DataLabelsRequestBuilderGetQueryParameters {
|
|
57
57
|
/**
|
|
@@ -16,7 +16,7 @@ export interface TitleRequestBuilder extends BaseRequestBuilder<TitleRequestBuil
|
|
|
16
16
|
*/
|
|
17
17
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
18
|
/**
|
|
19
|
-
* Represents the title of the specified chart, including the text, visibility, position and
|
|
19
|
+
* Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {Promise<WorkbookChartTitle>}
|
|
22
22
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -37,7 +37,7 @@ export interface TitleRequestBuilder extends BaseRequestBuilder<TitleRequestBuil
|
|
|
37
37
|
*/
|
|
38
38
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
39
|
/**
|
|
40
|
-
* Represents the title of the specified chart, including the text, visibility, position and
|
|
40
|
+
* Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {RequestInformation}
|
|
43
43
|
*/
|
|
@@ -51,7 +51,7 @@ export interface TitleRequestBuilder extends BaseRequestBuilder<TitleRequestBuil
|
|
|
51
51
|
toPatchRequestInformation(body: WorkbookChartTitle, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Represents the title of the specified chart, including the text, visibility, position and
|
|
54
|
+
* Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.
|
|
55
55
|
*/
|
|
56
56
|
export interface TitleRequestBuilderGetQueryParameters {
|
|
57
57
|
/**
|
package/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/dataLabels/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
11
11
|
*/
|
|
12
12
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Represents the
|
|
14
|
+
* Represents the data labels on the chart. Read-only.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<WorkbookChartDataLabels>}
|
|
17
17
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -32,7 +32,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
32
32
|
*/
|
|
33
33
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
34
|
/**
|
|
35
|
-
* Represents the
|
|
35
|
+
* Represents the data labels on the chart. Read-only.
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
38
38
|
*/
|
|
@@ -46,7 +46,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
46
46
|
toPatchRequestInformation(body: WorkbookChartDataLabels, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Represents the
|
|
49
|
+
* Represents the data labels on the chart. Read-only.
|
|
50
50
|
*/
|
|
51
51
|
export interface DataLabelsRequestBuilderGetQueryParameters {
|
|
52
52
|
/**
|
package/drives/item/items/item/workbook/worksheets/item/charts/itemAtWithIndex/title/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface TitleRequestBuilder extends BaseRequestBuilder<TitleRequestBuil
|
|
|
11
11
|
*/
|
|
12
12
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Represents the title of the specified chart, including the text, visibility, position and
|
|
14
|
+
* Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<WorkbookChartTitle>}
|
|
17
17
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -32,7 +32,7 @@ export interface TitleRequestBuilder extends BaseRequestBuilder<TitleRequestBuil
|
|
|
32
32
|
*/
|
|
33
33
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
34
|
/**
|
|
35
|
-
* Represents the title of the specified chart, including the text, visibility, position and
|
|
35
|
+
* Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
38
38
|
*/
|
|
@@ -46,7 +46,7 @@ export interface TitleRequestBuilder extends BaseRequestBuilder<TitleRequestBuil
|
|
|
46
46
|
toPatchRequestInformation(body: WorkbookChartTitle, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Represents the title of the specified chart, including the text, visibility, position and
|
|
49
|
+
* Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.
|
|
50
50
|
*/
|
|
51
51
|
export interface TitleRequestBuilderGetQueryParameters {
|
|
52
52
|
/**
|
package/drives/item/items/item/workbook/worksheets/item/charts/itemWithName/dataLabels/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
11
11
|
*/
|
|
12
12
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Represents the
|
|
14
|
+
* Represents the data labels on the chart. Read-only.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<WorkbookChartDataLabels>}
|
|
17
17
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -32,7 +32,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
32
32
|
*/
|
|
33
33
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
34
|
/**
|
|
35
|
-
* Represents the
|
|
35
|
+
* Represents the data labels on the chart. Read-only.
|
|
36
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
37
|
* @returns {RequestInformation}
|
|
38
38
|
*/
|
|
@@ -46,7 +46,7 @@ export interface DataLabelsRequestBuilder extends BaseRequestBuilder<DataLabelsR
|
|
|
46
46
|
toPatchRequestInformation(body: WorkbookChartDataLabels, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Represents the
|
|
49
|
+
* Represents the data labels on the chart. Read-only.
|
|
50
50
|
*/
|
|
51
51
|
export interface DataLabelsRequestBuilderGetQueryParameters {
|
|
52
52
|
/**
|