"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const common_fields_1 = require("../common-fields");
const api_1 = require("../api");
const action = {
    title: 'Send Screen Event',
    description: 'Adds a screen event record in Canvas',
    defaultSubscription: 'type = "screen"',
    fields: {
        name: {
            type: 'string',
            label: 'Name',
            description: 'Screen name',
            required: false,
            default: { '@path': '$.name' }
        },
        properties: {
            type: 'object',
            label: 'Properties',
            description: 'Properties to associate with the screen',
            required: false,
            default: { '@path': '$.properties' }
        },
        ...common_fields_1.commonFields
    },
    perform: (0, api_1.perform)('screen'),
    performBatch: (0, api_1.performBatch)('screen')
};
exports.default = action;
//# sourceMappingURL=index.js.map