"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationRuleList = exports.NotificationRulePatch = exports.NewNotificationRule = void 0;
const tslib_1 = require("tslib");
const GraphQLUpload_js_1 = tslib_1.__importDefault(require("graphql-upload/GraphQLUpload.js"));
const type_graphql_1 = require("type-graphql");
const notification_rule_1 = require("./notification-rule");
let NewNotificationRule = class NewNotificationRule {
};
exports.NewNotificationRule = NewNotificationRule;
tslib_1.__decorate([
    (0, type_graphql_1.Field)(),
    tslib_1.__metadata("design:type", String)
], NewNotificationRule.prototype, "name", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotificationRule.prototype, "description", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => notification_rule_1.NotificationRuleStatus, { nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotificationRule.prototype, "state", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", Boolean)
], NewNotificationRule.prototype, "active", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotificationRule.prototype, "title", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotificationRule.prototype, "body", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotificationRule.prototype, "url", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => GraphQLUpload_js_1.default, { nullable: true }),
    tslib_1.__metadata("design:type", Object)
], NewNotificationRule.prototype, "thumbnail", void 0);
exports.NewNotificationRule = NewNotificationRule = tslib_1.__decorate([
    (0, type_graphql_1.InputType)()
], NewNotificationRule);
let NotificationRulePatch = class NotificationRulePatch {
};
exports.NotificationRulePatch = NotificationRulePatch;
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "id", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "name", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "description", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => notification_rule_1.NotificationRuleStatus, { nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "state", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "title", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "body", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "url", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => GraphQLUpload_js_1.default, { nullable: true }),
    tslib_1.__metadata("design:type", Object)
], NotificationRulePatch.prototype, "thumbnail", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationRulePatch.prototype, "cuFlag", void 0);
exports.NotificationRulePatch = NotificationRulePatch = tslib_1.__decorate([
    (0, type_graphql_1.InputType)()
], NotificationRulePatch);
let NotificationRuleList = class NotificationRuleList {
};
exports.NotificationRuleList = NotificationRuleList;
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => [notification_rule_1.NotificationRule]),
    tslib_1.__metadata("design:type", Array)
], NotificationRuleList.prototype, "items", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], NotificationRuleList.prototype, "total", void 0);
exports.NotificationRuleList = NotificationRuleList = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], NotificationRuleList);
//# sourceMappingURL=notification-rule-type.js.map