@microsoft/msgraph-sdk-groups 1.0.0-preview.16 → 1.0.0-preview.17
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/groups/item/calendar/calendarView/item/attachments/index.d.ts +3 -3
- package/groups/item/calendar/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/groups/item/calendar/events/item/attachments/index.d.ts +3 -3
- package/groups/item/calendar/events/item/instances/item/attachments/index.d.ts +3 -3
- package/groups/item/calendarView/item/attachments/index.d.ts +3 -3
- package/groups/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/groups/item/conversations/index.d.ts +3 -3
- package/groups/item/conversations/item/index.d.ts +5 -5
- package/groups/item/events/item/attachments/index.d.ts +3 -3
- package/groups/item/events/item/instances/item/attachments/index.d.ts +3 -3
- package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.d.ts +5 -0
- package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.d.ts.map +1 -1
- package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.js +4 -0
- package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts +81 -0
- package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts.map +1 -0
- package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.js +54 -0
- package/groups/item/sites/item/getByPathWithPath/index.d.ts +5 -0
- package/groups/item/sites/item/getByPathWithPath/index.d.ts.map +1 -1
- package/groups/item/sites/item/getByPathWithPath/index.js +4 -0
- package/groups/item/sites/item/getByPathWithPath/pages/index.d.ts +81 -0
- package/groups/item/sites/item/getByPathWithPath/pages/index.d.ts.map +1 -0
- package/groups/item/sites/item/getByPathWithPath/pages/index.js +54 -0
- package/groups/item/sites/item/index.d.ts +5 -0
- package/groups/item/sites/item/index.d.ts.map +1 -1
- package/groups/item/sites/item/index.js +5 -0
- package/groups/item/sites/item/pages/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/count/index.js +35 -0
- package/groups/item/sites/item/pages/graphSitePage/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/graphSitePage/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/graphSitePage/count/index.js +35 -0
- package/groups/item/sites/item/pages/graphSitePage/index.d.ts +75 -0
- package/groups/item/sites/item/pages/graphSitePage/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/graphSitePage/index.js +51 -0
- package/groups/item/sites/item/pages/index.d.ts +102 -0
- package/groups/item/sites/item/pages/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/index.js +74 -0
- package/groups/item/sites/item/pages/item/createdByUser/index.d.ts +56 -0
- package/groups/item/sites/item/pages/item/createdByUser/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/createdByUser/index.js +50 -0
- package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.d.ts +57 -0
- package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.js +48 -0
- package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.d.ts +75 -0
- package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.js +51 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.d.ts +97 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.js +69 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.d.ts +97 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.js +69 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.d.ts +78 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.js +66 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.d.ts +97 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.js +68 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts +69 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.js +56 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.d.ts +78 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.js +66 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.d.ts +83 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.js +71 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts +78 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.js +66 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.d.ts +97 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.js +68 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts +69 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.js +56 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.d.ts +56 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.js +50 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.d.ts +57 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.js +48 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.d.ts +75 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.js +51 -0
- package/groups/item/sites/item/pages/item/graphSitePage/index.d.ts +66 -0
- package/groups/item/sites/item/pages/item/graphSitePage/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/index.js +61 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.d.ts +56 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.js +50 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.d.ts +57 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.js +48 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +75 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.js +51 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.d.ts +97 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.js +68 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts +69 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.js +56 -0
- package/groups/item/sites/item/pages/item/index.d.ts +88 -0
- package/groups/item/sites/item/pages/item/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/index.js +76 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/index.d.ts +56 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/index.js +50 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.d.ts +57 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.js +48 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +75 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.js +51 -0
- package/groups/item/sites/item/sites/add/index.d.ts +84 -0
- package/groups/item/sites/item/sites/add/index.d.ts.map +1 -0
- package/groups/item/sites/item/sites/add/index.js +86 -0
- package/groups/item/sites/item/sites/index.d.ts +10 -0
- package/groups/item/sites/item/sites/index.d.ts.map +1 -1
- package/groups/item/sites/item/sites/index.js +8 -0
- package/groups/item/sites/item/sites/remove/index.d.ts +84 -0
- package/groups/item/sites/item/sites/remove/index.d.ts.map +1 -0
- package/groups/item/sites/item/sites/remove/index.js +86 -0
- package/groups/item/team/channels/item/members/index.d.ts +3 -3
- package/groups/item/team/channels/item/members/item/index.d.ts +3 -3
- package/groups/item/team/primaryChannel/members/index.d.ts +3 -3
- package/groups/item/team/primaryChannel/members/item/index.d.ts +3 -3
- package/groups/item/threads/item/index.d.ts +5 -5
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebpartsRequestBuilderRequestsMetadata = exports.WebpartsRequestBuilderNavigationMetadata = exports.WebpartsRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.WebpartsRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const WebpartsRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"count": "%24count",
|
|
20
|
+
"expand": "%24expand",
|
|
21
|
+
"filter": "%24filter",
|
|
22
|
+
"orderby": "%24orderby",
|
|
23
|
+
"search": "%24search",
|
|
24
|
+
"select": "%24select",
|
|
25
|
+
"skip": "%24skip",
|
|
26
|
+
"top": "%24top",
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the navigation properties in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
exports.WebpartsRequestBuilderNavigationMetadata = {
|
|
32
|
+
byWebPartId: {
|
|
33
|
+
requestsMetadata: item_1.WebPartItemRequestBuilderRequestsMetadata,
|
|
34
|
+
pathParametersMappings: ["webPart%2Did"],
|
|
35
|
+
},
|
|
36
|
+
count: {
|
|
37
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Metadata for all the requests in the request builder.
|
|
42
|
+
*/
|
|
43
|
+
exports.WebpartsRequestBuilderRequestsMetadata = {
|
|
44
|
+
get: {
|
|
45
|
+
uriTemplate: exports.WebpartsRequestBuilderUriTemplate,
|
|
46
|
+
responseBodyContentType: "application/json",
|
|
47
|
+
errorMappings: {
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "send",
|
|
51
|
+
responseBodyFactory: models_1.createWebPartCollectionResponseFromDiscriminatorValue,
|
|
52
|
+
queryParametersMapper: WebpartsRequestBuilderGetQueryParametersMapper,
|
|
53
|
+
},
|
|
54
|
+
post: {
|
|
55
|
+
uriTemplate: exports.WebpartsRequestBuilderUriTemplate,
|
|
56
|
+
responseBodyContentType: "application/json",
|
|
57
|
+
errorMappings: {
|
|
58
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
},
|
|
60
|
+
adapterMethodName: "send",
|
|
61
|
+
responseBodyFactory: models_1.createWebPartFromDiscriminatorValue,
|
|
62
|
+
requestBodyContentType: "application/json",
|
|
63
|
+
requestBodySerializer: models_1.serializeWebPart,
|
|
64
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
/* tslint:enable */
|
|
68
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type WebPart } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface WebPartItemRequestBuilder extends BaseRequestBuilder<WebPartItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property webparts for groups
|
|
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>;
|
|
13
|
+
/**
|
|
14
|
+
* Get webparts from groups
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<WebPart>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<WebPartItemRequestBuilderGetQueryParameters> | undefined): Promise<WebPart | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the navigation property webparts in groups
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {Promise<WebPart>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
patch(body: WebPart, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WebPart | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete navigation property webparts for groups
|
|
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;
|
|
34
|
+
/**
|
|
35
|
+
* Get webparts from groups
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<WebPartItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Update the navigation property webparts in groups
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPatchRequestInformation(body: WebPart, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get webparts from groups
|
|
50
|
+
*/
|
|
51
|
+
export interface WebPartItemRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Expand related entities
|
|
54
|
+
*/
|
|
55
|
+
expand?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Select properties to be returned
|
|
58
|
+
*/
|
|
59
|
+
select?: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const WebPartItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%2Did}{?%24expand,%24select}";
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for all the requests in the request builder.
|
|
67
|
+
*/
|
|
68
|
+
export declare const WebPartItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAErH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SA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BuilderRequestsMetadata = exports.WebPartItemRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.WebPartItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%2Did}{?%24expand,%24select}";
|
|
13
|
+
/**
|
|
14
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
15
|
+
*/
|
|
16
|
+
const WebPartItemRequestBuilderGetQueryParametersMapper = {
|
|
17
|
+
"expand": "%24expand",
|
|
18
|
+
"select": "%24select",
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Metadata for all the requests in the request builder.
|
|
22
|
+
*/
|
|
23
|
+
exports.WebPartItemRequestBuilderRequestsMetadata = {
|
|
24
|
+
delete: {
|
|
25
|
+
uriTemplate: exports.WebPartItemRequestBuilderUriTemplate,
|
|
26
|
+
responseBodyContentType: "application/json",
|
|
27
|
+
errorMappings: {
|
|
28
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
},
|
|
30
|
+
adapterMethodName: "sendNoResponseContent",
|
|
31
|
+
},
|
|
32
|
+
get: {
|
|
33
|
+
uriTemplate: exports.WebPartItemRequestBuilderUriTemplate,
|
|
34
|
+
responseBodyContentType: "application/json",
|
|
35
|
+
errorMappings: {
|
|
36
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
37
|
+
},
|
|
38
|
+
adapterMethodName: "send",
|
|
39
|
+
responseBodyFactory: models_1.createWebPartFromDiscriminatorValue,
|
|
40
|
+
queryParametersMapper: WebPartItemRequestBuilderGetQueryParametersMapper,
|
|
41
|
+
},
|
|
42
|
+
patch: {
|
|
43
|
+
uriTemplate: exports.WebPartItemRequestBuilderUriTemplate,
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "send",
|
|
49
|
+
responseBodyFactory: models_1.createWebPartFromDiscriminatorValue,
|
|
50
|
+
requestBodyContentType: "application/json",
|
|
51
|
+
requestBodySerializer: models_1.serializeWebPart,
|
|
52
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type HorizontalSection } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type ColumnsRequestBuilder } from './columns/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface HorizontalSectionItemRequestBuilder extends BaseRequestBuilder<HorizontalSectionItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity.
|
|
10
|
+
*/
|
|
11
|
+
get columns(): ColumnsRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property horizontalSections for groups
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Get horizontalSections from groups
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<HorizontalSection>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<HorizontalSectionItemRequestBuilderGetQueryParameters> | undefined): Promise<HorizontalSection | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the navigation property horizontalSections in groups
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {Promise<HorizontalSection>}
|
|
30
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
|
+
*/
|
|
32
|
+
patch(body: HorizontalSection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<HorizontalSection | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete navigation property horizontalSections for groups
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {RequestInformation}
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Get horizontalSections from groups
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<HorizontalSectionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the navigation property horizontalSections in groups
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: HorizontalSection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get horizontalSections from groups
|
|
55
|
+
*/
|
|
56
|
+
export interface HorizontalSectionItemRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const HorizontalSectionItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}{?%24expand,%24select}";
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const HorizontalSectionItemRequestBuilderNavigationMetadata: Record<Exclude<keyof HorizontalSectionItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const HorizontalSectionItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6E,KAAK,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnJ,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,k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CAA8C,6KAA6K,CAAC;AAQzO;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBA+BjE,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HorizontalSectionItemRequestBuilderRequestsMetadata = exports.HorizontalSectionItemRequestBuilderNavigationMetadata = exports.HorizontalSectionItemRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const columns_1 = require("./columns/");
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
exports.HorizontalSectionItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}{?%24expand,%24select}";
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const HorizontalSectionItemRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"expand": "%24expand",
|
|
19
|
+
"select": "%24select",
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
exports.HorizontalSectionItemRequestBuilderNavigationMetadata = {
|
|
25
|
+
columns: {
|
|
26
|
+
requestsMetadata: columns_1.ColumnsRequestBuilderRequestsMetadata,
|
|
27
|
+
navigationMetadata: columns_1.ColumnsRequestBuilderNavigationMetadata,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Metadata for all the requests in the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.HorizontalSectionItemRequestBuilderRequestsMetadata = {
|
|
34
|
+
delete: {
|
|
35
|
+
uriTemplate: exports.HorizontalSectionItemRequestBuilderUriTemplate,
|
|
36
|
+
responseBodyContentType: "application/json",
|
|
37
|
+
errorMappings: {
|
|
38
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
39
|
+
},
|
|
40
|
+
adapterMethodName: "sendNoResponseContent",
|
|
41
|
+
},
|
|
42
|
+
get: {
|
|
43
|
+
uriTemplate: exports.HorizontalSectionItemRequestBuilderUriTemplate,
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
},
|
|
48
|
+
adapterMethodName: "send",
|
|
49
|
+
responseBodyFactory: models_1.createHorizontalSectionFromDiscriminatorValue,
|
|
50
|
+
queryParametersMapper: HorizontalSectionItemRequestBuilderGetQueryParametersMapper,
|
|
51
|
+
},
|
|
52
|
+
patch: {
|
|
53
|
+
uriTemplate: exports.HorizontalSectionItemRequestBuilderUriTemplate,
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "send",
|
|
59
|
+
responseBodyFactory: models_1.createHorizontalSectionFromDiscriminatorValue,
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: models_1.serializeHorizontalSection,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/* tslint:enable */
|
|
66
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type CanvasLayout } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type HorizontalSectionsRequestBuilder } from './horizontalSections/';
|
|
3
|
+
import { type VerticalSectionRequestBuilder } from './verticalSection/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface CanvasLayoutRequestBuilder extends BaseRequestBuilder<CanvasLayoutRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity.
|
|
11
|
+
*/
|
|
12
|
+
get horizontalSections(): HorizontalSectionsRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity.
|
|
15
|
+
*/
|
|
16
|
+
get verticalSection(): VerticalSectionRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Delete navigation property canvasLayout for groups
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
21
|
+
*/
|
|
22
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Get canvasLayout from groups
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns {Promise<CanvasLayout>}
|
|
27
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
+
*/
|
|
29
|
+
get(requestConfiguration?: RequestConfiguration<CanvasLayoutRequestBuilderGetQueryParameters> | undefined): Promise<CanvasLayout | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Update the navigation property canvasLayout in groups
|
|
32
|
+
* @param body The request body
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns {Promise<CanvasLayout>}
|
|
35
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
36
|
+
*/
|
|
37
|
+
patch(body: CanvasLayout, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CanvasLayout | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete navigation property canvasLayout for groups
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns {RequestInformation}
|
|
42
|
+
*/
|
|
43
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
/**
|
|
45
|
+
* Get canvasLayout from groups
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns {RequestInformation}
|
|
48
|
+
*/
|
|
49
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CanvasLayoutRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
50
|
+
/**
|
|
51
|
+
* Update the navigation property canvasLayout in groups
|
|
52
|
+
* @param body The request body
|
|
53
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
* @returns {RequestInformation}
|
|
55
|
+
*/
|
|
56
|
+
toPatchRequestInformation(body: CanvasLayout, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Get canvasLayout from groups
|
|
60
|
+
*/
|
|
61
|
+
export interface CanvasLayoutRequestBuilderGetQueryParameters {
|
|
62
|
+
/**
|
|
63
|
+
* Expand related entities
|
|
64
|
+
*/
|
|
65
|
+
expand?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Select properties to be returned
|
|
68
|
+
*/
|
|
69
|
+
select?: string[];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Uri template for the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const CanvasLayoutRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout{?%24expand,%24select}";
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the navigation properties in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const CanvasLayoutRequestBuilderNavigationMetadata: Record<Exclude<keyof CanvasLayoutRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
79
|
+
/**
|
|
80
|
+
* Metadata for all the requests in the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const CanvasLayoutRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAwG,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AACpL,OAAO,EAAE,KAAK,6BAA6B,EAAkG,MAAM,oBAAoB,CAAC;AACxK,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,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAA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
|
|
3
|
+
exports.CanvasLayoutRequestBuilderRequestsMetadata = exports.CanvasLayoutRequestBuilderNavigationMetadata = exports.CanvasLayoutRequestBuilderUriTemplate = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const horizontalSections_1 = require("./horizontalSections/");
|
|
10
|
+
const verticalSection_1 = require("./verticalSection/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.CanvasLayoutRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout{?%24expand,%24select}";
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const CanvasLayoutRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"expand": "%24expand",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Metadata for all the navigation properties in the request builder.
|
|
24
|
+
*/
|
|
25
|
+
exports.CanvasLayoutRequestBuilderNavigationMetadata = {
|
|
26
|
+
horizontalSections: {
|
|
27
|
+
requestsMetadata: horizontalSections_1.HorizontalSectionsRequestBuilderRequestsMetadata,
|
|
28
|
+
navigationMetadata: horizontalSections_1.HorizontalSectionsRequestBuilderNavigationMetadata,
|
|
29
|
+
},
|
|
30
|
+
verticalSection: {
|
|
31
|
+
requestsMetadata: verticalSection_1.VerticalSectionRequestBuilderRequestsMetadata,
|
|
32
|
+
navigationMetadata: verticalSection_1.VerticalSectionRequestBuilderNavigationMetadata,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
exports.CanvasLayoutRequestBuilderRequestsMetadata = {
|
|
39
|
+
delete: {
|
|
40
|
+
uriTemplate: exports.CanvasLayoutRequestBuilderUriTemplate,
|
|
41
|
+
responseBodyContentType: "application/json",
|
|
42
|
+
errorMappings: {
|
|
43
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "sendNoResponseContent",
|
|
46
|
+
},
|
|
47
|
+
get: {
|
|
48
|
+
uriTemplate: exports.CanvasLayoutRequestBuilderUriTemplate,
|
|
49
|
+
responseBodyContentType: "application/json",
|
|
50
|
+
errorMappings: {
|
|
51
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
},
|
|
53
|
+
adapterMethodName: "send",
|
|
54
|
+
responseBodyFactory: models_1.createCanvasLayoutFromDiscriminatorValue,
|
|
55
|
+
queryParametersMapper: CanvasLayoutRequestBuilderGetQueryParametersMapper,
|
|
56
|
+
},
|
|
57
|
+
patch: {
|
|
58
|
+
uriTemplate: exports.CanvasLayoutRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: models_1.createCanvasLayoutFromDiscriminatorValue,
|
|
65
|
+
requestBodyContentType: "application/json",
|
|
66
|
+
requestBodySerializer: models_1.serializeCanvasLayout,
|
|
67
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type VerticalSection } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type WebpartsRequestBuilder } from './webparts/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface VerticalSectionRequestBuilder extends BaseRequestBuilder<VerticalSectionRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity.
|
|
10
|
+
*/
|
|
11
|
+
get webparts(): WebpartsRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete navigation property verticalSection for groups
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Get verticalSection from groups
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<VerticalSection>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<VerticalSectionRequestBuilderGetQueryParameters> | undefined): Promise<VerticalSection | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the navigation property verticalSection in groups
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {Promise<VerticalSection>}
|
|
30
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
|
+
*/
|
|
32
|
+
patch(body: VerticalSection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<VerticalSection | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete navigation property verticalSection for groups
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {RequestInformation}
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Get verticalSection from groups
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<VerticalSectionRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the navigation property verticalSection in groups
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: VerticalSection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get verticalSection from groups
|
|
55
|
+
*/
|
|
56
|
+
export interface VerticalSectionRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const VerticalSectionRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection{?%24expand,%24select}";
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const VerticalSectionRequestBuilderNavigationMetadata: Record<Exclude<keyof VerticalSectionRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const VerticalSectionRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAAE,KAAK,sBAAsB,EAAoF,MAAM,aAAa,CAAC;AAC5I,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,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;;OAIG;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,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OA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