"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fields_1 = require("../fields");
const common_1 = require("../common");
const action = {
    title: 'Submit Screen Event',
    description: 'Send your Segment Screen events to SalesWings to use them for tagging, scoring and prioritising your leads.',
    defaultSubscription: 'type = "screen"',
    fields: {
        kind: (0, fields_1.kind)('Screen'),
        data: (0, fields_1.data)({ '@path': '$.name' }),
        userID: fields_1.userID,
        anonymousID: fields_1.anonymousID,
        email: fields_1.email,
        url: fields_1.url,
        referrerUrl: fields_1.referrerUrl,
        userAgent: fields_1.userAgent,
        timestamp: fields_1.timestamp,
        values: (0, fields_1.values)({ '@path': '$.properties' })
    },
    perform: (0, common_1.perform)('screen'),
    performBatch: (0, common_1.performBatch)('screen')
};
exports.default = action;
//# sourceMappingURL=index.js.map