"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutlookRequestBuilderUriTemplate = exports.OutlookRequestBuilderRequestsMetadata = exports.OutlookRequestBuilderNavigationMetadata = 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 masterCategories_1 = require("./masterCategories/");
const supportedLanguages_1 = require("./supportedLanguages/");
const supportedTimeZones_1 = require("./supportedTimeZones/");
const supportedTimeZonesWithTimeZoneStandard_1 = require("./supportedTimeZonesWithTimeZoneStandard/");
const taskFolders_1 = require("./taskFolders/");
const taskGroups_1 = require("./taskGroups/");
const tasks_1 = require("./tasks/");
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const OutlookRequestBuilderGetQueryParametersMapper = {
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.OutlookRequestBuilderNavigationMetadata = {
    supportedTimeZonesWithTimeZoneStandard: {
        uriTemplate: supportedTimeZonesWithTimeZoneStandard_1.SupportedTimeZonesWithTimeZoneStandardRequestBuilderUriTemplate,
        requestsMetadata: supportedTimeZonesWithTimeZoneStandard_1.SupportedTimeZonesWithTimeZoneStandardRequestBuilderRequestsMetadata,
    },
    masterCategories: {
        uriTemplate: masterCategories_1.MasterCategoriesRequestBuilderUriTemplate,
        requestsMetadata: masterCategories_1.MasterCategoriesRequestBuilderRequestsMetadata,
        navigationMetadata: masterCategories_1.MasterCategoriesRequestBuilderNavigationMetadata,
    },
    supportedLanguages: {
        uriTemplate: supportedLanguages_1.SupportedLanguagesRequestBuilderUriTemplate,
        requestsMetadata: supportedLanguages_1.SupportedLanguagesRequestBuilderRequestsMetadata,
    },
    supportedTimeZones: {
        uriTemplate: supportedTimeZones_1.SupportedTimeZonesRequestBuilderUriTemplate,
        requestsMetadata: supportedTimeZones_1.SupportedTimeZonesRequestBuilderRequestsMetadata,
    },
    taskFolders: {
        uriTemplate: taskFolders_1.TaskFoldersRequestBuilderUriTemplate,
        requestsMetadata: taskFolders_1.TaskFoldersRequestBuilderRequestsMetadata,
        navigationMetadata: taskFolders_1.TaskFoldersRequestBuilderNavigationMetadata,
    },
    taskGroups: {
        uriTemplate: taskGroups_1.TaskGroupsRequestBuilderUriTemplate,
        requestsMetadata: taskGroups_1.TaskGroupsRequestBuilderRequestsMetadata,
        navigationMetadata: taskGroups_1.TaskGroupsRequestBuilderNavigationMetadata,
    },
    tasks: {
        uriTemplate: tasks_1.TasksRequestBuilderUriTemplate,
        requestsMetadata: tasks_1.TasksRequestBuilderRequestsMetadata,
        navigationMetadata: tasks_1.TasksRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.OutlookRequestBuilderRequestsMetadata = {
    get: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendAsync",
        responseBodyFactory: models_1.createOutlookUserFromDiscriminatorValue,
        queryParametersMapper: OutlookRequestBuilderGetQueryParametersMapper,
    },
};
/**
 * Uri template for the request builder.
 */
exports.OutlookRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/outlook{?%24select}";
/* tslint:enable */
/* eslint-enable */
