@hostinger/mcp 3.41.0 → 3.42.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +66 -3
  3. package/gemini-extension.json +1 -1
  4. package/package.json +1 -1
  5. package/server.json +2 -2
  6. package/skills/headless/VERSION +1 -1
  7. package/src/core/runtime.js +1 -1
  8. package/src/core/runtime.ts +1 -1
  9. package/src/core/tools/all.js +249 -0
  10. package/src/core/tools/all.ts +249 -0
  11. package/src/core/tools/gpu.js +124 -0
  12. package/src/core/tools/gpu.ts +124 -0
  13. package/src/core/tools/reach.js +125 -0
  14. package/src/core/tools/reach.ts +125 -0
  15. package/src/servers/agency-hosting.js +1 -1
  16. package/src/servers/agency-hosting.ts +1 -1
  17. package/src/servers/agent-readiness.js +1 -1
  18. package/src/servers/agent-readiness.ts +1 -1
  19. package/src/servers/all.js +1 -1
  20. package/src/servers/all.ts +1 -1
  21. package/src/servers/billing.js +1 -1
  22. package/src/servers/billing.ts +1 -1
  23. package/src/servers/dns.js +1 -1
  24. package/src/servers/dns.ts +1 -1
  25. package/src/servers/domains.js +1 -1
  26. package/src/servers/domains.ts +1 -1
  27. package/src/servers/ecommerce.js +1 -1
  28. package/src/servers/ecommerce.ts +1 -1
  29. package/src/servers/gpu.js +1 -1
  30. package/src/servers/gpu.ts +1 -1
  31. package/src/servers/horizons.js +1 -1
  32. package/src/servers/horizons.ts +1 -1
  33. package/src/servers/hosting.js +1 -1
  34. package/src/servers/hosting.ts +1 -1
  35. package/src/servers/mail.js +1 -1
  36. package/src/servers/mail.ts +1 -1
  37. package/src/servers/reach.js +1 -1
  38. package/src/servers/reach.ts +1 -1
  39. package/src/servers/vps.js +1 -1
  40. package/src/servers/vps.ts +1 -1
  41. package/src/servers/wordpress.js +1 -1
  42. package/src/servers/wordpress.ts +1 -1
  43. package/types.d.ts +159 -0
@@ -6204,6 +6204,130 @@ const tools: OpenApiTool[] = [
6204
6204
  ],
6205
6205
  "group": "gpu"
6206
6206
  },
