"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutlookRequestBuilderRequestsMetadata = exports.OutlookRequestBuilderNavigationMetadata = exports.OutlookRequestBuilderUriTemplate = 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/");
/**
 * Uri template for the request builder.
 */
exports.OutlookRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/outlook{?%24select}";
/**
 * 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: {
        requestsMetadata: supportedTimeZonesWithTimeZoneStandard_1.SupportedTimeZonesWithTimeZoneStandardRequestBuilderRequestsMetadata,
    },
    masterCategories: {
        requestsMetadata: masterCategories_1.MasterCategoriesRequestBuilderRequestsMetadata,
        navigationMetadata: masterCategories_1.MasterCategoriesRequestBuilderNavigationMetadata,
    },
    supportedLanguages: {
        requestsMetadata: supportedLanguages_1.SupportedLanguagesRequestBuilderRequestsMetadata,
    },
    supportedTimeZones: {
        requestsMetadata: supportedTimeZones_1.SupportedTimeZonesRequestBuilderRequestsMetadata,
    },
    taskFolders: {
        requestsMetadata: taskFolders_1.TaskFoldersRequestBuilderRequestsMetadata,
        navigationMetadata: taskFolders_1.TaskFoldersRequestBuilderNavigationMetadata,
    },
    taskGroups: {
        requestsMetadata: taskGroups_1.TaskGroupsRequestBuilderRequestsMetadata,
        navigationMetadata: taskGroups_1.TaskGroupsRequestBuilderNavigationMetadata,
    },
    tasks: {
        requestsMetadata: tasks_1.TasksRequestBuilderRequestsMetadata,
        navigationMetadata: tasks_1.TasksRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.OutlookRequestBuilderRequestsMetadata = {
    get: {
        uriTemplate: exports.OutlookRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createOutlookUserFromDiscriminatorValue,
        queryParametersMapper: OutlookRequestBuilderGetQueryParametersMapper,
    },
};
/* tslint:enable */
/* eslint-enable */
