"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const action = {
    title: 'Send Data',
    description: 'Send data to Yotpo',
    fields: {
        data: {
            label: 'Data',
            description: 'The data to send to Yotpo',
            type: 'object',
            required: false
        }
    },
    defaultSubscription: 'type = "track"',
    perform: (request, data) => {
        return request(`https://developers.yotpo.com/v2/${data.settings.store_id}/info`, {
            method: 'get'
        });
    }
};
exports.default = action;
//# sourceMappingURL=index.js.map