6207
+ {
6208
+ "name": "gpu_exposed-services_delete",
6209
+ "title": "Delete exposed service",
6210
+ "annotations": {
6211
+ "title": "Delete exposed service",
6212
+ "readOnlyHint": false,
6213
+ "destructiveHint": true,
6214
+ "idempotentHint": true
6215
+ },
6216
+ "description": "Delete a specified exposed service of a GPU instance.\n\nThe service is removed asynchronously: a successful request returns immediately and the service\nstops being reachable from the internet shortly after.\n\nUse this endpoint to close public access to a service on your GPU instance.",
6217
+ "method": "DELETE",
6218
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
6219
+ "inputSchema": {
6220
+ "type": "object",
6221
+ "properties": {
6222
+ "instanceId": {
6223
+ "type": "integer",
6224
+ "description": "GPU instance ID"
6225
+ },
6226
+ "exposedServiceId": {
6227
+ "type": "integer",
6228
+ "description": "Exposed service ID"
6229
+ }
6230
+ },
6231
+ "required": [
6232
+ "instanceId",
6233
+ "exposedServiceId"
6234
+ ]
6235
+ },
6236
+ "security": [
6237
+ {
6238
+ "apiToken": []
6239
+ }
6240
+ ],
6241
+ "group": "gpu"
6242
+ },
6243
+ {
6244
+ "name": "gpu_exposed-services_list",
6245
+ "title": "Get exposed services",
6246
+ "annotations": {
6247
+ "title": "Get exposed services",
6248
+ "readOnlyHint": true,
6249
+ "destructiveHint": false
6250
+ },
6251
+ "description": "Retrieve the services exposed on a specified GPU instance.\n\nA newly created service is listed once it gets its public hostname and external port.\n\nUse this endpoint to find the public address of services running on your GPU instance.",
6252
+ "method": "GET",
6253
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
6254
+ "inputSchema": {
6255
+ "type": "object",
6256
+ "properties": {
6257
+ "instanceId": {
6258
+ "type": "integer",
6259
+ "description": "GPU instance ID"
6260
+ }
6261
+ },
6262
+ "required": [
6263
+ "instanceId"
6264
+ ]
6265
+ },
6266
+ "security": [
6267
+ {
6268
+ "apiToken": []
6269
+ }
6270
+ ],
6271
+ "group": "gpu"
6272
+ },
6273
+ {
6274
+ "name": "gpu_exposed-services_create",
6275
+ "title": "Create exposed service",
6276
+ "annotations": {
6277
+ "title": "Create exposed service",
6278
+ "readOnlyHint": false,
6279
+ "destructiveHint": false
6280
+ },
6281
+ "description": "Expose a service running on a specified GPU instance to the internet.\n\nThe service is exposed asynchronously: a successful request returns immediately, and the service\nappears in the exposed services list once it gets its public hostname and external port.\nFails when the instance already has the maximum of 4 exposed services.\n\nUse this endpoint to make an application on your GPU instance publicly reachable.",
6282
+ "method": "POST",
6283
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
6284
+ "inputSchema": {
6285
+ "type": "object",
6286
+ "properties": {
6287
+ "instanceId": {
6288
+ "type": "integer",
6289
+ "description": "GPU instance ID"
6290
+ },
6291
+ "name": {
6292
+ "type": "string",
6293
+ "description": "Service name, unique within the instance"
6294
+ },
6295
+ "internal_port": {
6296
+ "type": "integer",
6297
+ "description": "Port the service listens on inside the instance, unique within the instance"
6298
+ },
6299
+ "protocol": {
6300
+ "type": "string",
6301
+ "description": "protocol parameter",
6302
+ "enum": [
6303
+ "tcp",
6304
+ "udp"
6305
+ ]
6306
+ },
6307
+ "type": {
6308
+ "type": "string",
6309
+ "description": "type parameter",
6310
+ "enum": [
6311
+ "http",
6312
+ "https"
6313
+ ]
6314
+ }
6315
+ },
6316
+ "required": [
6317
+ "instanceId",
6318
+ "name",
6319
+ "internal_port",
6320
+ "protocol",
6321
+ "type"
6322
+ ]
6323
+ },
6324
+ "security": [
6325
+ {
6326
+ "apiToken": []
6327
+ }
6328
+ ],
6329
+ "group": "gpu"
6330
+ },
6207
6331
  {
6208
6332
  "name": "gpu_instances_list",
6209
6333
  "title": "Get instances",
@@ -12392,6 +12516,96 @@ const tools: OpenApiTool[] = [
12392
12516
  ],
12393
12517
  "group": "reach"
12394
12518
  },
