hostinger-api-sdk 0.0.9 → 0.0.11

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/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.0.25
4
+ * API Version: 0.0.68
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -10,6 +10,88 @@ import type { Configuration } from './configuration';
10
10
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
11
11
  import type { RequestArgs } from './base';
12
12
  import { BaseAPI } from './base';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BillingCreateNewServiceOrderV1422Response
17
+ */
18
+ export interface BillingCreateNewServiceOrderV1422Response {
19
+ /**
20
+ * Validation error message
21
+ * @type {string}
22
+ * @memberof BillingCreateNewServiceOrderV1422Response
23
+ */
24
+ 'message': string;
25
+ /**
26
+ *
27
+ * @type {BillingCreateNewServiceOrderV1422ResponseErrors}
28
+ * @memberof BillingCreateNewServiceOrderV1422Response
29
+ */
30
+ 'errors': BillingCreateNewServiceOrderV1422ResponseErrors;
31
+ /**
32
+ * Request correlation ID
33
+ * @type {string}
34
+ * @memberof BillingCreateNewServiceOrderV1422Response
35
+ */
36
+ 'correlation_id': string;
37
+ }
38
+ /**
39
+ * Object of detailed errors for each field
40
+ * @export
41
+ * @interface BillingCreateNewServiceOrderV1422ResponseErrors
42
+ */
43
+ export interface BillingCreateNewServiceOrderV1422ResponseErrors {
44
+ /**
45
+ *
46
+ * @type {Array<any>}
47
+ * @memberof BillingCreateNewServiceOrderV1422ResponseErrors
48
+ */
49
+ 'field_1': Array<any>;
50
+ /**
51
+ *
52
+ * @type {Array<any>}
53
+ * @memberof BillingCreateNewServiceOrderV1422ResponseErrors
54
+ */
55
+ 'field_2': Array<any>;
56
+ }
57
+ /**
58
+ *
59
+ * @export
60
+ * @interface BillingGetCatalogItemListV1401Response
61
+ */
62
+ export interface BillingGetCatalogItemListV1401Response {
63
+ /**
64
+ * Message of the error
65
+ * @type {string}
66
+ * @memberof BillingGetCatalogItemListV1401Response
67
+ */
68
+ 'message': string;
69
+ /**
70
+ * Request correlation ID
71
+ * @type {string}
72
+ * @memberof BillingGetCatalogItemListV1401Response
73
+ */
74
+ 'correlation_id': string;
75
+ }
76
+ /**
77
+ *
78
+ * @export
79
+ * @interface BillingGetCatalogItemListV1500Response
80
+ */
81
+ export interface BillingGetCatalogItemListV1500Response {
82
+ /**
83
+ * Message of the error
84
+ * @type {string}
85
+ * @memberof BillingGetCatalogItemListV1500Response
86
+ */
87
+ 'message': string;
88
+ /**
89
+ * Request correlation ID
90
+ * @type {string}
91
+ * @memberof BillingGetCatalogItemListV1500Response
92
+ */
93
+ 'correlation_id': string;
94
+ }
13
95
  /**
14
96
  *
15
97
  * @export
@@ -263,7 +345,7 @@ export interface BillingV1OrderStoreRequest {
263
345
  */
264
346
  'items': Array<BillingV1OrderStoreRequestItemsInner>;
265
347
  /**
266
- *
348
+ * Discount coupon codes
267
349
  * @type {Array<any>}
268
350
  * @memberof BillingV1OrderStoreRequest
269
351
  */
@@ -288,6 +370,25 @@ export interface BillingV1OrderStoreRequestItemsInner {
288
370
  */
289
371
  'quantity': number;
290
372
  }
373
+ /**
374
+ *
375
+ * @export
376
+ * @interface BillingV1OrderVirtualMachineOrderResource
377
+ */
378
+ export interface BillingV1OrderVirtualMachineOrderResource {
379
+ /**
380
+ *
381
+ * @type {BillingV1OrderOrderResource}
382
+ * @memberof BillingV1OrderVirtualMachineOrderResource
383
+ */
384
+ 'order': BillingV1OrderOrderResource;
385
+ /**
386
+ *
387
+ * @type {VPSV1VirtualMachineVirtualMachineResource}
388
+ * @memberof BillingV1OrderVirtualMachineOrderResource
389
+ */
390
+ 'virtual_machine': VPSV1VirtualMachineVirtualMachineResource;
391
+ }
291
392
  /**
292
393
  *
293
394
  * @export
@@ -465,25 +566,6 @@ export declare const BillingV1SubscriptionSubscriptionResourceStatusEnum: {
465
566
  readonly Future: "future";
466
567
  };
467
568
  export type BillingV1SubscriptionSubscriptionResourceStatusEnum = typeof BillingV1SubscriptionSubscriptionResourceStatusEnum[keyof typeof BillingV1SubscriptionSubscriptionResourceStatusEnum];
468
- /**
469
- *
470
- * @export
471
- * @interface CommonSchemaErrorResponseSchema
472
- */
473
- export interface CommonSchemaErrorResponseSchema {
474
- /**
475
- *
476
- * @type {string}
477
- * @memberof CommonSchemaErrorResponseSchema
478
- */
479
- 'message': string;
480
- /**
481
- *
482
- * @type {string}
483
- * @memberof CommonSchemaErrorResponseSchema
484
- */
485
- 'correlation_id': string;
486
- }
487
569
  /**
488
570
  *
489
571
  * @export
@@ -509,69 +591,6 @@ export interface CommonSchemaPaginationMetaSchema {
509
591
  */
510
592
  'total': number;
511
593
  }
512
- /**
513
- *
514
- * @export
515
- * @interface CommonSchemaUnauthorizedResponseSchema
516
- */
517
- export interface CommonSchemaUnauthorizedResponseSchema {
518
- /**
519
- *
520
- * @type {string}
521
- * @memberof CommonSchemaUnauthorizedResponseSchema
522
- */
523
- 'message': string;
524
- /**
525
- *
526
- * @type {string}
527
- * @memberof CommonSchemaUnauthorizedResponseSchema
528
- */
529
- 'correlation_id': string;
530
- }
531
- /**
532
- *
533
- * @export
534
- * @interface CommonSchemaUnprocessableContentResponseSchema
535
- */
536
- export interface CommonSchemaUnprocessableContentResponseSchema {
537
- /**
538
- * Validation error message
539
- * @type {string}
540
- * @memberof CommonSchemaUnprocessableContentResponseSchema
541
- */
542
- 'message': string;
543
- /**
544
- *
545
- * @type {CommonSchemaUnprocessableContentResponseSchemaErrors}
546
- * @memberof CommonSchemaUnprocessableContentResponseSchema
547
- */
548
- 'errors': CommonSchemaUnprocessableContentResponseSchemaErrors;
549
- /**
550
- *
551
- * @type {string}
552
- * @memberof CommonSchemaUnprocessableContentResponseSchema
553
- */
554
- 'correlation_id': string;
555
- }
556
- /**
557
- *
558
- * @export
559
- * @interface CommonSchemaUnprocessableContentResponseSchemaErrors
560
- */
561
- export interface CommonSchemaUnprocessableContentResponseSchemaErrors {
562
- /**
563
- *
564
- * @type {Array<any>}
565
- * @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
566
- */
567
- 'field_1': Array<any>;
568
- /**
569
- *
570
- * @type {Array<any>}
571
- * @memberof CommonSchemaUnprocessableContentResponseSchemaErrors
572
- */
573
- 'field_2': Array<any>;
574
- }
575
594
  /**
576
595
  *
577
596
  * @export
@@ -857,19 +876,19 @@ export interface DNSV1ZoneUpdateRequestZoneInnerRecordsInner {
857
876
  */
