"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AuthenticationRequestBuilderUriTemplate = exports.AuthenticationRequestBuilderRequestsMetadata = exports.AuthenticationRequestBuilderNavigationMetadata = 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/");
/**
 * 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: {
        uriTemplate: emailMethods_1.EmailMethodsRequestBuilderUriTemplate,
        requestsMetadata: emailMethods_1.EmailMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: emailMethods_1.EmailMethodsRequestBuilderNavigationMetadata,
    },
    fido2Methods: {
        uriTemplate: fido2Methods_1.Fido2MethodsRequestBuilderUriTemplate,
        requestsMetadata: fido2Methods_1.Fido2MethodsRequestBuilderRequestsMetadata,
        navigationMetadata: fido2Methods_1.Fido2MethodsRequestBuilderNavigationMetadata,
    },
    methods: {
        uriTemplate: methods_1.MethodsRequestBuilderUriTemplate,
        requestsMetadata: methods_1.MethodsRequestBuilderRequestsMetadata,
        navigationMetadata: methods_1.MethodsRequestBuilderNavigationMetadata,
    },
    microsoftAuthenticatorMethods: {
        uriTemplate: microsoftAuthenticatorMethods_1.MicrosoftAuthenticatorMethodsRequestBuilderUriTemplate,
        requestsMetadata: microsoftAuthenticatorMethods_1.MicrosoftAuthenticatorMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: microsoftAuthenticatorMethods_1.MicrosoftAuthenticatorMethodsRequestBuilderNavigationMetadata,
    },
    operations: {
        uriTemplate: operations_1.OperationsRequestBuilderUriTemplate,
        requestsMetadata: operations_1.OperationsRequestBuilderRequestsMetadata,
        navigationMetadata: operations_1.OperationsRequestBuilderNavigationMetadata,
    },
    passwordlessMicrosoftAuthenticatorMethods: {
        uriTemplate: passwordlessMicrosoftAuthenticatorMethods_1.PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderUriTemplate,
        requestsMetadata: passwordlessMicrosoftAuthenticatorMethods_1.PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: passwordlessMicrosoftAuthenticatorMethods_1.PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderNavigationMetadata,
    },
    passwordMethods: {
        uriTemplate: passwordMethods_1.PasswordMethodsRequestBuilderUriTemplate,
        requestsMetadata: passwordMethods_1.PasswordMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: passwordMethods_1.PasswordMethodsRequestBuilderNavigationMetadata,
    },
    phoneMethods: {
        uriTemplate: phoneMethods_1.PhoneMethodsRequestBuilderUriTemplate,
        requestsMetadata: phoneMethods_1.PhoneMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: phoneMethods_1.PhoneMethodsRequestBuilderNavigationMetadata,
    },
    platformCredentialMethods: {
        uriTemplate: platformCredentialMethods_1.PlatformCredentialMethodsRequestBuilderUriTemplate,
        requestsMetadata: platformCredentialMethods_1.PlatformCredentialMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: platformCredentialMethods_1.PlatformCredentialMethodsRequestBuilderNavigationMetadata,
    },
    signInPreferences: {
        uriTemplate: signInPreferences_1.SignInPreferencesRequestBuilderUriTemplate,
        requestsMetadata: signInPreferences_1.SignInPreferencesRequestBuilderRequestsMetadata,
    },
    softwareOathMethods: {
        uriTemplate: softwareOathMethods_1.SoftwareOathMethodsRequestBuilderUriTemplate,
        requestsMetadata: softwareOathMethods_1.SoftwareOathMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: softwareOathMethods_1.SoftwareOathMethodsRequestBuilderNavigationMetadata,
    },
    temporaryAccessPassMethods: {
        uriTemplate: temporaryAccessPassMethods_1.TemporaryAccessPassMethodsRequestBuilderUriTemplate,
        requestsMetadata: temporaryAccessPassMethods_1.TemporaryAccessPassMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: temporaryAccessPassMethods_1.TemporaryAccessPassMethodsRequestBuilderNavigationMetadata,
    },
    windowsHelloForBusinessMethods: {
        uriTemplate: windowsHelloForBusinessMethods_1.WindowsHelloForBusinessMethodsRequestBuilderUriTemplate,
        requestsMetadata: windowsHelloForBusinessMethods_1.WindowsHelloForBusinessMethodsRequestBuilderRequestsMetadata,
        navigationMetadata: windowsHelloForBusinessMethods_1.WindowsHelloForBusinessMethodsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.AuthenticationRequestBuilderRequestsMetadata = {
    delete: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContentAsync",
    },
    get: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendAsync",
        responseBodyFactory: models_1.createAuthenticationFromDiscriminatorValue,
        queryParametersMapper: AuthenticationRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendAsync",
        responseBodyFactory: models_1.createAuthenticationFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeAuthentication,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/**
 * Uri template for the request builder.
 */
exports.AuthenticationRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication{?%24select,%24expand}";
/* tslint:enable */
/* eslint-enable */