12519
+ {
12520
+ "name": "reach_campaigns_update",
12521
+ "title": "Update campaign",
12522
+ "annotations": {
12523
+ "title": "Update campaign",
12524
+ "readOnlyHint": false,
12525
+ "destructiveHint": true,
12526
+ "idempotentHint": true
12527
+ },
12528
+ "description": "Update a campaign's content, sender, template and audience.\n\nOnly `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or\nalready sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes\nreplace rather than merge: `all_contacts: true` targets every contact of the profile, while\n`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as\nit is. This does not send the campaign - use the send endpoint for that.",
12529
+ "method": "PATCH",
12530
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
12531
+ "inputSchema": {
12532
+ "type": "object",
12533
+ "properties": {
12534
+ "profileUuid": {
12535
+ "type": "string",
12536
+ "description": "Profile uuid parameter"
12537
+ },
12538
+ "campaignUuid": {
12539
+ "type": "string",
12540
+ "description": "Campaign uuid parameter"
12541
+ },
12542
+ "title": {
12543
+ "type": "string",
12544
+ "description": "Name the campaign is listed under. Not shown to the recipients."
12545
+ },
12546
+ "subject": {
12547
+ "type": "string",
12548
+ "description": "Subject line of the email."
12549
+ },
12550
+ "sender_name": {
12551
+ "type": "string",
12552
+ "description": "From name shown to the recipients."
12553
+ },
12554
+ "sender_email": {
12555
+ "type": "string",
12556
+ "description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
12557
+ },
12558
+ "template_uuid": {
12559
+ "type": "string",
12560
+ "description": "Template to send, as returned by the template endpoints."
12561
+ },
12562
+ "all_contacts": {
12563
+ "type": "boolean",
12564
+ "description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
12565
+ },
12566
+ "segment_uuids": {
12567
+ "type": "array",
12568
+ "description": "Segments to target. Replaces the segments currently targeted.",
12569
+ "items": {
12570
+ "type": "string",
12571
+ "description": "segment_uuids parameter"
12572
+ }
12573
+ },
12574
+ "excluded_segment_uuids": {
12575
+ "type": "array",
12576
+ "description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
12577
+ "items": {
12578
+ "type": "string",
12579
+ "description": "excluded_segment_uuids parameter"
12580
+ }
12581
+ },
12582
+ "metadata": {
12583
+ "type": "object",
12584
+ "description": "Extra campaign fields. Any key outside the listed ones is rejected.",
12585
+ "properties": {
12586
+ "preheader": {
12587
+ "type": "string",
12588
+ "description": "Preview text shown after the subject line in the inbox."
12589
+ },
12590
+ "source": {
12591
+ "type": "string",
12592
+ "description": "Where the campaign was created from."
12593
+ }
12594
+ }
12595
+ }
12596
+ },
12597
+ "required": [
12598
+ "profileUuid",
12599
+ "campaignUuid"
12600
+ ]
12601
+ },
12602
+ "security": [
12603
+ {
12604
+ "apiToken": []
12605
+ }
12606
+ ],
12607
+ "group": "reach"
12608
+ },
12395
12609
  {
12396
12610
  "name": "reach_campaigns_list",
12397
12611
  "title": "List campaigns",
@@ -12524,6 +12738,41 @@ const tools: OpenApiTool[] = [
12524
12738
  ],
12525
12739
  "group": "reach"
12526
12740
  },
12741
+ {
12742
+ "name": "reach_campaigns_send",
12743
+ "title": "Send campaign",
12744
+ "annotations": {
12745
+ "title": "Send campaign",
12746
+ "readOnlyHint": false,
12747
+ "destructiveHint": false
12748
+ },
12749
+ "description": "Send a campaign now to the audience stored on it.\n\nThis is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the\ncustomer before calling. The campaign needs a subject, sender, template and audience first - set\nthem with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:\nthe campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow\nit. The request is rejected when the campaign has no recipients, its sender domain is not verified\nor is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.",
12750
+ "method": "POST",
12751
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
12752
+ "inputSchema": {
12753
+ "type": "object",
12754
+ "properties": {
12755
+ "profileUuid": {
12756
+ "type": "string",
12757
+ "description": "Profile uuid parameter"
12758
+ },
12759
+ "campaignUuid": {
12760
+ "type": "string",
12761
+ "description": "Campaign uuid parameter"
12762
+ }
12763
+ },
12764
+ "required": [
12765
+ "profileUuid",
12766
+ "campaignUuid"
12767
+ ]
12768
+ },
12769
+ "security": [
12770
+ {
12771
+ "apiToken": []
12772
+ }
12773
+ ],
12774
+ "group": "reach"
12775
+ },
12527
12776
  {
12528
12777
  "name": "reach_campaigns_performance",
12529
12778
  "title": "Get campaign performance",
@@ -112,6 +112,130 @@ export default [
112
112
  ],
113
113
  "group": "gpu"
114
114
  },
