/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createUserTeamworkFromDiscriminatorValue, serializeUserTeamwork } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AssociatedTeamsRequestBuilderNavigationMetadata, AssociatedTeamsRequestBuilderRequestsMetadata } from './associatedTeams/index.js';
// @ts-ignore
import { InstalledAppsRequestBuilderNavigationMetadata, InstalledAppsRequestBuilderRequestsMetadata } from './installedApps/index.js';
// @ts-ignore
import { SendActivityNotificationRequestBuilderRequestsMetadata } from './sendActivityNotification/index.js';
/**
 * Uri template for the request builder.
 */
export const TeamworkRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/teamwork{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const TeamworkRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const TeamworkRequestBuilderNavigationMetadata = {
    associatedTeams: {
        requestsMetadata: AssociatedTeamsRequestBuilderRequestsMetadata,
        navigationMetadata: AssociatedTeamsRequestBuilderNavigationMetadata,
    },
    installedApps: {
        requestsMetadata: InstalledAppsRequestBuilderRequestsMetadata,
        navigationMetadata: InstalledAppsRequestBuilderNavigationMetadata,
    },
    sendActivityNotification: {
        requestsMetadata: SendActivityNotificationRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const TeamworkRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: TeamworkRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: TeamworkRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserTeamworkFromDiscriminatorValue,
        queryParametersMapper: TeamworkRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: TeamworkRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserTeamworkFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeUserTeamwork,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map