hostinger-api-mcp 1.28.0 → 1.29.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 +109 -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 +216 -0
- package/src/core/tools/all.ts +216 -0
- package/src/core/tools/domains.js +216 -0
- package/src/core/tools/domains.ts +216 -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 +161 -0
package/types.d.ts
CHANGED
|
@@ -1232,6 +1232,167 @@ for example when the confirmation email cannot be received, without waiting out
|
|
|
1232
1232
|
response: any; // Response structure will depend on the API
|
|
1233
1233
|
};
|
|
1234
1234
|
|
|
1235
|
+
/**
|
|
1236
|
+
* Retrieve the incoming move for a specified domain.
|
|
1237
|
+
|
|
1238
|
+
Returns 404 when no account is moving this domain to you.
|
|
1239
|
+
|
|
1240
|
+
Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
1241
|
+
*/
|
|
1242
|
+
"domains_getIncomingDomainMoveV1": {
|
|
1243
|
+
params: {
|
|
1244
|
+
/**
|
|
1245
|
+
* Domain name
|
|
1246
|
+
*/
|
|
1247
|
+
domain: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
1250
|
+
*/
|
|
1251
|
+
force_sync?: boolean;
|
|
1252
|
+
};
|
|
1253
|
+
response: any; // Response structure will depend on the API
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Accept an incoming move for a specified domain.
|
|
1258
|
+
|
|
1259
|
+
The provided WHOIS profiles become the contacts of the domain, so they must belong
|
|
1260
|
+
to your account and satisfy the requirements of the TLD. Only the contact types the
|
|
1261
|
+
domain actually uses are applied, but all four profile IDs have to be provided.
|
|
1262
|
+
|
|
1263
|
+
The move has to still be waiting for your decision, already accepted moves
|
|
1264
|
+
cannot be accepted again.
|
|
1265
|
+
|
|
1266
|
+
Accepting does not complete the move. A confirmation email is sent to the email address of
|
|
1267
|
+
the new owner contact, and the domain changes hands only after the change is confirmed from it.
|
|
1268
|
+
Until then the move stays in the `activating` status, which can be followed with the
|
|
1269
|
+
[incoming move endpoint](#tag/domains-move).
|
|
1270
|
+
|
|
1271
|
+
Use this endpoint to take ownership of a domain offered to you.
|
|
1272
|
+
*/
|
|
1273
|
+
"domains_acceptIncomingDomainMoveV1": {
|
|
1274
|
+
params: {
|
|
1275
|
+
/**
|
|
1276
|
+
* Domain name
|
|
1277
|
+
*/
|
|
1278
|
+
domain: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* WHOIS profiles of the accepting account. Only the contact types required by the TLD are applied, but all four IDs must be provided.
|
|
1281
|
+
*/
|
|
1282
|
+
domain_contacts: object;
|
|
1283
|
+
};
|
|
1284
|
+
response: any; // Response structure will depend on the API
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Reject an incoming move for a specified domain.
|
|
1289
|
+
|
|
1290
|
+
The domain stays in the account which initiated the move.
|
|
1291
|
+
Moves you have already accepted cannot be rejected anymore.
|
|
1292
|
+
|
|
1293
|
+
Use this endpoint to decline a domain you do not want to take over.
|
|
1294
|
+
*/
|
|
1295
|
+
"domains_rejectIncomingDomainMoveV1": {
|
|
1296
|
+
params: {
|
|
1297
|
+
/**
|
|
1298
|
+
* Domain name
|
|
1299
|
+
*/
|
|
1300
|
+
domain: string;
|
|
1301
|
+
};
|
|
1302
|
+
response: any; // Response structure will depend on the API
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Retrieve all domains other Hostinger accounts are moving to your account.
|
|
1307
|
+
|
|
1308
|
+
Moves of every status are returned, including the ones which already completed.
|
|
1309
|
+
|
|
1310
|
+
Use this endpoint to find domains waiting for you to accept them.
|
|
1311
|
+
*/
|
|
1312
|
+
"domains_getIncomingDomainMoveListV1": {
|
|
1313
|
+
params: {
|
|
1314
|
+
|
|
1315
|
+
};
|
|
1316
|
+
response: any; // Response structure will depend on the API
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* Retrieve the outgoing move for a specified domain.
|
|
1321
|
+
|
|
1322
|
+
Returns 404 when the domain has no move in progress.
|
|
1323
|
+
|
|
1324
|
+
Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
1325
|
+
*/
|
|
1326
|
+
"domains_getOutgoingDomainMoveV1": {
|
|
1327
|
+
params: {
|
|
1328
|
+
/**
|
|
1329
|
+
* Domain name
|
|
1330
|
+
*/
|
|
1331
|
+
domain: string;
|
|
1332
|
+
};
|
|
1333
|
+
response: any; // Response structure will depend on the API
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* Initiate a move of a specified domain to another Hostinger account.
|
|
1338
|
+
|
|
1339
|
+
The receiving account has to already exist and accept the move before the domain changes hands.
|
|
1340
|
+
|
|
1341
|
+
The domain must be active. The subscription it belongs to is resolved automatically,
|
|
1342
|
+
and the request is rejected with a 404 status code when the domain has no domain
|
|
1343
|
+
subscription of its own.
|
|
1344
|
+
|
|
1345
|
+
Domains protected by premium protection require an additional verification step,
|
|
1346
|
+
such requests are rejected with a 428 status code.
|
|
1347
|
+
|
|
1348
|
+
Use this endpoint to hand a domain over to another Hostinger user.
|
|
1349
|
+
*/
|
|
1350
|
+
"domains_startOutgoingDomainMoveV1": {
|
|
1351
|
+
params: {
|
|
1352
|
+
/**
|
|
1353
|
+
* Domain name
|
|
1354
|
+
*/
|
|
1355
|
+
domain: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* Email address of the Hostinger account receiving the domain
|
|
1358
|
+
*/
|
|
1359
|
+
new_customer_email: string;
|
|
1360
|
+
};
|
|
1361
|
+
response: any; // Response structure will depend on the API
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Cancel an outgoing move for a specified domain.
|
|
1366
|
+
|
|
1367
|
+
The move can only be cancelled while the receiving account has not accepted it yet.
|
|
1368
|
+
The domain stays in your account.
|
|
1369
|
+
|
|
1370
|
+
Use this endpoint to withdraw a move you no longer want to complete.
|
|
1371
|
+
*/
|
|
1372
|
+
"domains_cancelOutgoingDomainMoveV1": {
|
|
1373
|
+
params: {
|
|
1374
|
+
/**
|
|
1375
|
+
* Domain name
|
|
1376
|
+
*/
|
|
1377
|
+
domain: string;
|
|
1378
|
+
};
|
|
1379
|
+
response: any; // Response structure will depend on the API
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Retrieve all domains you are moving to other Hostinger accounts.
|
|
1384
|
+
|
|
1385
|
+
Only moves which have not completed yet are returned.
|
|
1386
|
+
|
|
1387
|
+
Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
1388
|
+
*/
|
|
1389
|
+
"domains_getOutgoingDomainMoveListV1": {
|
|
1390
|
+
params: {
|
|
1391
|
+
|
|
1392
|
+
};
|
|
1393
|
+
response: any; // Response structure will depend on the API
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1235
1396
|
/**
|
|
1236
1397
|
* Retrieve the authorization (EPP) code for a specified domain so it can be transferred
|
|
1237
1398
|
away from Hostinger to another registrar.
|