115
+ {
116
+ "name": "gpu_exposed-services_delete",
117
+ "title": "Delete exposed service",
118
+ "annotations": {
119
+ "title": "Delete exposed service",
120
+ "readOnlyHint": false,
121
+ "destructiveHint": true,
122
+ "idempotentHint": true
123
+ },
124
+ "description": "Delete a specified exposed service of a GPU instance.\n\nThe service is removed asynchronously: a successful request returns immediately and the service\nstops being reachable from the internet shortly after.\n\nUse this endpoint to close public access to a service on your GPU instance.",
125
+ "method": "DELETE",
126
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
127
+ "inputSchema": {
128
+ "type": "object",
129
+ "properties": {
130
+ "instanceId": {
131
+ "type": "integer",
132
+ "description": "GPU instance ID"
133
+ },
134
+ "exposedServiceId": {
135
+ "type": "integer",
136
+ "description": "Exposed service ID"
137
+ }
138
+ },
139
+ "required": [
140
+ "instanceId",
141
+ "exposedServiceId"
142
+ ]
143
+ },
144
+ "security": [
145
+ {
146
+ "apiToken": []
147
+ }
148
+ ],
149
+ "group": "gpu"
150
+ },
151
+ {
152
+ "name": "gpu_exposed-services_list",
153
+ "title": "Get exposed services",
154
+ "annotations": {
155
+ "title": "Get exposed services",
156
+ "readOnlyHint": true,
157
+ "destructiveHint": false
158
+ },
159
+ "description": "Retrieve the services exposed on a specified GPU instance.\n\nA newly created service is listed once it gets its public hostname and external port.\n\nUse this endpoint to find the public address of services running on your GPU instance.",
160
+ "method": "GET",
161
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
162
+ "inputSchema": {
163
+ "type": "object",
164
+ "properties": {
165
+ "instanceId": {
166
+ "type": "integer",
167
+ "description": "GPU instance ID"
168
+ }
169
+ },
170
+ "required": [
171
+ "instanceId"
172
+ ]
173
+ },
174
+ "security": [
175
+ {
176
+ "apiToken": []
177
+ }
178
+ ],
179
+ "group": "gpu"
180
+ },
181
+ {
182
+ "name": "gpu_exposed-services_create",
183
+ "title": "Create exposed service",
184
+ "annotations": {
185
+ "title": "Create exposed service",
186
+ "readOnlyHint": false,
187
+ "destructiveHint": false
188
+ },
189
+ "description": "Expose a service running on a specified GPU instance to the internet.\n\nThe service is exposed asynchronously: a successful request returns immediately, and the service\nappears in the exposed services list once it gets its public hostname and external port.\nFails when the instance already has the maximum of 4 exposed services.\n\nUse this endpoint to make an application on your GPU instance publicly reachable.",
190
+ "method": "POST",
191
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
192
+ "inputSchema": {
193
+ "type": "object",
194
+ "properties": {
195
+ "instanceId": {
196
+ "type": "integer",
197
+ "description": "GPU instance ID"
198
+ },
199
+ "name": {
200
+ "type": "string",
201
+ "description": "Service name, unique within the instance"
202
+ },
203
+ "internal_port": {
204
+ "type": "integer",
205
+ "description": "Port the service listens on inside the instance, unique within the instance"
206
+ },
207
+ "protocol": {
208
+ "type": "string",
209
+ "description": "protocol parameter",
210
+ "enum": [
211
+ "tcp",
212
+ "udp"
213
+ ]
214
+ },
215
+ "type": {
216
+ "type": "string",
217
+ "description": "type parameter",
218
+ "enum": [
219
+ "http",
220
+ "https"
221
+ ]
222
+ }
223
+ },
224
+ "required": [
225
+ "instanceId",
226
+ "name",
227
+ "internal_port",
228
+ "protocol",
229
+ "type"
230
+ ]
231
+ },
232
+ "security": [
233
+ {
234
+ "apiToken": []
235
+ }
236
+ ],
237
+ "group": "gpu"
238
+ },
115
239
  {
116
240
  "name": "gpu_instances_list",
117
241
  "title": "Get instances",
@@ -131,6 +131,130 @@ const tools: OpenApiTool[] = [
131
131
  ],
132
132
  "group": "gpu"
133
133
  },
