n8n-nodes-tiny-erp-api-v2
Version:
Custom nodes for Tiny ERP integration with n8n, including AI tools for AI Agent workflows
60 lines • 2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.operationsDescription = void 0;
exports.operationsDescription = {
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['products'],
},
},
options: [
{
name: 'Get Products',
value: 'getProducts',
description: 'Retrieve product information from Tiny ERP by search term',
action: 'Search Product',
},
{
name: 'Get Stock',
value: 'getStock',
description: 'Get stock information for a specific product by ID',
action: 'Get Product Stock',
},
{
name: 'Create Product',
value: 'createProduct',
description: 'Create a new product in Tiny ERP',
action: 'Create Product',
},
{
name: 'Create Products Batch',
value: 'createProductsBatch',
description: 'Create multiple products in batch (up to 20 per batch) - optimized for rate limits',
action: 'Create Products Batch',
},
{
name: 'Update Stock',
value: 'updateStock',
description: 'Update product stock quantity in a specific deposit',
action: 'Update Product Stock',
},
{
name: 'Update Stock Batch',
value: 'updateStockBatch',
description: 'Update multiple product stocks in batch (up to 20 per batch) - optimized for rate limits',
action: 'Update Stock Batch',
},
{
name: 'Rate Limit Info',
value: 'rateLimitInfo',
description: 'Get rate limit status, cache statistics, or clear cache',
action: 'Rate Limit Management',
},
],
default: 'getProducts',
};
//# sourceMappingURL=operations.js.map