@microsoft/msgraph-sdk-users
Version:
Users fluent API for Microsoft Graph
54 lines • 2.29 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createMicrosoftAuthenticatorAuthenticationMethodFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { DeviceRequestBuilderRequestsMetadata } from './device/index.js';
/**
* Uri template for the request builder.
*/
export const MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication/microsoftAuthenticatorMethods/{microsoftAuthenticatorAuthenticationMethod%2Did}{?%24expand,%24select}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParametersMapper = {
"expand": "%24expand",
"select": "%24select",
};
/**
* Metadata for all the navigation properties in the request builder.
*/
export const MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderNavigationMetadata = {
device: {
requestsMetadata: DeviceRequestBuilderRequestsMetadata,
},
};
/**
* Metadata for all the requests in the request builder.
*/
export const MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderRequestsMetadata = {
delete: {
uriTemplate: MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "sendNoResponseContent",
},
get: {
uriTemplate: MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "send",
responseBodyFactory: createMicrosoftAuthenticatorAuthenticationMethodFromDiscriminatorValue,
queryParametersMapper: MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParametersMapper,
},
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map