"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProfileRequestBuilderRequestsMetadata = exports.ProfileRequestBuilderNavigationMetadata = exports.ProfileRequestBuilderUriTemplate = 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 account_1 = require("./account/");
const addresses_1 = require("./addresses/");
const anniversaries_1 = require("./anniversaries/");
const awards_1 = require("./awards/");
const certifications_1 = require("./certifications/");
const educationalActivities_1 = require("./educationalActivities/");
const emails_1 = require("./emails/");
const interests_1 = require("./interests/");
const languages_1 = require("./languages/");
const names_1 = require("./names/");
const notes_1 = require("./notes/");
const patents_1 = require("./patents/");
const phones_1 = require("./phones/");
const positions_1 = require("./positions/");
const projects_1 = require("./projects/");
const publications_1 = require("./publications/");
const skills_1 = require("./skills/");
const webAccounts_1 = require("./webAccounts/");
const websites_1 = require("./websites/");
/**
 * Uri template for the request builder.
 */
exports.ProfileRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/profile{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const ProfileRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.ProfileRequestBuilderNavigationMetadata = {
    account: {
        requestsMetadata: account_1.AccountRequestBuilderRequestsMetadata,
        navigationMetadata: account_1.AccountRequestBuilderNavigationMetadata,
    },
    addresses: {
        requestsMetadata: addresses_1.AddressesRequestBuilderRequestsMetadata,
        navigationMetadata: addresses_1.AddressesRequestBuilderNavigationMetadata,
    },
    anniversaries: {
        requestsMetadata: anniversaries_1.AnniversariesRequestBuilderRequestsMetadata,
        navigationMetadata: anniversaries_1.AnniversariesRequestBuilderNavigationMetadata,
    },
    awards: {
        requestsMetadata: awards_1.AwardsRequestBuilderRequestsMetadata,
        navigationMetadata: awards_1.AwardsRequestBuilderNavigationMetadata,
    },
    certifications: {
        requestsMetadata: certifications_1.CertificationsRequestBuilderRequestsMetadata,
        navigationMetadata: certifications_1.CertificationsRequestBuilderNavigationMetadata,
    },
    educationalActivities: {
        requestsMetadata: educationalActivities_1.EducationalActivitiesRequestBuilderRequestsMetadata,
        navigationMetadata: educationalActivities_1.EducationalActivitiesRequestBuilderNavigationMetadata,
    },
    emails: {
        requestsMetadata: emails_1.EmailsRequestBuilderRequestsMetadata,
        navigationMetadata: emails_1.EmailsRequestBuilderNavigationMetadata,
    },
    interests: {
        requestsMetadata: interests_1.InterestsRequestBuilderRequestsMetadata,
        navigationMetadata: interests_1.InterestsRequestBuilderNavigationMetadata,
    },
    languages: {
        requestsMetadata: languages_1.LanguagesRequestBuilderRequestsMetadata,
        navigationMetadata: languages_1.LanguagesRequestBuilderNavigationMetadata,
    },
    names: {
        requestsMetadata: names_1.NamesRequestBuilderRequestsMetadata,
        navigationMetadata: names_1.NamesRequestBuilderNavigationMetadata,
    },
    notes: {
        requestsMetadata: notes_1.NotesRequestBuilderRequestsMetadata,
        navigationMetadata: notes_1.NotesRequestBuilderNavigationMetadata,
    },
    patents: {
        requestsMetadata: patents_1.PatentsRequestBuilderRequestsMetadata,
        navigationMetadata: patents_1.PatentsRequestBuilderNavigationMetadata,
    },
    phones: {
        requestsMetadata: phones_1.PhonesRequestBuilderRequestsMetadata,
        navigationMetadata: phones_1.PhonesRequestBuilderNavigationMetadata,
    },
    positions: {
        requestsMetadata: positions_1.PositionsRequestBuilderRequestsMetadata,
        navigationMetadata: positions_1.PositionsRequestBuilderNavigationMetadata,
    },
    projects: {
        requestsMetadata: projects_1.ProjectsRequestBuilderRequestsMetadata,
        navigationMetadata: projects_1.ProjectsRequestBuilderNavigationMetadata,
    },
    publications: {
        requestsMetadata: publications_1.PublicationsRequestBuilderRequestsMetadata,
        navigationMetadata: publications_1.PublicationsRequestBuilderNavigationMetadata,
    },
    skills: {
        requestsMetadata: skills_1.SkillsRequestBuilderRequestsMetadata,
        navigationMetadata: skills_1.SkillsRequestBuilderNavigationMetadata,
    },
    webAccounts: {
        requestsMetadata: webAccounts_1.WebAccountsRequestBuilderRequestsMetadata,
        navigationMetadata: webAccounts_1.WebAccountsRequestBuilderNavigationMetadata,
    },
    websites: {
        requestsMetadata: websites_1.WebsitesRequestBuilderRequestsMetadata,
        navigationMetadata: websites_1.WebsitesRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.ProfileRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.ProfileRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.ProfileRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createProfileFromDiscriminatorValue,
        queryParametersMapper: ProfileRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.ProfileRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createProfileFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeProfile,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
