"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const mapper_1 = require("../../mapper");
const transact_base_operation_1 = require("./transact-base-operation");
class TransactConditionCheck extends transact_base_operation_1.TransactBaseOperation {
    constructor(modelClazz, partitionKey, sortKey) {
        super(modelClazz);
        this.params.Key = mapper_1.createKeyAttributes(this.metadata, partitionKey, sortKey);
    }
    get transactItem() {
        return {
            ConditionCheck: Object.assign({}, this.params),
        };
    }
}
exports.TransactConditionCheck = TransactConditionCheck;
//# sourceMappingURL=transact-condition-check.js.map