/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createItemInsightsFromDiscriminatorValue, serializeItemInsights } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { SharedRequestBuilderNavigationMetadata, SharedRequestBuilderRequestsMetadata } from './shared/index.js';
// @ts-ignore
import { TrendingRequestBuilderNavigationMetadata, TrendingRequestBuilderRequestsMetadata } from './trending/index.js';
// @ts-ignore
import { UsedRequestBuilderNavigationMetadata, UsedRequestBuilderRequestsMetadata } from './used/index.js';
/**
 * Uri template for the request builder.
 */
export const InsightsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/insights{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const InsightsRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const InsightsRequestBuilderNavigationMetadata = {
    shared: {
        requestsMetadata: SharedRequestBuilderRequestsMetadata,
        navigationMetadata: SharedRequestBuilderNavigationMetadata,
    },
    trending: {
        requestsMetadata: TrendingRequestBuilderRequestsMetadata,
        navigationMetadata: TrendingRequestBuilderNavigationMetadata,
    },
    used: {
        requestsMetadata: UsedRequestBuilderRequestsMetadata,
        navigationMetadata: UsedRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const InsightsRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: InsightsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: InsightsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createItemInsightsFromDiscriminatorValue,
        queryParametersMapper: InsightsRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: InsightsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createItemInsightsFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeItemInsights,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map