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 { Expose } from "class-transformer";
import { IsOptional, IsString } from "class-validator";

//#region ../didcomm/src/modules/message-pickup/protocol/v2/messages/DidCommStatusRequestV2Message.ts
var DidCommStatusRequestV2Message = class DidCommStatusRequestV2Message extends DidCommMessage {
	constructor(options) {
		super();
		this.allowQueueTransport = false;
		this.type = DidCommStatusRequestV2Message.type.messageTypeUri;
		if (options) {
			this.id = options.id || this.generateId();
			this.recipientKey = options.recipientKey;
		}
	}
};
DidCommStatusRequestV2Message.type = parseMessageType("https://didcomm.org/messagepickup/2.0/status-request");
__decorate([IsValidMessageType(DidCommStatusRequestV2Message.type), __decorateMetadata("design:type", Object)], DidCommStatusRequestV2Message.prototype, "type", void 0);
__decorate([
	IsString(),
	IsOptional(),
	Expose({ name: "recipient_key" }),
	__decorateMetadata("design:type", String)
], DidCommStatusRequestV2Message.prototype, "recipientKey", void 0);

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