134
+ {
135
+ "name": "gpu_exposed-services_delete",
136
+ "title": "Delete exposed service",
137
+ "annotations": {
138
+ "title": "Delete exposed service",
139
+ "readOnlyHint": false,
140
+ "destructiveHint": true,
141
+ "idempotentHint": true
142
+ },
143
+ "description": "Delete a specified exposed service of a GPU instance.\n\nThe service is removed asynchronously: a successful request returns immediately and the service\nstops being reachable from the internet shortly after.\n\nUse this endpoint to close public access to a service on your GPU instance.",
144
+ "method": "DELETE",
145
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services/{exposedServiceId}",
146
+ "inputSchema": {
147
+ "type": "object",
148
+ "properties": {
149
+ "instanceId": {
150
+ "type": "integer",
151
+ "description": "GPU instance ID"
152
+ },
153
+ "exposedServiceId": {
154
+ "type": "integer",
155
+ "description": "Exposed service ID"
156
+ }
157
+ },
158
+ "required": [
159
+ "instanceId",
160
+ "exposedServiceId"
161
+ ]
162
+ },
163
+ "security": [
164
+ {
165
+ "apiToken": []
166
+ }
167
+ ],
168
+ "group": "gpu"
169
+ },
170
+ {
171
+ "name": "gpu_exposed-services_list",
172
+ "title": "Get exposed services",
173
+ "annotations": {
174
+ "title": "Get exposed services",
175
+ "readOnlyHint": true,
176
+ "destructiveHint": false
177
+ },
178
+ "description": "Retrieve the services exposed on a specified GPU instance.\n\nA newly created service is listed once it gets its public hostname and external port.\n\nUse this endpoint to find the public address of services running on your GPU instance.",
179
+ "method": "GET",
180
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
181
+ "inputSchema": {
182
+ "type": "object",
183
+ "properties": {
184
+ "instanceId": {
185
+ "type": "integer",
186
+ "description": "GPU instance ID"
187
+ }
188
+ },
189
+ "required": [
190
+ "instanceId"
191
+ ]
192
+ },
193
+ "security": [
194
+ {
195
+ "apiToken": []
196
+ }
197
+ ],
198
+ "group": "gpu"
199
+ },
200
+ {
201
+ "name": "gpu_exposed-services_create",
202
+ "title": "Create exposed service",
203
+ "annotations": {
204
+ "title": "Create exposed service",
205
+ "readOnlyHint": false,
206
+ "destructiveHint": false
207
+ },
208
+ "description": "Expose a service running on a specified GPU instance to the internet.\n\nThe service is exposed asynchronously: a successful request returns immediately, and the service\nappears in the exposed services list once it gets its public hostname and external port.\nFails when the instance already has the maximum of 4 exposed services.\n\nUse this endpoint to make an application on your GPU instance publicly reachable.",
209
+ "method": "POST",
210
+ "path": "/api/gpu/v1/instances/{instanceId}/exposed-services",
211
+ "inputSchema": {
212
+ "type": "object",
213
+ "properties": {
214
+ "instanceId": {
215
+ "type": "integer",
216
+ "description": "GPU instance ID"
217
+ },
218
+ "name": {
219
+ "type": "string",
220
+ "description": "Service name, unique within the instance"
221
+ },
222
+ "internal_port": {
223
+ "type": "integer",
224
+ "description": "Port the service listens on inside the instance, unique within the instance"
225
+ },
226
+ "protocol": {
227
+ "type": "string",
228
+ "description": "protocol parameter",
229
+ "enum": [
230
+ "tcp",
231
+ "udp"
232
+ ]
233
+ },
234
+ "type": {
235
+ "type": "string",
236
+ "description": "type parameter",
237
+ "enum": [
238
+ "http",
239
+ "https"
240
+ ]
241
+ }
242
+ },
243
+ "required": [
244
+ "instanceId",
245
+ "name",
246
+ "internal_port",
247
+ "protocol",
248
+ "type"
249
+ ]
250
+ },
251
+ "security": [
252
+ {
253
+ "apiToken": []
254
+ }
255
+ ],
256
+ "group": "gpu"
257
+ },
134
258
  {
135
259
  "name": "gpu_instances_list",
136
260
  "title": "Get instances",
@@ -211,6 +211,96 @@ export default [
211
211
  ],
212
212
  "group": "reach"
213
213
  },
