hostinger-api-mcp 1.32.0 → 1.33.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 +78 -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 +324 -4
- package/src/core/tools/all.ts +324 -4
- package/src/core/tools/reach.js +324 -4
- package/src/core/tools/reach.ts +324 -4
- 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 +164 -0
package/src/core/tools/all.ts
CHANGED
|
@@ -6768,7 +6768,7 @@ const tools: OpenApiTool[] = [
|
|
|
6768
6768
|
},
|
|
6769
6769
|
{
|
|
6770
6770
|
"name": "reach_listSegmentsV1",
|
|
6771
|
-
"description": "Get a list of all contact segments.\n\nThis endpoint returns a list of contact segments that can be used to organize contacts.",
|
|
6771
|
+
"description": "Get a list of all contact segments.\n\nThis endpoint returns a list of contact segments that can be used to organize contacts.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot list the segments of any other profile. Use\n`GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments` instead.",
|
|
6772
6772
|
"method": "GET",
|
|
6773
6773
|
"path": "/api/reach/v1/segmentation/segments",
|
|
6774
6774
|
"inputSchema": {
|
|
@@ -6785,7 +6785,7 @@ const tools: OpenApiTool[] = [
|
|
|
6785
6785
|
},
|
|
6786
6786
|
{
|
|
6787
6787
|
"name": "reach_createANewContactSegmentV1",
|
|
6788
|
-
"description": "Create a new contact segment.\n\nThis endpoint allows creating a new contact segment that can be used to organize contacts.\nThe segment can be configured with specific criteria like email, name, subscription status, etc.",
|
|
6788
|
+
"description": "Create a new contact segment.\n\nThis endpoint allows creating a new contact segment that can be used to organize contacts.\nThe segment can be configured with specific criteria like email, name, subscription status, etc.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot create segments in any other profile. Use\n`POST /api/reach/v1/profiles/{profileUuid}/segmentation/segments` instead.",
|
|
6789
6789
|
"method": "POST",
|
|
6790
6790
|
"path": "/api/reach/v1/segmentation/segments",
|
|
6791
6791
|
"inputSchema": {
|
|
@@ -6824,6 +6824,8 @@ const tools: OpenApiTool[] = [
|
|
|
6824
6824
|
"not_dropped",
|
|
6825
6825
|
"bounced",
|
|
6826
6826
|
"not_bounced",
|
|
6827
|
+
"soft_bounced",
|
|
6828
|
+
"not_soft_bounced",
|
|
6827
6829
|
"opened",
|
|
6828
6830
|
"not_opened",
|
|
6829
6831
|
"clicked",
|
|
@@ -6887,6 +6889,35 @@ const tools: OpenApiTool[] = [
|
|
|
6887
6889
|
],
|
|
6888
6890
|
"group": "reach"
|
|
6889
6891
|
},
|
|
6892
|
+
{
|
|
6893
|
+
"name": "reach_countProfileSegmentContactsV1",
|
|
6894
|
+
"description": "Count the contacts currently matching a segment without listing them.\n\nCheaper than paging through the segment contacts endpoint when only the size is needed.",
|
|
6895
|
+
"method": "GET",
|
|
6896
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/count",
|
|
6897
|
+
"inputSchema": {
|
|
6898
|
+
"type": "object",
|
|
6899
|
+
"properties": {
|
|
6900
|
+
"profileUuid": {
|
|
6901
|
+
"type": "string",
|
|
6902
|
+
"description": "Profile uuid parameter"
|
|
6903
|
+
},
|
|
6904
|
+
"segmentUuid": {
|
|
6905
|
+
"type": "string",
|
|
6906
|
+
"description": "Segment uuid parameter"
|
|
6907
|
+
}
|
|
6908
|
+
},
|
|
6909
|
+
"required": [
|
|
6910
|
+
"profileUuid",
|
|
6911
|
+
"segmentUuid"
|
|
6912
|
+
]
|
|
6913
|
+
},
|
|
6914
|
+
"security": [
|
|
6915
|
+
{
|
|
6916
|
+
"apiToken": []
|
|
6917
|
+
}
|
|
6918
|
+
],
|
|
6919
|
+
"group": "reach"
|
|
6920
|
+
},
|
|
6890
6921
|
{
|
|
6891
6922
|
"name": "reach_listProfileSegmentContactsV1",
|
|
6892
6923
|
"description": "Retrieve contacts associated with a specific segment for a given profile.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID, scoped to a specific profile.",
|
|
@@ -6924,9 +6955,298 @@ const tools: OpenApiTool[] = [
|
|
|
6924
6955
|
],
|
|
6925
6956
|
"group": "reach"
|
|
6926
6957
|
},
|
|
6958
|
+
{
|
|
6959
|
+
"name": "reach_getProfileSegmentDetailsV1",
|
|
6960
|
+
"description": "Get a single segment of a profile, including the conditions that define it.\n\nTo retrieve the contacts currently matching those conditions, use the segment contacts\nendpoint instead.",
|
|
6961
|
+
"method": "GET",
|
|
6962
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}",
|
|
6963
|
+
"inputSchema": {
|
|
6964
|
+
"type": "object",
|
|
6965
|
+
"properties": {
|
|
6966
|
+
"profileUuid": {
|
|
6967
|
+
"type": "string",
|
|
6968
|
+
"description": "Profile uuid parameter"
|
|
6969
|
+
},
|
|
6970
|
+
"segmentUuid": {
|
|
6971
|
+
"type": "string",
|
|
6972
|
+
"description": "Segment uuid parameter"
|
|
6973
|
+
}
|
|
6974
|
+
},
|
|
6975
|
+
"required": [
|
|
6976
|
+
"profileUuid",
|
|
6977
|
+
"segmentUuid"
|
|
6978
|
+
]
|
|
6979
|
+
},
|
|
6980
|
+
"security": [
|
|
6981
|
+
{
|
|
6982
|
+
"apiToken": []
|
|
6983
|
+
}
|
|
6984
|
+
],
|
|
6985
|
+
"group": "reach"
|
|
6986
|
+
},
|
|
6987
|
+
{
|
|
6988
|
+
"name": "reach_updateAProfileSegmentV1",
|
|
6989
|
+
"description": "Rename a segment and/or replace the conditions that define it.\n\n`name` is always required. Omit `conditions` to rename without touching the conditions;\nsupply them and they replace the existing set entirely rather than being merged into it.\nContacts are never modified, but which of them match the segment can change immediately.",
|
|
6990
|
+
"method": "PUT",
|
|
6991
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}",
|
|
6992
|
+
"inputSchema": {
|
|
6993
|
+
"type": "object",
|
|
6994
|
+
"properties": {
|
|
6995
|
+
"profileUuid": {
|
|
6996
|
+
"type": "string",
|
|
6997
|
+
"description": "Profile uuid parameter"
|
|
6998
|
+
},
|
|
6999
|
+
"segmentUuid": {
|
|
7000
|
+
"type": "string",
|
|
7001
|
+
"description": "Segment uuid parameter"
|
|
7002
|
+
},
|
|
7003
|
+
"name": {
|
|
7004
|
+
"type": "string",
|
|
7005
|
+
"description": "name parameter"
|
|
7006
|
+
},
|
|
7007
|
+
"conditions": {
|
|
7008
|
+
"type": "array",
|
|
7009
|
+
"description": "Replaces the existing conditions entirely. Omit to keep the current ones.",
|
|
7010
|
+
"items": {
|
|
7011
|
+
"type": "object",
|
|
7012
|
+
"description": "conditions parameter",
|
|
7013
|
+
"properties": {
|
|
7014
|
+
"attribute": {
|
|
7015
|
+
"type": "string",
|
|
7016
|
+
"description": "A built-in contact attribute, or `cf:{fieldUuid}` to target a custom\ncontact field. Custom fields are addressed by field UUID; their slug\nis not accepted.\n\nBuilt-in attributes: `email`, `note`, `domain`, `source`,\n`opt_in_method`, `subscription_status`, `subscribed_at`,\n`unsubscribed_at`, `created_at`, `tag`, `campaigns`, `processed`,\n`opened`, `clicked`, `delivered`, `bounced`, `soft_bounced`,\n`dropped`.\n\nWhich operators are accepted depends on the attribute."
|
|
7017
|
+
},
|
|
7018
|
+
"operator": {
|
|
7019
|
+
"type": "string",
|
|
7020
|
+
"description": "operator parameter",
|
|
7021
|
+
"enum": [
|
|
7022
|
+
"equals",
|
|
7023
|
+
"not_equals",
|
|
7024
|
+
"contains",
|
|
7025
|
+
"not_contains",
|
|
7026
|
+
"gte",
|
|
7027
|
+
"lte",
|
|
7028
|
+
"exists",
|
|
7029
|
+
"within_last_days",
|
|
7030
|
+
"not_within_last_days",
|
|
7031
|
+
"older_than_days",
|
|
7032
|
+
"processed",
|
|
7033
|
+
"not_processed",
|
|
7034
|
+
"delivered",
|
|
7035
|
+
"not_delivered",
|
|
7036
|
+
"dropped",
|
|
7037
|
+
"not_dropped",
|
|
7038
|
+
"bounced",
|
|
7039
|
+
"not_bounced",
|
|
7040
|
+
"soft_bounced",
|
|
7041
|
+
"not_soft_bounced",
|
|
7042
|
+
"opened",
|
|
7043
|
+
"not_opened",
|
|
7044
|
+
"clicked",
|
|
7045
|
+
"not_clicked",
|
|
7046
|
+
"unsubscribed",
|
|
7047
|
+
"not_unsubscribed"
|
|
7048
|
+
]
|
|
7049
|
+
},
|
|
7050
|
+
"value": {
|
|
7051
|
+
"type": "string",
|
|
7052
|
+
"description": "Always a string, including for numeric and date comparisons"
|
|
7053
|
+
}
|
|
7054
|
+
},
|
|
7055
|
+
"required": [
|
|
7056
|
+
"attribute",
|
|
7057
|
+
"operator",
|
|
7058
|
+
"value"
|
|
7059
|
+
]
|
|
7060
|
+
}
|
|
7061
|
+
},
|
|
7062
|
+
"logic": {
|
|
7063
|
+
"type": "string",
|
|
7064
|
+
"description": "How to combine multiple conditions. Required when conditions are given.",
|
|
7065
|
+
"enum": [
|
|
7066
|
+
"AND",
|
|
7067
|
+
"OR"
|
|
7068
|
+
]
|
|
7069
|
+
}
|
|
7070
|
+
},
|
|
7071
|
+
"required": [
|
|
7072
|
+
"profileUuid",
|
|
7073
|
+
"segmentUuid",
|
|
7074
|
+
"name"
|
|
7075
|
+
]
|
|
7076
|
+
},
|
|
7077
|
+
"security": [
|
|
7078
|
+
{
|
|
7079
|
+
"apiToken": []
|
|
7080
|
+
}
|
|
7081
|
+
],
|
|
7082
|
+
"group": "reach"
|
|
7083
|
+
},
|
|
7084
|
+
{
|
|
7085
|
+
"name": "reach_deleteAProfileSegmentV1",
|
|
7086
|
+
"description": "Delete a segment.\n\nOnly the segment definition is removed. The contacts that matched it are left untouched.",
|
|
7087
|
+
"method": "DELETE",
|
|
7088
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}",
|
|
7089
|
+
"inputSchema": {
|
|
7090
|
+
"type": "object",
|
|
7091
|
+
"properties": {
|
|
7092
|
+
"profileUuid": {
|
|
7093
|
+
"type": "string",
|
|
7094
|
+
"description": "Profile uuid parameter"
|
|
7095
|
+
},
|
|
7096
|
+
"segmentUuid": {
|
|
7097
|
+
"type": "string",
|
|
7098
|
+
"description": "Segment uuid parameter"
|
|
7099
|
+
}
|
|
7100
|
+
},
|
|
7101
|
+
"required": [
|
|
7102
|
+
"profileUuid",
|
|
7103
|
+
"segmentUuid"
|
|
7104
|
+
]
|
|
7105
|
+
},
|
|
7106
|
+
"security": [
|
|
7107
|
+
{
|
|
7108
|
+
"apiToken": []
|
|
7109
|
+
}
|
|
7110
|
+
],
|
|
7111
|
+
"group": "reach"
|
|
7112
|
+
},
|
|
7113
|
+
{
|
|
7114
|
+
"name": "reach_listProfileSegmentsV1",
|
|
7115
|
+
"description": "Get a paginated list of the segments defined in a profile.\n\nEach entry carries the number of contacts currently matching it, which is recalculated on\nread rather than stored. Use `count_type` to count either every matching contact or only\nthe subscribed ones.",
|
|
7116
|
+
"method": "GET",
|
|
7117
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments",
|
|
7118
|
+
"inputSchema": {
|
|
7119
|
+
"type": "object",
|
|
7120
|
+
"properties": {
|
|
7121
|
+
"profileUuid": {
|
|
7122
|
+
"type": "string",
|
|
7123
|
+
"description": "Profile uuid parameter"
|
|
7124
|
+
},
|
|
7125
|
+
"count_type": {
|
|
7126
|
+
"type": "string",
|
|
7127
|
+
"description": "Which matching contacts to count for each segment",
|
|
7128
|
+
"enum": [
|
|
7129
|
+
"all",
|
|
7130
|
+
"subscribed"
|
|
7131
|
+
]
|
|
7132
|
+
},
|
|
7133
|
+
"page": {
|
|
7134
|
+
"type": "integer",
|
|
7135
|
+
"description": "Page number"
|
|
7136
|
+
},
|
|
7137
|
+
"per_page": {
|
|
7138
|
+
"type": "integer",
|
|
7139
|
+
"description": "Number of items per page"
|
|
7140
|
+
}
|
|
7141
|
+
},
|
|
7142
|
+
"required": [
|
|
7143
|
+
"profileUuid"
|
|
7144
|
+
]
|
|
7145
|
+
},
|
|
7146
|
+
"security": [
|
|
7147
|
+
{
|
|
7148
|
+
"apiToken": []
|
|
7149
|
+
}
|
|
7150
|
+
],
|
|
7151
|
+
"group": "reach"
|
|
7152
|
+
},
|
|
7153
|
+
{
|
|
7154
|
+
"name": "reach_createAProfileSegmentV1",
|
|
7155
|
+
"description": "Create a segment in a profile.\n\nA segment is a saved set of conditions rather than a fixed list, so its membership changes\nas contacts change. Creating one does not modify any contact.",
|
|
7156
|
+
"method": "POST",
|
|
7157
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments",
|
|
7158
|
+
"inputSchema": {
|
|
7159
|
+
"type": "object",
|
|
7160
|
+
"properties": {
|
|
7161
|
+
"profileUuid": {
|
|
7162
|
+
"type": "string",
|
|
7163
|
+
"description": "Profile uuid parameter"
|
|
7164
|
+
},
|
|
7165
|
+
"name": {
|
|
7166
|
+
"type": "string",
|
|
7167
|
+
"description": "name parameter"
|
|
7168
|
+
},
|
|
7169
|
+
"conditions": {
|
|
7170
|
+
"type": "array",
|
|
7171
|
+
"description": "Conditions a contact must satisfy to fall into the segment",
|
|
7172
|
+
"items": {
|
|
7173
|
+
"type": "object",
|
|
7174
|
+
"description": "conditions parameter",
|
|
7175
|
+
"properties": {
|
|
7176
|
+
"attribute": {
|
|
7177
|
+
"type": "string",
|
|
7178
|
+
"description": "A built-in contact attribute, or `cf:{fieldUuid}` to target a custom\ncontact field. Custom fields are addressed by field UUID; their slug\nis not accepted.\n\nBuilt-in attributes: `email`, `note`, `domain`, `source`,\n`opt_in_method`, `subscription_status`, `subscribed_at`,\n`unsubscribed_at`, `created_at`, `tag`, `campaigns`, `processed`,\n`opened`, `clicked`, `delivered`, `bounced`, `soft_bounced`,\n`dropped`.\n\nWhich operators are accepted depends on the attribute."
|
|
7179
|
+
},
|
|
7180
|
+
"operator": {
|
|
7181
|
+
"type": "string",
|
|
7182
|
+
"description": "operator parameter",
|
|
7183
|
+
"enum": [
|
|
7184
|
+
"equals",
|
|
7185
|
+
"not_equals",
|
|
7186
|
+
"contains",
|
|
7187
|
+
"not_contains",
|
|
7188
|
+
"gte",
|
|
7189
|
+
"lte",
|
|
7190
|
+
"exists",
|
|
7191
|
+
"within_last_days",
|
|
7192
|
+
"not_within_last_days",
|
|
7193
|
+
"older_than_days",
|
|
7194
|
+
"processed",
|
|
7195
|
+
"not_processed",
|
|
7196
|
+
"delivered",
|
|
7197
|
+
"not_delivered",
|
|
7198
|
+
"dropped",
|
|
7199
|
+
"not_dropped",
|
|
7200
|
+
"bounced",
|
|
7201
|
+
"not_bounced",
|
|
7202
|
+
"soft_bounced",
|
|
7203
|
+
"not_soft_bounced",
|
|
7204
|
+
"opened",
|
|
7205
|
+
"not_opened",
|
|
7206
|
+
"clicked",
|
|
7207
|
+
"not_clicked",
|
|
7208
|
+
"unsubscribed",
|
|
7209
|
+
"not_unsubscribed"
|
|
7210
|
+
]
|
|
7211
|
+
},
|
|
7212
|
+
"value": {
|
|
7213
|
+
"type": "string",
|
|
7214
|
+
"description": "Always a string, including for numeric and date comparisons"
|
|
7215
|
+
}
|
|
7216
|
+
},
|
|
7217
|
+
"required": [
|
|
7218
|
+
"attribute",
|
|
7219
|
+
"operator",
|
|
7220
|
+
"value"
|
|
7221
|
+
]
|
|
7222
|
+
}
|
|
7223
|
+
},
|
|
7224
|
+
"logic": {
|
|
7225
|
+
"type": "string",
|
|
7226
|
+
"description": "How to combine multiple conditions",
|
|
7227
|
+
"enum": [
|
|
7228
|
+
"AND",
|
|
7229
|
+
"OR"
|
|
7230
|
+
]
|
|
7231
|
+
}
|
|
7232
|
+
},
|
|
7233
|
+
"required": [
|
|
7234
|
+
"profileUuid",
|
|
7235
|
+
"name",
|
|
7236
|
+
"conditions",
|
|
7237
|
+
"logic"
|
|
7238
|
+
]
|
|
7239
|
+
},
|
|
7240
|
+
"security": [
|
|
7241
|
+
{
|
|
7242
|
+
"apiToken": []
|
|
7243
|
+
}
|
|
7244
|
+
],
|
|
7245
|
+
"group": "reach"
|
|
7246
|
+
},
|
|
6927
7247
|
{
|
|
6928
7248
|
"name": "reach_listSegmentContactsV1",
|
|
6929
|
-
"description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.",
|
|
7249
|
+
"description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot read segments of any other profile. Use\n`GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts` instead.",
|
|
6930
7250
|
"method": "GET",
|
|
6931
7251
|
"path": "/api/reach/v1/segmentation/segments/{segmentUuid}/contacts",
|
|
6932
7252
|
"inputSchema": {
|
|
@@ -6958,7 +7278,7 @@ const tools: OpenApiTool[] = [
|
|
|
6958
7278
|
},
|
|
6959
7279
|
{
|
|
6960
7280
|
"name": "reach_getSegmentDetailsV1",
|
|
6961
|
-
"description": "Get details of a specific segment.\n\nThis endpoint retrieves information about a single segment identified by UUID.\nSegments are used to organize and group contacts based on specific criteria.",
|
|
7281
|
+
"description": "Get details of a specific segment.\n\nThis endpoint retrieves information about a single segment identified by UUID.\nSegments are used to organize and group contacts based on specific criteria.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot read segments of any other profile. Use\n`GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}` instead.",
|
|
6962
7282
|
"method": "GET",
|
|
6963
7283
|
"path": "/api/reach/v1/segmentation/segments/{segmentUuid}",
|
|
6964
7284
|
"inputSchema": {
|