858
877
  export interface DomainsV1AvailabilityAvailabilityRequest {
859
878
  /**
860
- *
879
+ * Domain name (without TLD)
861
880
  * @type {string}
862
881
  * @memberof DomainsV1AvailabilityAvailabilityRequest
863
882
  */
864
883
  'domain': string;
865
884
  /**
866
- *
885
+ * TLDs list
867
886
  * @type {Array<string>}
868
887
  * @memberof DomainsV1AvailabilityAvailabilityRequest
869
888
  */
870
889
  'tlds': Array<string>;
871
890
  /**
872
- *
891
+ * Should response include alternatives
873
892
  * @type {boolean}
874
893
  * @memberof DomainsV1AvailabilityAvailabilityRequest
875
894
  */
@@ -888,24 +907,179 @@ export interface DomainsV1AvailabilityAvailabilityResource {
888
907
  */
889
908
  'domain': string | null;
890
909
  /**
891
- *
910
+ * `true` if domain is available for registration
892
911
  * @type {boolean}
893
912
  * @memberof DomainsV1AvailabilityAvailabilityResource
894
913
  */
895
914
  'is_available': boolean;
896
915
  /**
897
- *
916
+ * `true` if domain is provided as an alternative
898
917
  * @type {boolean}
899
918
  * @memberof DomainsV1AvailabilityAvailabilityResource
900
919
  */
901
920
  'is_alternative': boolean;
902
921
  /**
903
- *
922
+ * Special rules and/or restrictions applied for registering TLD
904
923
  * @type {string}
905
924
  * @memberof DomainsV1AvailabilityAvailabilityResource
906
925
  */
907
926
  'restriction': string | null;
908
927
  }
928
+ /**
929
+ *
930
+ * @export
931
+ * @interface DomainsV1DomainDomainExtendedResource
932
+ */
933
+ export interface DomainsV1DomainDomainExtendedResource {
934
+ /**
935
+ * Domain name
936
+ * @type {string}
937
+ * @memberof DomainsV1DomainDomainExtendedResource
938
+ */
939
+ 'domain': string;
940
+ /**
941
+ * Status of the domain
942
+ * @type {string}
943
+ * @memberof DomainsV1DomainDomainExtendedResource
944
+ */
945
+ 'status': DomainsV1DomainDomainExtendedResourceStatusEnum;
946
+ /**
947
+ *
948
+ * @type {string}
949
+ * @memberof DomainsV1DomainDomainExtendedResource
950
+ */
951
+ 'message': string | null;
952
+ /**
953
+ * Is privacy protection allowed for the domain
954
+ * @type {boolean}
955
+ * @memberof DomainsV1DomainDomainExtendedResource
956
+ */
957
+ 'is_privacy_protection_allowed': boolean;
958
+ /**
959
+ * Is privacy protection enabled for the domain
960
+ * @type {boolean}
961
+ * @memberof DomainsV1DomainDomainExtendedResource
962
+ */
963
+ 'is_privacy_protected': boolean;
964
+ /**
965
+ * Is domain allowed to be locked
966
+ * @type {boolean}
967
+ * @memberof DomainsV1DomainDomainExtendedResource
968
+ */
969
+ 'is_lockable': boolean;
970
+ /**
971
+ * Is domain locked
972
+ * @type {boolean}
973
+ * @memberof DomainsV1DomainDomainExtendedResource
974
+ */
975
+ 'is_locked': boolean;
976
+ /**
977
+ *
978
+ * @type {DomainsV1DomainDomainExtendedResourceNameServers}
979
+ * @memberof DomainsV1DomainDomainExtendedResource
980
+ */
981
+ 'name_servers': DomainsV1DomainDomainExtendedResourceNameServers;
982
+ /**
983
+ * Child name servers
984
+ * @type {Array<Array<string>>}
985
+ * @memberof DomainsV1DomainDomainExtendedResource
986
+ */
987
+ 'child_name_servers': Array<Array<string>>;
988
+ /**
989
+ *
990
+ * @type {DomainsV1DomainDomainExtendedResourceDomainContacts}
991
+ * @memberof DomainsV1DomainDomainExtendedResource
992
+ */
993
+ 'domain_contacts': DomainsV1DomainDomainExtendedResourceDomainContacts;
994
+ /**
995
+ *
996
+ * @type {string}
997
+ * @memberof DomainsV1DomainDomainExtendedResource
998
+ */
999
+ 'created_at': string;
1000
+ /**
1001
+ *
1002
+ * @type {string}
1003
+ * @memberof DomainsV1DomainDomainExtendedResource
1004
+ */
1005
+ 'updated_at': string;
1006
+ /**
1007
+ *
1008
+ * @type {string}
1009
+ * @memberof DomainsV1DomainDomainExtendedResource
1010
+ */
1011
+ '60_days_lock_expires_at': string | null;
1012
+ /**
1013
+ *
1014
+ * @type {string}
1015
+ * @memberof DomainsV1DomainDomainExtendedResource
1016
+ */
1017
+ 'registered_at': string | null;
1018
+ /**
1019
+ *
1020
+ * @type {string}
1021
+ * @memberof DomainsV1DomainDomainExtendedResource
1022
+ */
1023
+ 'expires_at': string | null;
1024
+ }
1025
+ export declare const DomainsV1DomainDomainExtendedResourceStatusEnum: {
1026
+ readonly Active: "active";
1027
+ readonly PendingSetup: "pending_setup";
1028
+ readonly Expired: "expired";
1029
+ readonly Requested: "requested";
1030
+ readonly PendingVerification: "pending_verification";
1031
+ };
1032
+ export type DomainsV1DomainDomainExtendedResourceStatusEnum = typeof DomainsV1DomainDomainExtendedResourceStatusEnum[keyof typeof DomainsV1DomainDomainExtendedResourceStatusEnum];
1033
+ /**
1034
+ * WHOIS profiles
1035
+ * @export
1036
+ * @interface DomainsV1DomainDomainExtendedResourceDomainContacts
1037
+ */
1038
+ export interface DomainsV1DomainDomainExtendedResourceDomainContacts {
1039
+ /**
1040
+ * Admin WHOIS profile ID
1041
+ * @type {number}
1042
+ * @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
1043
+ */
1044
+ 'admin_id': number;
1045
+ /**
1046
+ * Owner WHOIS profile ID
1047
+ * @type {number}
1048
+ * @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
1049
+ */
1050
+ 'owner_id': number;
1051
+ /**
1052
+ * Billing WHOIS profile ID
1053
+ * @type {number}
1054
+ * @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
1055
+ */
1056
+ 'billing_id': number;
1057
+ /**
1058
+ * Technician WHOIS profile ID
1059
+ * @type {number}
1060
+ * @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
1061
+ */
1062
+ 'tech_id': number;
1063
+ }
1064
+ /**
1065
+ * Name servers
1066
+ * @export
1067
+ * @interface DomainsV1DomainDomainExtendedResourceNameServers
1068
+ */
1069
+ export interface DomainsV1DomainDomainExtendedResourceNameServers {
1070
+ /**
1071
+ * Name server 1
1072
+ * @type {string}
1073
+ * @memberof DomainsV1DomainDomainExtendedResourceNameServers
1074
+ */
1075
+ 'ns1': string;
1076
+ /**
1077
+ * Name server 2
1078
+ * @type {string}
1079
+ * @memberof DomainsV1DomainDomainExtendedResourceNameServers
1080
+ */
1081
+ 'ns2': string;
1082
+ }
909
1083
  /**
910
1084
  *
911
1085
  * @export
@@ -923,7 +1097,7 @@ export interface DomainsV1DomainDomainResource {
923
1097
  * @type {string}
924
1098
  * @memberof DomainsV1DomainDomainResource
925
1099
  */
926
- 'name': string | null;
1100
+ 'domain': string | null;
927
1101
  /**
928
1102
  *
929
1103
  * @type {string}
@@ -958,31 +1132,312 @@ export declare const DomainsV1DomainDomainResourceStatusEnum: {
958
1132
  readonly Active: "active";
959
1133
  readonly PendingSetup: "pending_setup";
960
1134
  readonly Expired: "expired";
1135
+ readonly Requested: "requested";
1136
+ readonly PendingVerification: "pending_verification";
961
1137
  };
962
1138
  export type DomainsV1DomainDomainResourceStatusEnum = typeof DomainsV1DomainDomainResourceStatusEnum[keyof typeof DomainsV1DomainDomainResourceStatusEnum];
963
1139
  /**
964
1140
  *
965
1141
  * @export
966
- * @interface VPSGetActionListV1200Response
1142
+ * @interface DomainsV1ForwardingForwardingResource
967
1143
  */
968
- export interface VPSGetActionListV1200Response {
1144
+ export interface DomainsV1ForwardingForwardingResource {
969
1145
  /**
970
- * Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
971
- * @type {Array<VPSV1ActionActionResource>}
972
- * @memberof VPSGetActionListV1200Response
1146
+ * Domain name
1147
+ * @type {string}
1148
+ * @memberof DomainsV1ForwardingForwardingResource
973
1149
  */
974
- 'data': Array<VPSV1ActionActionResource>;
1150
+ 'domain': string | null;
1151
+ /**
1152
+ * Redirect type
1153
+ * @type {string}
1154
+ * @memberof DomainsV1ForwardingForwardingResource
1155
+ */
1156
+ 'redirect_type': DomainsV1ForwardingForwardingResourceRedirectTypeEnum;
1157
+ /**
1158
+ * URL domain is forwarded to
1159
+ * @type {string}
1160
+ * @memberof DomainsV1ForwardingForwardingResource
1161
+ */
1162
+ 'redirect_url': string;
975
1163
  /**
976
1164
  *
977
- * @type {CommonSchemaPaginationMetaSchema}
978
- * @memberof VPSGetActionListV1200Response
1165
+ * @type {string}
1166
+ * @memberof DomainsV1ForwardingForwardingResource
979
1167
  */
980
- 'meta': CommonSchemaPaginationMetaSchema;
1168
+ 'created_at': string;
1169
+ /**
1170
+ *
1171
+ * @type {string}
1172
+ * @memberof DomainsV1ForwardingForwardingResource
1173
+ */
1174
+ 'updated_at': string | null;
981
1175
  }
1176
+ export declare const DomainsV1ForwardingForwardingResourceRedirectTypeEnum: {
1177
+ readonly _301: "301";
1178
+ readonly _302: "302";
1179
+ };
1180
+ export type DomainsV1ForwardingForwardingResourceRedirectTypeEnum = typeof DomainsV1ForwardingForwardingResourceRedirectTypeEnum[keyof typeof DomainsV1ForwardingForwardingResourceRedirectTypeEnum];
982
1181
  /**
983
1182
  *
984
1183
  * @export
985
- * @interface VPSGetBackupListV1200Response
1184
+ * @interface DomainsV1ForwardingStoreRequest
1185
+ */
1186
+ export interface DomainsV1ForwardingStoreRequest {
1187
+ /**
1188
+ * Domain name
1189
+ * @type {string}
1190
+ * @memberof DomainsV1ForwardingStoreRequest
1191
+ */
1192
+ 'domain': string;
1193
+ /**
1194
+ * Redirect type
1195
+ * @type {string}
1196
+ * @memberof DomainsV1ForwardingStoreRequest
1197
+ */
1198
+ 'redirect_type': DomainsV1ForwardingStoreRequestRedirectTypeEnum;
1199
+ /**
1200
+ * URL to forward domain to
1201
+ * @type {string}
1202
+ * @memberof DomainsV1ForwardingStoreRequest
1203
+ */
1204
+ 'redirect_url': string;
1205
+ }
1206
+ export declare const DomainsV1ForwardingStoreRequestRedirectTypeEnum: {
1207
+ readonly _301: "301";
1208
+ readonly _302: "302";
1209
+ };
1210
+ export type DomainsV1ForwardingStoreRequestRedirectTypeEnum = typeof DomainsV1ForwardingStoreRequestRedirectTypeEnum[keyof typeof DomainsV1ForwardingStoreRequestRedirectTypeEnum];
1211
+ /**
1212
+ *
1213
+ * @export
1214
+ * @interface DomainsV1PortfolioPurchaseRequest
1215
+ */
1216
+ export interface DomainsV1PortfolioPurchaseRequest {
1217
+ /**
1218
+ * Domain name
1219
+ * @type {string}
1220
+ * @memberof DomainsV1PortfolioPurchaseRequest
1221
+ */
1222
+ 'domain': string;
1223
+ /**
1224
+ * Catalog price item ID
1225
+ * @type {string}
1226
+ * @memberof DomainsV1PortfolioPurchaseRequest
1227
+ */
1228
+ 'item_id': string;
1229
+ /**
1230
+ * Payment method ID, default will be used if not provided
1231
+ * @type {number}
1232
+ * @memberof DomainsV1PortfolioPurchaseRequest
1233
+ */
1234
+ 'payment_method_id': number;
1235
+ /**
1236
+ *
1237
+ * @type {DomainsV1PortfolioPurchaseRequestDomainContacts}
1238
+ * @memberof DomainsV1PortfolioPurchaseRequest
1239
+ */
1240
+ 'domain_contacts': DomainsV1PortfolioPurchaseRequestDomainContacts;
1241
+ /**
1242
+ * Additional registration data, possible values depends on TLD
1243
+ * @type {object}
1244
+ * @memberof DomainsV1PortfolioPurchaseRequest
1245
+ */
1246
+ 'additional_details': object;
1247
+ /**
1248
+ * Discount coupon codes
1249
+ * @type {Array<any>}
1250
+ * @memberof DomainsV1PortfolioPurchaseRequest
1251
+ */
1252
+ 'coupons': Array<any>;
1253
+ }
1254
+ /**
1255
+ * Domain contact information
1256
+ * @export
1257
+ * @interface DomainsV1PortfolioPurchaseRequestDomainContacts
1258
+ */
1259
+ export interface DomainsV1PortfolioPurchaseRequestDomainContacts {
1260
+ /**
1261
+ * Owner contact WHOIS record ID
1262
+ * @type {number}
1263
+ * @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
1264
+ */
1265
+ 'owner_id': number;
1266
+ /**
1267
+ * Administrative contact WHOIS record ID
1268
+ * @type {number}
1269
+ * @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
1270
+ */
1271
+ 'admin_id': number;
1272
+ /**
1273
+ * Billing contact WHOIS record ID
1274
+ * @type {number}
1275
+ * @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
1276
+ */
1277
+ 'billing_id': number;
1278
+ /**
1279
+ * Technical contact WHOIS record ID
1280
+ * @type {number}
1281
+ * @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
1282
+ */
1283
+ 'tech_id': number;
1284
+ }
1285
+ /**
1286
+ *
1287
+ * @export
1288
+ * @interface DomainsV1PortfolioUpdateNameserversRequest
1289
+ */
1290
+ export interface DomainsV1PortfolioUpdateNameserversRequest {
1291
+ /**
1292
+ * First name server
1293
+ * @type {string}
1294
+ * @memberof DomainsV1PortfolioUpdateNameserversRequest
1295
+ */
1296
+ 'ns1': string;
1297
+ /**
1298
+ * Second name server
1299
+ * @type {string}
1300
+ * @memberof DomainsV1PortfolioUpdateNameserversRequest
1301
+ */
1302
+ 'ns2': string;
1303
+ /**
1304
+ * Third name server
1305
+ * @type {string}
1306
+ * @memberof DomainsV1PortfolioUpdateNameserversRequest
1307
+ */
1308
+ 'ns3': string;
1309
+ /**
1310
+ * Fourth name server
1311
+ * @type {string}
1312
+ * @memberof DomainsV1PortfolioUpdateNameserversRequest
1313
+ */
1314
+ 'ns4': string;
1315
+ }
1316
+ /**
1317
+ *
1318
+ * @export
1319
+ * @interface DomainsV1WHOISProfileResource
1320
+ */
1321
+ export interface DomainsV1WHOISProfileResource {
1322
+ /**
1323
+ * WHOIS Profile ID
1324
+ * @type {number}
1325
+ * @memberof DomainsV1WHOISProfileResource
1326
+ */
1327
+ 'id': number;
1328
+ /**
1329
+ * TLD to which contact profile can be applied to
1330
+ * @type {string}
1331
+ * @memberof DomainsV1WHOISProfileResource
1332
+ */
1333
+ 'tld': string;
1334
+ /**
1335
+ * ISO 3166 2-letter country code
1336
+ * @type {string}
1337
+ * @memberof DomainsV1WHOISProfileResource
1338
+ */
1339
+ 'country': string;
1340
+ /**
1341
+ * WHOIS profile entity type
1342
+ * @type {string}
1343
+ * @memberof DomainsV1WHOISProfileResource
1344
+ */
1345
+ 'entity_type': DomainsV1WHOISProfileResourceEntityTypeEnum;
1346
+ /**
1347
+ * WHOIS profile details
1348
+ * @type {object}
1349
+ * @memberof DomainsV1WHOISProfileResource
1350
+ */
1351
+ 'whois_details': object;
1352
+ /**
1353
+ * TLD details
1354
+ * @type {object}
1355
+ * @memberof DomainsV1WHOISProfileResource
1356
+ */
1357
+ 'tld_details': object;
1358
+ /**
1359
+ *
1360
+ * @type {string}
1361
+ * @memberof DomainsV1WHOISProfileResource
1362
+ */
1363
+ 'created_at': string;
1364
+ /**
1365
+ *
1366
+ * @type {string}
1367
+ * @memberof DomainsV1WHOISProfileResource
1368
+ */
1369
+ 'updated_at': string;
1370
+ }
1371
+ export declare const DomainsV1WHOISProfileResourceEntityTypeEnum: {
1372
+ readonly Individual: "individual";
1373
+ readonly Organization: "organization";
1374
+ };
1375
+ export type DomainsV1WHOISProfileResourceEntityTypeEnum = typeof DomainsV1WHOISProfileResourceEntityTypeEnum[keyof typeof DomainsV1WHOISProfileResourceEntityTypeEnum];
1376
+ /**
1377
+ *
1378
+ * @export
1379
+ * @interface DomainsV1WHOISStoreRequest
1380
+ */
1381
+ export interface DomainsV1WHOISStoreRequest {
1382
+ /**
1383
+ * TLD of the domain (without leading dot)
1384
+ * @type {string}
1385
+ * @memberof DomainsV1WHOISStoreRequest
1386
+ */
1387
+ 'tld': string;
1388
+ /**
1389
+ * ISO 3166 2-letter country code
1390
+ * @type {string}
1391
+ * @memberof DomainsV1WHOISStoreRequest
1392
+ */
1393
+ 'country': string;
1394
+ /**
1395
+ * Legal entity type
1396
+ * @type {string}
1397
+ * @memberof DomainsV1WHOISStoreRequest
1398
+ */
1399
+ 'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum;
1400
+ /**
1401
+ * TLD details
1402
+ * @type {object}
1403
+ * @memberof DomainsV1WHOISStoreRequest
1404
+ */
1405
+ 'tld_details': object;
1406
+ /**
1407
+ * WHOIS details
1408
+ * @type {object}
1409
+ * @memberof DomainsV1WHOISStoreRequest
1410
+ */
1411
+ 'whois_details': object;
1412
+ }
1413
+ export declare const DomainsV1WHOISStoreRequestEntityTypeEnum: {
1414
+ readonly Individual: "individual";
1415
+ readonly Organization: "organization";
1416
+ };
1417
+ export type DomainsV1WHOISStoreRequestEntityTypeEnum = typeof DomainsV1WHOISStoreRequestEntityTypeEnum[keyof typeof DomainsV1WHOISStoreRequestEntityTypeEnum];
1418
+ /**
1419
+ *
1420
+ * @export
1421
+ * @interface VPSGetActionListV1200Response
1422
+ */
1423
+ export interface VPSGetActionListV1200Response {
1424
+ /**
1425
+ * Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
1426
+ * @type {Array<VPSV1ActionActionResource>}
1427
+ * @memberof VPSGetActionListV1200Response
1428
+ */
1429
+ 'data': Array<VPSV1ActionActionResource>;
1430
+ /**
1431
+ *
1432
+ * @type {CommonSchemaPaginationMetaSchema}
1433
+ * @memberof VPSGetActionListV1200Response
1434
+ */
1435
+ 'meta': CommonSchemaPaginationMetaSchema;
1436
+ }
1437
+ /**
1438
+ *
1439
+ * @export
1440
+ * @interface VPSGetBackupListV1200Response
986
1441
  */
987
1442
  export interface VPSGetBackupListV1200Response {
988
1443
  /**
@@ -1682,6 +2137,25 @@ export interface VPSV1VirtualMachineHostnameUpdateRequest {
1682
2137
  */
1683
2138
  'hostname': string;
1684
2139
  }
2140
+ /**
2141
+ *
2142
+ * @export
2143
+ * @interface VPSV1VirtualMachineMetricGetRequest
2144
+ */
2145
+ export interface VPSV1VirtualMachineMetricGetRequest {
2146
+ /**
2147
+ *
2148
+ * @type {string}
2149
+ * @memberof VPSV1VirtualMachineMetricGetRequest
2150
+ */
2151
+ 'date_from': string;
2152
+ /**
2153
+ *
2154
+ * @type {string}
2155
+ * @memberof VPSV1VirtualMachineMetricGetRequest
2156
+ */
2157
+ 'date_to': string;
2158
+ }
1685
2159
  /**
1686
2160
  *
1687
2161
  * @export
@@ -1714,6 +2188,37 @@ export interface VPSV1VirtualMachinePanelPasswordUpdateRequest {
1714
2188
  */
1715
2189
  'password': string;
1716
2190
  }
2191
+ /**
2192
+ *
2193
+ * @export
2194
+ * @interface VPSV1VirtualMachinePurchaseRequest
2195
+ */
2196
+ export interface VPSV1VirtualMachinePurchaseRequest {
2197
+ /**
2198
+ * Catalog price item ID
2199
+ * @type {string}
2200
+ * @memberof VPSV1VirtualMachinePurchaseRequest
2201
+ */
2202
+ 'item_id': string;
2203
+ /**
2204
+ * Payment method ID, default will be used if not provided
2205
+ * @type {number}
2206
+ * @memberof VPSV1VirtualMachinePurchaseRequest
2207
+ */
2208
+ 'payment_method_id': number;
2209
+ /**
2210
+ *
2211
+ * @type {VPSV1VirtualMachineSetupRequest}
2212
+ * @memberof VPSV1VirtualMachinePurchaseRequest
2213
+ */
2214
+ 'setup': VPSV1VirtualMachineSetupRequest;
2215
+ /**
2216
+ * Discount coupon codes
2217
+ * @type {Array<any>}
2218
+ * @memberof VPSV1VirtualMachinePurchaseRequest
2219
+ */
2220
+ 'coupons': Array<any>;
2221
+ }
1717
2222
  /**
1718
2223
  *
1719
2224
  * @export
@@ -1814,13 +2319,13 @@ export interface VPSV1VirtualMachineSetupRequest {
1814
2319
  */
1815
2320
  'enable_backups': boolean;
1816
2321
  /**
1817
- *
2322
+ * Name server 1
1818
2323
  * @type {string}
1819
2324
  * @memberof VPSV1VirtualMachineSetupRequest
1820
2325
  */
1821
2326
  'ns1': string;
1822
2327
  /**
1823
- *
2328
+ * Name server 2
1824
2329
  * @type {string}
1825
2330
  * @memberof VPSV1VirtualMachineSetupRequest
1826
2331
  */
@@ -1833,7 +2338,7 @@ export interface VPSV1VirtualMachineSetupRequest {
1833
2338
  'public_key': VPSV1VirtualMachineSetupRequestPublicKey;
1834
2339
  }
1835
2340
  /**
1836
- *
2341
+ * Use SSH key
1837
2342
  * @export
1838
2343
  * @interface VPSV1VirtualMachineSetupRequestPublicKey
1839
2344
  */
@@ -1845,7 +2350,7 @@ export interface VPSV1VirtualMachineSetupRequestPublicKey {
1845
2350
  */
1846
2351
  'name': string;
1847
2352
  /**
1848
- * SSH public key
2353
+ * Contents of the SSH key
1849
2354
  * @type {string}
1850
2355
  * @memberof VPSV1VirtualMachineSetupRequestPublicKey
1851
2356
  */
@@ -2010,10 +2515,12 @@ export declare const BillingCatalogApiAxiosParamCreator: (configuration?: Config
2010
2515
  /**
2011
2516
  * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
2012
2517
  * @summary Get catalog item list
2518
+ * @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
2519
+ * @param {string} [name] Filter catalog items by name. Use &#x60;*&#x60; for wildcard search, e.g. &#x60;.COM*&#x60; to find .com domain
2013
2520
  * @param {*} [options] Override http request option.
2014
2521
  * @throws {RequiredError}
2015
2522
  */
2016
- getCatalogItemListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2523
+ getCatalogItemListV1: (category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2017
2524
  };
2018
2525
  /**
2019
2526
  * BillingCatalogApi - functional programming interface
@@ -2023,10 +2530,12 @@ export declare const BillingCatalogApiFp: (configuration?: Configuration) => {
2023
2530
  /**
2024
2531
  * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
2025
2532
  * @summary Get catalog item list
2533
+ * @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
2534
+ * @param {string} [name] Filter catalog items by name. Use &#x60;*&#x60; for wildcard search, e.g. &#x60;.COM*&#x60; to find .com domain
2026
2535
  * @param {*} [options] Override http request option.
2027
2536
  * @throws {RequiredError}
2028
2537
  */
2029
- getCatalogItemListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>>;
2538
+ getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>>;
2030
2539
  };
2031
2540
  /**
2032
2541
  * BillingCatalogApi - factory interface
@@ -2036,10 +2545,12 @@ export declare const BillingCatalogApiFactory: (configuration?: Configuration, b
2036
2545
  /**
2037
2546
  * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
2038
2547
  * @summary Get catalog item list
2548
+ * @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
2549
+ * @param {string} [name] Filter catalog items by name. Use &#x60;*&#x60; for wildcard search, e.g. &#x60;.COM*&#x60; to find .com domain
2039
2550
  * @param {*} [options] Override http request option.
2040
2551
  * @throws {RequiredError}
2041
2552
  */
2042
- getCatalogItemListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>;
2553
+ getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1CatalogCatalogItemResource>>;
2043
2554
  };
2044
2555
  /**
2045
2556
  * BillingCatalogApi - object-oriented interface
@@ -2051,22 +2562,33 @@ export declare class BillingCatalogApi extends BaseAPI {
2051
2562
  /**
2052
2563
  * This endpoint retrieves a list of catalog items available for order. Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
2053
2564
  * @summary Get catalog item list
2565
+ * @param {GetCatalogItemListV1CategoryEnum} [category] Filter catalog items by category
2566
+ * @param {string} [name] Filter catalog items by name. Use &#x60;*&#x60; for wildcard search, e.g. &#x60;.COM*&#x60; to find .com domain
2054
2567
  * @param {*} [options] Override http request option.
2055
2568
  * @throws {RequiredError}
2056
2569
  * @memberof BillingCatalogApi
2057
2570
  */
2058
- getCatalogItemListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1CatalogCatalogItemResource[], any>>;
2571
+ getCatalogItemListV1(category?: GetCatalogItemListV1CategoryEnum, name?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1CatalogCatalogItemResource[], any>>;
2059
2572
  }
2573
+ /**
2574
+ * @export
2575
+ */
2576
+ export declare const GetCatalogItemListV1CategoryEnum: {
2577
+ readonly Domain: "DOMAIN";
2578
+ readonly Vps: "VPS";
2579
+ };
2580
+ export type GetCatalogItemListV1CategoryEnum = typeof GetCatalogItemListV1CategoryEnum[keyof typeof GetCatalogItemListV1CategoryEnum];
2060
2581
  /**
2061
2582
  * BillingOrdersApi - axios parameter creator
2062
2583
  * @export
2063
2584
  */
2064
2585
  export declare const BillingOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
2065
2586
  /**
2066
- * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2587
+ * This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2067
2588
  * @summary Create new service order
2068
2589
  * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
2069
2590
  * @param {*} [options] Override http request option.
2591
+ * @deprecated
2070
2592
  * @throws {RequiredError}
2071
2593
  */
2072
2594
  createNewServiceOrderV1: (billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
@@ -2077,10 +2599,11 @@ export declare const BillingOrdersApiAxiosParamCreator: (configuration?: Configu
2077
2599
  */
2078
2600
  export declare const BillingOrdersApiFp: (configuration?: Configuration) => {
2079
2601
  /**
2080
- * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2602
+ * This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2081
2603
  * @summary Create new service order
2082
2604
  * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
2083
2605
  * @param {*} [options] Override http request option.
2606
+ * @deprecated
2084
2607
  * @throws {RequiredError}
2085
2608
  */
2086
2609
  createNewServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
@@ -2091,10 +2614,11 @@ export declare const BillingOrdersApiFp: (configuration?: Configuration) => {
2091
2614
  */
2092
2615
  export declare const BillingOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2093
2616
  /**
2094
- * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2617
+ * This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2095
2618
  * @summary Create new service order
2096
2619
  * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
2097
2620
  * @param {*} [options] Override http request option.
2621
+ * @deprecated
2098
2622
  * @throws {RequiredError}
2099
2623
  */
2100
2624
  createNewServiceOrderV1(billingV1OrderStoreRequest: BillingV1OrderStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
@@ -2107,10 +2631,11 @@ export declare const BillingOrdersApiFactory: (configuration?: Configuration, ba
2107
2631
  */
2108
2632
  export declare class BillingOrdersApi extends BaseAPI {
2109
2633
  /**
2110
- * This endpoint creates a new service order. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2634
+ * This endpoint creates a new service order. **DEPRECATED** To purchase a domain, use [`POST /api/domains/v1/portfolio`](/#tag/domains-portfolio/POST/api/domains/v1/portfolio) instead. To purchase a VPS, use [`POST /api/vps/v1/virtual-machines`](/#tag/vps-virtual-machine/POST/api/vps/v1/virtual-machines) instead. To place order, you need to provide payment method ID and list of price items from the catalog endpoint together with quantity. Coupons also can be provided during order creation. Orders created using this endpoint will be set for automatic renewal. Some `credit_card` payments might need additional verification, rendering purchase unprocessed. We recommend use other payment methods than `credit_card` if you encounter this issue.
2111
2635
  * @summary Create new service order
2112
2636
  * @param {BillingV1OrderStoreRequest} billingV1OrderStoreRequest
2113
2637
  * @param {*} [options] Override http request option.
2638
+ * @deprecated
2114
2639
  * @throws {RequiredError}
2115
2640
  * @memberof BillingOrdersApi
2116
2641
  */
@@ -2426,362 +2951,913 @@ export declare const DNSSnapshotApiFactory: (configuration?: Configuration, base
2426
2951
  restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2427
2952
  };
2428
2953
  /**
2429
- * DNSSnapshotApi - object-oriented interface
2954
+ * DNSSnapshotApi - object-oriented interface
2955
+ * @export
2956
+ * @class DNSSnapshotApi
2957
+ * @extends {BaseAPI}
2958
+ */
2959
+ export declare class DNSSnapshotApi extends BaseAPI {
2960
+ /**
2961
+ * This endpoint retrieves list of DNS snapshots.
2962
+ * @summary Get snapshot list
2963
+ * @param {string} domain Domain name
2964
+ * @param {*} [options] Override http request option.
2965
+ * @throws {RequiredError}
2966
+ * @memberof DNSSnapshotApi
2967
+ */
2968
+ getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotResource[], any>>;
2969
+ /**
2970
+ * This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
2971
+ * @summary Get snapshot
2972
+ * @param {string} domain Domain name
2973
+ * @param {number} snapshotId Snapshot ID
2974
+ * @param {*} [options] Override http request option.
2975
+ * @throws {RequiredError}
2976
+ * @memberof DNSSnapshotApi
2977
+ */
2978
+ getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotWithContentResource, any>>;
2979
+ /**
2980
+ * This endpoint restores DNS zone to the selected snapshot.
2981
+ * @summary Restore snapshot
2982
+ * @param {string} domain Domain name
2983
+ * @param {number} snapshotId Snapshot ID
2984
+ * @param {*} [options] Override http request option.
2985
+ * @throws {RequiredError}
2986
+ * @memberof DNSSnapshotApi
2987
+ */
2988
+ restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2989
+ }
2990
+ /**
2991
+ * DNSZoneApi - axios parameter creator
2992
+ * @export
2993
+ */
2994
+ export declare const DNSZoneApiAxiosParamCreator: (configuration?: Configuration) => {
2995
+ /**
2996
+ * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
2997
+ * @summary Delete zone records
2998
+ * @param {string} domain Domain name
2999
+ * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
3000
+ * @param {*} [options] Override http request option.
3001
+ * @throws {RequiredError}
3002
+ */
3003
+ deleteZoneRecordsV1: (domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3004
+ /**
3005
+ * This endpoint retrieves DNS zone records for a specific domain.
3006
+ * @summary Get records
3007
+ * @param {string} domain Domain name
3008
+ * @param {*} [options] Override http request option.
3009
+ * @throws {RequiredError}
3010
+ */
3011
+ getRecordsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3012
+ /**
3013
+ * This endpoint resets DNS zone to the default records.
3014
+ * @summary Reset zone records
3015
+ * @param {string} domain Domain name
3016
+ * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
3017
+ * @param {*} [options] Override http request option.
3018
+ * @throws {RequiredError}
3019
+ */
3020
+ resetZoneRecordsV1: (domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3021
+ /**
3022
+ * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
3023
+ * @summary Update zone records
3024
+ * @param {string} domain Domain name
3025
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3026
+ * @param {*} [options] Override http request option.
3027
+ * @throws {RequiredError}
3028
+ */
3029
+ updateZoneRecordsV1: (domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3030
+ /**
3031
+ * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
3032
+ * @summary Validate zone records
3033
+ * @param {string} domain Domain name
3034
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3035
+ * @param {*} [options] Override http request option.
3036
+ * @throws {RequiredError}
3037
+ */
3038
+ validateZoneRecordsV1: (domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3039
+ };
3040
+ /**
3041
+ * DNSZoneApi - functional programming interface
3042
+ * @export
3043
+ */
3044
+ export declare const DNSZoneApiFp: (configuration?: Configuration) => {
3045
+ /**
3046
+ * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
3047
+ * @summary Delete zone records
3048
+ * @param {string} domain Domain name
3049
+ * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
3050
+ * @param {*} [options] Override http request option.
3051
+ * @throws {RequiredError}
3052
+ */
3053
+ deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3054
+ /**
3055
+ * This endpoint retrieves DNS zone records for a specific domain.
3056
+ * @summary Get records
3057
+ * @param {string} domain Domain name
3058
+ * @param {*} [options] Override http request option.
3059
+ * @throws {RequiredError}
3060
+ */
3061
+ getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DNSV1ZoneRecordResource>>>;
3062
+ /**
3063
+ * This endpoint resets DNS zone to the default records.
3064
+ * @summary Reset zone records
3065
+ * @param {string} domain Domain name
3066
+ * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
3067
+ * @param {*} [options] Override http request option.
3068
+ * @throws {RequiredError}
3069
+ */
3070
+ resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3071
+ /**
3072
+ * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
3073
+ * @summary Update zone records
3074
+ * @param {string} domain Domain name
3075
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3076
+ * @param {*} [options] Override http request option.
3077
+ * @throws {RequiredError}
3078
+ */
3079
+ updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3080
+ /**
3081
+ * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
3082
+ * @summary Validate zone records
3083
+ * @param {string} domain Domain name
3084
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3085
+ * @param {*} [options] Override http request option.
3086
+ * @throws {RequiredError}
3087
+ */
3088
+ validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3089
+ };
3090
+ /**
3091
+ * DNSZoneApi - factory interface
3092
+ * @export
3093
+ */
3094
+ export declare const DNSZoneApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3095
+ /**
3096
+ * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
3097
+ * @summary Delete zone records
3098
+ * @param {string} domain Domain name
3099
+ * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
3100
+ * @param {*} [options] Override http request option.
3101
+ * @throws {RequiredError}
3102
+ */
3103
+ deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3104
+ /**
3105
+ * This endpoint retrieves DNS zone records for a specific domain.
3106
+ * @summary Get records
3107
+ * @param {string} domain Domain name
3108
+ * @param {*} [options] Override http request option.
3109
+ * @throws {RequiredError}
3110
+ */
3111
+ getRecordsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DNSV1ZoneRecordResource>>;
3112
+ /**
3113
+ * This endpoint resets DNS zone to the default records.
3114
+ * @summary Reset zone records
3115
+ * @param {string} domain Domain name
3116
+ * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
3117
+ * @param {*} [options] Override http request option.
3118
+ * @throws {RequiredError}
3119
+ */
3120
+ resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3121
+ /**
3122
+ * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
3123
+ * @summary Update zone records
3124
+ * @param {string} domain Domain name
3125
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3126
+ * @param {*} [options] Override http request option.
3127
+ * @throws {RequiredError}
3128
+ */
3129
+ updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3130
+ /**
3131
+ * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
3132
+ * @summary Validate zone records
3133
+ * @param {string} domain Domain name
3134
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3135
+ * @param {*} [options] Override http request option.
3136
+ * @throws {RequiredError}
3137
+ */
3138
+ validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3139
+ };
3140
+ /**
3141
+ * DNSZoneApi - object-oriented interface
3142
+ * @export
3143
+ * @class DNSZoneApi
3144
+ * @extends {BaseAPI}
3145
+ */
3146
+ export declare class DNSZoneApi extends BaseAPI {
3147
+ /**
3148
+ * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
3149
+ * @summary Delete zone records
3150
+ * @param {string} domain Domain name
3151
+ * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
3152
+ * @param {*} [options] Override http request option.
3153
+ * @throws {RequiredError}
3154
+ * @memberof DNSZoneApi
3155
+ */
3156
+ deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3157
+ /**
3158
+ * This endpoint retrieves DNS zone records for a specific domain.
3159
+ * @summary Get records
3160
+ * @param {string} domain Domain name
3161
+ * @param {*} [options] Override http request option.
3162
+ * @throws {RequiredError}
3163
+ * @memberof DNSZoneApi
3164
+ */
3165
+ getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1ZoneRecordResource[], any>>;
3166
+ /**
3167
+ * This endpoint resets DNS zone to the default records.
3168
+ * @summary Reset zone records
3169
+ * @param {string} domain Domain name
3170
+ * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
3171
+ * @param {*} [options] Override http request option.
3172
+ * @throws {RequiredError}
3173
+ * @memberof DNSZoneApi
3174
+ */
3175
+ resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3176
+ /**
3177
+ * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
3178
+ * @summary Update zone records
3179
+ * @param {string} domain Domain name
3180
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3181
+ * @param {*} [options] Override http request option.
3182
+ * @throws {RequiredError}
3183
+ * @memberof DNSZoneApi
3184
+ */
3185
+ updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3186
+ /**
3187
+ * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
3188
+ * @summary Validate zone records
3189
+ * @param {string} domain Domain name
3190
+ * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3191
+ * @param {*} [options] Override http request option.
3192
+ * @throws {RequiredError}
3193
+ * @memberof DNSZoneApi
3194
+ */
3195
+ validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3196
+ }
3197
+ /**
3198
+ * DomainsAvailabilityApi - axios parameter creator
3199
+ * @export
3200
+ */
3201
+ export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
3202
+ /**
3203
+ * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
3204
+ * @summary Check domain availability
3205
+ * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3206
+ * @param {*} [options] Override http request option.
3207
+ * @throws {RequiredError}
3208
+ */
3209
+ checkDomainAvailabilityV1: (domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3210
+ };
3211
+ /**
3212
+ * DomainsAvailabilityApi - functional programming interface
3213
+ * @export
3214
+ */
3215
+ export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
3216
+ /**
3217
+ * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
3218
+ * @summary Check domain availability
3219
+ * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3220
+ * @param {*} [options] Override http request option.
3221
+ * @throws {RequiredError}
3222
+ */
3223
+ checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>>;
3224
+ };
3225
+ /**
3226
+ * DomainsAvailabilityApi - factory interface
3227
+ * @export
3228
+ */
3229
+ export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3230
+ /**
3231
+ * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
3232
+ * @summary Check domain availability
3233
+ * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3234
+ * @param {*} [options] Override http request option.
3235
+ * @throws {RequiredError}
3236
+ */
3237
+ checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>;
3238
+ };
3239
+ /**
3240
+ * DomainsAvailabilityApi - object-oriented interface
3241
+ * @export
3242
+ * @class DomainsAvailabilityApi
3243
+ * @extends {BaseAPI}
3244
+ */
3245
+ export declare class DomainsAvailabilityApi extends BaseAPI {
3246
+ /**
3247
+ * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. If you want to get alternative domains with response, provide only one TLD in the request and set `with_alternatives` to `true`. TLDs should be provided without the leading dot (e.g. `com`, `net`, `org`). Endpoint has rate limit of 10 requests per minute.
3248
+ * @summary Check domain availability
3249
+ * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3250
+ * @param {*} [options] Override http request option.
3251
+ * @throws {RequiredError}
3252
+ * @memberof DomainsAvailabilityApi
3253
+ */
3254
+ checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1AvailabilityAvailabilityResource[], any>>;
3255
+ }
3256
+ /**
3257
+ * DomainsForwardingApi - axios parameter creator
3258
+ * @export
3259
+ */
3260
+ export declare const DomainsForwardingApiAxiosParamCreator: (configuration?: Configuration) => {
3261
+ /**
3262
+ * This endpoint creates domain forwarding data.
3263
+ * @summary Create forwarding data
3264
+ * @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
3265
+ * @param {*} [options] Override http request option.
3266
+ * @throws {RequiredError}
3267
+ */
3268
+ createForwardingDataV1: (domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3269
+ /**
3270
+ * This endpoint deletes domain forwarding data.
3271
+ * @summary Delete forwarding data
3272
+ * @param {string} domain Domain name
3273
+ * @param {*} [options] Override http request option.
3274
+ * @throws {RequiredError}
3275
+ */
3276
+ deleteForwardingDataV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3277
+ /**
3278
+ * This endpoint retrieves domain forwarding data.
3279
+ * @summary Get forwarding data
3280
+ * @param {string} domain Domain name
3281
+ * @param {*} [options] Override http request option.
3282
+ * @throws {RequiredError}
3283
+ */
3284
+ getForwardingDataV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3285
+ };
3286
+ /**
3287
+ * DomainsForwardingApi - functional programming interface
3288
+ * @export
3289
+ */
3290
+ export declare const DomainsForwardingApiFp: (configuration?: Configuration) => {
3291
+ /**
3292
+ * This endpoint creates domain forwarding data.
3293
+ * @summary Create forwarding data
3294
+ * @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
3295
+ * @param {*} [options] Override http request option.
3296
+ * @throws {RequiredError}
3297
+ */
3298
+ createForwardingDataV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1ForwardingForwardingResource>>;
3299
+ /**
3300
+ * This endpoint deletes domain forwarding data.
3301
+ * @summary Delete forwarding data
3302
+ * @param {string} domain Domain name
3303
+ * @param {*} [options] Override http request option.
3304
+ * @throws {RequiredError}
3305
+ */
3306
+ deleteForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3307
+ /**
3308
+ * This endpoint retrieves domain forwarding data.
3309
+ * @summary Get forwarding data
3310
+ * @param {string} domain Domain name
3311
+ * @param {*} [options] Override http request option.
3312
+ * @throws {RequiredError}
3313
+ */
3314
+ getForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1ForwardingForwardingResource>>;
3315
+ };
3316
+ /**
3317
+ * DomainsForwardingApi - factory interface
3318
+ * @export
3319
+ */
3320
+ export declare const DomainsForwardingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3321
+ /**
3322
+ * This endpoint creates domain forwarding data.
3323
+ * @summary Create forwarding data
3324
+ * @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
3325
+ * @param {*} [options] Override http request option.
3326
+ * @throws {RequiredError}
3327
+ */
3328
+ createForwardingDataV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1ForwardingForwardingResource>;
3329
+ /**
3330
+ * This endpoint deletes domain forwarding data.
3331
+ * @summary Delete forwarding data
3332
+ * @param {string} domain Domain name
3333
+ * @param {*} [options] Override http request option.
3334
+ * @throws {RequiredError}
3335
+ */
3336
+ deleteForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3337
+ /**
3338
+ * This endpoint retrieves domain forwarding data.
3339
+ * @summary Get forwarding data
3340
+ * @param {string} domain Domain name
3341
+ * @param {*} [options] Override http request option.
3342
+ * @throws {RequiredError}
3343
+ */
3344
+ getForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1ForwardingForwardingResource>;
3345
+ };
3346
+ /**
3347
+ * DomainsForwardingApi - object-oriented interface
3348
+ * @export
3349
+ * @class DomainsForwardingApi
3350
+ * @extends {BaseAPI}
3351
+ */
3352
+ export declare class DomainsForwardingApi extends BaseAPI {
3353
+ /**
3354
+ * This endpoint creates domain forwarding data.
3355
+ * @summary Create forwarding data
3356
+ * @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
3357
+ * @param {*} [options] Override http request option.
3358
+ * @throws {RequiredError}
3359
+ * @memberof DomainsForwardingApi
3360
+ */
3361
+ createForwardingDataV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any>>;
3362
+ /**
3363
+ * This endpoint deletes domain forwarding data.
3364
+ * @summary Delete forwarding data
3365
+ * @param {string} domain Domain name
3366
+ * @param {*} [options] Override http request option.
3367
+ * @throws {RequiredError}
3368
+ * @memberof DomainsForwardingApi
3369
+ */
3370
+ deleteForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3371
+ /**
3372
+ * This endpoint retrieves domain forwarding data.
3373
+ * @summary Get forwarding data
3374
+ * @param {string} domain Domain name
3375
+ * @param {*} [options] Override http request option.
3376
+ * @throws {RequiredError}
3377
+ * @memberof DomainsForwardingApi
3378
+ */
3379
+ getForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any>>;
3380
+ }
3381
+ /**
3382
+ * DomainsPortfolioApi - axios parameter creator
3383
+ * @export
3384
+ */
3385
+ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
3386
+ /**
3387
+ * This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
3388
+ * @summary Disable domain lock
3389
+ * @param {string} domain Domain name
3390
+ * @param {*} [options] Override http request option.
3391
+ * @throws {RequiredError}
3392
+ */
3393
+ disableDomainLockV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3394
+ /**
3395
+ * This endpoint disables privacy protection for the domain. When privacy protection is disabled, the domain owner\'s personal information is visible in the public WHOIS database.
3396
+ * @summary Disable privacy protection
3397
+ * @param {string} domain Domain name
3398
+ * @param {*} [options] Override http request option.
3399
+ * @throws {RequiredError}
3400
+ */
3401
+ disablePrivacyProtectionV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3402
+ /**
3403
+ * This endpoint enables domain lock for the domain. When domain lock is enabled, the domain cannot be transferred to another registrar without first disabling the lock.
3404
+ * @summary Enable domain lock
3405
+ * @param {string} domain Domain name
3406
+ * @param {*} [options] Override http request option.
3407
+ * @throws {RequiredError}
3408
+ */
3409
+ enableDomainLockV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3410
+ /**
3411
+ * This endpoint enables privacy protection for the domain. When privacy protection is enabled, the domain owner\'s personal information is hidden from the public WHOIS database.
3412
+ * @summary Enable privacy protection
3413
+ * @param {string} domain Domain name
3414
+ * @param {*} [options] Override http request option.
3415
+ * @throws {RequiredError}
3416
+ */
3417
+ enablePrivacyProtectionV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3418
+ /**
3419
+ * This endpoint retrieves a list of all domains associated with your account.
3420
+ * @summary Get domain list
3421
+ * @param {*} [options] Override http request option.
3422
+ * @throws {RequiredError}
3423
+ */
3424
+ getDomainListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3425
+ /**
3426
+ * This endpoint retrieves details for specified domain.
3427
+ * @summary Get domain
3428
+ * @param {string} domain Domain name
3429
+ * @param {*} [options] Override http request option.
3430
+ * @throws {RequiredError}
3431
+ */
3432
+ getDomainV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3433
+ /**
3434
+ * This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
3435
+ * @summary Purchase new domain
3436
+ * @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
3437
+ * @param {*} [options] Override http request option.
3438
+ * @throws {RequiredError}
3439
+ */
3440
+ purchaseNewDomainV1: (domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3441
+ /**
3442
+ * This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
3443
+ * @summary Update nameservers
3444
+ * @param {string} domain Domain name
3445
+ * @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
3446
+ * @param {*} [options] Override http request option.
3447
+ * @throws {RequiredError}
3448
+ */
3449
+ updateNameserversV1: (domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3450
+ };
3451
+ /**
3452
+ * DomainsPortfolioApi - functional programming interface
3453
+ * @export
3454
+ */
3455
+ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
3456
+ /**
3457
+ * This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
3458
+ * @summary Disable domain lock
3459
+ * @param {string} domain Domain name
3460
+ * @param {*} [options] Override http request option.
3461
+ * @throws {RequiredError}
3462
+ */
3463
+ disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3464
+ /**
3465
+ * This endpoint disables privacy protection for the domain. When privacy protection is disabled, the domain owner\'s personal information is visible in the public WHOIS database.
3466
+ * @summary Disable privacy protection
3467
+ * @param {string} domain Domain name
3468
+ * @param {*} [options] Override http request option.
3469
+ * @throws {RequiredError}
3470
+ */
3471
+ disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3472
+ /**
3473
+ * This endpoint enables domain lock for the domain. When domain lock is enabled, the domain cannot be transferred to another registrar without first disabling the lock.
3474
+ * @summary Enable domain lock
3475
+ * @param {string} domain Domain name
3476
+ * @param {*} [options] Override http request option.
3477
+ * @throws {RequiredError}
3478
+ */
3479
+ enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3480
+ /**
3481
+ * This endpoint enables privacy protection for the domain. When privacy protection is enabled, the domain owner\'s personal information is hidden from the public WHOIS database.
3482
+ * @summary Enable privacy protection
3483
+ * @param {string} domain Domain name
3484
+ * @param {*} [options] Override http request option.
3485
+ * @throws {RequiredError}
3486
+ */
3487
+ enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3488
+ /**
3489
+ * This endpoint retrieves a list of all domains associated with your account.
3490
+ * @summary Get domain list
3491
+ * @param {*} [options] Override http request option.
3492
+ * @throws {RequiredError}
3493
+ */
3494
+ getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>>;
3495
+ /**
3496
+ * This endpoint retrieves details for specified domain.
3497
+ * @summary Get domain
3498
+ * @param {string} domain Domain name
3499
+ * @param {*} [options] Override http request option.
3500
+ * @throws {RequiredError}
3501
+ */
3502
+ getDomainV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1DomainDomainExtendedResource>>;
3503
+ /**
3504
+ * This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
3505
+ * @summary Purchase new domain
3506
+ * @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
3507
+ * @param {*} [options] Override http request option.
3508
+ * @throws {RequiredError}
3509
+ */
3510
+ purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
3511
+ /**
3512
+ * This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
3513
+ * @summary Update nameservers
3514
+ * @param {string} domain Domain name
3515
+ * @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
3516
+ * @param {*} [options] Override http request option.
3517
+ * @throws {RequiredError}
3518
+ */
3519
+ updateNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3520
+ };
3521
+ /**
3522
+ * DomainsPortfolioApi - factory interface
2430
3523
  * @export
2431
- * @class DNSSnapshotApi
2432
- * @extends {BaseAPI}
2433
3524
  */
2434
- export declare class DNSSnapshotApi extends BaseAPI {
3525
+ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2435
3526
  /**
2436
- * This endpoint retrieves list of DNS snapshots.
2437
- * @summary Get snapshot list
3527
+ * This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
3528
+ * @summary Disable domain lock
2438
3529
  * @param {string} domain Domain name
2439
3530
  * @param {*} [options] Override http request option.
2440
3531
  * @throws {RequiredError}
2441
- * @memberof DNSSnapshotApi
2442
3532
  */
2443
- getSnapshotListV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotResource[], any>>;
3533
+ disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2444
3534
  /**
2445
- * This endpoint retrieves particular DNS snapshot with the contents of DNS zone records.
2446
- * @summary Get snapshot
3535
+ * This endpoint disables privacy protection for the domain. When privacy protection is disabled, the domain owner\'s personal information is visible in the public WHOIS database.
3536
+ * @summary Disable privacy protection
2447
3537
  * @param {string} domain Domain name
2448
- * @param {number} snapshotId Snapshot ID
2449
3538
  * @param {*} [options] Override http request option.
2450
3539
  * @throws {RequiredError}
2451
- * @memberof DNSSnapshotApi
2452
3540
  */
2453
- getSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1SnapshotSnapshotWithContentResource, any>>;
3541
+ disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2454
3542
  /**
2455
- * This endpoint restores DNS zone to the selected snapshot.
2456
- * @summary Restore snapshot
3543
+ * This endpoint enables domain lock for the domain. When domain lock is enabled, the domain cannot be transferred to another registrar without first disabling the lock.
3544
+ * @summary Enable domain lock
2457
3545
  * @param {string} domain Domain name
2458
- * @param {number} snapshotId Snapshot ID
2459
3546
  * @param {*} [options] Override http request option.
2460
3547
  * @throws {RequiredError}
2461
- * @memberof DNSSnapshotApi
2462
3548
  */
2463
- restoreSnapshotV1(domain: string, snapshotId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2464
- }
2465
- /**
2466
- * DNSZoneApi - axios parameter creator
2467
- * @export
2468
- */
2469
- export declare const DNSZoneApiAxiosParamCreator: (configuration?: Configuration) => {
3549
+ enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2470
3550
  /**
2471
- * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
2472
- * @summary Delete zone records
3551
+ * This endpoint enables privacy protection for the domain. When privacy protection is enabled, the domain owner\'s personal information is hidden from the public WHOIS database.
3552
+ * @summary Enable privacy protection
2473
3553
  * @param {string} domain Domain name
2474
- * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
2475
3554
  * @param {*} [options] Override http request option.
2476
3555
  * @throws {RequiredError}
2477
3556
  */
2478
- deleteZoneRecordsV1: (domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3557
+ enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2479
3558
  /**
2480
- * This endpoint retrieves DNS zone records for a specific domain.
2481
- * @summary Get records
2482
- * @param {string} domain Domain name
3559
+ * This endpoint retrieves a list of all domains associated with your account.
3560
+ * @summary Get domain list
2483
3561
  * @param {*} [options] Override http request option.
2484
3562
  * @throws {RequiredError}
2485
3563
  */
2486
- getRecordsV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3564
+ getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>>;
2487
3565
  /**
2488
- * This endpoint resets DNS zone to the default records.
2489
- * @summary Reset zone records
3566
+ * This endpoint retrieves details for specified domain.
3567
+ * @summary Get domain
2490
3568
  * @param {string} domain Domain name
2491
- * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
2492
3569
  * @param {*} [options] Override http request option.
2493
3570
  * @throws {RequiredError}
2494
3571
  */
2495
- resetZoneRecordsV1: (domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3572
+ getDomainV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1DomainDomainExtendedResource>;
2496
3573
  /**
2497
- * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
2498
- * @summary Update zone records
2499
- * @param {string} domain Domain name
2500
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3574
+ * This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
3575
+ * @summary Purchase new domain
3576
+ * @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
2501
3577
  * @param {*} [options] Override http request option.
2502
3578
  * @throws {RequiredError}
2503
3579
  */
2504
- updateZoneRecordsV1: (domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3580
+ purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
2505
3581
  /**
2506
- * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
2507
- * @summary Validate zone records
3582
+ * This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
3583
+ * @summary Update nameservers
2508
3584
  * @param {string} domain Domain name
2509
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3585
+ * @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
2510
3586
  * @param {*} [options] Override http request option.
2511
3587
  * @throws {RequiredError}
2512
3588
  */
2513
- validateZoneRecordsV1: (domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3589
+ updateNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2514
3590
  };
2515
3591
  /**
2516
- * DNSZoneApi - functional programming interface
3592
+ * DomainsPortfolioApi - object-oriented interface
2517
3593
  * @export
3594
+ * @class DomainsPortfolioApi
3595
+ * @extends {BaseAPI}
2518
3596
  */
2519
- export declare const DNSZoneApiFp: (configuration?: Configuration) => {
3597
+ export declare class DomainsPortfolioApi extends BaseAPI {
2520
3598
  /**
2521
- * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
2522
- * @summary Delete zone records
3599
+ * This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
3600
+ * @summary Disable domain lock
2523
3601
  * @param {string} domain Domain name
2524
- * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
2525
3602
  * @param {*} [options] Override http request option.
2526
3603
  * @throws {RequiredError}
3604
+ * @memberof DomainsPortfolioApi
2527
3605
  */
2528
- deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3606
+ disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2529
3607
  /**
2530
- * This endpoint retrieves DNS zone records for a specific domain.
2531
- * @summary Get records
3608
+ * This endpoint disables privacy protection for the domain. When privacy protection is disabled, the domain owner\'s personal information is visible in the public WHOIS database.
3609
+ * @summary Disable privacy protection
3610
+ * @param {string} domain Domain name
3611
+ * @param {*} [options] Override http request option.
3612
+ * @throws {RequiredError}
3613
+ * @memberof DomainsPortfolioApi
3614
+ */
3615
+ disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3616
+ /**
3617
+ * This endpoint enables domain lock for the domain. When domain lock is enabled, the domain cannot be transferred to another registrar without first disabling the lock.
3618
+ * @summary Enable domain lock
2532
3619
  * @param {string} domain Domain name
2533
3620
  * @param {*} [options] Override http request option.
2534
3621
  * @throws {RequiredError}
3622
+ * @memberof DomainsPortfolioApi
2535
3623
  */
2536
- getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DNSV1ZoneRecordResource>>>;
3624
+ enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2537
3625
  /**
2538
- * This endpoint resets DNS zone to the default records.
2539
- * @summary Reset zone records
3626
+ * This endpoint enables privacy protection for the domain. When privacy protection is enabled, the domain owner\'s personal information is hidden from the public WHOIS database.
3627
+ * @summary Enable privacy protection
2540
3628
  * @param {string} domain Domain name
2541
- * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
2542
3629
  * @param {*} [options] Override http request option.
2543
3630
  * @throws {RequiredError}
3631
+ * @memberof DomainsPortfolioApi
2544
3632
  */
2545
- resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3633
+ enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2546
3634
  /**
2547
- * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
2548
- * @summary Update zone records
3635
+ * This endpoint retrieves a list of all domains associated with your account.
3636
+ * @summary Get domain list
3637
+ * @param {*} [options] Override http request option.
3638
+ * @throws {RequiredError}
3639
+ * @memberof DomainsPortfolioApi
3640
+ */
3641
+ getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any>>;
3642
+ /**
3643
+ * This endpoint retrieves details for specified domain.
3644
+ * @summary Get domain
2549
3645
  * @param {string} domain Domain name
2550
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
2551
3646
  * @param {*} [options] Override http request option.
2552
3647
  * @throws {RequiredError}
3648
+ * @memberof DomainsPortfolioApi
3649
+ */
3650
+ getDomainV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainExtendedResource, any>>;
3651
+ /**
3652
+ * This endpoint allows you to buy (purchase) and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check the domain registration status. If no payment method is provided, your default payment method will be used automatically. If no WHOIS information is provided, the default contact information for that TLD (Top-Level Domain) will be used. Before making a request, ensure that WHOIS information for the desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before completing the purchase. The required additional details vary by TLD.
3653
+ * @summary Purchase new domain
3654
+ * @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
3655
+ * @param {*} [options] Override http request option.
3656
+ * @throws {RequiredError}
3657
+ * @memberof DomainsPortfolioApi
2553
3658
  */
2554
- updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
3659
+ purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
2555
3660
  /**
2556
- * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
2557
- * @summary Validate zone records
3661
+ * This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
3662
+ * @summary Update nameservers
2558
3663
  * @param {string} domain Domain name
2559
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3664
+ * @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
2560
3665
  * @param {*} [options] Override http request option.
2561
3666
  * @throws {RequiredError}
3667
+ * @memberof DomainsPortfolioApi
2562
3668
  */
2563
- validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
2564
- };
3669
+ updateNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3670
+ }
2565
3671
  /**
2566
- * DNSZoneApi - factory interface
3672
+ * DomainsWHOISApi - axios parameter creator
2567
3673
  * @export
2568
3674
  */
2569
- export declare const DNSZoneApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3675
+ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configuration) => {
2570
3676
  /**
2571
- * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
2572
- * @summary Delete zone records
2573
- * @param {string} domain Domain name
2574
- * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
3677
+ * This endpoint creates WHOIS contact profile.
3678
+ * @summary Create WHOIS profile
3679
+ * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2575
3680
  * @param {*} [options] Override http request option.
2576
3681
  * @throws {RequiredError}
2577
3682
  */
2578
- deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3683
+ createWHOISProfileV1: (domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2579
3684
  /**
2580
- * This endpoint retrieves DNS zone records for a specific domain.
2581
- * @summary Get records
2582
- * @param {string} domain Domain name
3685
+ * This endpoint deletes WHOIS contact profile.
3686
+ * @summary Delete WHOIS profile
3687
+ * @param {number} whoisId WHOIS ID
2583
3688
  * @param {*} [options] Override http request option.
2584
3689
  * @throws {RequiredError}
2585
3690
  */
2586
- getRecordsV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DNSV1ZoneRecordResource>>;
3691
+ deleteWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2587
3692
  /**
2588
- * This endpoint resets DNS zone to the default records.
2589
- * @summary Reset zone records
2590
- * @param {string} domain Domain name
2591
- * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
3693
+ * This endpoint retrieves a list of WHOIS contact profiles.
3694
+ * @summary Get WHOIS profile list
3695
+ * @param {string} [tld] Filter by TLD (without leading dot)
2592
3696
  * @param {*} [options] Override http request option.
2593
3697
  * @throws {RequiredError}
2594
3698
  */
2595
- resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3699
+ getWHOISProfileListV1: (tld?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2596
3700
  /**
2597
- * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
2598
- * @summary Update zone records
2599
- * @param {string} domain Domain name
2600
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3701
+ * This endpoint retrieves a domain list where provided WHOIS contact profile is used.
3702
+ * @summary Get WHOIS profile usage
3703
+ * @param {number} whoisId WHOIS ID
2601
3704
  * @param {*} [options] Override http request option.
2602
3705
  * @throws {RequiredError}
2603
3706
  */
2604
- updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3707
+ getWHOISProfileUsageV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2605
3708
  /**
2606
- * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
2607
- * @summary Validate zone records
2608
- * @param {string} domain Domain name
2609
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3709
+ * This endpoint retrieves a WHOIS contact profile.
3710
+ * @summary Get WHOIS profile
3711
+ * @param {number} whoisId WHOIS ID
2610
3712
  * @param {*} [options] Override http request option.
2611
3713
  * @throws {RequiredError}
2612
3714
  */
2613
- validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
3715
+ getWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2614
3716
  };
2615
3717
  /**
2616
- * DNSZoneApi - object-oriented interface
3718
+ * DomainsWHOISApi - functional programming interface
2617
3719
  * @export
2618
- * @class DNSZoneApi
2619
- * @extends {BaseAPI}
2620
3720
  */
2621
- export declare class DNSZoneApi extends BaseAPI {
3721
+ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
2622
3722
  /**
2623
- * This endpoint deletes DNS records for the selected domain. To filter which records to delete, add the `name` of the record and `type` to the filter. Multiple filters can be provided with single request. If you have multiple records with the same name and type, and you want to delete only part of them, refer to the `Update zone records` endpoint.
2624
- * @summary Delete zone records
2625
- * @param {string} domain Domain name
2626
- * @param {DNSV1ZoneDestroyRequest} dNSV1ZoneDestroyRequest
3723
+ * This endpoint creates WHOIS contact profile.
3724
+ * @summary Create WHOIS profile
3725
+ * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2627
3726
  * @param {*} [options] Override http request option.
2628
3727
  * @throws {RequiredError}
2629
- * @memberof DNSZoneApi
2630
3728
  */
2631
- deleteZoneRecordsV1(domain: string, dNSV1ZoneDestroyRequest: DNSV1ZoneDestroyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3729
+ createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1WHOISProfileResource>>;
2632
3730
  /**
2633
- * This endpoint retrieves DNS zone records for a specific domain.
2634
- * @summary Get records
2635
- * @param {string} domain Domain name
3731
+ * This endpoint deletes WHOIS contact profile.
3732
+ * @summary Delete WHOIS profile
3733
+ * @param {number} whoisId WHOIS ID
2636
3734
  * @param {*} [options] Override http request option.
2637
3735
  * @throws {RequiredError}
2638
- * @memberof DNSZoneApi
2639
3736
  */
2640
- getRecordsV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DNSV1ZoneRecordResource[], any>>;
3737
+ deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
2641
3738
  /**
2642
- * This endpoint resets DNS zone to the default records.
2643
- * @summary Reset zone records
2644
- * @param {string} domain Domain name
2645
- * @param {DNSV1ZoneResetRequest} dNSV1ZoneResetRequest
3739
+ * This endpoint retrieves a list of WHOIS contact profiles.
3740
+ * @summary Get WHOIS profile list
3741
+ * @param {string} [tld] Filter by TLD (without leading dot)
2646
3742
  * @param {*} [options] Override http request option.
2647
3743
  * @throws {RequiredError}
2648
- * @memberof DNSZoneApi
2649
3744
  */
2650
- resetZoneRecordsV1(domain: string, dNSV1ZoneResetRequest: DNSV1ZoneResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3745
+ getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1WHOISProfileResource>>>;
2651
3746
  /**
2652
- * This endpoint updates DNS records for the selected domain. Using `overwrite = true` will replace existing records with the provided ones. Otherwise existing records will be updated and new records will be added.
2653
- * @summary Update zone records
2654
- * @param {string} domain Domain name
2655
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3747
+ * This endpoint retrieves a domain list where provided WHOIS contact profile is used.
3748
+ * @summary Get WHOIS profile usage
3749
+ * @param {number} whoisId WHOIS ID
2656
3750
  * @param {*} [options] Override http request option.
2657
3751
  * @throws {RequiredError}
2658
- * @memberof DNSZoneApi
2659
3752
  */
2660
- updateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
3753
+ getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
2661
3754
  /**
2662
- * This endpoint used to validate DNS records prior update for the selected domain. If the validation is successful, the response will contain `200 Success` code. If there is validation error, the response will fail with `422 Validation error` code.
2663
- * @summary Validate zone records
2664
- * @param {string} domain Domain name
2665
- * @param {DNSV1ZoneUpdateRequest} dNSV1ZoneUpdateRequest
3755
+ * This endpoint retrieves a WHOIS contact profile.
3756
+ * @summary Get WHOIS profile
3757
+ * @param {number} whoisId WHOIS ID
2666
3758
  * @param {*} [options] Override http request option.
2667
3759
  * @throws {RequiredError}
2668
- * @memberof DNSZoneApi
2669
3760
  */
2670
- validateZoneRecordsV1(domain: string, dNSV1ZoneUpdateRequest: DNSV1ZoneUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2671
- }
3761
+ getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1WHOISProfileResource>>;
3762
+ };
2672
3763
  /**
2673
- * DomainsAvailabilityApi - axios parameter creator
3764
+ * DomainsWHOISApi - factory interface
2674
3765
  * @export
2675
3766
  */
2676
- export declare const DomainsAvailabilityApiAxiosParamCreator: (configuration?: Configuration) => {
3767
+ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2677
3768
  /**
2678
- * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
2679
- * @summary Check domain availability
2680
- * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3769
+ * This endpoint creates WHOIS contact profile.
3770
+ * @summary Create WHOIS profile
3771
+ * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2681
3772
  * @param {*} [options] Override http request option.
2682
3773
  * @throws {RequiredError}
2683
3774
  */
2684
- checkDomainAvailabilityV1: (domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2685
- };
2686
- /**
2687
- * DomainsAvailabilityApi - functional programming interface
2688
- * @export
2689
- */
2690
- export declare const DomainsAvailabilityApiFp: (configuration?: Configuration) => {
3775
+ createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1WHOISProfileResource>;
2691
3776
  /**
2692
- * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
2693
- * @summary Check domain availability
2694
- * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3777
+ * This endpoint deletes WHOIS contact profile.
3778
+ * @summary Delete WHOIS profile
3779
+ * @param {number} whoisId WHOIS ID
2695
3780
  * @param {*} [options] Override http request option.
2696
3781
  * @throws {RequiredError}
2697
3782
  */
2698
- checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>>;
2699
- };
2700
- /**
2701
- * DomainsAvailabilityApi - factory interface
2702
- * @export
2703
- */
2704
- export declare const DomainsAvailabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3783
+ deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
2705
3784
  /**
2706
- * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
2707
- * @summary Check domain availability
2708
- * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3785
+ * This endpoint retrieves a list of WHOIS contact profiles.
3786
+ * @summary Get WHOIS profile list
3787
+ * @param {string} [tld] Filter by TLD (without leading dot)
2709
3788
  * @param {*} [options] Override http request option.
2710
3789
  * @throws {RequiredError}
2711
3790
  */
2712
- checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1AvailabilityAvailabilityResource>>;
3791
+ getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1WHOISProfileResource>>;
3792
+ /**
3793
+ * This endpoint retrieves a domain list where provided WHOIS contact profile is used.
3794
+ * @summary Get WHOIS profile usage
3795
+ * @param {number} whoisId WHOIS ID
3796
+ * @param {*} [options] Override http request option.
3797
+ * @throws {RequiredError}
3798
+ */
3799
+ getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
3800
+ /**
3801
+ * This endpoint retrieves a WHOIS contact profile.
3802
+ * @summary Get WHOIS profile
3803
+ * @param {number} whoisId WHOIS ID
3804
+ * @param {*} [options] Override http request option.
3805
+ * @throws {RequiredError}
3806
+ */
3807
+ getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1WHOISProfileResource>;
2713
3808
  };
2714
3809
  /**
2715
- * DomainsAvailabilityApi - object-oriented interface
3810
+ * DomainsWHOISApi - object-oriented interface
2716
3811
  * @export
2717
- * @class DomainsAvailabilityApi
3812
+ * @class DomainsWHOISApi
2718
3813
  * @extends {BaseAPI}
2719
3814
  */
2720
- export declare class DomainsAvailabilityApi extends BaseAPI {
3815
+ export declare class DomainsWHOISApi extends BaseAPI {
2721
3816
  /**
2722
- * This endpoint checks the availability of a domain name. Multiple TLDs can be checked at once. Endpoint has rate limit of 10 requests per minute.
2723
- * @summary Check domain availability
2724
- * @param {DomainsV1AvailabilityAvailabilityRequest} domainsV1AvailabilityAvailabilityRequest
3817
+ * This endpoint creates WHOIS contact profile.
3818
+ * @summary Create WHOIS profile
3819
+ * @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
2725
3820
  * @param {*} [options] Override http request option.
2726
3821
  * @throws {RequiredError}
2727
- * @memberof DomainsAvailabilityApi
3822
+ * @memberof DomainsWHOISApi
2728
3823
  */
2729
- checkDomainAvailabilityV1(domainsV1AvailabilityAvailabilityRequest: DomainsV1AvailabilityAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1AvailabilityAvailabilityResource[], any>>;
2730
- }
2731
- /**
2732
- * DomainsPortfolioApi - axios parameter creator
2733
- * @export
2734
- */
2735
- export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
3824
+ createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any>>;
2736
3825
  /**
2737
- * This endpoint retrieves a list of all domains associated with your account.
2738
- * @summary Get domain list
3826
+ * This endpoint deletes WHOIS contact profile.
3827
+ * @summary Delete WHOIS profile
3828
+ * @param {number} whoisId WHOIS ID
2739
3829
  * @param {*} [options] Override http request option.
2740
3830
  * @throws {RequiredError}
3831
+ * @memberof DomainsWHOISApi
2741
3832
  */
2742
- getDomainListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2743
- };
2744
- /**
2745
- * DomainsPortfolioApi - functional programming interface
2746
- * @export
2747
- */
2748
- export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
3833
+ deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any>>;
2749
3834
  /**
2750
- * This endpoint retrieves a list of all domains associated with your account.
2751
- * @summary Get domain list
3835
+ * This endpoint retrieves a list of WHOIS contact profiles.
3836
+ * @summary Get WHOIS profile list
3837
+ * @param {string} [tld] Filter by TLD (without leading dot)
2752
3838
  * @param {*} [options] Override http request option.
2753
3839
  * @throws {RequiredError}
3840
+ * @memberof DomainsWHOISApi
2754
3841
  */
2755
- getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>>;
2756
- };
2757
- /**
2758
- * DomainsPortfolioApi - factory interface
2759
- * @export
2760
- */
2761
- export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3842
+ getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource[], any>>;
2762
3843
  /**
2763
- * This endpoint retrieves a list of all domains associated with your account.
2764
- * @summary Get domain list
3844
+ * This endpoint retrieves a domain list where provided WHOIS contact profile is used.
3845
+ * @summary Get WHOIS profile usage
3846
+ * @param {number} whoisId WHOIS ID
2765
3847
  * @param {*} [options] Override http request option.
2766
3848
  * @throws {RequiredError}
3849
+ * @memberof DomainsWHOISApi
2767
3850
  */
2768
- getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>>;
2769
- };
2770
- /**
2771
- * DomainsPortfolioApi - object-oriented interface
2772
- * @export
2773
- * @class DomainsPortfolioApi
2774
- * @extends {BaseAPI}
2775
- */
2776
- export declare class DomainsPortfolioApi extends BaseAPI {
3851
+ getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
2777
3852
  /**
2778
- * This endpoint retrieves a list of all domains associated with your account.
2779
- * @summary Get domain list
3853
+ * This endpoint retrieves a WHOIS contact profile.
3854
+ * @summary Get WHOIS profile
3855
+ * @param {number} whoisId WHOIS ID
2780
3856
  * @param {*} [options] Override http request option.
2781
3857
  * @throws {RequiredError}
2782
- * @memberof DomainsPortfolioApi
3858
+ * @memberof DomainsWHOISApi
2783
3859
  */
2784
- getDomainListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1DomainDomainResource[], any>>;
3860
+ getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any>>;
2785
3861
  }
2786
3862
  /**
2787
3863
  * VPSActionsApi - axios parameter creator
@@ -4393,8 +5469,8 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
4393
5469
  * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
4394
5470
  * @summary Get metrics
4395
5471
  * @param {number} virtualMachineId Virtual Machine ID
4396
- * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
4397
- * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
5472
+ * @param {string} dateFrom
5473
+ * @param {string} dateTo
4398
5474
  * @param {*} [options] Override http request option.
4399
5475
  * @throws {RequiredError}
4400
5476
  */
@@ -4414,6 +5490,14 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
4414
5490
  * @throws {RequiredError}
4415
5491
  */
4416
5492
  getVirtualMachineV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5493
+ /**
5494
+ * This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
5495
+ * @summary Purchase new virtual machine
5496
+ * @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
5497
+ * @param {*} [options] Override http request option.
5498
+ * @throws {RequiredError}
5499
+ */
5500
+ purchaseNewVirtualMachineV1: (vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4417
5501
  /**
4418
5502
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
4419
5503
  * @summary Recreate virtual machine
@@ -4476,7 +5560,7 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
4476
5560
  */
4477
5561
  setRootPasswordV1: (virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4478
5562
  /**
4479
- * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
5563
+ * This endpoint will setup newly purchased virtual machine with `initial` state.
4480
5564
  * @summary Setup new virtual machine
4481
5565
  * @param {number} virtualMachineId Virtual Machine ID
4482
5566
  * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
@@ -4519,8 +5603,8 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
4519
5603
  * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
4520
5604
  * @summary Get metrics
4521
5605
  * @param {number} virtualMachineId Virtual Machine ID
4522
- * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
4523
- * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
5606
+ * @param {string} dateFrom
5607
+ * @param {string} dateTo
4524
5608
  * @param {*} [options] Override http request option.
4525
5609
  * @throws {RequiredError}
4526
5610
  */
@@ -4540,6 +5624,14 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
4540
5624
  * @throws {RequiredError}
4541
5625
  */
4542
5626
  getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>>;
5627
+ /**
5628
+ * This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
5629
+ * @summary Purchase new virtual machine
5630
+ * @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
5631
+ * @param {*} [options] Override http request option.
5632
+ * @throws {RequiredError}
5633
+ */
5634
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>>;
4543
5635
  /**
4544
5636
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
4545
5637
  * @summary Recreate virtual machine
@@ -4602,7 +5694,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
4602
5694
  */
4603
5695
  setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
4604
5696
  /**
4605
- * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
5697
+ * This endpoint will setup newly purchased virtual machine with `initial` state.
4606
5698
  * @summary Setup new virtual machine
4607
5699
  * @param {number} virtualMachineId Virtual Machine ID
4608
5700
  * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
@@ -4645,8 +5737,8 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
4645
5737
  * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
4646
5738
  * @summary Get metrics
4647
5739
  * @param {number} virtualMachineId Virtual Machine ID
4648
- * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
4649
- * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
5740
+ * @param {string} dateFrom
5741
+ * @param {string} dateTo
4650
5742
  * @param {*} [options] Override http request option.
4651
5743
  * @throws {RequiredError}
4652
5744
  */
@@ -4666,6 +5758,14 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
4666
5758
  * @throws {RequiredError}
4667
5759
  */
4668
5760
  getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1VirtualMachineVirtualMachineResource>;
5761
+ /**
5762
+ * This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
5763
+ * @summary Purchase new virtual machine
5764
+ * @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
5765
+ * @param {*} [options] Override http request option.
5766
+ * @throws {RequiredError}
5767
+ */
5768
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource>;
4669
5769
  /**
4670
5770
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
4671
5771
  * @summary Recreate virtual machine
@@ -4728,7 +5828,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
4728
5828
  */
4729
5829
  setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
4730
5830
  /**
4731
- * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
5831
+ * This endpoint will setup newly purchased virtual machine with `initial` state.
4732
5832
  * @summary Setup new virtual machine
4733
5833
  * @param {number} virtualMachineId Virtual Machine ID
4734
5834
  * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest
@@ -4774,8 +5874,8 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
4774
5874
  * This endpoint retrieves the historical metrics for a specified virtual machine. It includes the following metrics: - CPU usage - Memory usage - Disk usage - Network usage - Uptime
4775
5875
  * @summary Get metrics
4776
5876
  * @param {number} virtualMachineId Virtual Machine ID
4777
- * @param {string} dateFrom the date-time notation as defined by RFC 3339, section 5.6
4778
- * @param {string} dateTo the date-time notation as defined by RFC 3339, section 5.6
5877
+ * @param {string} dateFrom
5878
+ * @param {string} dateTo
4779
5879
  * @param {*} [options] Override http request option.
4780
5880
  * @throws {RequiredError}
4781
5881
  * @memberof VPSVirtualMachineApi
@@ -4798,6 +5898,15 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
4798
5898
  * @memberof VPSVirtualMachineApi
4799
5899
  */
4800
5900
  getVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource, any>>;
5901
+ /**
5902
+ * This endpoint allows you to buy (purchase) and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically.
5903
+ * @summary Purchase new virtual machine
5904
+ * @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
5905
+ * @param {*} [options] Override http request option.
5906
+ * @throws {RequiredError}
5907
+ * @memberof VPSVirtualMachineApi
5908
+ */
5909
+ purchaseNewVirtualMachineV1(vPSV1VirtualMachinePurchaseRequest: VPSV1VirtualMachinePurchaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1OrderOrderResource, any>>;
4801
5910
  /**
4802
5911
  * This endpoint will recreate a virtual machine from scratch. The recreation process involves reinstalling the operating system and resetting the virtual machine to its initial state. Snapshots, if there are any, will be deleted. ## Password Requirements Password will be checked against leaked password databases. Requirements for the password are: - At least 8 characters long - At least one uppercase letter - At least one lowercase letter - At least one number - Is not leaked publicly **This operation is irreversible and will result in the loss of all data stored on the virtual machine!**
4803
5912
  * @summary Recreate virtual machine
@@ -4867,7 +5976,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
4867
5976
  */
4868
5977
  setRootPasswordV1(virtualMachineId: number, vPSV1VirtualMachineRootPasswordUpdateRequest: VPSV1VirtualMachineRootPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any>>;
4869
5978
  /**
4870
- * This endpoint will setup newly purchased virtual machine. Such virtual machines has `initial` state. New virtual machine can be purchased using [`/api/billing/v1/orders`](/#tag/billing-orders/POST/api/billing/v1/orders) endpoint.
5979
+ * This endpoint will setup newly purchased virtual machine with `initial` state.
4871
5980
  * @summary Setup new virtual machine
4872
5981
  * @param {number} virtualMachineId Virtual Machine ID
4873
5982
  * @param {VPSV1VirtualMachineSetupRequest} vPSV1VirtualMachineSetupRequest