hostinger-api-mcp 1.45.5 → 1.46.1
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 +58 -3
- 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 +193 -1
- package/src/core/tools/all.ts +193 -1
- package/src/core/tools/ecommerce.js +1 -1
- package/src/core/tools/ecommerce.ts +1 -1
- package/src/core/tools/reach.js +192 -0
- package/src/core/tools/reach.ts +192 -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 +108 -1
package/types.d.ts
CHANGED
|
@@ -2301,7 +2301,7 @@ every remaining unfulfilled item. Returns the updated order summary.
|
|
|
2301
2301
|
status, customer email, order number or a free-text query. Amounts are in the smallest
|
|
2302
2302
|
currency unit. Retrieve a single order for its line items, addresses and fulfilments.
|
|
2303
2303
|
*/
|
|
2304
|
-
"
|
|
2304
|
+
"ecommerce_listStoreOrdersV1": {
|
|
2305
2305
|
params: {
|
|
2306
2306
|
/**
|
|
2307
2307
|
* The ID of the store to list orders for.
|
|
@@ -5941,6 +5941,74 @@ Only the segment definition is removed. The contacts that matched it are left un
|
|
|
5941
5941
|
response: any; // Response structure will depend on the API
|
|
5942
5942
|
};
|
|
5943
5943
|
|
|
5944
|
+
/**
|
|
5945
|
+
* List every attribute a segment condition can filter on, with the operators each attribute
|
|
5946
|
+
accepts, the value format they expect and, where the value is constrained, the allowed
|
|
5947
|
+
values.
|
|
5948
|
+
|
|
5949
|
+
The list is profile specific: it includes the profile's custom contact fields, its tags and
|
|
5950
|
+
its 20 most recently published campaigns, so the valid attributes cannot be hardcoded. Read
|
|
5951
|
+
it before creating or updating a segment to discover the valid `attribute`, `operator` and
|
|
5952
|
+
`value` combinations.
|
|
5953
|
+
*/
|
|
5954
|
+
"reach_listSegmentFilterAttributesV1": {
|
|
5955
|
+
params: {
|
|
5956
|
+
/**
|
|
5957
|
+
* Profile uuid parameter
|
|
5958
|
+
*/
|
|
5959
|
+
profileUuid: string;
|
|
5960
|
+
};
|
|
5961
|
+
response: any; // Response structure will depend on the API
|
|
5962
|
+
};
|
|
5963
|
+
|
|
5964
|
+
/**
|
|
5965
|
+
* Preview the contacts matching a set of conditions without saving a segment.
|
|
5966
|
+
|
|
5967
|
+
The body is the same set of conditions accepted when creating or updating a segment, so this
|
|
5968
|
+
is how to check who a filter reaches, and how many, before persisting it. Nothing is stored
|
|
5969
|
+
and no contact is modified.
|
|
5970
|
+
|
|
5971
|
+
Call the segment filter attributes endpoint first to discover the valid `attribute`,
|
|
5972
|
+
`operator` and `value` combinations.
|
|
5973
|
+
*/
|
|
5974
|
+
"reach_previewContactsMatchingConditionsV1": {
|
|
5975
|
+
params: {
|
|
5976
|
+
/**
|
|
5977
|
+
* Profile uuid parameter
|
|
5978
|
+
*/
|
|
5979
|
+
profileUuid: string;
|
|
5980
|
+
/**
|
|
5981
|
+
* Conditions a contact must satisfy to appear in the preview
|
|
5982
|
+
*/
|
|
5983
|
+
conditions: array;
|
|
5984
|
+
/**
|
|
5985
|
+
* How to combine multiple conditions
|
|
5986
|
+
*/
|
|
5987
|
+
logic: string;
|
|
5988
|
+
/**
|
|
5989
|
+
* Page number
|
|
5990
|
+
*/
|
|
5991
|
+
page?: number;
|
|
5992
|
+
/**
|
|
5993
|
+
* Number of items per page
|
|
5994
|
+
*/
|
|
5995
|
+
per_page?: number;
|
|
5996
|
+
/**
|
|
5997
|
+
* Narrow the preview to contacts whose email matches
|
|
5998
|
+
*/
|
|
5999
|
+
search?: string;
|
|
6000
|
+
/**
|
|
6001
|
+
* sort_by parameter
|
|
6002
|
+
*/
|
|
6003
|
+
sort_by?: string;
|
|
6004
|
+
/**
|
|
6005
|
+
* sort_direction parameter
|
|
6006
|
+
*/
|
|
6007
|
+
sort_direction?: string;
|
|
6008
|
+
};
|
|
6009
|
+
response: any; // Response structure will depend on the API
|
|
6010
|
+
};
|
|
6011
|
+
|
|
5944
6012
|
/**
|
|
5945
6013
|
* Get a paginated list of the segments defined in a profile.
|
|
5946
6014
|
|
|
@@ -6307,6 +6375,45 @@ actual records found and the suggested records required for correct email delive
|
|
|
6307
6375
|
response: any; // Response structure will depend on the API
|
|
6308
6376
|
};
|
|
6309
6377
|
|
|
6378
|
+
/**
|
|
6379
|
+
* Get the sending domain connected to the profile, its verification status and any suspended
|
|
6380
|
+
sender addresses.
|
|
6381
|
+
|
|
6382
|
+
Campaigns only go out once a domain is connected and active, so this is the cheapest way to
|
|
6383
|
+
check that precondition before building one. A profile with no domain connected returns the
|
|
6384
|
+
same shape with every field set to `null`. For the individual MX, SPF, DKIM and DMARC records
|
|
6385
|
+
behind the status, use the DNS status endpoint.
|
|
6386
|
+
*/
|
|
6387
|
+
"reach_getConnectedSendingDomainV1": {
|
|
6388
|
+
params: {
|
|
6389
|
+
/**
|
|
6390
|
+
* Profile uuid parameter
|
|
6391
|
+
*/
|
|
6392
|
+
profileUuid: string;
|
|
6393
|
+
};
|
|
6394
|
+
response: any; // Response structure will depend on the API
|
|
6395
|
+
};
|
|
6396
|
+
|
|
6397
|
+
/**
|
|
6398
|
+
* List which plan features the profile can use.
|
|
6399
|
+
|
|
6400
|
+
This is the feature lock matrix, not a usage quota. `available` means the feature can be
|
|
6401
|
+
used right now and `locked` means it is not part of the base plan, so an upgrade is needed.
|
|
6402
|
+
For remaining emails, recipients and AI credits use the limits endpoint instead.
|
|
6403
|
+
|
|
6404
|
+
Worth checking before building something that cannot be activated afterwards, such as an
|
|
6405
|
+
automation on a plan without automation activation.
|
|
6406
|
+
*/
|
|
6407
|
+
"reach_listPlanFeatureAccessV1": {
|
|
6408
|
+
params: {
|
|
6409
|
+
/**
|
|
6410
|
+
* Profile uuid parameter
|
|
6411
|
+
*/
|
|
6412
|
+
profileUuid: string;
|
|
6413
|
+
};
|
|
6414
|
+
response: any; // Response structure will depend on the API
|
|
6415
|
+
};
|
|
6416
|
+
|
|
6310
6417
|
/**
|
|
6311
6418
|
* Get how much of the plan is left for the current period.
|
|
6312
6419
|
|