214
+ {
215
+ "name": "reach_campaigns_update",
216
+ "title": "Update campaign",
217
+ "annotations": {
218
+ "title": "Update campaign",
219
+ "readOnlyHint": false,
220
+ "destructiveHint": true,
221
+ "idempotentHint": true
222
+ },
223
+ "description": "Update a campaign's content, sender, template and audience.\n\nOnly `draft`, `scheduled` and `failed` campaigns can be updated; a campaign that is sending or\nalready sent is rejected. Updating a `failed` campaign moves it back to `draft`. Audience changes\nreplace rather than merge: `all_contacts: true` targets every contact of the profile, while\n`segment_uuids` replaces the segments currently targeted. Leave both out to keep the audience as\nit is. This does not send the campaign - use the send endpoint for that.",
224
+ "method": "PATCH",
225
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}",
226
+ "inputSchema": {
227
+ "type": "object",
228
+ "properties": {
229
+ "profileUuid": {
230
+ "type": "string",
231
+ "description": "Profile uuid parameter"
232
+ },
233
+ "campaignUuid": {
234
+ "type": "string",
235
+ "description": "Campaign uuid parameter"
236
+ },
237
+ "title": {
238
+ "type": "string",
239
+ "description": "Name the campaign is listed under. Not shown to the recipients."
240
+ },
241
+ "subject": {
242
+ "type": "string",
243
+ "description": "Subject line of the email."
244
+ },
245
+ "sender_name": {
246
+ "type": "string",
247
+ "description": "From name shown to the recipients."
248
+ },
249
+ "sender_email": {
250
+ "type": "string",
251
+ "description": "From address of the campaign. Its domain has to be verified on the profile before\nthe campaign can be sent."
252
+ },
253
+ "template_uuid": {
254
+ "type": "string",
255
+ "description": "Template to send, as returned by the template endpoints."
256
+ },
257
+ "all_contacts": {
258
+ "type": "boolean",
259
+ "description": "`true` targets every contact of the profile, `false` targets only `segment_uuids`.\nRequired when `segment_uuids` or `excluded_segment_uuids` is sent."
260
+ },
261
+ "segment_uuids": {
262
+ "type": "array",
263
+ "description": "Segments to target. Replaces the segments currently targeted.",
264
+ "items": {
265
+ "type": "string",
266
+ "description": "segment_uuids parameter"
267
+ }
268
+ },
269
+ "excluded_segment_uuids": {
270
+ "type": "array",
271
+ "description": "Segments to leave out. Only allowed together with `all_contacts: true`.",
272
+ "items": {
273
+ "type": "string",
274
+ "description": "excluded_segment_uuids parameter"
275
+ }
276
+ },
277
+ "metadata": {
278
+ "type": "object",
279
+ "description": "Extra campaign fields. Any key outside the listed ones is rejected.",
280
+ "properties": {
281
+ "preheader": {
282
+ "type": "string",
283
+ "description": "Preview text shown after the subject line in the inbox."
284
+ },
285
+ "source": {
286
+ "type": "string",
287
+ "description": "Where the campaign was created from."
288
+ }
289
+ }
290
+ }
291
+ },
292
+ "required": [
293
+ "profileUuid",
294
+ "campaignUuid"
295
+ ]
296
+ },
297
+ "security": [
298
+ {
299
+ "apiToken": []
300
+ }
301
+ ],
302
+ "group": "reach"
303
+ },
214
304
  {
215
305
  "name": "reach_campaigns_list",
216
306
  "title": "List campaigns",
@@ -343,6 +433,41 @@ export default [
343
433
  ],
344
434
  "group": "reach"
345
435
  },
436
+ {
437
+ "name": "reach_campaigns_send",
438
+ "title": "Send campaign",
439
+ "annotations": {
440
+ "title": "Send campaign",
441
+ "readOnlyHint": false,
442
+ "destructiveHint": false
443
+ },
444
+ "description": "Send a campaign now to the audience stored on it.\n\nThis is irreversible: once accepted, the emails go out and cannot be recalled. Confirm with the\ncustomer before calling. The campaign needs a subject, sender, template and audience first - set\nthem with the update endpoint. Delivery is asynchronous, so success means accepted, not delivered:\nthe campaign moves to `sending` and later to `publish`, or to `failed`. Read the campaign to follow\nit. The request is rejected when the campaign has no recipients, its sender domain is not verified\nor is blocked, the plan's sending limits would be exceeded, or the campaign is already being sent.",
445
+ "method": "POST",
446
+ "path": "/api/reach/v1/profiles/{profileUuid}/campaigns/{campaignUuid}/send",
447
+ "inputSchema": {
448
+ "type": "object",
449
+ "properties": {
450
+ "profileUuid": {
451
+ "type": "string",
452
+ "description": "Profile uuid parameter"
453
+ },
454
+ "campaignUuid": {
455
+ "type": "string",
456
+ "description": "Campaign uuid parameter"
457
+ }
458
+ },
459
+ "required": [
460
+ "profileUuid",
461
+ "campaignUuid"
462
+ ]
463
+ },
464
+ "security": [
465
+ {
466
+ "apiToken": []
467
+ }
468
+ ],
469
+ "group": "reach"
470
+ },
346
471
  {
347
472
  "name": "reach_campaigns_performance",
348
473
  "title": "Get campaign performance",