hostinger-api-mcp 1.0.0 → 1.1.0

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/types.d.ts CHANGED
@@ -3409,6 +3409,60 @@ Each installation includes a `valid` flag and, when invalid, a
3409
3409
  response: any; // Response structure will depend on the API
3410
3410
  };
3411
3411
 
3412
+ /**
3413
+ * Activate an installed plugin on a WordPress installation.
3414
+
3415
+ Provide the WordPress installation (software) identifier in the path. It can
3416
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3417
+
3418
+ This operation is asynchronous: a successful response only means the activation
3419
+ job has been queued.
3420
+ */
3421
+ "hosting_activateWordPressPluginV1": {
3422
+ params: {
3423
+ /**
3424
+ * username parameter
3425
+ */
3426
+ username: string;
3427
+ /**
3428
+ * WordPress installation (software) identifier
3429
+ */
3430
+ software: string;
3431
+ /**
3432
+ * Slug of the installed plugin to activate.
3433
+ */
3434
+ plugin: string;
3435
+ };
3436
+ response: any; // Response structure will depend on the API
3437
+ };
3438
+
3439
+ /**
3440
+ * Deactivate an installed plugin on a WordPress installation.
3441
+
3442
+ Provide the WordPress installation (software) identifier in the path. It can
3443
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3444
+
3445
+ This operation is asynchronous: a successful response only means the
3446
+ deactivation job has been queued.
3447
+ */
3448
+ "hosting_deactivateWordPressPluginV1": {
3449
+ params: {
3450
+ /**
3451
+ * username parameter
3452
+ */
3453
+ username: string;
3454
+ /**
3455
+ * WordPress installation (software) identifier
3456
+ */
3457
+ software: string;
3458
+ /**
3459
+ * Slug of the installed plugin to deactivate.
3460
+ */
3461
+ plugin: string;
3462
+ };
3463
+ response: any; // Response structure will depend on the API
3464
+ };
3465
+
3412
3466
  /**
3413
3467
  * Install one or more plugins on an existing WordPress installation.
3414
3468
 
@@ -3438,6 +3492,207 @@ job has been queued, not that the plugins are ready.
3438
3492
  response: any; // Response structure will depend on the API
3439
3493
  };
3440
3494
 
3495
+ /**
3496
+ * List plugins recommended for installation on a WordPress installation that are
3497
+ not yet installed.
3498
+
3499
+ Provide the WordPress installation (software) identifier in the path. It can
3500
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3501
+ */
3502
+ "hosting_listAvailableWordPressPluginsV1": {
3503
+ params: {
3504
+ /**
3505
+ * username parameter
3506
+ */
3507
+ username: string;
3508
+ /**
3509
+ * WordPress installation (software) identifier
3510
+ */
3511
+ software: string;
3512
+ };
3513
+ response: any; // Response structure will depend on the API
3514
+ };
3515
+
3516
+ /**
3517
+ * List plugins installed on a WordPress installation, including their status,
3518
+ available updates and known vulnerabilities.
3519
+
3520
+ Provide the WordPress installation (software) identifier in the path. It can
3521
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3522
+ */
3523
+ "hosting_listInstalledWordPressPluginsV1": {
3524
+ params: {
3525
+ /**
3526
+ * username parameter
3527
+ */
3528
+ username: string;
3529
+ /**
3530
+ * WordPress installation (software) identifier
3531
+ */
3532
+ software: string;
3533
+ /**
3534
+ * Filter installed plugins by category.
3535
+ */
3536
+ category?: string;
3537
+ };
3538
+ response: any; // Response structure will depend on the API
3539
+ };
3540
+
3541
+ /**
3542
+ * Search the WordPress.org plugin directory for plugins available to install.
3543
+
3544
+ Use the returned `slug` values with
3545
+ POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.
3546
+ */
3547
+ "hosting_searchWordPressPluginsV1": {
3548
+ params: {
3549
+ /**
3550
+ * Search term to match against plugin names. Minimum 3 characters.
3551
+ */
3552
+ search: string;
3553
+ };
3554
+ response: any; // Response structure will depend on the API
3555
+ };
3556
+
3557
+ /**
3558
+ * List curated plugin suggestions grouped by website type.
3559
+
3560
+ Use the returned `slug` values with
3561
+ POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.
3562
+ */
3563
+ "hosting_listSuggestedWordPressPluginsV1": {
3564
+ params: {
3565
+ /**
3566
+ * Optionally scope suggestions to a specific order.
3567
+ */
3568
+ order_id?: number;
3569
+ };
3570
+ response: any; // Response structure will depend on the API
3571
+ };
3572
+
3573
+ /**
3574
+ * Check whether WooCommerce is installed on any WordPress installation of a
3575
+ domain. Optionally filter by domain to scope the check.
3576
+ */
3577
+ "hosting_checkIfWooCommerceIsInstalledV1": {
3578
+ params: {
3579
+ /**
3580
+ * Filter by domain name (exact match)
3581
+ */
3582
+ domain?: string;
3583
+ };
3584
+ response: any; // Response structure will depend on the API
3585
+ };
3586
+
3587
+ /**
3588
+ * Uninstall one or more plugins from a WordPress installation.
3589
+
3590
+ Provide the WordPress installation (software) identifier in the path. It can
3591
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3592
+
3593
+ This operation is asynchronous: a successful response only means the uninstall
3594
+ job has been queued.
3595
+ */
3596
+ "hosting_uninstallWordPressPluginsV1": {
3597
+ params: {
3598
+ /**
3599
+ * username parameter
3600
+ */
3601
+ username: string;
3602
+ /**
3603
+ * WordPress installation (software) identifier
3604
+ */
3605
+ software: string;
3606
+ /**
3607
+ * Slugs of the installed plugins to uninstall.
3608
+ */
3609
+ plugins: array;
3610
+ };
3611
+ response: any; // Response structure will depend on the API
3612
+ };
3613
+
3614
+ /**
3615
+ * Update a Hostinger plugin to its latest version on a WordPress installation.
3616
+
3617
+ Provide the WordPress installation (software) identifier in the path. It can
3618
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3619
+
3620
+ This operation is asynchronous: a successful response only means the update job
3621
+ has been queued.
3622
+ */
3623
+ "hosting_updateHostingerWordPressPluginV1": {
3624
+ params: {
3625
+ /**
3626
+ * username parameter
3627
+ */
3628
+ username: string;
3629
+ /**
3630
+ * WordPress installation (software) identifier
3631
+ */
3632
+ software: string;
3633
+ /**
3634
+ * Slug of the Hostinger plugin to update to its latest version.
3635
+ */
3636
+ slug: string;
3637
+ };
3638
+ response: any; // Response structure will depend on the API
3639
+ };
3640
+
3641
+ /**
3642
+ * Update one or more installed plugins to their latest version on a WordPress
3643
+ installation.
3644
+
3645
+ Provide the WordPress installation (software) identifier in the path. It can
3646
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3647
+
3648
+ This operation is asynchronous: a successful response only means the update job
3649
+ has been queued.
3650
+ */
3651
+ "hosting_updateWordPressPluginsV1": {
3652
+ params: {
3653
+ /**
3654
+ * username parameter
3655
+ */
3656
+ username: string;
3657
+ /**
3658
+ * WordPress installation (software) identifier
3659
+ */
3660
+ software: string;
3661
+ /**
3662
+ * Slugs of the installed plugins to update to their latest version.
3663
+ */
3664
+ plugins: array;
3665
+ };
3666
+ response: any; // Response structure will depend on the API
3667
+ };
3668
+
3669
+ /**
3670
+ * Activate an installed theme on a WordPress installation.
3671
+
3672
+ Provide the WordPress installation (software) identifier in the path. It can
3673
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3674
+
3675
+ This operation is asynchronous: a successful response only means the activation
3676
+ job has been queued.
3677
+ */
3678
+ "hosting_activateWordPressThemeV1": {
3679
+ params: {
3680
+ /**
3681
+ * username parameter
3682
+ */
3683
+ username: string;
3684
+ /**
3685
+ * WordPress installation (software) identifier
3686
+ */
3687
+ software: string;
3688
+ /**
3689
+ * Slug of the installed theme to activate.
3690
+ */
3691
+ theme: string;
3692
+ };
3693
+ response: any; // Response structure will depend on the API
3694
+ };
3695
+
3441
3696
  /**
3442
3697
  * Install a theme on an existing WordPress installation.
3443
3698
 
@@ -3482,4 +3737,100 @@ job has been queued, not that the theme is ready.
3482
3737
  };
3483
3738
  response: any; // Response structure will depend on the API
3484
3739
  };
3740
+
3741
+ /**
3742
+ * List themes installed on a WordPress installation, including their status,
3743
+ available updates and known vulnerabilities.
3744
+
3745
+ Provide the WordPress installation (software) identifier in the path. It can
3746
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3747
+ */
3748
+ "hosting_listInstalledWordPressThemesV1": {
3749
+ params: {
3750
+ /**
3751
+ * username parameter
3752
+ */
3753
+ username: string;
3754
+ /**
3755
+ * WordPress installation (software) identifier
3756
+ */
3757
+ software: string;
3758
+ };
3759
+ response: any; // Response structure will depend on the API
3760
+ };
3761
+
3762
+ /**
3763
+ * List WordPress themes available to install.
3764
+
3765
+ Use the returned `slug` values with
3766
+ POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install.
3767
+ */
3768
+ "hosting_listWordPressThemesV1": {
3769
+ params: {
3770
+ /**
3771
+ * Optionally scope themes to a specific order.
3772
+ */
3773
+ order_id?: number;
3774
+ /**
3775
+ * Search term to match against theme names.
3776
+ */
3777
+ search?: string;
3778
+ };
3779
+ response: any; // Response structure will depend on the API
3780
+ };
3781
+
3782
+ /**
3783
+ * Uninstall one or more themes from a WordPress installation.
3784
+
3785
+ Provide the WordPress installation (software) identifier in the path. It can
3786
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3787
+
3788
+ This operation is asynchronous: a successful response only means the uninstall
3789
+ job has been queued.
3790
+ */
3791
+ "hosting_uninstallWordPressThemesV1": {
3792
+ params: {
3793
+ /**
3794
+ * username parameter
3795
+ */
3796
+ username: string;
3797
+ /**
3798
+ * WordPress installation (software) identifier
3799
+ */
3800
+ software: string;
3801
+ /**
3802
+ * Slugs of the installed themes to uninstall.
3803
+ */
3804
+ themes: array;
3805
+ };
3806
+ response: any; // Response structure will depend on the API
3807
+ };
3808
+
3809
+ /**
3810
+ * Update one or more installed themes to their latest version on a WordPress
3811
+ installation.
3812
+
3813
+ Provide the WordPress installation (software) identifier in the path. It can
3814
+ be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).
3815
+
3816
+ This operation is asynchronous: a successful response only means the update job
3817
+ has been queued.
3818
+ */
3819
+ "hosting_updateWordPressThemesV1": {
3820
+ params: {
3821
+ /**
3822
+ * username parameter
3823
+ */
3824
+ username: string;
3825
+ /**
3826
+ * WordPress installation (software) identifier
3827
+ */
3828
+ software: string;
3829
+ /**
3830
+ * Slugs of the installed themes to update to their latest version.
3831
+ */
3832
+ themes: array;
3833
+ };
3834
+ response: any; // Response structure will depend on the API
3835
+ };
3485
3836
  }