hostinger-api-mcp 0.1.37 → 0.1.40
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/.github/workflows/build-release.yaml +1 -0
- package/README.md +179 -740
- package/build.js +7 -2
- package/package.json +11 -5
- package/src/core/runtime.js +2106 -0
- package/src/core/runtime.ts +2137 -0
- package/{server.ts → src/core/tools/all.js} +238 -2267
- package/{server.js → src/core/tools/all.ts} +248 -2236
- package/src/core/tools/billing.js +163 -0
- package/src/core/tools/billing.ts +174 -0
- package/src/core/tools/dns.js +343 -0
- package/src/core/tools/dns.ts +354 -0
- package/src/core/tools/domains.js +533 -0
- package/src/core/tools/domains.ts +544 -0
- package/src/core/tools/hosting.js +448 -0
- package/src/core/tools/hosting.ts +459 -0
- package/src/core/tools/reach.js +349 -0
- package/src/core/tools/reach.ts +360 -0
- package/src/core/tools/vps.js +1816 -0
- package/src/core/tools/vps.ts +1827 -0
- package/src/servers/all.js +6 -0
- package/src/servers/all.ts +6 -0
- package/src/servers/billing.js +6 -0
- package/src/servers/billing.ts +6 -0
- package/src/servers/dns.js +6 -0
- package/src/servers/dns.ts +6 -0
- package/src/servers/domains.js +6 -0
- package/src/servers/domains.ts +6 -0
- package/src/servers/hosting.js +6 -0
- package/src/servers/hosting.ts +6 -0
- package/src/servers/reach.js +6 -0
- package/src/servers/reach.ts +6 -0
- package/src/servers/vps.js +6 -0
- package/src/servers/vps.ts +6 -0
- package/tsconfig.json +3 -2
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
// Auto-generated tool list for group: reach
|
|
2
|
+
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "reach_deleteAContactV1",
|
|
5
|
+
"description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
|
|
6
|
+
"method": "DELETE",
|
|
7
|
+
"path": "/api/reach/v1/contacts/{uuid}",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"uuid": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "UUID of the contact to delete"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"uuid"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"security": [
|
|
21
|
+
{
|
|
22
|
+
"apiToken": []
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"group": "reach"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "reach_listContactGroupsV1",
|
|
29
|
+
"description": "Get a list of all contact groups.\n\nThis endpoint returns a list of contact groups that can be used to organize contacts.",
|
|
30
|
+
"method": "GET",
|
|
31
|
+
"path": "/api/reach/v1/contacts/groups",
|
|
32
|
+
"inputSchema": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {},
|
|
35
|
+
"required": []
|
|
36
|
+
},
|
|
37
|
+
"security": [
|
|
38
|
+
{
|
|
39
|
+
"apiToken": []
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"group": "reach"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "reach_listContactsV1",
|
|
46
|
+
"description": "Get a list of contacts, optionally filtered by group and subscription status.\n\nThis endpoint returns a paginated list of contacts with their basic information.\nYou can filter contacts by group UUID and subscription status.",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"path": "/api/reach/v1/contacts",
|
|
49
|
+
"inputSchema": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"group_uuid": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Filter contacts by group UUID"
|
|
55
|
+
},
|
|
56
|
+
"subscription_status": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "Filter contacts by subscription status",
|
|
59
|
+
"enum": [
|
|
60
|
+
"subscribed",
|
|
61
|
+
"unsubscribed"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"page": {
|
|
65
|
+
"type": "integer",
|
|
66
|
+
"description": "Page number"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": []
|
|
70
|
+
},
|
|
71
|
+
"security": [
|
|
72
|
+
{
|
|
73
|
+
"apiToken": []
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"group": "reach"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "reach_createANewContactV1",
|
|
80
|
+
"description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled,\nthe contact will be created with a pending status and a confirmation email will be sent.",
|
|
81
|
+
"method": "POST",
|
|
82
|
+
"path": "/api/reach/v1/contacts",
|
|
83
|
+
"inputSchema": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"email": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "email parameter"
|
|
89
|
+
},
|
|
90
|
+
"name": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "name parameter"
|
|
93
|
+
},
|
|
94
|
+
"surname": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "surname parameter"
|
|
97
|
+
},
|
|
98
|
+
"note": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "note parameter"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": [
|
|
104
|
+
"email"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"security": [
|
|
108
|
+
{
|
|
109
|
+
"apiToken": []
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"group": "reach"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "reach_listSegmentsV1",
|
|
116
|
+
"description": "Get a list of all contact segments.\n\nThis endpoint returns a list of contact segments that can be used to organize contacts.",
|
|
117
|
+
"method": "GET",
|
|
118
|
+
"path": "/api/reach/v1/segmentation/segments",
|
|
119
|
+
"inputSchema": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {},
|
|
122
|
+
"required": []
|
|
123
|
+
},
|
|
124
|
+
"security": [
|
|
125
|
+
{
|
|
126
|
+
"apiToken": []
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"group": "reach"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "reach_createANewContactSegmentV1",
|
|
133
|
+
"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.",
|
|
134
|
+
"method": "POST",
|
|
135
|
+
"path": "/api/reach/v1/segmentation/segments",
|
|
136
|
+
"inputSchema": {
|
|
137
|
+
"type": "object",
|
|
138
|
+
"properties": {
|
|
139
|
+
"name": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "name parameter"
|
|
142
|
+
},
|
|
143
|
+
"conditions": {
|
|
144
|
+
"type": "array",
|
|
145
|
+
"description": "conditions parameter",
|
|
146
|
+
"items": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"description": "conditions parameter",
|
|
149
|
+
"properties": {
|
|
150
|
+
"operator": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"description": "operator parameter",
|
|
153
|
+
"enum": [
|
|
154
|
+
"equals",
|
|
155
|
+
"not_equals",
|
|
156
|
+
"contains",
|
|
157
|
+
"not_contains",
|
|
158
|
+
"gte",
|
|
159
|
+
"lte",
|
|
160
|
+
"exists",
|
|
161
|
+
"within_last_days",
|
|
162
|
+
"not_within_last_days",
|
|
163
|
+
"older_than_days",
|
|
164
|
+
"processed",
|
|
165
|
+
"not_processed",
|
|
166
|
+
"delivered",
|
|
167
|
+
"not_delivered",
|
|
168
|
+
"dropped",
|
|
169
|
+
"not_dropped",
|
|
170
|
+
"bounced",
|
|
171
|
+
"not_bounced",
|
|
172
|
+
"opened",
|
|
173
|
+
"not_opened",
|
|
174
|
+
"clicked",
|
|
175
|
+
"not_clicked",
|
|
176
|
+
"unsubscribed",
|
|
177
|
+
"not_unsubscribed"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"value": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "value parameter"
|
|
183
|
+
},
|
|
184
|
+
"attribute": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"description": "attribute parameter",
|
|
187
|
+
"enum": [
|
|
188
|
+
"note",
|
|
189
|
+
"comment",
|
|
190
|
+
"domain",
|
|
191
|
+
"integration",
|
|
192
|
+
"source",
|
|
193
|
+
"name",
|
|
194
|
+
"surname",
|
|
195
|
+
"email",
|
|
196
|
+
"subscribed_at",
|
|
197
|
+
"unsubscribed_at",
|
|
198
|
+
"subscription_status",
|
|
199
|
+
"processed",
|
|
200
|
+
"opened",
|
|
201
|
+
"clicked",
|
|
202
|
+
"delivered",
|
|
203
|
+
"bounced",
|
|
204
|
+
"unsubscribed",
|
|
205
|
+
"dropped",
|
|
206
|
+
"tag",
|
|
207
|
+
"campaigns"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"logic": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"description": "logic parameter",
|
|
216
|
+
"enum": [
|
|
217
|
+
"AND",
|
|
218
|
+
"OR"
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"required": [
|
|
223
|
+
"name",
|
|
224
|
+
"conditions",
|
|
225
|
+
"logic"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"security": [
|
|
229
|
+
{
|
|
230
|
+
"apiToken": []
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"group": "reach"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "reach_listSegmentContactsV1",
|
|
237
|
+
"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.",
|
|
238
|
+
"method": "GET",
|
|
239
|
+
"path": "/api/reach/v1/segmentation/segments/{segmentUuid}/contacts",
|
|
240
|
+
"inputSchema": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"segmentUuid": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"description": "Segment uuid parameter"
|
|
246
|
+
},
|
|
247
|
+
"page": {
|
|
248
|
+
"type": "integer",
|
|
249
|
+
"description": "Page number"
|
|
250
|
+
},
|
|
251
|
+
"per_page": {
|
|
252
|
+
"type": "integer",
|
|
253
|
+
"description": "Number of items per page"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"required": [
|
|
257
|
+
"segmentUuid"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"security": [
|
|
261
|
+
{
|
|
262
|
+
"apiToken": []
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"group": "reach"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "reach_getSegmentDetailsV1",
|
|
269
|
+
"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.",
|
|
270
|
+
"method": "GET",
|
|
271
|
+
"path": "/api/reach/v1/segmentation/segments/{segmentUuid}",
|
|
272
|
+
"inputSchema": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"properties": {
|
|
275
|
+
"segmentUuid": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"description": "Segment uuid parameter"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"required": [
|
|
281
|
+
"segmentUuid"
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"security": [
|
|
285
|
+
{
|
|
286
|
+
"apiToken": []
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"group": "reach"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "reach_createNewContactsV1",
|
|
293
|
+
"description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled, the contact will be created with a pending status\nand a confirmation email will be sent.",
|
|
294
|
+
"method": "POST",
|
|
295
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/contacts",
|
|
296
|
+
"inputSchema": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"profileUuid": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"description": "Profile uuid parameter"
|
|
302
|
+
},
|
|
303
|
+
"email": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"description": "email parameter"
|
|
306
|
+
},
|
|
307
|
+
"name": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"description": "name parameter"
|
|
310
|
+
},
|
|
311
|
+
"surname": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"description": "surname parameter"
|
|
314
|
+
},
|
|
315
|
+
"note": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"description": "note parameter"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"required": [
|
|
321
|
+
"profileUuid",
|
|
322
|
+
"email"
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
"security": [
|
|
326
|
+
{
|
|
327
|
+
"apiToken": []
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"group": "reach"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "reach_listProfilesV1",
|
|
334
|
+
"description": "This endpoint returns all profiles available to the client, including their basic information.",
|
|
335
|
+
"method": "GET",
|
|
336
|
+
"path": "/api/reach/v1/profiles",
|
|
337
|
+
"inputSchema": {
|
|
338
|
+
"type": "object",
|
|
339
|
+
"properties": {},
|
|
340
|
+
"required": []
|
|
341
|
+
},
|
|
342
|
+
"security": [
|
|
343
|
+
{
|
|
344
|
+
"apiToken": []
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"group": "reach"
|
|
348
|
+
}
|
|
349
|
+
];
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
// Auto-generated tool list for group: reach
|
|
2
|
+
import type { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
3
|
+
|
|
4
|
+
export interface OpenApiTool extends Tool {
|
|
5
|
+
method: string;
|
|
6
|
+
path: string;
|
|
7
|
+
security: unknown[];
|
|
8
|
+
custom?: boolean;
|
|
9
|
+
group?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const tools: OpenApiTool[] = [
|
|
13
|
+
{
|
|
14
|
+
"name": "reach_deleteAContactV1",
|
|
15
|
+
"description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
|
|
16
|
+
"method": "DELETE",
|
|
17
|
+
"path": "/api/reach/v1/contacts/{uuid}",
|
|
18
|
+
"inputSchema": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"uuid": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "UUID of the contact to delete"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"uuid"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"security": [
|
|
31
|
+
{
|
|
32
|
+
"apiToken": []
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"group": "reach"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "reach_listContactGroupsV1",
|
|
39
|
+
"description": "Get a list of all contact groups.\n\nThis endpoint returns a list of contact groups that can be used to organize contacts.",
|
|
40
|
+
"method": "GET",
|
|
41
|
+
"path": "/api/reach/v1/contacts/groups",
|
|
42
|
+
"inputSchema": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {},
|
|
45
|
+
"required": []
|
|
46
|
+
},
|
|
47
|
+
"security": [
|
|
48
|
+
{
|
|
49
|
+
"apiToken": []
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"group": "reach"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "reach_listContactsV1",
|
|
56
|
+
"description": "Get a list of contacts, optionally filtered by group and subscription status.\n\nThis endpoint returns a paginated list of contacts with their basic information.\nYou can filter contacts by group UUID and subscription status.",
|
|
57
|
+
"method": "GET",
|
|
58
|
+
"path": "/api/reach/v1/contacts",
|
|
59
|
+
"inputSchema": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"group_uuid": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Filter contacts by group UUID"
|
|
65
|
+
},
|
|
66
|
+
"subscription_status": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Filter contacts by subscription status",
|
|
69
|
+
"enum": [
|
|
70
|
+
"subscribed",
|
|
71
|
+
"unsubscribed"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"page": {
|
|
75
|
+
"type": "integer",
|
|
76
|
+
"description": "Page number"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": []
|
|
80
|
+
},
|
|
81
|
+
"security": [
|
|
82
|
+
{
|
|
83
|
+
"apiToken": []
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"group": "reach"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "reach_createANewContactV1",
|
|
90
|
+
"description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled,\nthe contact will be created with a pending status and a confirmation email will be sent.",
|
|
91
|
+
"method": "POST",
|
|
92
|
+
"path": "/api/reach/v1/contacts",
|
|
93
|
+
"inputSchema": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"email": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"description": "email parameter"
|
|
99
|
+
},
|
|
100
|
+
"name": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "name parameter"
|
|
103
|
+
},
|
|
104
|
+
"surname": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"description": "surname parameter"
|
|
107
|
+
},
|
|
108
|
+
"note": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "note parameter"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": [
|
|
114
|
+
"email"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"security": [
|
|
118
|
+
{
|
|
119
|
+
"apiToken": []
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"group": "reach"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "reach_listSegmentsV1",
|
|
126
|
+
"description": "Get a list of all contact segments.\n\nThis endpoint returns a list of contact segments that can be used to organize contacts.",
|
|
127
|
+
"method": "GET",
|
|
128
|
+
"path": "/api/reach/v1/segmentation/segments",
|
|
129
|
+
"inputSchema": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {},
|
|
132
|
+
"required": []
|
|
133
|
+
},
|
|
134
|
+
"security": [
|
|
135
|
+
{
|
|
136
|
+
"apiToken": []
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"group": "reach"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "reach_createANewContactSegmentV1",
|
|
143
|
+
"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.",
|
|
144
|
+
"method": "POST",
|
|
145
|
+
"path": "/api/reach/v1/segmentation/segments",
|
|
146
|
+
"inputSchema": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"name": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "name parameter"
|
|
152
|
+
},
|
|
153
|
+
"conditions": {
|
|
154
|
+
"type": "array",
|
|
155
|
+
"description": "conditions parameter",
|
|
156
|
+
"items": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"description": "conditions parameter",
|
|
159
|
+
"properties": {
|
|
160
|
+
"operator": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"description": "operator parameter",
|
|
163
|
+
"enum": [
|
|
164
|
+
"equals",
|
|
165
|
+
"not_equals",
|
|
166
|
+
"contains",
|
|
167
|
+
"not_contains",
|
|
168
|
+
"gte",
|
|
169
|
+
"lte",
|
|
170
|
+
"exists",
|
|
171
|
+
"within_last_days",
|
|
172
|
+
"not_within_last_days",
|
|
173
|
+
"older_than_days",
|
|
174
|
+
"processed",
|
|
175
|
+
"not_processed",
|
|
176
|
+
"delivered",
|
|
177
|
+
"not_delivered",
|
|
178
|
+
"dropped",
|
|
179
|
+
"not_dropped",
|
|
180
|
+
"bounced",
|
|
181
|
+
"not_bounced",
|
|
182
|
+
"opened",
|
|
183
|
+
"not_opened",
|
|
184
|
+
"clicked",
|
|
185
|
+
"not_clicked",
|
|
186
|
+
"unsubscribed",
|
|
187
|
+
"not_unsubscribed"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"value": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "value parameter"
|
|
193
|
+
},
|
|
194
|
+
"attribute": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"description": "attribute parameter",
|
|
197
|
+
"enum": [
|
|
198
|
+
"note",
|
|
199
|
+
"comment",
|
|
200
|
+
"domain",
|
|
201
|
+
"integration",
|
|
202
|
+
"source",
|
|
203
|
+
"name",
|
|
204
|
+
"surname",
|
|
205
|
+
"email",
|
|
206
|
+
"subscribed_at",
|
|
207
|
+
"unsubscribed_at",
|
|
208
|
+
"subscription_status",
|
|
209
|
+
"processed",
|
|
210
|
+
"opened",
|
|
211
|
+
"clicked",
|
|
212
|
+
"delivered",
|
|
213
|
+
"bounced",
|
|
214
|
+
"unsubscribed",
|
|
215
|
+
"dropped",
|
|
216
|
+
"tag",
|
|
217
|
+
"campaigns"
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"logic": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "logic parameter",
|
|
226
|
+
"enum": [
|
|
227
|
+
"AND",
|
|
228
|
+
"OR"
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"required": [
|
|
233
|
+
"name",
|
|
234
|
+
"conditions",
|
|
235
|
+
"logic"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"security": [
|
|
239
|
+
{
|
|
240
|
+
"apiToken": []
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"group": "reach"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "reach_listSegmentContactsV1",
|
|
247
|
+
"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.",
|
|
248
|
+
"method": "GET",
|
|
249
|
+
"path": "/api/reach/v1/segmentation/segments/{segmentUuid}/contacts",
|
|
250
|
+
"inputSchema": {
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"segmentUuid": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "Segment uuid parameter"
|
|
256
|
+
},
|
|
257
|
+
"page": {
|
|
258
|
+
"type": "integer",
|
|
259
|
+
"description": "Page number"
|
|
260
|
+
},
|
|
261
|
+
"per_page": {
|
|
262
|
+
"type": "integer",
|
|
263
|
+
"description": "Number of items per page"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"required": [
|
|
267
|
+
"segmentUuid"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"security": [
|
|
271
|
+
{
|
|
272
|
+
"apiToken": []
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"group": "reach"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "reach_getSegmentDetailsV1",
|
|
279
|
+
"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.",
|
|
280
|
+
"method": "GET",
|
|
281
|
+
"path": "/api/reach/v1/segmentation/segments/{segmentUuid}",
|
|
282
|
+
"inputSchema": {
|
|
283
|
+
"type": "object",
|
|
284
|
+
"properties": {
|
|
285
|
+
"segmentUuid": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"description": "Segment uuid parameter"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"required": [
|
|
291
|
+
"segmentUuid"
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
"security": [
|
|
295
|
+
{
|
|
296
|
+
"apiToken": []
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"group": "reach"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "reach_createNewContactsV1",
|
|
303
|
+
"description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled, the contact will be created with a pending status\nand a confirmation email will be sent.",
|
|
304
|
+
"method": "POST",
|
|
305
|
+
"path": "/api/reach/v1/profiles/{profileUuid}/contacts",
|
|
306
|
+
"inputSchema": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"properties": {
|
|
309
|
+
"profileUuid": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"description": "Profile uuid parameter"
|
|
312
|
+
},
|
|
313
|
+
"email": {
|
|
314
|
+
"type": "string",
|
|
315
|
+
"description": "email parameter"
|
|
316
|
+
},
|
|
317
|
+
"name": {
|
|
318
|
+
"type": "string",
|
|
319
|
+
"description": "name parameter"
|
|
320
|
+
},
|
|
321
|
+
"surname": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"description": "surname parameter"
|
|
324
|
+
},
|
|
325
|
+
"note": {
|
|
326
|
+
"type": "string",
|
|
327
|
+
"description": "note parameter"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"required": [
|
|
331
|
+
"profileUuid",
|
|
332
|
+
"email"
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
"security": [
|
|
336
|
+
{
|
|
337
|
+
"apiToken": []
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"group": "reach"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "reach_listProfilesV1",
|
|
344
|
+
"description": "This endpoint returns all profiles available to the client, including their basic information.",
|
|
345
|
+
"method": "GET",
|
|
346
|
+
"path": "/api/reach/v1/profiles",
|
|
347
|
+
"inputSchema": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {},
|
|
350
|
+
"required": []
|
|
351
|
+
},
|
|
352
|
+
"security": [
|
|
353
|
+
{
|
|
354
|
+
"apiToken": []
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"group": "reach"
|
|
358
|
+
}
|
|
359
|
+
];
|
|
360
|
+
export default tools;
|