/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createOnenoteFromDiscriminatorValue, serializeOnenote } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { NotebooksRequestBuilderNavigationMetadata, NotebooksRequestBuilderRequestsMetadata } from './notebooks/index.js';
// @ts-ignore
import { OperationsRequestBuilderNavigationMetadata, OperationsRequestBuilderRequestsMetadata } from './operations/index.js';
// @ts-ignore
import { PagesRequestBuilderNavigationMetadata, PagesRequestBuilderRequestsMetadata } from './pages/index.js';
// @ts-ignore
import { ResourcesRequestBuilderNavigationMetadata, ResourcesRequestBuilderRequestsMetadata } from './resources/index.js';
// @ts-ignore
import { SectionGroupsRequestBuilderNavigationMetadata, SectionGroupsRequestBuilderRequestsMetadata } from './sectionGroups/index.js';
// @ts-ignore
import { SectionsRequestBuilderNavigationMetadata, SectionsRequestBuilderRequestsMetadata } from './sections/index.js';
/**
 * Uri template for the request builder.
 */
export const OnenoteRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onenote{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const OnenoteRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const OnenoteRequestBuilderNavigationMetadata = {
    notebooks: {
        requestsMetadata: NotebooksRequestBuilderRequestsMetadata,
        navigationMetadata: NotebooksRequestBuilderNavigationMetadata,
    },
    operations: {
        requestsMetadata: OperationsRequestBuilderRequestsMetadata,
        navigationMetadata: OperationsRequestBuilderNavigationMetadata,
    },
    pages: {
        requestsMetadata: PagesRequestBuilderRequestsMetadata,
        navigationMetadata: PagesRequestBuilderNavigationMetadata,
    },
    resources: {
        requestsMetadata: ResourcesRequestBuilderRequestsMetadata,
        navigationMetadata: ResourcesRequestBuilderNavigationMetadata,
    },
    sectionGroups: {
        requestsMetadata: SectionGroupsRequestBuilderRequestsMetadata,
        navigationMetadata: SectionGroupsRequestBuilderNavigationMetadata,
    },
    sections: {
        requestsMetadata: SectionsRequestBuilderRequestsMetadata,
        navigationMetadata: SectionsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const OnenoteRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: OnenoteRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: OnenoteRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createOnenoteFromDiscriminatorValue,
        queryParametersMapper: OnenoteRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: OnenoteRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createOnenoteFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeOnenote,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map