"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsRequestBuilderRequestsMetadata = exports.SettingsRequestBuilderNavigationMetadata = exports.SettingsRequestBuilderUriTemplate = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const models_1 = require("@microsoft/msgraph-beta-sdk/models/");
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
const contactMergeSuggestions_1 = require("./contactMergeSuggestions/");
const itemInsights_1 = require("./itemInsights/");
const regionalAndLanguageSettings_1 = require("./regionalAndLanguageSettings/");
const shiftPreferences_1 = require("./shiftPreferences/");
const windows_1 = require("./windows/");
/**
 * Uri template for the request builder.
 */
exports.SettingsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const SettingsRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.SettingsRequestBuilderNavigationMetadata = {
    contactMergeSuggestions: {
        requestsMetadata: contactMergeSuggestions_1.ContactMergeSuggestionsRequestBuilderRequestsMetadata,
    },
    itemInsights: {
        requestsMetadata: itemInsights_1.ItemInsightsRequestBuilderRequestsMetadata,
    },
    regionalAndLanguageSettings: {
        requestsMetadata: regionalAndLanguageSettings_1.RegionalAndLanguageSettingsRequestBuilderRequestsMetadata,
    },
    shiftPreferences: {
        requestsMetadata: shiftPreferences_1.ShiftPreferencesRequestBuilderRequestsMetadata,
    },
    windows: {
        requestsMetadata: windows_1.WindowsRequestBuilderRequestsMetadata,
        navigationMetadata: windows_1.WindowsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.SettingsRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.SettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.SettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createUserSettingsFromDiscriminatorValue,
        queryParametersMapper: SettingsRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.SettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createUserSettingsFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeUserSettings,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
