UNPKG

n8n-nodes-fatture-in-cloud

Version:

n8n community node for Fatture in Cloud integration using the official TypeScript SDK

119 lines 3.45 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhooksResource = void 0; exports.WebhooksResource = { name: 'webhook', displayName: 'Webhook', properties: [ { displayName: 'Company ID', name: 'companyId', type: 'number', required: true, default: 0, description: 'The company ID for the operation', }, { displayName: 'Subscription ID', name: 'subscriptionId', type: 'string', required: true, displayOptions: { show: { operation: ['get', 'update', 'delete'], }, }, default: '', description: 'The ID of the webhook subscription', }, { displayName: 'Sink', name: 'sink', type: 'string', required: true, displayOptions: { show: { operation: ['create', 'update'], }, }, default: '', description: 'The webhook URL endpoint', }, { displayName: 'Verified', name: 'verified', type: 'boolean', displayOptions: { show: { operation: ['create', 'update'], }, }, default: false, description: 'Whether the webhook is verified', }, { displayName: 'Types', name: 'types', type: 'multiOptions', displayOptions: { show: { operation: ['create', 'update'], }, }, options: [ { name: 'Created', value: 'created', }, { name: 'Modified', value: 'modified', }, { name: 'Deleted', value: 'deleted', }, ], default: ['created'], description: 'The types of events to subscribe to', }, ], operations: [ { name: 'Create', displayName: 'Create', value: 'create', description: 'Create a new webhook subscription', action: 'Create a webhook subscription', }, { name: 'Delete', displayName: 'Delete', value: 'delete', description: 'Delete a webhook subscription', action: 'Delete a webhook subscription', }, { name: 'Get', displayName: 'Get', value: 'get', description: 'Get a webhook subscription by ID', action: 'Get a webhook subscription', }, { name: 'List', displayName: 'List', value: 'list', description: 'List all webhook subscriptions', action: 'List webhook subscriptions', }, { name: 'Update', displayName: 'Update', value: 'update', description: 'Update a webhook subscription', action: 'Update a webhook subscription', }, ], }; //# sourceMappingURL=WebhooksResource.js.map