hostinger-api-mcp 1.31.0 → 1.32.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/README.md +85 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +258 -0
- package/src/core/tools/all.ts +258 -0
- package/src/core/tools/reach.js +258 -0
- package/src/core/tools/reach.ts +258 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +179 -0
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -4665,6 +4665,185 @@ Segments are used to organize and group contacts based on specific criteria.
|
|
|
4665
4665
|
response: any; // Response structure will depend on the API
|
|
4666
4666
|
};
|
|
4667
4667
|
|
|
4668
|
+
/**
|
|
4669
|
+
* Assign a tag to a single contact.
|
|
4670
|
+
|
|
4671
|
+
Unlike the bulk endpoint this is applied immediately rather than queued. Assigning a tag
|
|
4672
|
+
the contact already carries succeeds without duplicating it.
|
|
4673
|
+
*/
|
|
4674
|
+
"reach_assignAContactToATagV1": {
|
|
4675
|
+
params: {
|
|
4676
|
+
/**
|
|
4677
|
+
* Profile uuid parameter
|
|
4678
|
+
*/
|
|
4679
|
+
profileUuid: string;
|
|
4680
|
+
/**
|
|
4681
|
+
* Tag uuid parameter
|
|
4682
|
+
*/
|
|
4683
|
+
tagUuid: string;
|
|
4684
|
+
/**
|
|
4685
|
+
* Contact uuid parameter
|
|
4686
|
+
*/
|
|
4687
|
+
contactUuid: string;
|
|
4688
|
+
};
|
|
4689
|
+
response: any; // Response structure will depend on the API
|
|
4690
|
+
};
|
|
4691
|
+
|
|
4692
|
+
/**
|
|
4693
|
+
* Remove a tag from a single contact.
|
|
4694
|
+
|
|
4695
|
+
Unlike the bulk endpoint this is applied immediately rather than queued. Neither the tag
|
|
4696
|
+
nor the contact is deleted.
|
|
4697
|
+
*/
|
|
4698
|
+
"reach_removeAContactFromATagV1": {
|
|
4699
|
+
params: {
|
|
4700
|
+
/**
|
|
4701
|
+
* Profile uuid parameter
|
|
4702
|
+
*/
|
|
4703
|
+
profileUuid: string;
|
|
4704
|
+
/**
|
|
4705
|
+
* Tag uuid parameter
|
|
4706
|
+
*/
|
|
4707
|
+
tagUuid: string;
|
|
4708
|
+
/**
|
|
4709
|
+
* Contact uuid parameter
|
|
4710
|
+
*/
|
|
4711
|
+
contactUuid: string;
|
|
4712
|
+
};
|
|
4713
|
+
response: any; // Response structure will depend on the API
|
|
4714
|
+
};
|
|
4715
|
+
|
|
4716
|
+
/**
|
|
4717
|
+
* Assign a tag to many contacts at once.
|
|
4718
|
+
|
|
4719
|
+
Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact
|
|
4720
|
+
in the profile. The work is queued, so a success response means it was accepted rather than
|
|
4721
|
+
finished. Contacts that already carry the tag are left alone.
|
|
4722
|
+
*/
|
|
4723
|
+
"reach_assignContactsToATagV1": {
|
|
4724
|
+
params: {
|
|
4725
|
+
/**
|
|
4726
|
+
* Profile uuid parameter
|
|
4727
|
+
*/
|
|
4728
|
+
profileUuid: string;
|
|
4729
|
+
/**
|
|
4730
|
+
* Tag uuid parameter
|
|
4731
|
+
*/
|
|
4732
|
+
tagUuid: string;
|
|
4733
|
+
/**
|
|
4734
|
+
* Contacts to apply the change to. Required unless all_contacts is true.
|
|
4735
|
+
*/
|
|
4736
|
+
contact_uuids?: array;
|
|
4737
|
+
/**
|
|
4738
|
+
* Apply to every contact in the profile
|
|
4739
|
+
*/
|
|
4740
|
+
all_contacts?: boolean;
|
|
4741
|
+
};
|
|
4742
|
+
response: any; // Response structure will depend on the API
|
|
4743
|
+
};
|
|
4744
|
+
|
|
4745
|
+
/**
|
|
4746
|
+
* Remove a tag from many contacts at once.
|
|
4747
|
+
|
|
4748
|
+
Pass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact
|
|
4749
|
+
in the profile. The work is queued, so a success response means it was accepted rather than
|
|
4750
|
+
finished. The tag itself and the contacts are not deleted.
|
|
4751
|
+
*/
|
|
4752
|
+
"reach_removeContactsFromATagV1": {
|
|
4753
|
+
params: {
|
|
4754
|
+
/**
|
|
4755
|
+
* Profile uuid parameter
|
|
4756
|
+
*/
|
|
4757
|
+
profileUuid: string;
|
|
4758
|
+
/**
|
|
4759
|
+
* Tag uuid parameter
|
|
4760
|
+
*/
|
|
4761
|
+
tagUuid: string;
|
|
4762
|
+
};
|
|
4763
|
+
response: any; // Response structure will depend on the API
|
|
4764
|
+
};
|
|
4765
|
+
|
|
4766
|
+
/**
|
|
4767
|
+
* Delete a tag and remove it from every contact carrying it.
|
|
4768
|
+
|
|
4769
|
+
The contacts themselves are not deleted. This is idempotent: deleting a tag that does not
|
|
4770
|
+
exist in the profile still succeeds.
|
|
4771
|
+
*/
|
|
4772
|
+
"reach_deleteATagV1": {
|
|
4773
|
+
params: {
|
|
4774
|
+
/**
|
|
4775
|
+
* Profile uuid parameter
|
|
4776
|
+
*/
|
|
4777
|
+
profileUuid: string;
|
|
4778
|
+
/**
|
|
4779
|
+
* Tag uuid parameter
|
|
4780
|
+
*/
|
|
4781
|
+
tagUuid: string;
|
|
4782
|
+
};
|
|
4783
|
+
response: any; // Response structure will depend on the API
|
|
4784
|
+
};
|
|
4785
|
+
|
|
4786
|
+
/**
|
|
4787
|
+
* Rename a tag.
|
|
4788
|
+
|
|
4789
|
+
The contacts assigned to the tag are unaffected. Names are unique within a profile, so
|
|
4790
|
+
renaming a tag to a name that is already taken is rejected.
|
|
4791
|
+
*/
|
|
4792
|
+
"reach_renameATagV1": {
|
|
4793
|
+
params: {
|
|
4794
|
+
/**
|
|
4795
|
+
* Profile uuid parameter
|
|
4796
|
+
*/
|
|
4797
|
+
profileUuid: string;
|
|
4798
|
+
/**
|
|
4799
|
+
* Tag uuid parameter
|
|
4800
|
+
*/
|
|
4801
|
+
tagUuid: string;
|
|
4802
|
+
/**
|
|
4803
|
+
* New tag name
|
|
4804
|
+
*/
|
|
4805
|
+
value: string;
|
|
4806
|
+
};
|
|
4807
|
+
response: any; // Response structure will depend on the API
|
|
4808
|
+
};
|
|
4809
|
+
|
|
4810
|
+
/**
|
|
4811
|
+
* Get all tags defined in a profile.
|
|
4812
|
+
|
|
4813
|
+
Tags are the way contacts are grouped in Reach, and can be used to filter the contact
|
|
4814
|
+
list or to build segments.
|
|
4815
|
+
*/
|
|
4816
|
+
"reach_listProfileTagsV1": {
|
|
4817
|
+
params: {
|
|
4818
|
+
/**
|
|
4819
|
+
* Profile uuid parameter
|
|
4820
|
+
*/
|
|
4821
|
+
profileUuid: string;
|
|
4822
|
+
};
|
|
4823
|
+
response: any; // Response structure will depend on the API
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
/**
|
|
4827
|
+
* Create tags in a profile.
|
|
4828
|
+
|
|
4829
|
+
Names that already exist in the profile are not duplicated: the existing tag is returned
|
|
4830
|
+
instead, so the call is safe to repeat. Every tag in the request is returned, whether it
|
|
4831
|
+
was created now or already existed.
|
|
4832
|
+
*/
|
|
4833
|
+
"reach_createOrFindTagsV1": {
|
|
4834
|
+
params: {
|
|
4835
|
+
/**
|
|
4836
|
+
* Profile uuid parameter
|
|
4837
|
+
*/
|
|
4838
|
+
profileUuid: string;
|
|
4839
|
+
/**
|
|
4840
|
+
* names parameter
|
|
4841
|
+
*/
|
|
4842
|
+
names: array;
|
|
4843
|
+
};
|
|
4844
|
+
response: any; // Response structure will depend on the API
|
|
4845
|
+
};
|
|
4846
|
+
|
|
4668
4847
|
/**
|
|
4669
4848
|
* Retrieve the DNS configuration status for a profile's domain.
|
|
4670
4849
|
|