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 { utils } from "@credo-ts/core";
import { Expose } from "class-transformer";
import { IsString } from "class-validator";

//#region ../didcomm/src/modules/credentials/models/DidCommCredentialFormatSpec.ts
var DidCommCredentialFormatSpec = class {
	constructor(options) {
		if (options) {
			this.attachmentId = options.attachmentId ?? utils.uuid();
			this.format = options.format;
		}
	}
};
__decorate([
	Expose({ name: "attach_id" }),
	IsString(),
	__decorateMetadata("design:type", String)
], DidCommCredentialFormatSpec.prototype, "attachmentId", void 0);
__decorate([IsString(), __decorateMetadata("design:type", String)], DidCommCredentialFormatSpec.prototype, "format", void 0);

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