var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var XmlElementNames_1 = require("../../XmlElementNames");
var AppointmentSchema_1 = require("./AppointmentSchema");
var ScopedDateTimePropertyDefinition_1 = require("../../../PropertyDefinitions/ScopedDateTimePropertyDefinition");
var PropertyDefinitionFlags_1 = require("../../../Enumerations/PropertyDefinitionFlags");
var ExchangeVersion_1 = require("../../../Enumerations/ExchangeVersion");
var MeetingMessageSchema_1 = require("./MeetingMessageSchema");
//module MeetingResponseSchema {
var FieldUris;
(function (FieldUris) {
FieldUris.ProposedStart = "meeting:ProposedStart";
FieldUris.ProposedEnd = "meeting:ProposedEnd";
})(FieldUris || (FieldUris = {}));
//}
var MeetingResponseSchema = (function (_super) {
__extends(MeetingResponseSchema, _super);
function MeetingResponseSchema() {
_super.apply(this, arguments);
}
MeetingResponseSchema.prototype.RegisterProperties = function () {
_super.prototype.RegisterProperties.call(this);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.Start);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.End);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.Location);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.Recurrence);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.AppointmentType);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.ProposedStart);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.ProposedEnd);
_super.prototype.RegisterProperty.call(this, MeetingResponseSchema.EnhancedLocation);
};
MeetingResponseSchema.Start = AppointmentSchema_1.AppointmentSchema.Instance.Start;
MeetingResponseSchema.End = AppointmentSchema_1.AppointmentSchema.Instance.End;
MeetingResponseSchema.Location = AppointmentSchema_1.AppointmentSchema.Instance.Location;
MeetingResponseSchema.AppointmentType = AppointmentSchema_1.AppointmentSchema.Instance.AppointmentType;
MeetingResponseSchema.Recurrence = AppointmentSchema_1.AppointmentSchema.Instance.Recurrence;
MeetingResponseSchema.ProposedStart = new ScopedDateTimePropertyDefinition_1.ScopedDateTimePropertyDefinition("ProposedStart", XmlElementNames_1.XmlElementNames.ProposedStart, ExchangeVersion_1.ExchangeVersion.Exchange2013, FieldUris.ProposedStart, PropertyDefinitionFlags_1.PropertyDefinitionFlags.CanFind, function (version) { return AppointmentSchema_1.AppointmentSchema.Instance.StartTimeZone; });
MeetingResponseSchema.ProposedEnd = new ScopedDateTimePropertyDefinition_1.ScopedDateTimePropertyDefinition("ProposedEnd", XmlElementNames_1.XmlElementNames.ProposedEnd, ExchangeVersion_1.ExchangeVersion.Exchange2013, FieldUris.ProposedEnd, PropertyDefinitionFlags_1.PropertyDefinitionFlags.CanFind, function (version) { return AppointmentSchema_1.AppointmentSchema.Instance.EndTimeZone; });
MeetingResponseSchema.EnhancedLocation = AppointmentSchema_1.AppointmentSchema.Instance.EnhancedLocation;
MeetingResponseSchema.Instance = new MeetingResponseSchema();
return MeetingResponseSchema;
})(MeetingMessageSchema_1.MeetingMessageSchema);
exports.MeetingResponseSchema = MeetingResponseSchema;