hostinger-api-mcp 1.45.4 → 1.46.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
@@ -5571,6 +5571,10 @@ the contact will be created with a pending status and a confirmation email will
5571
5571
  * note parameter
5572
5572
  */
5573
5573
  note?: string;
5574
+ /**
5575
+ * Existing tags to attach to the created contact
5576
+ */
5577
+ tag_uuids?: array;
5574
5578
  };
5575
5579
  response: any; // Response structure will depend on the API
5576
5580
  };
@@ -5766,6 +5770,10 @@ and a confirmation email will be sent.
5766
5770
  * note parameter
5767
5771
  */
5768
5772
  note?: string;
5773
+ /**
5774
+ * Existing tags to attach to the created contact
5775
+ */
5776
+ tag_uuids?: array;
5769
5777
  };
5770
5778
  response: any; // Response structure will depend on the API
5771
5779
  };
@@ -5933,6 +5941,74 @@ Only the segment definition is removed. The contacts that matched it are left un
5933
5941
  response: any; // Response structure will depend on the API
5934
5942
  };
5935
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
+
5936
6012
  /**
5937
6013
  * Get a paginated list of the segments defined in a profile.
5938
6014
 
@@ -6299,6 +6375,45 @@ actual records found and the suggested records required for correct email delive
6299
6375
  response: any; // Response structure will depend on the API
6300
6376
  };
6301
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
+
6302
6417
  /**
6303
6418
  * Get how much of the plan is left for the current period.
6304
6419