/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createChatFromDiscriminatorValue, serializeChat } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { CompleteMigrationRequestBuilderRequestsMetadata } from './completeMigration/index.js';
// @ts-ignore
import { HideForUserRequestBuilderRequestsMetadata } from './hideForUser/index.js';
// @ts-ignore
import { InstalledAppsRequestBuilderNavigationMetadata, InstalledAppsRequestBuilderRequestsMetadata } from './installedApps/index.js';
// @ts-ignore
import { LastMessagePreviewRequestBuilderRequestsMetadata } from './lastMessagePreview/index.js';
// @ts-ignore
import { MarkChatReadForUserRequestBuilderRequestsMetadata } from './markChatReadForUser/index.js';
// @ts-ignore
import { MarkChatUnreadForUserRequestBuilderRequestsMetadata } from './markChatUnreadForUser/index.js';
// @ts-ignore
import { MembersRequestBuilderNavigationMetadata, MembersRequestBuilderRequestsMetadata } from './members/index.js';
// @ts-ignore
import { MessagesRequestBuilderNavigationMetadata, MessagesRequestBuilderRequestsMetadata } from './messages/index.js';
// @ts-ignore
import { OperationsRequestBuilderNavigationMetadata, OperationsRequestBuilderRequestsMetadata } from './operations/index.js';
// @ts-ignore
import { PermissionGrantsRequestBuilderNavigationMetadata, PermissionGrantsRequestBuilderRequestsMetadata } from './permissionGrants/index.js';
// @ts-ignore
import { PinnedMessagesRequestBuilderNavigationMetadata, PinnedMessagesRequestBuilderRequestsMetadata } from './pinnedMessages/index.js';
// @ts-ignore
import { RemoveAllAccessForUserRequestBuilderRequestsMetadata } from './removeAllAccessForUser/index.js';
// @ts-ignore
import { SendActivityNotificationRequestBuilderRequestsMetadata } from './sendActivityNotification/index.js';
// @ts-ignore
import { TabsRequestBuilderNavigationMetadata, TabsRequestBuilderRequestsMetadata } from './tabs/index.js';
// @ts-ignore
import { UnhideForUserRequestBuilderRequestsMetadata } from './unhideForUser/index.js';
/**
 * Uri template for the request builder.
 */
export const ChatItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const ChatItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const ChatItemRequestBuilderNavigationMetadata = {
    completeMigration: {
        requestsMetadata: CompleteMigrationRequestBuilderRequestsMetadata,
    },
    hideForUser: {
        requestsMetadata: HideForUserRequestBuilderRequestsMetadata,
    },
    installedApps: {
        requestsMetadata: InstalledAppsRequestBuilderRequestsMetadata,
        navigationMetadata: InstalledAppsRequestBuilderNavigationMetadata,
    },
    lastMessagePreview: {
        requestsMetadata: LastMessagePreviewRequestBuilderRequestsMetadata,
    },
    markChatReadForUser: {
        requestsMetadata: MarkChatReadForUserRequestBuilderRequestsMetadata,
    },
    markChatUnreadForUser: {
        requestsMetadata: MarkChatUnreadForUserRequestBuilderRequestsMetadata,
    },
    members: {
        requestsMetadata: MembersRequestBuilderRequestsMetadata,
        navigationMetadata: MembersRequestBuilderNavigationMetadata,
    },
    messages: {
        requestsMetadata: MessagesRequestBuilderRequestsMetadata,
        navigationMetadata: MessagesRequestBuilderNavigationMetadata,
    },
    operations: {
        requestsMetadata: OperationsRequestBuilderRequestsMetadata,
        navigationMetadata: OperationsRequestBuilderNavigationMetadata,
    },
    permissionGrants: {
        requestsMetadata: PermissionGrantsRequestBuilderRequestsMetadata,
        navigationMetadata: PermissionGrantsRequestBuilderNavigationMetadata,
    },
    pinnedMessages: {
        requestsMetadata: PinnedMessagesRequestBuilderRequestsMetadata,
        navigationMetadata: PinnedMessagesRequestBuilderNavigationMetadata,
    },
    removeAllAccessForUser: {
        requestsMetadata: RemoveAllAccessForUserRequestBuilderRequestsMetadata,
    },
    sendActivityNotification: {
        requestsMetadata: SendActivityNotificationRequestBuilderRequestsMetadata,
    },
    tabs: {
        requestsMetadata: TabsRequestBuilderRequestsMetadata,
        navigationMetadata: TabsRequestBuilderNavigationMetadata,
    },
    unhideForUser: {
        requestsMetadata: UnhideForUserRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const ChatItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: ChatItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: ChatItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createChatFromDiscriminatorValue,
        queryParametersMapper: ChatItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: ChatItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createChatFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeChat,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map