n8n-nodes-oxsr-technical-utils 4.2.31 → 4.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/OXSRTechnicalUtils/OXSRTechnicalUtils.node.js +110 -9
- package/dist/nodes/OXSRTechnicalUtils/OXSRTechnicalUtils.node.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/actions.js +40 -5
- package/dist/nodes/OXSRTechnicalUtils/actions/actions.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/content.js +322 -136
- package/dist/nodes/OXSRTechnicalUtils/actions/content.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/database.js +17 -2
- package/dist/nodes/OXSRTechnicalUtils/actions/database.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/dbAdvanced.js +30 -3
- package/dist/nodes/OXSRTechnicalUtils/actions/dbAdvanced.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/email.js +27 -4
- package/dist/nodes/OXSRTechnicalUtils/actions/email.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/iaDev.js +48 -13
- package/dist/nodes/OXSRTechnicalUtils/actions/iaDev.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/logs.js +25 -2
- package/dist/nodes/OXSRTechnicalUtils/actions/logs.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/media.js +44 -14
- package/dist/nodes/OXSRTechnicalUtils/actions/media.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/metrics.js +26 -3
- package/dist/nodes/OXSRTechnicalUtils/actions/metrics.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/multisite.js +24 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/multisite.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/performance.js +46 -27
- package/dist/nodes/OXSRTechnicalUtils/actions/performance.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/plugins.js +32 -9
- package/dist/nodes/OXSRTechnicalUtils/actions/plugins.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/security.js +24 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/security.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/seo.js +56 -19
- package/dist/nodes/OXSRTechnicalUtils/actions/seo.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/server.js +58 -31
- package/dist/nodes/OXSRTechnicalUtils/actions/server.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/settings.js +75 -26
- package/dist/nodes/OXSRTechnicalUtils/actions/settings.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/updates.js +24 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/updates.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/users.js +51 -16
- package/dist/nodes/OXSRTechnicalUtils/actions/users.js.map +1 -1
- package/dist/nodes/OXSRTechnicalUtils/actions/woo.js +29 -6
- package/dist/nodes/OXSRTechnicalUtils/actions/woo.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -149,6 +149,8 @@ const AUTO_OPERATIONS_BY_RESOURCE = {
|
|
|
149
149
|
'updateChildFunctions',
|
|
150
150
|
'getHtaccess',
|
|
151
151
|
'updateHtaccess',
|
|
152
|
+
'getThemeCustomCss',
|
|
153
|
+
'updateThemeCustomCss',
|
|
152
154
|
'getComments',
|
|
153
155
|
'moderateComment',
|
|
154
156
|
'deleteComment',
|
|
@@ -755,6 +757,8 @@ class OXSRTechnicalUtils {
|
|
|
755
757
|
{ name: 'Update Child Functions', value: 'updateChildFunctions' },
|
|
756
758
|
{ name: 'Get .htaccess', value: 'getHtaccess' },
|
|
757
759
|
{ name: 'Update .htaccess', value: 'updateHtaccess' },
|
|
760
|
+
{ name: 'Get Theme Custom CSS', value: 'getThemeCustomCss' },
|
|
761
|
+
{ name: 'Update Theme Custom CSS', value: 'updateThemeCustomCss' },
|
|
758
762
|
{ name: 'Get Comments', value: 'getComments' },
|
|
759
763
|
{ name: 'Moderate Comment', value: 'moderateComment' },
|
|
760
764
|
{ name: 'Delete Comment', value: 'deleteComment' },
|
|
@@ -1191,9 +1195,9 @@ class OXSRTechnicalUtils {
|
|
|
1191
1195
|
},
|
|
1192
1196
|
{
|
|
1193
1197
|
displayName: 'Post URL (Alias MCP)',
|
|
1194
|
-
name: '
|
|
1198
|
+
name: 'Post_URL_Replace_Deprecated',
|
|
1195
1199
|
type: 'string',
|
|
1196
|
-
displayOptions: { show: { resource: ['content'], operation: ['
|
|
1200
|
+
displayOptions: { show: { resource: ['content'], operation: ['__never__'] } },
|
|
1197
1201
|
default: '',
|
|
1198
1202
|
required: false,
|
|
1199
1203
|
description: 'Alias MCP de URL de post/página',
|
|
@@ -1285,9 +1289,18 @@ class OXSRTechnicalUtils {
|
|
|
1285
1289
|
type: 'number',
|
|
1286
1290
|
displayOptions: { show: { resource: ['content'], operation: ['updatePost', 'deletePost'] } },
|
|
1287
1291
|
default: 0,
|
|
1288
|
-
required:
|
|
1292
|
+
required: false,
|
|
1289
1293
|
description: 'ID del post o página objetivo',
|
|
1290
1294
|
},
|
|
1295
|
+
{
|
|
1296
|
+
displayName: 'Post URL',
|
|
1297
|
+
name: 'postUrl',
|
|
1298
|
+
type: 'string',
|
|
1299
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost'] } },
|
|
1300
|
+
default: '',
|
|
1301
|
+
required: false,
|
|
1302
|
+
description: 'URL del post o pagina objetivo si no quieres usar ID',
|
|
1303
|
+
},
|
|
1291
1304
|
{
|
|
1292
1305
|
displayName: 'Source Post ID',
|
|
1293
1306
|
name: 'sourcePostId',
|
|
@@ -1457,7 +1470,7 @@ class OXSRTechnicalUtils {
|
|
|
1457
1470
|
displayName: 'Featured Image ID',
|
|
1458
1471
|
name: 'featuredImageId',
|
|
1459
1472
|
type: 'number',
|
|
1460
|
-
displayOptions: { show: { resource: ['content'], operation: ['createPost', 'updateContentSource'] } },
|
|
1473
|
+
displayOptions: { show: { resource: ['content'], operation: ['createPost', 'updatePost', 'updateContentSource'] } },
|
|
1461
1474
|
default: 0,
|
|
1462
1475
|
required: false,
|
|
1463
1476
|
description: 'ID de imagen destacada (aplica a posts; 0 para eliminar)',
|
|
@@ -1471,11 +1484,48 @@ class OXSRTechnicalUtils {
|
|
|
1471
1484
|
required: false,
|
|
1472
1485
|
description: 'URL de imagen para asignar como destacada (dejar vacío si no se quiere cambiar)',
|
|
1473
1486
|
},
|
|
1487
|
+
{
|
|
1488
|
+
displayName: 'Featured Image IDs CSV',
|
|
1489
|
+
name: 'featuredImageIdsCsv',
|
|
1490
|
+
type: 'string',
|
|
1491
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost'] } },
|
|
1492
|
+
default: '',
|
|
1493
|
+
required: false,
|
|
1494
|
+
description: 'IDs de imagen destacada separados por coma. En bulk se aplican por posicion a Post IDs CSV.',
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
displayName: 'Featured Image URLs CSV',
|
|
1498
|
+
name: 'featuredImageUrlsCsv',
|
|
1499
|
+
type: 'string',
|
|
1500
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost'] } },
|
|
1501
|
+
default: '',
|
|
1502
|
+
required: false,
|
|
1503
|
+
description: 'URLs de imagen separadas por coma. En bulk se aplican por posicion a Post IDs CSV.',
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
displayName: 'Clear Featured Image',
|
|
1507
|
+
name: 'clearFeaturedImage',
|
|
1508
|
+
type: 'boolean',
|
|
1509
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost', 'updateContentSource'] } },
|
|
1510
|
+
default: false,
|
|
1511
|
+
required: false,
|
|
1512
|
+
description: 'Elimina la imagen destacada del post o de los posts indicados',
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
displayName: 'Post Updates JSON',
|
|
1516
|
+
name: 'postUpdatesJson',
|
|
1517
|
+
type: 'string',
|
|
1518
|
+
typeOptions: { rows: 5 },
|
|
1519
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost'] } },
|
|
1520
|
+
default: '',
|
|
1521
|
+
required: false,
|
|
1522
|
+
description: 'Array JSON para bulk: [{"post_id":1,"featured_image_url":"https://..."},{"post_id":2,"featured_image_id":123}]',
|
|
1523
|
+
},
|
|
1474
1524
|
{
|
|
1475
1525
|
displayName: 'Post ID (Alias MCP)',
|
|
1476
1526
|
name: 'Post_ID',
|
|
1477
1527
|
type: 'number',
|
|
1478
|
-
displayOptions: { show: { resource: ['content'], operation: ['replaceContentText'] } },
|
|
1528
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost', 'deletePost', 'replaceContentText'] } },
|
|
1479
1529
|
default: 0,
|
|
1480
1530
|
required: false,
|
|
1481
1531
|
description: 'Alias MCP para update post por ID',
|
|
@@ -1484,7 +1534,7 @@ class OXSRTechnicalUtils {
|
|
|
1484
1534
|
displayName: 'Post URL (Alias MCP)',
|
|
1485
1535
|
name: 'Post_URL',
|
|
1486
1536
|
type: 'string',
|
|
1487
|
-
displayOptions: { show: { resource: ['content'], operation: ['replaceContentText'] } },
|
|
1537
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost', 'replaceContentText'] } },
|
|
1488
1538
|
default: '',
|
|
1489
1539
|
required: false,
|
|
1490
1540
|
description: 'Alias MCP para resolver post por URL',
|
|
@@ -1529,11 +1579,20 @@ class OXSRTechnicalUtils {
|
|
|
1529
1579
|
displayName: 'Featured Image URL (Alias MCP Source)',
|
|
1530
1580
|
name: 'Featured_Image_URL',
|
|
1531
1581
|
type: 'string',
|
|
1532
|
-
displayOptions: { show: { resource: ['content'], operation: ['updateContentSource'] } },
|
|
1582
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost', 'updateContentSource'] } },
|
|
1533
1583
|
default: '',
|
|
1534
1584
|
required: false,
|
|
1535
1585
|
description: 'Alias MCP para imagen destacada por URL en source update',
|
|
1536
1586
|
},
|
|
1587
|
+
{
|
|
1588
|
+
displayName: 'Featured Image ID (Alias MCP)',
|
|
1589
|
+
name: 'Featured_Image_ID',
|
|
1590
|
+
type: 'number',
|
|
1591
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost', 'updateContentSource'] } },
|
|
1592
|
+
default: 0,
|
|
1593
|
+
required: false,
|
|
1594
|
+
description: 'Alias MCP para imagen destacada por ID',
|
|
1595
|
+
},
|
|
1537
1596
|
{
|
|
1538
1597
|
displayName: 'Status (Write)',
|
|
1539
1598
|
name: 'statusWrite',
|
|
@@ -1577,9 +1636,9 @@ class OXSRTechnicalUtils {
|
|
|
1577
1636
|
displayName: 'Post IDs CSV',
|
|
1578
1637
|
name: 'postIdsCsv',
|
|
1579
1638
|
type: 'string',
|
|
1580
|
-
displayOptions: { show: { resource: ['content'], operation: ['bulkStatus'] } },
|
|
1639
|
+
displayOptions: { show: { resource: ['content'], operation: ['updatePost', 'bulkStatus'] } },
|
|
1581
1640
|
default: '',
|
|
1582
|
-
required:
|
|
1641
|
+
required: false,
|
|
1583
1642
|
description: 'IDs de posts separados por coma',
|
|
1584
1643
|
},
|
|
1585
1644
|
{
|
|
@@ -1948,6 +2007,48 @@ class OXSRTechnicalUtils {
|
|
|
1948
2007
|
required: true,
|
|
1949
2008
|
description: 'Contenido completo para guardar en .htaccess',
|
|
1950
2009
|
},
|
|
2010
|
+
{
|
|
2011
|
+
displayName: 'Theme Stylesheet',
|
|
2012
|
+
name: 'customCssTheme',
|
|
2013
|
+
type: 'string',
|
|
2014
|
+
displayOptions: { show: { resource: ['settings'], operation: ['getThemeCustomCss', 'updateThemeCustomCss'] } },
|
|
2015
|
+
default: '',
|
|
2016
|
+
required: false,
|
|
2017
|
+
description: 'Optional theme stylesheet slug. Empty uses the active theme.',
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
displayName: 'Custom CSS Mode',
|
|
2021
|
+
name: 'customCssMode',
|
|
2022
|
+
type: 'options',
|
|
2023
|
+
displayOptions: { show: { resource: ['settings'], operation: ['updateThemeCustomCss'] } },
|
|
2024
|
+
default: 'replace',
|
|
2025
|
+
required: false,
|
|
2026
|
+
options: [
|
|
2027
|
+
{ name: 'Replace Existing CSS', value: 'replace' },
|
|
2028
|
+
{ name: 'Append To Existing CSS', value: 'append' },
|
|
2029
|
+
],
|
|
2030
|
+
description: 'Whether to replace the current Additional CSS or append to it.',
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
displayName: 'Custom CSS',
|
|
2034
|
+
name: 'customCssContent',
|
|
2035
|
+
type: 'string',
|
|
2036
|
+
typeOptions: { rows: 12 },
|
|
2037
|
+
displayOptions: { show: { resource: ['settings'], operation: ['updateThemeCustomCss'] } },
|
|
2038
|
+
default: '',
|
|
2039
|
+
required: false,
|
|
2040
|
+
description: 'CSS to save in WordPress Appearance > Customize > Additional CSS. Empty content clears it when mode is replace.',
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
displayName: 'Custom CSS (Alias MCP)',
|
|
2044
|
+
name: 'Custom_CSS',
|
|
2045
|
+
type: 'string',
|
|
2046
|
+
typeOptions: { rows: 12 },
|
|
2047
|
+
displayOptions: { show: { resource: ['settings'], operation: ['updateThemeCustomCss'] } },
|
|
2048
|
+
default: '',
|
|
2049
|
+
required: false,
|
|
2050
|
+
description: 'Alias for AI tool calls that send Custom_CSS.',
|
|
2051
|
+
},
|
|
1951
2052
|
{
|
|
1952
2053
|
displayName: 'Comment Status',
|
|
1953
2054
|
name: 'commentStatus',
|