export default class BaseCreatorApiConsumer {
    constructor({ fieldsToSend, preRequestHandler, } = {}) {
        this.responseHandler = (response) => response;
        if (fieldsToSend)
            this.fieldsToSend = fieldsToSend;
        if (preRequestHandler)
            this.preRequestHandler = preRequestHandler;
    }
}
//# sourceMappingURL=base-creator-api-consumer.js.map