"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const common_fields_1 = require("../common-fields");
const api_1 = require("../api");
const action = {
    title: 'Send Identify Group Event',
    description: 'Inserts or updates a group record in Canvas',
    defaultSubscription: 'type = "group"',
    fields: {
        group_id: {
            label: 'Group ID',
            type: 'string',
            description: 'The unique identifier of the group.',
            required: true,
            default: {
                '@path': '$.groupId'
            }
        },
        traits: {
            label: 'Group Properties',
            type: 'object',
            description: 'The properties of the group.',
            default: {
                '@path': '$.traits'
            }
        },
        ...common_fields_1.commonFields
    },
    perform: (0, api_1.perform)('group'),
    performBatch: (0, api_1.performBatch)('group')
};
exports.default = action;
//# sourceMappingURL=index.js.map