"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventItemRequestBuilderUriTemplate = exports.EventItemRequestBuilderRequestsMetadata = exports.EventItemRequestBuilderNavigationMetadata = 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 accept_1 = require("./accept/");
const attachments_1 = require("./attachments/");
const calendar_1 = require("./calendar/");
const cancel_1 = require("./cancel/");
const decline_1 = require("./decline/");
const dismissReminder_1 = require("./dismissReminder/");
const extensions_1 = require("./extensions/");
const forward_1 = require("./forward/");
const snoozeReminder_1 = require("./snoozeReminder/");
const tentativelyAccept_1 = require("./tentativelyAccept/");
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const EventItemRequestBuilderGetQueryParametersMapper = {
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.EventItemRequestBuilderNavigationMetadata = {
    accept: {
        uriTemplate: accept_1.AcceptRequestBuilderUriTemplate,
        requestsMetadata: accept_1.AcceptRequestBuilderRequestsMetadata,
    },
    attachments: {
        uriTemplate: attachments_1.AttachmentsRequestBuilderUriTemplate,
        requestsMetadata: attachments_1.AttachmentsRequestBuilderRequestsMetadata,
        navigationMetadata: attachments_1.AttachmentsRequestBuilderNavigationMetadata,
    },
    calendar: {
        uriTemplate: calendar_1.CalendarRequestBuilderUriTemplate,
        requestsMetadata: calendar_1.CalendarRequestBuilderRequestsMetadata,
    },
    cancel: {
        uriTemplate: cancel_1.CancelRequestBuilderUriTemplate,
        requestsMetadata: cancel_1.CancelRequestBuilderRequestsMetadata,
    },
    decline: {
        uriTemplate: decline_1.DeclineRequestBuilderUriTemplate,
        requestsMetadata: decline_1.DeclineRequestBuilderRequestsMetadata,
    },
    dismissReminder: {
        uriTemplate: dismissReminder_1.DismissReminderRequestBuilderUriTemplate,
        requestsMetadata: dismissReminder_1.DismissReminderRequestBuilderRequestsMetadata,
    },
    extensions: {
        uriTemplate: extensions_1.ExtensionsRequestBuilderUriTemplate,
        requestsMetadata: extensions_1.ExtensionsRequestBuilderRequestsMetadata,
        navigationMetadata: extensions_1.ExtensionsRequestBuilderNavigationMetadata,
    },
    forward: {
        uriTemplate: forward_1.ForwardRequestBuilderUriTemplate,
        requestsMetadata: forward_1.ForwardRequestBuilderRequestsMetadata,
    },
    snoozeReminder: {
        uriTemplate: snoozeReminder_1.SnoozeReminderRequestBuilderUriTemplate,
        requestsMetadata: snoozeReminder_1.SnoozeReminderRequestBuilderRequestsMetadata,
    },
    tentativelyAccept: {
        uriTemplate: tentativelyAccept_1.TentativelyAcceptRequestBuilderUriTemplate,
        requestsMetadata: tentativelyAccept_1.TentativelyAcceptRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.EventItemRequestBuilderRequestsMetadata = {
    get: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendAsync",
        responseBodyFactory: models_1.createEventFromDiscriminatorValue,
        queryParametersMapper: EventItemRequestBuilderGetQueryParametersMapper,
    },
};
/**
 * Uri template for the request builder.
 */
exports.EventItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}{?startDateTime*,endDateTime*,%24select}";
/* tslint:enable */
/* eslint-enable */
