hostinger-api-mcp 0.0.16 → 0.0.18
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/LICENSE +21 -0
- package/README.md +17 -17
- package/glama.json +7 -0
- package/package.json +1 -1
- package/server.js +201 -28
- package/server.ts +201 -28
- package/types.d.ts +17 -17
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Hostinger
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -147,7 +147,7 @@ We recommend use other payment methods than `credit_card` if you encounter this
|
|
|
147
147
|
**Parameters**:
|
|
148
148
|
|
|
149
149
|
- `payment_method_id`: Payment method ID (required)
|
|
150
|
-
- `items`: items
|
|
150
|
+
- `items`: items parameter (required)
|
|
151
151
|
- `coupons`: Discount coupon codes
|
|
152
152
|
|
|
153
153
|
### billing_setDefaultPaymentMethodV1
|
|
@@ -263,7 +263,7 @@ Otherwise existing records will be updated and new records will be added.
|
|
|
263
263
|
|
|
264
264
|
- `domain`: Domain name (required)
|
|
265
265
|
- `overwrite`: If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created.
|
|
266
|
-
- `zone`: zone
|
|
266
|
+
- `zone`: zone parameter (required)
|
|
267
267
|
|
|
268
268
|
### DNS_deleteZoneRecordsV1
|
|
269
269
|
|
|
@@ -309,7 +309,7 @@ If there is validation error, the response will fail with `422 Validation error`
|
|
|
309
309
|
|
|
310
310
|
- `domain`: Domain name (required)
|
|
311
311
|
- `overwrite`: If `true`, resource records (RRs) matching name and type will be deleted and new RRs will be created, otherwise resource records' ttl's are updated and new records are appended. If no matching RRs are found, they are created.
|
|
312
|
-
- `zone`: zone
|
|
312
|
+
- `zone`: zone parameter (required)
|
|
313
313
|
|
|
314
314
|
### domains_checkDomainAvailabilityV1
|
|
315
315
|
|
|
@@ -325,7 +325,7 @@ Endpoint has rate limit of 10 requests per minute.
|
|
|
325
325
|
**Parameters**:
|
|
326
326
|
|
|
327
327
|
- `domain`: Domain name (without TLD) (required)
|
|
328
|
-
- `tlds`: TLDs
|
|
328
|
+
- `tlds`: TLDs list (required)
|
|
329
329
|
- `with_alternatives`: Should response include alternatives
|
|
330
330
|
|
|
331
331
|
### domains_getForwardingDataV1
|
|
@@ -609,7 +609,7 @@ This endpoint creates a new firewall.
|
|
|
609
609
|
|
|
610
610
|
**Parameters**:
|
|
611
611
|
|
|
612
|
-
- `name`: name
|
|
612
|
+
- `name`: name parameter (required)
|
|
613
613
|
|
|
614
614
|
### VPS_updateFirewallRuleV1
|
|
615
615
|
|
|
@@ -624,9 +624,9 @@ Any virtual machine that has this firewall activated will loose sync with the fi
|
|
|
624
624
|
|
|
625
625
|
- `firewallId`: Firewall ID (required)
|
|
626
626
|
- `ruleId`: Firewall Rule ID (required)
|
|
627
|
-
- `protocol`: protocol
|
|
627
|
+
- `protocol`: protocol parameter (required)
|
|
628
628
|
- `port`: Port or port range, ex: 1024:2048 (required)
|
|
629
|
-
- `source`: source
|
|
629
|
+
- `source`: source parameter (required)
|
|
630
630
|
- `source_detail`: IP range, CIDR, single IP or `any` (required)
|
|
631
631
|
|
|
632
632
|
### VPS_deleteFirewallRuleV1
|
|
@@ -656,9 +656,9 @@ Any virtual machine that has this firewall activated will loose sync with the fi
|
|
|
656
656
|
**Parameters**:
|
|
657
657
|
|
|
658
658
|
- `firewallId`: Firewall ID (required)
|
|
659
|
-
- `protocol`: protocol
|
|
659
|
+
- `protocol`: protocol parameter (required)
|
|
660
660
|
- `port`: Port or port range, ex: 1024:2048 (required)
|
|
661
|
-
- `source`: source
|
|
661
|
+
- `source`: source parameter (required)
|
|
662
662
|
- `source_detail`: IP range, CIDR, single IP or `any` (required)
|
|
663
663
|
|
|
664
664
|
### VPS_syncFirewallV1
|
|
@@ -785,8 +785,8 @@ which can then be attached to virtual machine instances for secure access.
|
|
|
785
785
|
|
|
786
786
|
**Parameters**:
|
|
787
787
|
|
|
788
|
-
- `name`: name
|
|
789
|
-
- `key`: key
|
|
788
|
+
- `name`: name parameter (required)
|
|
789
|
+
- `key`: key parameter (required)
|
|
790
790
|
|
|
791
791
|
### VPS_getTemplateV1
|
|
792
792
|
|
|
@@ -903,7 +903,7 @@ you need to point your domain A/AAAA records to virtual machine IP as well.
|
|
|
903
903
|
**Parameters**:
|
|
904
904
|
|
|
905
905
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
906
|
-
- `hostname`: hostname
|
|
906
|
+
- `hostname`: hostname parameter (required)
|
|
907
907
|
|
|
908
908
|
### VPS_resetHostnameV1
|
|
909
909
|
|
|
@@ -1006,8 +1006,8 @@ Be aware, that improper nameserver configuration can lead to the virtual machine
|
|
|
1006
1006
|
**Parameters**:
|
|
1007
1007
|
|
|
1008
1008
|
- `virtualMachineId`: Virtual Machine ID (required)
|
|
1009
|
-
- `ns1`: ns1
|
|
1010
|
-
- `ns2`: ns2
|
|
1009
|
+
- `ns1`: ns1 parameter (required)
|
|
1010
|
+
- `ns2`: ns2 parameter
|
|
1011
1011
|
|
|
1012
1012
|
### VPS_createPTRRecordV1
|
|
1013
1013
|
|
|
@@ -1146,9 +1146,9 @@ New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/bill
|
|
|
1146
1146
|
- `hostname`: Override default hostname of the virtual machine
|
|
1147
1147
|
- `install_monarx`: Install Monarx malware scanner (if supported)
|
|
1148
1148
|
- `enable_backups`: Enable weekly backup schedule
|
|
1149
|
-
- `ns1`: ns1
|
|
1150
|
-
- `ns2`: ns2
|
|
1151
|
-
- `public_key`: public_key
|
|
1149
|
+
- `ns1`: ns1 parameter
|
|
1150
|
+
- `ns2`: ns2 parameter
|
|
1151
|
+
- `public_key`: public_key parameter
|
|
1152
1152
|
|
|
1153
1153
|
### VPS_getSnapshotV1
|
|
1154
1154
|
|
package/glama.json
ADDED
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -47,11 +47,33 @@ const TOOLS = [
|
|
|
47
47
|
},
|
|
48
48
|
"items": {
|
|
49
49
|
"type": "array",
|
|
50
|
-
"description": "items
|
|
50
|
+
"description": "items parameter",
|
|
51
|
+
"items": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"description": "items parameter",
|
|
54
|
+
"properties": {
|
|
55
|
+
"item_id": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Price Item ID"
|
|
58
|
+
},
|
|
59
|
+
"quantity": {
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"description": "quantity parameter"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"item_id",
|
|
66
|
+
"quantity"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
51
69
|
},
|
|
52
70
|
"coupons": {
|
|
53
71
|
"type": "array",
|
|
54
|
-
"description": "Discount coupon codes"
|
|
72
|
+
"description": "Discount coupon codes",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "coupons parameter"
|
|
76
|
+
}
|
|
55
77
|
}
|
|
56
78
|
},
|
|
57
79
|
"required": [
|
|
@@ -286,7 +308,59 @@ const TOOLS = [
|
|
|
286
308
|
},
|
|
287
309
|
"zone": {
|
|
288
310
|
"type": "array",
|
|
289
|
-
"description": "zone
|
|
311
|
+
"description": "zone parameter",
|
|
312
|
+
"items": {
|
|
313
|
+
"type": "object",
|
|
314
|
+
"description": "zone parameter",
|
|
315
|
+
"properties": {
|
|
316
|
+
"name": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"description": "Name of the record (use `@` for wildcard name)"
|
|
319
|
+
},
|
|
320
|
+
"records": {
|
|
321
|
+
"type": "array",
|
|
322
|
+
"description": "Records assigned to the name",
|
|
323
|
+
"items": {
|
|
324
|
+
"type": "object",
|
|
325
|
+
"description": "records parameter",
|
|
326
|
+
"properties": {
|
|
327
|
+
"content": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"description": "Content of the name record"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"content"
|
|
334
|
+
]
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"ttl": {
|
|
338
|
+
"type": "integer",
|
|
339
|
+
"description": "TTL (Time-To-Live) of the record"
|
|
340
|
+
},
|
|
341
|
+
"type": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"description": "Type of the record",
|
|
344
|
+
"enum": [
|
|
345
|
+
"A",
|
|
346
|
+
"AAAA",
|
|
347
|
+
"CNAME",
|
|
348
|
+
"ALIAS",
|
|
349
|
+
"MX",
|
|
350
|
+
"TXT",
|
|
351
|
+
"NS",
|
|
352
|
+
"SOA",
|
|
353
|
+
"SRV",
|
|
354
|
+
"CAA"
|
|
355
|
+
]
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"required": [
|
|
359
|
+
"name",
|
|
360
|
+
"records",
|
|
361
|
+
"type"
|
|
362
|
+
]
|
|
363
|
+
}
|
|
290
364
|
}
|
|
291
365
|
},
|
|
292
366
|
"required": [
|
|
@@ -345,7 +419,11 @@ const TOOLS = [
|
|
|
345
419
|
},
|
|
346
420
|
"whitelisted_record_types": {
|
|
347
421
|
"type": "array",
|
|
348
|
-
"description": "Specifies which record types to not reset"
|
|
422
|
+
"description": "Specifies which record types to not reset",
|
|
423
|
+
"items": {
|
|
424
|
+
"type": "string",
|
|
425
|
+
"description": "whitelisted_record_types parameter"
|
|
426
|
+
}
|
|
349
427
|
}
|
|
350
428
|
},
|
|
351
429
|
"required": [
|
|
@@ -376,7 +454,59 @@ const TOOLS = [
|
|
|
376
454
|
},
|
|
377
455
|
"zone": {
|
|
378
456
|
"type": "array",
|
|
379
|
-
"description": "zone
|
|
457
|
+
"description": "zone parameter",
|
|
458
|
+
"items": {
|
|
459
|
+
"type": "object",
|
|
460
|
+
"description": "zone parameter",
|
|
461
|
+
"properties": {
|
|
462
|
+
"name": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"description": "Name of the record (use `@` for wildcard name)"
|
|
465
|
+
},
|
|
466
|
+
"records": {
|
|
467
|
+
"type": "array",
|
|
468
|
+
"description": "Records assigned to the name",
|
|
469
|
+
"items": {
|
|
470
|
+
"type": "object",
|
|
471
|
+
"description": "records parameter",
|
|
472
|
+
"properties": {
|
|
473
|
+
"content": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"description": "Content of the name record"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"required": [
|
|
479
|
+
"content"
|
|
480
|
+
]
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"ttl": {
|
|
484
|
+
"type": "integer",
|
|
485
|
+
"description": "TTL (Time-To-Live) of the record"
|
|
486
|
+
},
|
|
487
|
+
"type": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"description": "Type of the record",
|
|
490
|
+
"enum": [
|
|
491
|
+
"A",
|
|
492
|
+
"AAAA",
|
|
493
|
+
"CNAME",
|
|
494
|
+
"ALIAS",
|
|
495
|
+
"MX",
|
|
496
|
+
"TXT",
|
|
497
|
+
"NS",
|
|
498
|
+
"SOA",
|
|
499
|
+
"SRV",
|
|
500
|
+
"CAA"
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"required": [
|
|
505
|
+
"name",
|
|
506
|
+
"records",
|
|
507
|
+
"type"
|
|
508
|
+
]
|
|
509
|
+
}
|
|
380
510
|
}
|
|
381
511
|
},
|
|
382
512
|
"required": [
|
|
@@ -404,7 +534,11 @@ const TOOLS = [
|
|
|
404
534
|
},
|
|
405
535
|
"tlds": {
|
|
406
536
|
"type": "array",
|
|
407
|
-
"description": "TLDs
|
|
537
|
+
"description": "TLDs list",
|
|
538
|
+
"items": {
|
|
539
|
+
"type": "string",
|
|
540
|
+
"description": "TLD without leading dot"
|
|
541
|
+
}
|
|
408
542
|
},
|
|
409
543
|
"with_alternatives": {
|
|
410
544
|
"type": "boolean",
|
|
@@ -612,15 +746,38 @@ const TOOLS = [
|
|
|
612
746
|
},
|
|
613
747
|
"domain_contacts": {
|
|
614
748
|
"type": "object",
|
|
615
|
-
"description": "Domain contact information"
|
|
749
|
+
"description": "Domain contact information",
|
|
750
|
+
"properties": {
|
|
751
|
+
"owner_id": {
|
|
752
|
+
"type": "integer",
|
|
753
|
+
"description": "Owner contact WHOIS record ID"
|
|
754
|
+
},
|
|
755
|
+
"admin_id": {
|
|
756
|
+
"type": "integer",
|
|
757
|
+
"description": "Administrative contact WHOIS record ID"
|
|
758
|
+
},
|
|
759
|
+
"billing_id": {
|
|
760
|
+
"type": "integer",
|
|
761
|
+
"description": "Billing contact WHOIS record ID"
|
|
762
|
+
},
|
|
763
|
+
"tech_id": {
|
|
764
|
+
"type": "integer",
|
|
765
|
+
"description": "Technical contact WHOIS record ID"
|
|
766
|
+
}
|
|
767
|
+
}
|
|
616
768
|
},
|
|
617
769
|
"additional_details": {
|
|
618
770
|
"type": "object",
|
|
619
|
-
"description": "Additional registration data, possible values depends on TLD"
|
|
771
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
772
|
+
"properties": {}
|
|
620
773
|
},
|
|
621
774
|
"coupons": {
|
|
622
775
|
"type": "array",
|
|
623
|
-
"description": "Discount coupon codes"
|
|
776
|
+
"description": "Discount coupon codes",
|
|
777
|
+
"items": {
|
|
778
|
+
"type": "string",
|
|
779
|
+
"description": "coupons parameter"
|
|
780
|
+
}
|
|
624
781
|
}
|
|
625
782
|
},
|
|
626
783
|
"required": [
|
|
@@ -814,11 +971,13 @@ const TOOLS = [
|
|
|
814
971
|
},
|
|
815
972
|
"tld_details": {
|
|
816
973
|
"type": "object",
|
|
817
|
-
"description": "TLD details"
|
|
974
|
+
"description": "TLD details",
|
|
975
|
+
"properties": {}
|
|
818
976
|
},
|
|
819
977
|
"whois_details": {
|
|
820
978
|
"type": "object",
|
|
821
|
-
"description": "WHOIS details"
|
|
979
|
+
"description": "WHOIS details",
|
|
980
|
+
"properties": {}
|
|
822
981
|
}
|
|
823
982
|
},
|
|
824
983
|
"required": [
|
|
@@ -1006,7 +1165,7 @@ const TOOLS = [
|
|
|
1006
1165
|
"properties": {
|
|
1007
1166
|
"name": {
|
|
1008
1167
|
"type": "string",
|
|
1009
|
-
"description": "name
|
|
1168
|
+
"description": "name parameter"
|
|
1010
1169
|
}
|
|
1011
1170
|
},
|
|
1012
1171
|
"required": [
|
|
@@ -1037,7 +1196,7 @@ const TOOLS = [
|
|
|
1037
1196
|
},
|
|
1038
1197
|
"protocol": {
|
|
1039
1198
|
"type": "string",
|
|
1040
|
-
"description": "protocol
|
|
1199
|
+
"description": "protocol parameter",
|
|
1041
1200
|
"enum": [
|
|
1042
1201
|
"TCP",
|
|
1043
1202
|
"UDP",
|
|
@@ -1060,7 +1219,7 @@ const TOOLS = [
|
|
|
1060
1219
|
},
|
|
1061
1220
|
"source": {
|
|
1062
1221
|
"type": "string",
|
|
1063
|
-
"description": "source
|
|
1222
|
+
"description": "source parameter",
|
|
1064
1223
|
"enum": [
|
|
1065
1224
|
"any",
|
|
1066
1225
|
"custom"
|
|
@@ -1128,7 +1287,7 @@ const TOOLS = [
|
|
|
1128
1287
|
},
|
|
1129
1288
|
"protocol": {
|
|
1130
1289
|
"type": "string",
|
|
1131
|
-
"description": "protocol
|
|
1290
|
+
"description": "protocol parameter",
|
|
1132
1291
|
"enum": [
|
|
1133
1292
|
"TCP",
|
|
1134
1293
|
"UDP",
|
|
@@ -1151,7 +1310,7 @@ const TOOLS = [
|
|
|
1151
1310
|
},
|
|
1152
1311
|
"source": {
|
|
1153
1312
|
"type": "string",
|
|
1154
|
-
"description": "source
|
|
1313
|
+
"description": "source parameter",
|
|
1155
1314
|
"enum": [
|
|
1156
1315
|
"any",
|
|
1157
1316
|
"custom"
|
|
@@ -1346,7 +1505,11 @@ const TOOLS = [
|
|
|
1346
1505
|
},
|
|
1347
1506
|
"ids": {
|
|
1348
1507
|
"type": "array",
|
|
1349
|
-
"description": "Public Key IDs to attach"
|
|
1508
|
+
"description": "Public Key IDs to attach",
|
|
1509
|
+
"items": {
|
|
1510
|
+
"type": "integer",
|
|
1511
|
+
"description": "ids parameter"
|
|
1512
|
+
}
|
|
1350
1513
|
}
|
|
1351
1514
|
},
|
|
1352
1515
|
"required": [
|
|
@@ -1414,11 +1577,11 @@ const TOOLS = [
|
|
|
1414
1577
|
"properties": {
|
|
1415
1578
|
"name": {
|
|
1416
1579
|
"type": "string",
|
|
1417
|
-
"description": "name
|
|
1580
|
+
"description": "name parameter"
|
|
1418
1581
|
},
|
|
1419
1582
|
"key": {
|
|
1420
1583
|
"type": "string",
|
|
1421
|
-
"description": "key
|
|
1584
|
+
"description": "key parameter"
|
|
1422
1585
|
}
|
|
1423
1586
|
},
|
|
1424
1587
|
"required": [
|
|
@@ -1650,7 +1813,7 @@ const TOOLS = [
|
|
|
1650
1813
|
},
|
|
1651
1814
|
"hostname": {
|
|
1652
1815
|
"type": "string",
|
|
1653
|
-
"description": "hostname
|
|
1816
|
+
"description": "hostname parameter"
|
|
1654
1817
|
}
|
|
1655
1818
|
},
|
|
1656
1819
|
"required": [
|
|
@@ -1842,11 +2005,11 @@ const TOOLS = [
|
|
|
1842
2005
|
},
|
|
1843
2006
|
"ns1": {
|
|
1844
2007
|
"type": "string",
|
|
1845
|
-
"description": "ns1
|
|
2008
|
+
"description": "ns1 parameter"
|
|
1846
2009
|
},
|
|
1847
2010
|
"ns2": {
|
|
1848
2011
|
"type": "string",
|
|
1849
|
-
"description": "ns2
|
|
2012
|
+
"description": "ns2 parameter"
|
|
1850
2013
|
}
|
|
1851
2014
|
},
|
|
1852
2015
|
"required": [
|
|
@@ -2114,15 +2277,25 @@ const TOOLS = [
|
|
|
2114
2277
|
},
|
|
2115
2278
|
"ns1": {
|
|
2116
2279
|
"type": "string",
|
|
2117
|
-
"description": "ns1
|
|
2280
|
+
"description": "ns1 parameter"
|
|
2118
2281
|
},
|
|
2119
2282
|
"ns2": {
|
|
2120
2283
|
"type": "string",
|
|
2121
|
-
"description": "ns2
|
|
2284
|
+
"description": "ns2 parameter"
|
|
2122
2285
|
},
|
|
2123
2286
|
"public_key": {
|
|
2124
2287
|
"type": "object",
|
|
2125
|
-
"description": "public_key
|
|
2288
|
+
"description": "public_key parameter",
|
|
2289
|
+
"properties": {
|
|
2290
|
+
"name": {
|
|
2291
|
+
"type": "string",
|
|
2292
|
+
"description": "Name of the SSH key"
|
|
2293
|
+
},
|
|
2294
|
+
"key": {
|
|
2295
|
+
"type": "string",
|
|
2296
|
+
"description": "SSH public key"
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2126
2299
|
}
|
|
2127
2300
|
},
|
|
2128
2301
|
"required": [
|
|
@@ -2286,7 +2459,7 @@ const SECURITY_SCHEMES = {
|
|
|
2286
2459
|
|
|
2287
2460
|
/**
|
|
2288
2461
|
* MCP Server for Hostinger API
|
|
2289
|
-
* Generated from OpenAPI spec version 0.0.
|
|
2462
|
+
* Generated from OpenAPI spec version 0.0.42
|
|
2290
2463
|
*/
|
|
2291
2464
|
class MCPServer {
|
|
2292
2465
|
constructor() {
|
|
@@ -2304,7 +2477,7 @@ class MCPServer {
|
|
|
2304
2477
|
this.server = new Server(
|
|
2305
2478
|
{
|
|
2306
2479
|
name: "hostinger-api-mcp",
|
|
2307
|
-
version: "0.0.
|
|
2480
|
+
version: "0.0.18",
|
|
2308
2481
|
},
|
|
2309
2482
|
{
|
|
2310
2483
|
capabilities: {
|
|
@@ -2329,7 +2502,7 @@ class MCPServer {
|
|
|
2329
2502
|
});
|
|
2330
2503
|
}
|
|
2331
2504
|
|
|
2332
|
-
headers['User-Agent'] = 'hostinger-mcp-server/0.0.
|
|
2505
|
+
headers['User-Agent'] = 'hostinger-mcp-server/0.0.18';
|
|
2333
2506
|
|
|
2334
2507
|
return headers;
|
|
2335
2508
|
}
|
package/server.ts
CHANGED
|
@@ -63,11 +63,33 @@ const TOOLS: OpenApiTool[] = [
|
|
|
63
63
|
},
|
|
64
64
|
"items": {
|
|
65
65
|
"type": "array",
|
|
66
|
-
"description": "items
|
|
66
|
+
"description": "items parameter",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"description": "items parameter",
|
|
70
|
+
"properties": {
|
|
71
|
+
"item_id": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "Price Item ID"
|
|
74
|
+
},
|
|
75
|
+
"quantity": {
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"description": "quantity parameter"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": [
|
|
81
|
+
"item_id",
|
|
82
|
+
"quantity"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
67
85
|
},
|
|
68
86
|
"coupons": {
|
|
69
87
|
"type": "array",
|
|
70
|
-
"description": "Discount coupon codes"
|
|
88
|
+
"description": "Discount coupon codes",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "coupons parameter"
|
|
92
|
+
}
|
|
71
93
|
}
|
|
72
94
|
},
|
|
73
95
|
"required": [
|
|
@@ -302,7 +324,59 @@ const TOOLS: OpenApiTool[] = [
|
|
|
302
324
|
},
|
|
303
325
|
"zone": {
|
|
304
326
|
"type": "array",
|
|
305
|
-
"description": "zone
|
|
327
|
+
"description": "zone parameter",
|
|
328
|
+
"items": {
|
|
329
|
+
"type": "object",
|
|
330
|
+
"description": "zone parameter",
|
|
331
|
+
"properties": {
|
|
332
|
+
"name": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"description": "Name of the record (use `@` for wildcard name)"
|
|
335
|
+
},
|
|
336
|
+
"records": {
|
|
337
|
+
"type": "array",
|
|
338
|
+
"description": "Records assigned to the name",
|
|
339
|
+
"items": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"description": "records parameter",
|
|
342
|
+
"properties": {
|
|
343
|
+
"content": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"description": "Content of the name record"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"content"
|
|
350
|
+
]
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"ttl": {
|
|
354
|
+
"type": "integer",
|
|
355
|
+
"description": "TTL (Time-To-Live) of the record"
|
|
356
|
+
},
|
|
357
|
+
"type": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"description": "Type of the record",
|
|
360
|
+
"enum": [
|
|
361
|
+
"A",
|
|
362
|
+
"AAAA",
|
|
363
|
+
"CNAME",
|
|
364
|
+
"ALIAS",
|
|
365
|
+
"MX",
|
|
366
|
+
"TXT",
|
|
367
|
+
"NS",
|
|
368
|
+
"SOA",
|
|
369
|
+
"SRV",
|
|
370
|
+
"CAA"
|
|
371
|
+
]
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"required": [
|
|
375
|
+
"name",
|
|
376
|
+
"records",
|
|
377
|
+
"type"
|
|
378
|
+
]
|
|
379
|
+
}
|
|
306
380
|
}
|
|
307
381
|
},
|
|
308
382
|
"required": [
|
|
@@ -361,7 +435,11 @@ const TOOLS: OpenApiTool[] = [
|
|
|
361
435
|
},
|
|
362
436
|
"whitelisted_record_types": {
|
|
363
437
|
"type": "array",
|
|
364
|
-
"description": "Specifies which record types to not reset"
|
|
438
|
+
"description": "Specifies which record types to not reset",
|
|
439
|
+
"items": {
|
|
440
|
+
"type": "string",
|
|
441
|
+
"description": "whitelisted_record_types parameter"
|
|
442
|
+
}
|
|
365
443
|
}
|
|
366
444
|
},
|
|
367
445
|
"required": [
|
|
@@ -392,7 +470,59 @@ const TOOLS: OpenApiTool[] = [
|
|
|
392
470
|
},
|
|
393
471
|
"zone": {
|
|
394
472
|
"type": "array",
|
|
395
|
-
"description": "zone
|
|
473
|
+
"description": "zone parameter",
|
|
474
|
+
"items": {
|
|
475
|
+
"type": "object",
|
|
476
|
+
"description": "zone parameter",
|
|
477
|
+
"properties": {
|
|
478
|
+
"name": {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"description": "Name of the record (use `@` for wildcard name)"
|
|
481
|
+
},
|
|
482
|
+
"records": {
|
|
483
|
+
"type": "array",
|
|
484
|
+
"description": "Records assigned to the name",
|
|
485
|
+
"items": {
|
|
486
|
+
"type": "object",
|
|
487
|
+
"description": "records parameter",
|
|
488
|
+
"properties": {
|
|
489
|
+
"content": {
|
|
490
|
+
"type": "string",
|
|
491
|
+
"description": "Content of the name record"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"required": [
|
|
495
|
+
"content"
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"ttl": {
|
|
500
|
+
"type": "integer",
|
|
501
|
+
"description": "TTL (Time-To-Live) of the record"
|
|
502
|
+
},
|
|
503
|
+
"type": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "Type of the record",
|
|
506
|
+
"enum": [
|
|
507
|
+
"A",
|
|
508
|
+
"AAAA",
|
|
509
|
+
"CNAME",
|
|
510
|
+
"ALIAS",
|
|
511
|
+
"MX",
|
|
512
|
+
"TXT",
|
|
513
|
+
"NS",
|
|
514
|
+
"SOA",
|
|
515
|
+
"SRV",
|
|
516
|
+
"CAA"
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"required": [
|
|
521
|
+
"name",
|
|
522
|
+
"records",
|
|
523
|
+
"type"
|
|
524
|
+
]
|
|
525
|
+
}
|
|
396
526
|
}
|
|
397
527
|
},
|
|
398
528
|
"required": [
|
|
@@ -420,7 +550,11 @@ const TOOLS: OpenApiTool[] = [
|
|
|
420
550
|
},
|
|
421
551
|
"tlds": {
|
|
422
552
|
"type": "array",
|
|
423
|
-
"description": "TLDs
|
|
553
|
+
"description": "TLDs list",
|
|
554
|
+
"items": {
|
|
555
|
+
"type": "string",
|
|
556
|
+
"description": "TLD without leading dot"
|
|
557
|
+
}
|
|
424
558
|
},
|
|
425
559
|
"with_alternatives": {
|
|
426
560
|
"type": "boolean",
|
|
@@ -628,15 +762,38 @@ const TOOLS: OpenApiTool[] = [
|
|
|
628
762
|
},
|
|
629
763
|
"domain_contacts": {
|
|
630
764
|
"type": "object",
|
|
631
|
-
"description": "Domain contact information"
|
|
765
|
+
"description": "Domain contact information",
|
|
766
|
+
"properties": {
|
|
767
|
+
"owner_id": {
|
|
768
|
+
"type": "integer",
|
|
769
|
+
"description": "Owner contact WHOIS record ID"
|
|
770
|
+
},
|
|
771
|
+
"admin_id": {
|
|
772
|
+
"type": "integer",
|
|
773
|
+
"description": "Administrative contact WHOIS record ID"
|
|
774
|
+
},
|
|
775
|
+
"billing_id": {
|
|
776
|
+
"type": "integer",
|
|
777
|
+
"description": "Billing contact WHOIS record ID"
|
|
778
|
+
},
|
|
779
|
+
"tech_id": {
|
|
780
|
+
"type": "integer",
|
|
781
|
+
"description": "Technical contact WHOIS record ID"
|
|
782
|
+
}
|
|
783
|
+
}
|
|
632
784
|
},
|
|
633
785
|
"additional_details": {
|
|
634
786
|
"type": "object",
|
|
635
|
-
"description": "Additional registration data, possible values depends on TLD"
|
|
787
|
+
"description": "Additional registration data, possible values depends on TLD",
|
|
788
|
+
"properties": {}
|
|
636
789
|
},
|
|
637
790
|
"coupons": {
|
|
638
791
|
"type": "array",
|
|
639
|
-
"description": "Discount coupon codes"
|
|
792
|
+
"description": "Discount coupon codes",
|
|
793
|
+
"items": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"description": "coupons parameter"
|
|
796
|
+
}
|
|
640
797
|
}
|
|
641
798
|
},
|
|
642
799
|
"required": [
|
|
@@ -830,11 +987,13 @@ const TOOLS: OpenApiTool[] = [
|
|
|
830
987
|
},
|
|
831
988
|
"tld_details": {
|
|
832
989
|
"type": "object",
|
|
833
|
-
"description": "TLD details"
|
|
990
|
+
"description": "TLD details",
|
|
991
|
+
"properties": {}
|
|
834
992
|
},
|
|
835
993
|
"whois_details": {
|
|
836
994
|
"type": "object",
|
|
837
|
-
"description": "WHOIS details"
|
|
995
|
+
"description": "WHOIS details",
|
|
996
|
+
"properties": {}
|
|
838
997
|
}
|
|
839
998
|
},
|
|
840
999
|
"required": [
|
|
@@ -1022,7 +1181,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1022
1181
|
"properties": {
|
|
1023
1182
|
"name": {
|
|
1024
1183
|
"type": "string",
|
|
1025
|
-
"description": "name
|
|
1184
|
+
"description": "name parameter"
|
|
1026
1185
|
}
|
|
1027
1186
|
},
|
|
1028
1187
|
"required": [
|
|
@@ -1053,7 +1212,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1053
1212
|
},
|
|
1054
1213
|
"protocol": {
|
|
1055
1214
|
"type": "string",
|
|
1056
|
-
"description": "protocol
|
|
1215
|
+
"description": "protocol parameter",
|
|
1057
1216
|
"enum": [
|
|
1058
1217
|
"TCP",
|
|
1059
1218
|
"UDP",
|
|
@@ -1076,7 +1235,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1076
1235
|
},
|
|
1077
1236
|
"source": {
|
|
1078
1237
|
"type": "string",
|
|
1079
|
-
"description": "source
|
|
1238
|
+
"description": "source parameter",
|
|
1080
1239
|
"enum": [
|
|
1081
1240
|
"any",
|
|
1082
1241
|
"custom"
|
|
@@ -1144,7 +1303,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1144
1303
|
},
|
|
1145
1304
|
"protocol": {
|
|
1146
1305
|
"type": "string",
|
|
1147
|
-
"description": "protocol
|
|
1306
|
+
"description": "protocol parameter",
|
|
1148
1307
|
"enum": [
|
|
1149
1308
|
"TCP",
|
|
1150
1309
|
"UDP",
|
|
@@ -1167,7 +1326,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1167
1326
|
},
|
|
1168
1327
|
"source": {
|
|
1169
1328
|
"type": "string",
|
|
1170
|
-
"description": "source
|
|
1329
|
+
"description": "source parameter",
|
|
1171
1330
|
"enum": [
|
|
1172
1331
|
"any",
|
|
1173
1332
|
"custom"
|
|
@@ -1362,7 +1521,11 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1362
1521
|
},
|
|
1363
1522
|
"ids": {
|
|
1364
1523
|
"type": "array",
|
|
1365
|
-
"description": "Public Key IDs to attach"
|
|
1524
|
+
"description": "Public Key IDs to attach",
|
|
1525
|
+
"items": {
|
|
1526
|
+
"type": "integer",
|
|
1527
|
+
"description": "ids parameter"
|
|
1528
|
+
}
|
|
1366
1529
|
}
|
|
1367
1530
|
},
|
|
1368
1531
|
"required": [
|
|
@@ -1430,11 +1593,11 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1430
1593
|
"properties": {
|
|
1431
1594
|
"name": {
|
|
1432
1595
|
"type": "string",
|
|
1433
|
-
"description": "name
|
|
1596
|
+
"description": "name parameter"
|
|
1434
1597
|
},
|
|
1435
1598
|
"key": {
|
|
1436
1599
|
"type": "string",
|
|
1437
|
-
"description": "key
|
|
1600
|
+
"description": "key parameter"
|
|
1438
1601
|
}
|
|
1439
1602
|
},
|
|
1440
1603
|
"required": [
|
|
@@ -1666,7 +1829,7 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1666
1829
|
},
|
|
1667
1830
|
"hostname": {
|
|
1668
1831
|
"type": "string",
|
|
1669
|
-
"description": "hostname
|
|
1832
|
+
"description": "hostname parameter"
|
|
1670
1833
|
}
|
|
1671
1834
|
},
|
|
1672
1835
|
"required": [
|
|
@@ -1858,11 +2021,11 @@ const TOOLS: OpenApiTool[] = [
|
|
|
1858
2021
|
},
|
|
1859
2022
|
"ns1": {
|
|
1860
2023
|
"type": "string",
|
|
1861
|
-
"description": "ns1
|
|
2024
|
+
"description": "ns1 parameter"
|
|
1862
2025
|
},
|
|
1863
2026
|
"ns2": {
|
|
1864
2027
|
"type": "string",
|
|
1865
|
-
"description": "ns2
|
|
2028
|
+
"description": "ns2 parameter"
|
|
1866
2029
|
}
|
|
1867
2030
|
},
|
|
1868
2031
|
"required": [
|
|
@@ -2130,15 +2293,25 @@ const TOOLS: OpenApiTool[] = [
|
|
|
2130
2293
|
},
|
|
2131
2294
|
"ns1": {
|
|
2132
2295
|
"type": "string",
|
|
2133
|
-
"description": "ns1
|
|
2296
|
+
"description": "ns1 parameter"
|
|
2134
2297
|
},
|
|
2135
2298
|
"ns2": {
|
|
2136
2299
|
"type": "string",
|
|
2137
|
-
"description": "ns2
|
|
2300
|
+
"description": "ns2 parameter"
|
|
2138
2301
|
},
|
|
2139
2302
|
"public_key": {
|
|
2140
2303
|
"type": "object",
|
|
2141
|
-
"description": "public_key
|
|
2304
|
+
"description": "public_key parameter",
|
|
2305
|
+
"properties": {
|
|
2306
|
+
"name": {
|
|
2307
|
+
"type": "string",
|
|
2308
|
+
"description": "Name of the SSH key"
|
|
2309
|
+
},
|
|
2310
|
+
"key": {
|
|
2311
|
+
"type": "string",
|
|
2312
|
+
"description": "SSH public key"
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2142
2315
|
}
|
|
2143
2316
|
},
|
|
2144
2317
|
"required": [
|
|
@@ -2302,7 +2475,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
|
|
|
2302
2475
|
|
|
2303
2476
|
/**
|
|
2304
2477
|
* MCP Server for Hostinger API
|
|
2305
|
-
* Generated from OpenAPI spec version 0.0.
|
|
2478
|
+
* Generated from OpenAPI spec version 0.0.42
|
|
2306
2479
|
*/
|
|
2307
2480
|
class MCPServer {
|
|
2308
2481
|
private server: Server;
|
|
@@ -2324,7 +2497,7 @@ class MCPServer {
|
|
|
2324
2497
|
this.server = new Server(
|
|
2325
2498
|
{
|
|
2326
2499
|
name: "hostinger-api-mcp",
|
|
2327
|
-
version: "0.0.
|
|
2500
|
+
version: "0.0.18",
|
|
2328
2501
|
},
|
|
2329
2502
|
{
|
|
2330
2503
|
capabilities: {
|
|
@@ -2349,7 +2522,7 @@ class MCPServer {
|
|
|
2349
2522
|
});
|
|
2350
2523
|
}
|
|
2351
2524
|
|
|
2352
|
-
headers['User-Agent'] = 'hostinger-mcp-server/0.0.
|
|
2525
|
+
headers['User-Agent'] = 'hostinger-mcp-server/0.0.18';
|
|
2353
2526
|
|
|
2354
2527
|
return headers;
|
|
2355
2528
|
}
|
package/types.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ We recommend use other payment methods than `credit_card` if you encounter this
|
|
|
34
34
|
*/
|
|
35
35
|
payment_method_id: number;
|
|
36
36
|
/**
|
|
37
|
-
* items
|
|
37
|
+
* items parameter
|
|
38
38
|
*/
|
|
39
39
|
items: array;
|
|
40
40
|
/**
|
|
@@ -183,7 +183,7 @@ Otherwise existing records will be updated and new records will be added.
|
|
|
183
183
|
*/
|
|
184
184
|
overwrite?: boolean;
|
|
185
185
|
/**
|
|
186
|
-
* zone
|
|
186
|
+
* zone parameter
|
|
187
187
|
*/
|
|
188
188
|
zone: array;
|
|
189
189
|
};
|
|
@@ -250,7 +250,7 @@ If there is validation error, the response will fail with `422 Validation error`
|
|
|
250
250
|
*/
|
|
251
251
|
overwrite?: boolean;
|
|
252
252
|
/**
|
|
253
|
-
* zone
|
|
253
|
+
* zone parameter
|
|
254
254
|
*/
|
|
255
255
|
zone: array;
|
|
256
256
|
};
|
|
@@ -271,7 +271,7 @@ Endpoint has rate limit of 10 requests per minute.
|
|
|
271
271
|
*/
|
|
272
272
|
domain: string;
|
|
273
273
|
/**
|
|
274
|
-
* TLDs
|
|
274
|
+
* TLDs list
|
|
275
275
|
*/
|
|
276
276
|
tlds: array;
|
|
277
277
|
/**
|
|
@@ -653,7 +653,7 @@ Any virtual machine that has this firewall activated will automatically have it
|
|
|
653
653
|
"undefined": {
|
|
654
654
|
params: {
|
|
655
655
|
/**
|
|
656
|
-
* name
|
|
656
|
+
* name parameter
|
|
657
657
|
*/
|
|
658
658
|
name: string;
|
|
659
659
|
};
|
|
@@ -676,7 +676,7 @@ Any virtual machine that has this firewall activated will loose sync with the fi
|
|
|
676
676
|
*/
|
|
677
677
|
ruleId: number;
|
|
678
678
|
/**
|
|
679
|
-
* protocol
|
|
679
|
+
* protocol parameter
|
|
680
680
|
*/
|
|
681
681
|
protocol: string;
|
|
682
682
|
/**
|
|
@@ -684,7 +684,7 @@ Any virtual machine that has this firewall activated will loose sync with the fi
|
|
|
684
684
|
*/
|
|
685
685
|
port: string;
|
|
686
686
|
/**
|
|
687
|
-
* source
|
|
687
|
+
* source parameter
|
|
688
688
|
*/
|
|
689
689
|
source: string;
|
|
690
690
|
/**
|
|
@@ -727,7 +727,7 @@ Any virtual machine that has this firewall activated will loose sync with the fi
|
|
|
727
727
|
*/
|
|
728
728
|
firewallId: number;
|
|
729
729
|
/**
|
|
730
|
-
* protocol
|
|
730
|
+
* protocol parameter
|
|
731
731
|
*/
|
|
732
732
|
protocol: string;
|
|
733
733
|
/**
|
|
@@ -735,7 +735,7 @@ Any virtual machine that has this firewall activated will loose sync with the fi
|
|
|
735
735
|
*/
|
|
736
736
|
port: string;
|
|
737
737
|
/**
|
|
738
|
-
* source
|
|
738
|
+
* source parameter
|
|
739
739
|
*/
|
|
740
740
|
source: string;
|
|
741
741
|
/**
|
|
@@ -900,11 +900,11 @@ which can then be attached to virtual machine instances for secure access.
|
|
|
900
900
|
"undefined": {
|
|
901
901
|
params: {
|
|
902
902
|
/**
|
|
903
|
-
* name
|
|
903
|
+
* name parameter
|
|
904
904
|
*/
|
|
905
905
|
name: string;
|
|
906
906
|
/**
|
|
907
|
-
* key
|
|
907
|
+
* key parameter
|
|
908
908
|
*/
|
|
909
909
|
key: string;
|
|
910
910
|
};
|
|
@@ -1059,7 +1059,7 @@ you need to point your domain A/AAAA records to virtual machine IP as well.
|
|
|
1059
1059
|
*/
|
|
1060
1060
|
virtualMachineId: number;
|
|
1061
1061
|
/**
|
|
1062
|
-
* hostname
|
|
1062
|
+
* hostname parameter
|
|
1063
1063
|
*/
|
|
1064
1064
|
hostname: string;
|
|
1065
1065
|
};
|
|
@@ -1186,11 +1186,11 @@ Be aware, that improper nameserver configuration can lead to the virtual machine
|
|
|
1186
1186
|
*/
|
|
1187
1187
|
virtualMachineId: number;
|
|
1188
1188
|
/**
|
|
1189
|
-
* ns1
|
|
1189
|
+
* ns1 parameter
|
|
1190
1190
|
*/
|
|
1191
1191
|
ns1: string;
|
|
1192
1192
|
/**
|
|
1193
|
-
* ns2
|
|
1193
|
+
* ns2 parameter
|
|
1194
1194
|
*/
|
|
1195
1195
|
ns2?: string;
|
|
1196
1196
|
};
|
|
@@ -1389,15 +1389,15 @@ New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/bill
|
|
|
1389
1389
|
*/
|
|
1390
1390
|
enable_backups?: boolean;
|
|
1391
1391
|
/**
|
|
1392
|
-
* ns1
|
|
1392
|
+
* ns1 parameter
|
|
1393
1393
|
*/
|
|
1394
1394
|
ns1?: string;
|
|
1395
1395
|
/**
|
|
1396
|
-
* ns2
|
|
1396
|
+
* ns2 parameter
|
|
1397
1397
|
*/
|
|
1398
1398
|
ns2?: string;
|
|
1399
1399
|
/**
|
|
1400
|
-
* public_key
|
|
1400
|
+
* public_key parameter
|
|
1401
1401
|
*/
|
|
1402
1402
|
public_key?: object;
|
|
1403
1403
|
};
|