"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AuthenticationRequestBuilderRequestsMetadata = exports.AuthenticationRequestBuilderNavigationMetadata = exports.AuthenticationRequestBuilderUriTemplate = 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 emailMethods_1 = require("./emailMethods/");
const fido2Methods_1 = require("./fido2Methods/");
const methods_1 = require("./methods/");
const microsoftAuthenticatorMethods_1 = require("./microsoftAuthenticatorMethods/");
const operations_1 = require("./operations/");
const passwordlessMicrosoftAuthenticatorMethods_1 = require("./passwordlessMicrosoftAuthenticatorMethods/");
const passwordMethods_1 = require("./passwordMethods/");
const phoneMethods_1 = require("./phoneMethods/");
const platformCredentialMethods_1 = require("./platformCredentialMethods/");
const signInPreferences_1 = require("./signInPreferences/");
const softwareOathMethods_1 = require("./softwareOathMethods/");
const temporaryAccessPassMethods_1 = require("./temporaryAccessPassMethods/");
const windowsHelloForBusinessMethods_1 = require("./windowsHelloForBusinessMethods/");
/**
 * Uri template for the request builder.
 */
exports.AuthenticationRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const AuthenticationRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.AuthenticationRequestBuilderNavigationMetadata = {
    emailMethods: {
        requestsMetadata: emailMethods_1.EmailMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: emailMethods_1.EmailMethodsRequestBuilderNavigationMetadata,
    },
    fido2Methods: {
        requestsMetadata: fido2Methods_1.Fido2MethodsRequestBuilderRequestsMetadata,
        navigationMetadata: fido2Methods_1.Fido2MethodsRequestBuilderNavigationMetadata,
    },
    methods: {
        requestsMetadata: methods_1.MethodsRequestBuilderRequestsMetadata,
        navigationMetadata: methods_1.MethodsRequestBuilderNavigationMetadata,
    },
    microsoftAuthenticatorMethods: {
        requestsMetadata: microsoftAuthenticatorMethods_1.MicrosoftAuthenticatorMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: microsoftAuthenticatorMethods_1.MicrosoftAuthenticatorMethodsRequestBuilderNavigationMetadata,
    },
    operations: {
        requestsMetadata: operations_1.OperationsRequestBuilderRequestsMetadata,
        navigationMetadata: operations_1.OperationsRequestBuilderNavigationMetadata,
    },
    passwordlessMicrosoftAuthenticatorMethods: {
        requestsMetadata: passwordlessMicrosoftAuthenticatorMethods_1.PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: passwordlessMicrosoftAuthenticatorMethods_1.PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderNavigationMetadata,
    },
    passwordMethods: {
        requestsMetadata: passwordMethods_1.PasswordMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: passwordMethods_1.PasswordMethodsRequestBuilderNavigationMetadata,
    },
    phoneMethods: {
        requestsMetadata: phoneMethods_1.PhoneMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: phoneMethods_1.PhoneMethodsRequestBuilderNavigationMetadata,
    },
    platformCredentialMethods: {
        requestsMetadata: platformCredentialMethods_1.PlatformCredentialMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: platformCredentialMethods_1.PlatformCredentialMethodsRequestBuilderNavigationMetadata,
    },
    signInPreferences: {
        requestsMetadata: signInPreferences_1.SignInPreferencesRequestBuilderRequestsMetadata,
    },
    softwareOathMethods: {
        requestsMetadata: softwareOathMethods_1.SoftwareOathMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: softwareOathMethods_1.SoftwareOathMethodsRequestBuilderNavigationMetadata,
    },
    temporaryAccessPassMethods: {
        requestsMetadata: temporaryAccessPassMethods_1.TemporaryAccessPassMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: temporaryAccessPassMethods_1.TemporaryAccessPassMethodsRequestBuilderNavigationMetadata,
    },
    windowsHelloForBusinessMethods: {
        requestsMetadata: windowsHelloForBusinessMethods_1.WindowsHelloForBusinessMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: windowsHelloForBusinessMethods_1.WindowsHelloForBusinessMethodsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.AuthenticationRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.AuthenticationRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.AuthenticationRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createAuthenticationFromDiscriminatorValue,
        queryParametersMapper: AuthenticationRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.AuthenticationRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createAuthenticationFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeAuthentication,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
