hostinger-api-mcp 1.27.1 → 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/types.d.ts CHANGED
@@ -1199,6 +1199,200 @@ Use this endpoint to set up domain redirects to other URLs.
1199
1199
  response: any; // Response structure will depend on the API
1200
1200
  };
1201
1201
 
1202
+ /**
1203
+ * Retrieve a pending IRTP verification for a domain.
1204
+
1205
+ Both the old and new registrant must confirm it before the WHOIS change takes effect.
1206
+
1207
+ Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
1208
+ */
1209
+ "domains_getPendingIRTPVerificationV1": {
1210
+ params: {
1211
+ /**
1212
+ * Domain name
1213
+ */
1214
+ domain: string;
1215
+ };
1216
+ response: any; // Response structure will depend on the API
1217
+ };
1218
+
1219
+ /**
1220
+ * Cancel a pending IRTP verification.
1221
+
1222
+ Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation,
1223
+ for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
1224
+ */
1225
+ "domains_cancelPendingIRTPVerificationV1": {
1226
+ params: {
1227
+ /**
1228
+ * Domain name
1229
+ */
1230
+ domain: string;
1231
+ };
1232
+ response: any; // Response structure will depend on the API
1233
+ };
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
+
1202
1396
  /**
1203
1397
  * Retrieve the authorization (EPP) code for a specified domain so it can be transferred
1204
1398
  away from Hostinger to another registrar.
@@ -1434,18 +1628,32 @@ Use this endpoint to monitor incoming and outgoing registrar transfers across yo
1434
1628
  };
1435
1629
 
1436
1630
  /**
1437
- * Unset WHOIS contact profile as default.
1631
+ * Change WHOIS contact profile for a domain.
1438
1632
 
1439
- The profile itself is kept, it is only no longer pre-selected for its TLD.
1633
+ Repoints the given contact roles to a new WHOIS profile and submits the change to the registry.
1634
+ The profile currently assigned to those roles is resolved automatically;
1635
+ the request fails if the given roles are not all on the same profile today.
1440
1636
 
1441
- Use this endpoint to stop reusing contact information for new registrations.
1637
+ Changing transfer sensitive fields on the owner contact starts an IRTP verification.
1638
+
1639
+ The change is processed asynchronously.
1640
+
1641
+ Use this endpoint to move a registered domain onto different contact information.
1442
1642
  */
1443
- "domains_unsetDefaultWHOISProfileV1": {
1643
+ "domains_changeWHOISProfileForDomainV1": {
1444
1644
  params: {
1445
1645
  /**
1446
- * WHOIS ID
1646
+ * WHOIS profile ID to assign to the domain
1447
1647
  */
1448
- whoisId: number;
1648
+ new_whois_id: number;
1649
+ /**
1650
+ * Domain name
1651
+ */
1652
+ domain: string;
1653
+ /**
1654
+ * Contact roles to repoint to the new WHOIS profile
1655
+ */
1656
+ change_for: array;
1449
1657
  };
1450
1658
  response: any; // Response structure will depend on the API
1451
1659
  };
@@ -1467,6 +1675,23 @@ Use this endpoint to avoid picking contact information for every registration.
1467
1675
  response: any; // Response structure will depend on the API
1468
1676
  };
1469
1677
 
1678
+ /**
1679
+ * Unset WHOIS contact profile as default.
1680
+
1681
+ The profile itself is kept, it is only no longer pre-selected for its TLD.
1682
+
1683
+ Use this endpoint to stop reusing contact information for new registrations.
1684
+ */
1685
+ "domains_unsetDefaultWHOISProfileV1": {
1686
+ params: {
1687
+ /**
1688
+ * WHOIS ID
1689
+ */
1690
+ whoisId: number;
1691
+ };
1692
+ response: any; // Response structure will depend on the API
1693
+ };
1694
+
1470
1695
  /**
1471
1696
  * Retrieve a WHOIS contact profile.
1472
1697