"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const create_ket_attributes_function_1 = require("../create-ket-attributes.function");
const transact_base_operation_1 = require("./transact-base-operation");
class TransactDelete extends transact_base_operation_1.TransactBaseOperation {
    constructor(modelClazz, partitionKey, sortKey) {
        super(modelClazz);
        this.params.Key = create_ket_attributes_function_1.createKeyAttributes(this.metadata, partitionKey, sortKey);
    }
    get transactItem() {
        return {
            Delete: Object.assign({}, this.params),
        };
    }
}
exports.TransactDelete = TransactDelete;
//# sourceMappingURL=transact-delete.js.map