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