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 { ReturnRouteTypes } from "../../../../../decorators/transport/TransportDecorator.mjs";
import { IsValidMessageType, parseMessageType } from "../../../../../util/messageType.mjs";
import { DidCommMessage } from "../../../../../DidCommMessage.mjs";
import { Expose } from "class-transformer";
import { IsArray } from "class-validator";

//#region ../didcomm/src/modules/message-pickup/protocol/v2/messages/DidCommMessagesReceivedV2Message.ts
var DidCommMessagesReceivedV2Message = class DidCommMessagesReceivedV2Message extends DidCommMessage {
	constructor(options) {
		super();
		this.allowQueueTransport = false;
		this.type = DidCommMessagesReceivedV2Message.type.messageTypeUri;
		if (options) {
			this.id = options.id || this.generateId();
			this.messageIdList = options.messageIdList;
		}
		this.setReturnRouting(ReturnRouteTypes.all);
	}
};
DidCommMessagesReceivedV2Message.type = parseMessageType("https://didcomm.org/messagepickup/2.0/messages-received");
__decorate([IsValidMessageType(DidCommMessagesReceivedV2Message.type), __decorateMetadata("design:type", Object)], DidCommMessagesReceivedV2Message.prototype, "type", void 0);
__decorate([
	IsArray(),
	Expose({ name: "message_id_list" }),
	__decorateMetadata("design:type", Array)
], DidCommMessagesReceivedV2Message.prototype, "messageIdList", void 0);

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