import { __decorateMetadata } from "../../../../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
import { __decorate } from "../../../../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
import { IsValidMessageType, parseMessageType } from "../../../../../util/messageType.mjs";
import { DidCommMessage } from "../../../../../DidCommMessage.mjs";
import { IsOptional, IsString } from "class-validator";

//#region ../didcomm/src/modules/discover-features/protocol/v1/messages/DidCommFeaturesQueryMessage.ts
var DidCommFeaturesQueryMessage = class DidCommFeaturesQueryMessage extends DidCommMessage {
	constructor(options) {
		super();
		this.type = DidCommFeaturesQueryMessage.type.messageTypeUri;
		if (options) {
			this.id = options.id ?? this.generateId();
			this.query = options.query;
			this.comment = options.comment;
		}
	}
};
DidCommFeaturesQueryMessage.type = parseMessageType("https://didcomm.org/discover-features/1.0/query");
__decorate([IsValidMessageType(DidCommFeaturesQueryMessage.type), __decorateMetadata("design:type", Object)], DidCommFeaturesQueryMessage.prototype, "type", void 0);
__decorate([IsString(), __decorateMetadata("design:type", String)], DidCommFeaturesQueryMessage.prototype, "query", void 0);
__decorate([
	IsString(),
	IsOptional(),
	__decorateMetadata("design:type", String)
], DidCommFeaturesQueryMessage.prototype, "comment", void 0);

//#endregion
export { DidCommFeaturesQueryMessage };
//# sourceMappingURL=DidCommFeaturesQueryMessage.mjs.map