hostinger-api-sdk 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +1777 -215
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +1097 -164
- package/dist/api.js +1170 -37
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +1097 -164
- package/dist/esm/api.js +1155 -31
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BillingCatalogApi.md +54 -0
- package/docs/BillingOrdersApi.md +63 -0
- package/docs/BillingPaymentMethodsApi.md +162 -0
- package/docs/BillingSubscriptionsApi.md +113 -0
- package/docs/BillingV1CatalogCatalogItemPriceResource.md +32 -0
- package/docs/BillingV1CatalogCatalogItemResource.md +26 -0
- package/docs/BillingV1OrderOrderBillingAddressResource.md +40 -0
- package/docs/BillingV1OrderOrderResource.md +36 -0
- package/docs/BillingV1OrderStoreRequest.md +24 -0
- package/docs/BillingV1OrderStoreRequestItemsInner.md +22 -0
- package/docs/BillingV1PaymentMethodPaymentMethodResource.md +36 -0
- package/docs/BillingV1SubscriptionCancelRequest.md +22 -0
- package/docs/BillingV1SubscriptionSubscriptionResource.md +42 -0
- package/docs/CommonSchemaErrorResponseSchema.md +22 -0
- package/docs/CommonSchemaPaginationMetaSchema.md +24 -0
- package/docs/CommonSchemaUnauthorizedResponseSchema.md +22 -0
- package/docs/CommonSchemaUnprocessableContentResponseSchema.md +24 -0
- package/docs/CommonSchemaUnprocessableContentResponseSchemaErrors.md +22 -0
- package/docs/CommonSuccessEmptyResource.md +20 -0
- package/docs/DNSSnapshotApi.md +175 -0
- package/docs/DNSV1SnapshotSnapshotResource.md +24 -0
- package/docs/DNSV1SnapshotSnapshotWithContentResource.md +26 -0
- package/docs/DNSV1ZoneDestroyRequest.md +20 -0
- package/docs/DNSV1ZoneDestroyRequestFiltersInner.md +22 -0
- package/docs/DNSV1ZoneNameRecordResource.md +22 -0
- package/docs/DNSV1ZoneRecordResource.md +26 -0
- package/docs/DNSV1ZoneResetRequest.md +24 -0
- package/docs/DNSV1ZoneUpdateRequest.md +22 -0
- package/docs/DNSV1ZoneUpdateRequestZoneInner.md +26 -0
- package/docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md +20 -0
- package/docs/DNSZoneApi.md +297 -0
- package/docs/DomainsAvailabilityApi.md +63 -0
- package/docs/DomainsForwardingApi.md +171 -0
- package/docs/DomainsPortfolioApi.md +439 -0
- package/docs/DomainsV1AvailabilityAvailabilityRequest.md +24 -0
- package/docs/DomainsV1AvailabilityAvailabilityResource.md +26 -0
- package/docs/DomainsV1DomainDomainExtendedResource.md +48 -0
- package/docs/DomainsV1DomainDomainExtendedResourceDomainContacts.md +27 -0
- package/docs/DomainsV1DomainDomainExtendedResourceNameServers.md +23 -0
- package/docs/DomainsV1DomainDomainResource.md +30 -0
- package/docs/DomainsV1ForwardingForwardingResource.md +28 -0
- package/docs/DomainsV1ForwardingStoreRequest.md +24 -0
- package/docs/DomainsV1PortfolioPurchaseRequest.md +30 -0
- package/docs/DomainsV1PortfolioPurchaseRequestDomainContacts.md +27 -0
- package/docs/DomainsV1PortfolioUpdateNameserversRequest.md +26 -0
- package/docs/DomainsV1WHOISProfileResource.md +34 -0
- package/docs/DomainsV1WHOISStoreRequest.md +28 -0
- package/docs/DomainsWHOISApi.md +279 -0
- package/docs/VPSActionsApi.md +121 -0
- package/docs/VPSBackupsApi.md +178 -0
- package/docs/VPSDataCentersApi.md +54 -0
- package/docs/VPSFirewallApi.md +577 -0
- package/docs/VPSGetActionListV1200Response.md +22 -0
- package/docs/VPSGetBackupListV1200Response.md +22 -0
- package/docs/VPSGetFirewallListV1200Response.md +22 -0
- package/docs/VPSGetPostInstallScriptListV1200Response.md +22 -0
- package/docs/VPSGetPublicKeyListV1200Response.md +22 -0
- package/docs/VPSMalwareScannerApi.md +172 -0
- package/docs/VPSOSTemplatesApi.md +108 -0
- package/docs/VPSPTRRecordsApi.md +115 -0
- package/docs/VPSPostInstallScriptsApi.md +284 -0
- package/docs/VPSPublicKeysApi.md +230 -0
- package/docs/VPSRecoveryApi.md +120 -0
- package/docs/VPSSnapshotsApi.md +223 -0
- package/docs/VPSV1ActionActionResource.md +28 -0
- package/docs/VPSV1BackupBackupResource.md +24 -0
- package/docs/VPSV1DataCenterDataCenterResource.md +28 -0
- package/docs/VPSV1FirewallFirewallResource.md +30 -0
- package/docs/VPSV1FirewallFirewallRuleResource.md +30 -0
- package/docs/VPSV1FirewallRulesStoreRequest.md +26 -0
- package/docs/VPSV1FirewallStoreRequest.md +20 -0
- package/docs/VPSV1IPAddressIPAddressResource.md +24 -0
- package/docs/VPSV1MalwareMetricsResource.md +30 -0
- package/docs/VPSV1MetricsMetricsCollection.md +30 -0
- package/docs/VPSV1MetricsMetricsResource.md +22 -0
- package/docs/VPSV1PostInstallScriptPostInstallScriptResource.md +28 -0
- package/docs/VPSV1PostInstallScriptStoreRequest.md +22 -0
- package/docs/VPSV1PublicKeyAttachRequest.md +20 -0
- package/docs/VPSV1PublicKeyPublicKeyResource.md +24 -0
- package/docs/VPSV1PublicKeyStoreRequest.md +22 -0
- package/docs/VPSV1SnapshotSnapshotResource.md +24 -0
- package/docs/VPSV1TemplateTemplateResource.md +26 -0
- package/docs/VPSV1VirtualMachineHostnameUpdateRequest.md +20 -0
- package/docs/VPSV1VirtualMachineNameserversUpdateRequest.md +22 -0
- package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +20 -0
- package/docs/VPSV1VirtualMachineRecoveryStartRequest.md +20 -0
- package/docs/VPSV1VirtualMachineRecreateRequest.md +24 -0
- package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +20 -0
- package/docs/VPSV1VirtualMachineSetupRequest.md +38 -0
- package/docs/VPSV1VirtualMachineSetupRequestPublicKey.md +22 -0
- package/docs/VPSV1VirtualMachineVirtualMachineResource.md +52 -0
- package/docs/VPSVirtualMachineApi.md +796 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 0.0.
|
|
6
|
+
* API Version: 0.0.37
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -279,7 +279,7 @@ export interface BillingV1OrderStoreRequest {
|
|
|
279
279
|
*/
|
|
280
280
|
'items': Array<BillingV1OrderStoreRequestItemsInner>;
|
|
281
281
|
/**
|
|
282
|
-
*
|
|
282
|
+
* Discount coupon codes
|
|
283
283
|
* @type {Array<any>}
|
|
284
284
|
* @memberof BillingV1OrderStoreRequest
|
|
285
285
|
*/
|
|
@@ -889,19 +889,19 @@ export interface DNSV1ZoneUpdateRequestZoneInnerRecordsInner {
|
|
|
889
889
|
*/
|
|
890
890
|
export interface DomainsV1AvailabilityAvailabilityRequest {
|
|
891
891
|
/**
|
|
892
|
-
*
|
|
892
|
+
* Domain name without TLD
|
|
893
893
|
* @type {string}
|
|
894
894
|
* @memberof DomainsV1AvailabilityAvailabilityRequest
|
|
895
895
|
*/
|
|
896
896
|
'domain': string;
|
|
897
897
|
/**
|
|
898
|
-
*
|
|
898
|
+
* TLDs to check (without trailing dot)
|
|
899
899
|
* @type {Array<string>}
|
|
900
900
|
* @memberof DomainsV1AvailabilityAvailabilityRequest
|
|
901
901
|
*/
|
|
902
902
|
'tlds': Array<string>;
|
|
903
903
|
/**
|
|
904
|
-
*
|
|
904
|
+
* Should response include alternatives
|
|
905
905
|
* @type {boolean}
|
|
906
906
|
* @memberof DomainsV1AvailabilityAvailabilityRequest
|
|
907
907
|
*/
|
|
@@ -920,24 +920,182 @@ export interface DomainsV1AvailabilityAvailabilityResource {
|
|
|
920
920
|
*/
|
|
921
921
|
'domain': string | null;
|
|
922
922
|
/**
|
|
923
|
-
*
|
|
923
|
+
* `true` if domain is available for registration
|
|
924
924
|
* @type {boolean}
|
|
925
925
|
* @memberof DomainsV1AvailabilityAvailabilityResource
|
|
926
926
|
*/
|
|
927
927
|
'is_available': boolean;
|
|
928
928
|
/**
|
|
929
|
-
*
|
|
929
|
+
* `true` if domain is provided as an alternative
|
|
930
930
|
* @type {boolean}
|
|
931
931
|
* @memberof DomainsV1AvailabilityAvailabilityResource
|
|
932
932
|
*/
|
|
933
933
|
'is_alternative': boolean;
|
|
934
934
|
/**
|
|
935
|
-
*
|
|
935
|
+
* Special rules and/or restrictions applied for registering TLD
|
|
936
936
|
* @type {string}
|
|
937
937
|
* @memberof DomainsV1AvailabilityAvailabilityResource
|
|
938
938
|
*/
|
|
939
939
|
'restriction': string | null;
|
|
940
940
|
}
|
|
941
|
+
/**
|
|
942
|
+
*
|
|
943
|
+
* @export
|
|
944
|
+
* @interface DomainsV1DomainDomainExtendedResource
|
|
945
|
+
*/
|
|
946
|
+
export interface DomainsV1DomainDomainExtendedResource {
|
|
947
|
+
/**
|
|
948
|
+
* Domain name
|
|
949
|
+
* @type {string}
|
|
950
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
951
|
+
*/
|
|
952
|
+
'domain': string;
|
|
953
|
+
/**
|
|
954
|
+
* Status of the domain
|
|
955
|
+
* @type {string}
|
|
956
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
957
|
+
*/
|
|
958
|
+
'status': DomainsV1DomainDomainExtendedResourceStatusEnum;
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* @type {string}
|
|
962
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
963
|
+
*/
|
|
964
|
+
'message': string | null;
|
|
965
|
+
/**
|
|
966
|
+
* Is privacy protection allowed for the domain
|
|
967
|
+
* @type {boolean}
|
|
968
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
969
|
+
*/
|
|
970
|
+
'is_privacy_protection_allowed': boolean;
|
|
971
|
+
/**
|
|
972
|
+
* Is privacy protection enabled for the domain
|
|
973
|
+
* @type {boolean}
|
|
974
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
975
|
+
*/
|
|
976
|
+
'is_privacy_protected': boolean;
|
|
977
|
+
/**
|
|
978
|
+
* Is domain allowed to be locked
|
|
979
|
+
* @type {boolean}
|
|
980
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
981
|
+
*/
|
|
982
|
+
'is_lockable': boolean;
|
|
983
|
+
/**
|
|
984
|
+
* Is domain locked
|
|
985
|
+
* @type {boolean}
|
|
986
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
987
|
+
*/
|
|
988
|
+
'is_locked': boolean;
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @type {DomainsV1DomainDomainExtendedResourceNameServers}
|
|
992
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
993
|
+
*/
|
|
994
|
+
'name_servers': DomainsV1DomainDomainExtendedResourceNameServers;
|
|
995
|
+
/**
|
|
996
|
+
* Child name servers
|
|
997
|
+
* @type {Array<Array<string>>}
|
|
998
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
999
|
+
*/
|
|
1000
|
+
'child_name_servers': Array<Array<string>>;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {DomainsV1DomainDomainExtendedResourceDomainContacts}
|
|
1004
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
1005
|
+
*/
|
|
1006
|
+
'domain_contacts': DomainsV1DomainDomainExtendedResourceDomainContacts;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {string}
|
|
1010
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
1011
|
+
*/
|
|
1012
|
+
'created_at': string;
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @type {string}
|
|
1016
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
1017
|
+
*/
|
|
1018
|
+
'updated_at': string;
|
|
1019
|
+
/**
|
|
1020
|
+
*
|
|
1021
|
+
* @type {string}
|
|
1022
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
1023
|
+
*/
|
|
1024
|
+
'60_days_lock_expires_at': string | null;
|
|
1025
|
+
/**
|
|
1026
|
+
*
|
|
1027
|
+
* @type {string}
|
|
1028
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
1029
|
+
*/
|
|
1030
|
+
'registered_at': string | null;
|
|
1031
|
+
/**
|
|
1032
|
+
*
|
|
1033
|
+
* @type {string}
|
|
1034
|
+
* @memberof DomainsV1DomainDomainExtendedResource
|
|
1035
|
+
*/
|
|
1036
|
+
'expires_at': string | null;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
export const DomainsV1DomainDomainExtendedResourceStatusEnum = {
|
|
1040
|
+
Active: 'active',
|
|
1041
|
+
PendingSetup: 'pending_setup',
|
|
1042
|
+
Expired: 'expired',
|
|
1043
|
+
Requested: 'requested',
|
|
1044
|
+
PendingVerification: 'pending_verification'
|
|
1045
|
+
} as const;
|
|
1046
|
+
|
|
1047
|
+
export type DomainsV1DomainDomainExtendedResourceStatusEnum = typeof DomainsV1DomainDomainExtendedResourceStatusEnum[keyof typeof DomainsV1DomainDomainExtendedResourceStatusEnum];
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* WHOIS profiles
|
|
1051
|
+
* @export
|
|
1052
|
+
* @interface DomainsV1DomainDomainExtendedResourceDomainContacts
|
|
1053
|
+
*/
|
|
1054
|
+
export interface DomainsV1DomainDomainExtendedResourceDomainContacts {
|
|
1055
|
+
/**
|
|
1056
|
+
* Admin WHOIS profile ID
|
|
1057
|
+
* @type {number}
|
|
1058
|
+
* @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
|
|
1059
|
+
*/
|
|
1060
|
+
'admin_id': number;
|
|
1061
|
+
/**
|
|
1062
|
+
* Owner WHOIS profile ID
|
|
1063
|
+
* @type {number}
|
|
1064
|
+
* @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
|
|
1065
|
+
*/
|
|
1066
|
+
'owner_id': number;
|
|
1067
|
+
/**
|
|
1068
|
+
* Billing WHOIS profile ID
|
|
1069
|
+
* @type {number}
|
|
1070
|
+
* @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
|
|
1071
|
+
*/
|
|
1072
|
+
'billing_id': number;
|
|
1073
|
+
/**
|
|
1074
|
+
* Technician WHOIS profile ID
|
|
1075
|
+
* @type {number}
|
|
1076
|
+
* @memberof DomainsV1DomainDomainExtendedResourceDomainContacts
|
|
1077
|
+
*/
|
|
1078
|
+
'tech_id': number;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* Name servers
|
|
1082
|
+
* @export
|
|
1083
|
+
* @interface DomainsV1DomainDomainExtendedResourceNameServers
|
|
1084
|
+
*/
|
|
1085
|
+
export interface DomainsV1DomainDomainExtendedResourceNameServers {
|
|
1086
|
+
/**
|
|
1087
|
+
* Name server 1
|
|
1088
|
+
* @type {string}
|
|
1089
|
+
* @memberof DomainsV1DomainDomainExtendedResourceNameServers
|
|
1090
|
+
*/
|
|
1091
|
+
'ns1': string;
|
|
1092
|
+
/**
|
|
1093
|
+
* Name server 2
|
|
1094
|
+
* @type {string}
|
|
1095
|
+
* @memberof DomainsV1DomainDomainExtendedResourceNameServers
|
|
1096
|
+
*/
|
|
1097
|
+
'ns2': string;
|
|
1098
|
+
}
|
|
941
1099
|
/**
|
|
942
1100
|
*
|
|
943
1101
|
* @export
|
|
@@ -955,7 +1113,7 @@ export interface DomainsV1DomainDomainResource {
|
|
|
955
1113
|
* @type {string}
|
|
956
1114
|
* @memberof DomainsV1DomainDomainResource
|
|
957
1115
|
*/
|
|
958
|
-
'
|
|
1116
|
+
'domain': string | null;
|
|
959
1117
|
/**
|
|
960
1118
|
*
|
|
961
1119
|
* @type {string}
|
|
@@ -991,7 +1149,9 @@ export type DomainsV1DomainDomainResourceTypeEnum = typeof DomainsV1DomainDomain
|
|
|
991
1149
|
export const DomainsV1DomainDomainResourceStatusEnum = {
|
|
992
1150
|
Active: 'active',
|
|
993
1151
|
PendingSetup: 'pending_setup',
|
|
994
|
-
Expired: 'expired'
|
|
1152
|
+
Expired: 'expired',
|
|
1153
|
+
Requested: 'requested',
|
|
1154
|
+
PendingVerification: 'pending_verification'
|
|
995
1155
|
} as const;
|
|
996
1156
|
|
|
997
1157
|
export type DomainsV1DomainDomainResourceStatusEnum = typeof DomainsV1DomainDomainResourceStatusEnum[keyof typeof DomainsV1DomainDomainResourceStatusEnum];
|
|
@@ -999,170 +1159,461 @@ export type DomainsV1DomainDomainResourceStatusEnum = typeof DomainsV1DomainDoma
|
|
|
999
1159
|
/**
|
|
1000
1160
|
*
|
|
1001
1161
|
* @export
|
|
1002
|
-
* @interface
|
|
1162
|
+
* @interface DomainsV1ForwardingForwardingResource
|
|
1003
1163
|
*/
|
|
1004
|
-
export interface
|
|
1164
|
+
export interface DomainsV1ForwardingForwardingResource {
|
|
1005
1165
|
/**
|
|
1006
|
-
*
|
|
1007
|
-
* @type {
|
|
1008
|
-
* @memberof
|
|
1166
|
+
* Domain name
|
|
1167
|
+
* @type {string}
|
|
1168
|
+
* @memberof DomainsV1ForwardingForwardingResource
|
|
1009
1169
|
*/
|
|
1010
|
-
'
|
|
1170
|
+
'domain': string | null;
|
|
1171
|
+
/**
|
|
1172
|
+
* Redirect type
|
|
1173
|
+
* @type {string}
|
|
1174
|
+
* @memberof DomainsV1ForwardingForwardingResource
|
|
1175
|
+
*/
|
|
1176
|
+
'redirect_type': DomainsV1ForwardingForwardingResourceRedirectTypeEnum;
|
|
1177
|
+
/**
|
|
1178
|
+
* URL domain is forwarded to
|
|
1179
|
+
* @type {string}
|
|
1180
|
+
* @memberof DomainsV1ForwardingForwardingResource
|
|
1181
|
+
*/
|
|
1182
|
+
'redirect_url': string;
|
|
1011
1183
|
/**
|
|
1012
1184
|
*
|
|
1013
|
-
* @type {
|
|
1014
|
-
* @memberof
|
|
1185
|
+
* @type {string}
|
|
1186
|
+
* @memberof DomainsV1ForwardingForwardingResource
|
|
1015
1187
|
*/
|
|
1016
|
-
'
|
|
1188
|
+
'created_at': string;
|
|
1189
|
+
/**
|
|
1190
|
+
*
|
|
1191
|
+
* @type {string}
|
|
1192
|
+
* @memberof DomainsV1ForwardingForwardingResource
|
|
1193
|
+
*/
|
|
1194
|
+
'updated_at': string | null;
|
|
1017
1195
|
}
|
|
1196
|
+
|
|
1197
|
+
export const DomainsV1ForwardingForwardingResourceRedirectTypeEnum = {
|
|
1198
|
+
_301: '301',
|
|
1199
|
+
_302: '302'
|
|
1200
|
+
} as const;
|
|
1201
|
+
|
|
1202
|
+
export type DomainsV1ForwardingForwardingResourceRedirectTypeEnum = typeof DomainsV1ForwardingForwardingResourceRedirectTypeEnum[keyof typeof DomainsV1ForwardingForwardingResourceRedirectTypeEnum];
|
|
1203
|
+
|
|
1018
1204
|
/**
|
|
1019
1205
|
*
|
|
1020
1206
|
* @export
|
|
1021
|
-
* @interface
|
|
1207
|
+
* @interface DomainsV1ForwardingStoreRequest
|
|
1022
1208
|
*/
|
|
1023
|
-
export interface
|
|
1209
|
+
export interface DomainsV1ForwardingStoreRequest {
|
|
1024
1210
|
/**
|
|
1025
|
-
*
|
|
1026
|
-
* @type {
|
|
1027
|
-
* @memberof
|
|
1211
|
+
* Domain name
|
|
1212
|
+
* @type {string}
|
|
1213
|
+
* @memberof DomainsV1ForwardingStoreRequest
|
|
1028
1214
|
*/
|
|
1029
|
-
'
|
|
1215
|
+
'domain': string;
|
|
1030
1216
|
/**
|
|
1031
|
-
*
|
|
1032
|
-
* @type {
|
|
1033
|
-
* @memberof
|
|
1217
|
+
* Redirect type
|
|
1218
|
+
* @type {string}
|
|
1219
|
+
* @memberof DomainsV1ForwardingStoreRequest
|
|
1034
1220
|
*/
|
|
1035
|
-
'
|
|
1221
|
+
'redirect_type': DomainsV1ForwardingStoreRequestRedirectTypeEnum;
|
|
1222
|
+
/**
|
|
1223
|
+
* URL to forward domain to
|
|
1224
|
+
* @type {string}
|
|
1225
|
+
* @memberof DomainsV1ForwardingStoreRequest
|
|
1226
|
+
*/
|
|
1227
|
+
'redirect_url': string;
|
|
1036
1228
|
}
|
|
1229
|
+
|
|
1230
|
+
export const DomainsV1ForwardingStoreRequestRedirectTypeEnum = {
|
|
1231
|
+
_301: '301',
|
|
1232
|
+
_302: '302'
|
|
1233
|
+
} as const;
|
|
1234
|
+
|
|
1235
|
+
export type DomainsV1ForwardingStoreRequestRedirectTypeEnum = typeof DomainsV1ForwardingStoreRequestRedirectTypeEnum[keyof typeof DomainsV1ForwardingStoreRequestRedirectTypeEnum];
|
|
1236
|
+
|
|
1037
1237
|
/**
|
|
1038
1238
|
*
|
|
1039
1239
|
* @export
|
|
1040
|
-
* @interface
|
|
1240
|
+
* @interface DomainsV1PortfolioPurchaseRequest
|
|
1041
1241
|
*/
|
|
1042
|
-
export interface
|
|
1242
|
+
export interface DomainsV1PortfolioPurchaseRequest {
|
|
1043
1243
|
/**
|
|
1044
|
-
*
|
|
1045
|
-
* @type {
|
|
1046
|
-
* @memberof
|
|
1244
|
+
* Domain name
|
|
1245
|
+
* @type {string}
|
|
1246
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
1047
1247
|
*/
|
|
1048
|
-
'
|
|
1248
|
+
'domain': string;
|
|
1249
|
+
/**
|
|
1250
|
+
* Catalog price item ID
|
|
1251
|
+
* @type {string}
|
|
1252
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
1253
|
+
*/
|
|
1254
|
+
'item_id': string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Payment method ID
|
|
1257
|
+
* @type {number}
|
|
1258
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
1259
|
+
*/
|
|
1260
|
+
'payment_method_id': number;
|
|
1049
1261
|
/**
|
|
1050
1262
|
*
|
|
1051
|
-
* @type {
|
|
1052
|
-
* @memberof
|
|
1263
|
+
* @type {DomainsV1PortfolioPurchaseRequestDomainContacts}
|
|
1264
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
1053
1265
|
*/
|
|
1054
|
-
'
|
|
1266
|
+
'domain_contacts': DomainsV1PortfolioPurchaseRequestDomainContacts;
|
|
1267
|
+
/**
|
|
1268
|
+
* Additional registration data, possible values depends on TLD
|
|
1269
|
+
* @type {object}
|
|
1270
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
1271
|
+
*/
|
|
1272
|
+
'additional_details': object;
|
|
1273
|
+
/**
|
|
1274
|
+
* Discount coupon codes
|
|
1275
|
+
* @type {Array<any>}
|
|
1276
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
1277
|
+
*/
|
|
1278
|
+
'coupons': Array<any>;
|
|
1055
1279
|
}
|
|
1056
1280
|
/**
|
|
1057
|
-
*
|
|
1281
|
+
* Domain contact information
|
|
1058
1282
|
* @export
|
|
1059
|
-
* @interface
|
|
1283
|
+
* @interface DomainsV1PortfolioPurchaseRequestDomainContacts
|
|
1060
1284
|
*/
|
|
1061
|
-
export interface
|
|
1285
|
+
export interface DomainsV1PortfolioPurchaseRequestDomainContacts {
|
|
1062
1286
|
/**
|
|
1063
|
-
*
|
|
1064
|
-
* @type {
|
|
1065
|
-
* @memberof
|
|
1287
|
+
* Owner contact WHOIS record ID
|
|
1288
|
+
* @type {number}
|
|
1289
|
+
* @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
|
|
1066
1290
|
*/
|
|
1067
|
-
'
|
|
1291
|
+
'owner_id': number;
|
|
1068
1292
|
/**
|
|
1069
|
-
*
|
|
1070
|
-
* @type {
|
|
1071
|
-
* @memberof
|
|
1293
|
+
* Administrative contact WHOIS record ID
|
|
1294
|
+
* @type {number}
|
|
1295
|
+
* @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
|
|
1072
1296
|
*/
|
|
1073
|
-
'
|
|
1297
|
+
'admin_id': number;
|
|
1298
|
+
/**
|
|
1299
|
+
* Billing contact WHOIS record ID
|
|
1300
|
+
* @type {number}
|
|
1301
|
+
* @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
|
|
1302
|
+
*/
|
|
1303
|
+
'billing_id': number;
|
|
1304
|
+
/**
|
|
1305
|
+
* Technical contact WHOIS record ID
|
|
1306
|
+
* @type {number}
|
|
1307
|
+
* @memberof DomainsV1PortfolioPurchaseRequestDomainContacts
|
|
1308
|
+
*/
|
|
1309
|
+
'tech_id': number;
|
|
1074
1310
|
}
|
|
1075
1311
|
/**
|
|
1076
1312
|
*
|
|
1077
1313
|
* @export
|
|
1078
|
-
* @interface
|
|
1314
|
+
* @interface DomainsV1PortfolioUpdateNameserversRequest
|
|
1079
1315
|
*/
|
|
1080
|
-
export interface
|
|
1316
|
+
export interface DomainsV1PortfolioUpdateNameserversRequest {
|
|
1081
1317
|
/**
|
|
1082
|
-
*
|
|
1083
|
-
* @type {
|
|
1084
|
-
* @memberof
|
|
1318
|
+
* First name server
|
|
1319
|
+
* @type {string}
|
|
1320
|
+
* @memberof DomainsV1PortfolioUpdateNameserversRequest
|
|
1085
1321
|
*/
|
|
1086
|
-
'
|
|
1322
|
+
'ns1': string;
|
|
1087
1323
|
/**
|
|
1088
|
-
*
|
|
1089
|
-
* @type {
|
|
1090
|
-
* @memberof
|
|
1324
|
+
* Second name server
|
|
1325
|
+
* @type {string}
|
|
1326
|
+
* @memberof DomainsV1PortfolioUpdateNameserversRequest
|
|
1091
1327
|
*/
|
|
1092
|
-
'
|
|
1328
|
+
'ns2': string;
|
|
1329
|
+
/**
|
|
1330
|
+
* Third name server
|
|
1331
|
+
* @type {string}
|
|
1332
|
+
* @memberof DomainsV1PortfolioUpdateNameserversRequest
|
|
1333
|
+
*/
|
|
1334
|
+
'ns3': string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Fourth name server
|
|
1337
|
+
* @type {string}
|
|
1338
|
+
* @memberof DomainsV1PortfolioUpdateNameserversRequest
|
|
1339
|
+
*/
|
|
1340
|
+
'ns4': string;
|
|
1093
1341
|
}
|
|
1094
1342
|
/**
|
|
1095
1343
|
*
|
|
1096
1344
|
* @export
|
|
1097
|
-
* @interface
|
|
1345
|
+
* @interface DomainsV1WHOISProfileResource
|
|
1098
1346
|
*/
|
|
1099
|
-
export interface
|
|
1347
|
+
export interface DomainsV1WHOISProfileResource {
|
|
1100
1348
|
/**
|
|
1101
|
-
*
|
|
1349
|
+
* WHOIS Profile ID
|
|
1102
1350
|
* @type {number}
|
|
1103
|
-
* @memberof
|
|
1351
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1104
1352
|
*/
|
|
1105
1353
|
'id': number;
|
|
1106
1354
|
/**
|
|
1107
|
-
*
|
|
1355
|
+
* TLD to which contact profile can be applied to
|
|
1108
1356
|
* @type {string}
|
|
1109
|
-
* @memberof
|
|
1357
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1110
1358
|
*/
|
|
1111
|
-
'
|
|
1359
|
+
'tld': string;
|
|
1112
1360
|
/**
|
|
1113
|
-
*
|
|
1361
|
+
* ISO 3166 2-letter country code
|
|
1114
1362
|
* @type {string}
|
|
1115
|
-
* @memberof
|
|
1363
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1116
1364
|
*/
|
|
1117
|
-
'
|
|
1365
|
+
'country': string;
|
|
1366
|
+
/**
|
|
1367
|
+
* WHOIS profile entity type
|
|
1368
|
+
* @type {string}
|
|
1369
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1370
|
+
*/
|
|
1371
|
+
'entity_type': DomainsV1WHOISProfileResourceEntityTypeEnum;
|
|
1372
|
+
/**
|
|
1373
|
+
* WHOIS profile details
|
|
1374
|
+
* @type {object}
|
|
1375
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1376
|
+
*/
|
|
1377
|
+
'whois_details': object;
|
|
1378
|
+
/**
|
|
1379
|
+
* TLD details
|
|
1380
|
+
* @type {object}
|
|
1381
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1382
|
+
*/
|
|
1383
|
+
'tld_details': object;
|
|
1118
1384
|
/**
|
|
1119
1385
|
*
|
|
1120
1386
|
* @type {string}
|
|
1121
|
-
* @memberof
|
|
1387
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1122
1388
|
*/
|
|
1123
1389
|
'created_at': string;
|
|
1124
1390
|
/**
|
|
1125
1391
|
*
|
|
1126
1392
|
* @type {string}
|
|
1127
|
-
* @memberof
|
|
1393
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
1128
1394
|
*/
|
|
1129
1395
|
'updated_at': string;
|
|
1130
1396
|
}
|
|
1131
1397
|
|
|
1132
|
-
export const
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
Delayed: 'delayed',
|
|
1136
|
-
Sent: 'sent',
|
|
1137
|
-
Created: 'created'
|
|
1398
|
+
export const DomainsV1WHOISProfileResourceEntityTypeEnum = {
|
|
1399
|
+
Individual: 'individual',
|
|
1400
|
+
Organization: 'organization'
|
|
1138
1401
|
} as const;
|
|
1139
1402
|
|
|
1140
|
-
export type
|
|
1403
|
+
export type DomainsV1WHOISProfileResourceEntityTypeEnum = typeof DomainsV1WHOISProfileResourceEntityTypeEnum[keyof typeof DomainsV1WHOISProfileResourceEntityTypeEnum];
|
|
1141
1404
|
|
|
1142
1405
|
/**
|
|
1143
1406
|
*
|
|
1144
1407
|
* @export
|
|
1145
|
-
* @interface
|
|
1408
|
+
* @interface DomainsV1WHOISStoreRequest
|
|
1146
1409
|
*/
|
|
1147
|
-
export interface
|
|
1410
|
+
export interface DomainsV1WHOISStoreRequest {
|
|
1148
1411
|
/**
|
|
1149
|
-
*
|
|
1150
|
-
* @type {
|
|
1151
|
-
* @memberof
|
|
1412
|
+
* TLD of the domain (without trailing dot)
|
|
1413
|
+
* @type {string}
|
|
1414
|
+
* @memberof DomainsV1WHOISStoreRequest
|
|
1152
1415
|
*/
|
|
1153
|
-
'
|
|
1416
|
+
'tld': string;
|
|
1154
1417
|
/**
|
|
1155
|
-
*
|
|
1418
|
+
* ISO 3166 2-letter country code
|
|
1156
1419
|
* @type {string}
|
|
1157
|
-
* @memberof
|
|
1420
|
+
* @memberof DomainsV1WHOISStoreRequest
|
|
1158
1421
|
*/
|
|
1159
|
-
'
|
|
1422
|
+
'country': string;
|
|
1160
1423
|
/**
|
|
1161
|
-
*
|
|
1424
|
+
* Legal entity type
|
|
1162
1425
|
* @type {string}
|
|
1163
|
-
* @memberof
|
|
1426
|
+
* @memberof DomainsV1WHOISStoreRequest
|
|
1164
1427
|
*/
|
|
1165
|
-
'
|
|
1428
|
+
'entity_type': DomainsV1WHOISStoreRequestEntityTypeEnum;
|
|
1429
|
+
/**
|
|
1430
|
+
* TLD details
|
|
1431
|
+
* @type {object}
|
|
1432
|
+
* @memberof DomainsV1WHOISStoreRequest
|
|
1433
|
+
*/
|
|
1434
|
+
'tld_details': object;
|
|
1435
|
+
/**
|
|
1436
|
+
* WHOIS details
|
|
1437
|
+
* @type {object}
|
|
1438
|
+
* @memberof DomainsV1WHOISStoreRequest
|
|
1439
|
+
*/
|
|
1440
|
+
'whois_details': object;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
export const DomainsV1WHOISStoreRequestEntityTypeEnum = {
|
|
1444
|
+
Individual: 'individual',
|
|
1445
|
+
Organization: 'organization'
|
|
1446
|
+
} as const;
|
|
1447
|
+
|
|
1448
|
+
export type DomainsV1WHOISStoreRequestEntityTypeEnum = typeof DomainsV1WHOISStoreRequestEntityTypeEnum[keyof typeof DomainsV1WHOISStoreRequestEntityTypeEnum];
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @export
|
|
1453
|
+
* @interface VPSGetActionListV1200Response
|
|
1454
|
+
*/
|
|
1455
|
+
export interface VPSGetActionListV1200Response {
|
|
1456
|
+
/**
|
|
1457
|
+
* Array of [`VPS.V1.Action.ActionResource`](#model/vpsv1actionactionresource)
|
|
1458
|
+
* @type {Array<VPSV1ActionActionResource>}
|
|
1459
|
+
* @memberof VPSGetActionListV1200Response
|
|
1460
|
+
*/
|
|
1461
|
+
'data': Array<VPSV1ActionActionResource>;
|
|
1462
|
+
/**
|
|
1463
|
+
*
|
|
1464
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
1465
|
+
* @memberof VPSGetActionListV1200Response
|
|
1466
|
+
*/
|
|
1467
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @export
|
|
1472
|
+
* @interface VPSGetBackupListV1200Response
|
|
1473
|
+
*/
|
|
1474
|
+
export interface VPSGetBackupListV1200Response {
|
|
1475
|
+
/**
|
|
1476
|
+
* Array of [`VPS.V1.Backup.BackupResource`](#model/vpsv1backupbackupresource)
|
|
1477
|
+
* @type {Array<VPSV1BackupBackupResource>}
|
|
1478
|
+
* @memberof VPSGetBackupListV1200Response
|
|
1479
|
+
*/
|
|
1480
|
+
'data': Array<VPSV1BackupBackupResource>;
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
1484
|
+
* @memberof VPSGetBackupListV1200Response
|
|
1485
|
+
*/
|
|
1486
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
*
|
|
1490
|
+
* @export
|
|
1491
|
+
* @interface VPSGetFirewallListV1200Response
|
|
1492
|
+
*/
|
|
1493
|
+
export interface VPSGetFirewallListV1200Response {
|
|
1494
|
+
/**
|
|
1495
|
+
* Array of [`VPS.V1.Firewall.FirewallResource`](#model/vpsv1firewallfirewallresource)
|
|
1496
|
+
* @type {Array<VPSV1FirewallFirewallResource>}
|
|
1497
|
+
* @memberof VPSGetFirewallListV1200Response
|
|
1498
|
+
*/
|
|
1499
|
+
'data': Array<VPSV1FirewallFirewallResource>;
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
1503
|
+
* @memberof VPSGetFirewallListV1200Response
|
|
1504
|
+
*/
|
|
1505
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1506
|
+
}
|
|
1507
|
+
/**
|
|
1508
|
+
*
|
|
1509
|
+
* @export
|
|
1510
|
+
* @interface VPSGetPostInstallScriptListV1200Response
|
|
1511
|
+
*/
|
|
1512
|
+
export interface VPSGetPostInstallScriptListV1200Response {
|
|
1513
|
+
/**
|
|
1514
|
+
* Array of [`VPS.V1.PostInstallScript.PostInstallScriptResource`](#model/vpsv1postinstallscriptpostinstallscriptresource)
|
|
1515
|
+
* @type {Array<VPSV1PostInstallScriptPostInstallScriptResource>}
|
|
1516
|
+
* @memberof VPSGetPostInstallScriptListV1200Response
|
|
1517
|
+
*/
|
|
1518
|
+
'data': Array<VPSV1PostInstallScriptPostInstallScriptResource>;
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
1522
|
+
* @memberof VPSGetPostInstallScriptListV1200Response
|
|
1523
|
+
*/
|
|
1524
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1525
|
+
}
|
|
1526
|
+
/**
|
|
1527
|
+
*
|
|
1528
|
+
* @export
|
|
1529
|
+
* @interface VPSGetPublicKeyListV1200Response
|
|
1530
|
+
*/
|
|
1531
|
+
export interface VPSGetPublicKeyListV1200Response {
|
|
1532
|
+
/**
|
|
1533
|
+
* Array of [`VPS.V1.PublicKey.PublicKeyResource`](#model/vpsv1publickeypublickeyresource)
|
|
1534
|
+
* @type {Array<VPSV1PublicKeyPublicKeyResource>}
|
|
1535
|
+
* @memberof VPSGetPublicKeyListV1200Response
|
|
1536
|
+
*/
|
|
1537
|
+
'data': Array<VPSV1PublicKeyPublicKeyResource>;
|
|
1538
|
+
/**
|
|
1539
|
+
*
|
|
1540
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
1541
|
+
* @memberof VPSGetPublicKeyListV1200Response
|
|
1542
|
+
*/
|
|
1543
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
*
|
|
1547
|
+
* @export
|
|
1548
|
+
* @interface VPSV1ActionActionResource
|
|
1549
|
+
*/
|
|
1550
|
+
export interface VPSV1ActionActionResource {
|
|
1551
|
+
/**
|
|
1552
|
+
* Action ID
|
|
1553
|
+
* @type {number}
|
|
1554
|
+
* @memberof VPSV1ActionActionResource
|
|
1555
|
+
*/
|
|
1556
|
+
'id': number;
|
|
1557
|
+
/**
|
|
1558
|
+
* Action name
|
|
1559
|
+
* @type {string}
|
|
1560
|
+
* @memberof VPSV1ActionActionResource
|
|
1561
|
+
*/
|
|
1562
|
+
'name': string;
|
|
1563
|
+
/**
|
|
1564
|
+
* Action state
|
|
1565
|
+
* @type {string}
|
|
1566
|
+
* @memberof VPSV1ActionActionResource
|
|
1567
|
+
*/
|
|
1568
|
+
'state': VPSV1ActionActionResourceStateEnum;
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @type {string}
|
|
1572
|
+
* @memberof VPSV1ActionActionResource
|
|
1573
|
+
*/
|
|
1574
|
+
'created_at': string;
|
|
1575
|
+
/**
|
|
1576
|
+
*
|
|
1577
|
+
* @type {string}
|
|
1578
|
+
* @memberof VPSV1ActionActionResource
|
|
1579
|
+
*/
|
|
1580
|
+
'updated_at': string;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
export const VPSV1ActionActionResourceStateEnum = {
|
|
1584
|
+
Success: 'success',
|
|
1585
|
+
Error: 'error',
|
|
1586
|
+
Delayed: 'delayed',
|
|
1587
|
+
Sent: 'sent',
|
|
1588
|
+
Created: 'created'
|
|
1589
|
+
} as const;
|
|
1590
|
+
|
|
1591
|
+
export type VPSV1ActionActionResourceStateEnum = typeof VPSV1ActionActionResourceStateEnum[keyof typeof VPSV1ActionActionResourceStateEnum];
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
*
|
|
1595
|
+
* @export
|
|
1596
|
+
* @interface VPSV1BackupBackupResource
|
|
1597
|
+
*/
|
|
1598
|
+
export interface VPSV1BackupBackupResource {
|
|
1599
|
+
/**
|
|
1600
|
+
* Backup ID
|
|
1601
|
+
* @type {number}
|
|
1602
|
+
* @memberof VPSV1BackupBackupResource
|
|
1603
|
+
*/
|
|
1604
|
+
'id': number;
|
|
1605
|
+
/**
|
|
1606
|
+
* Location of the backup
|
|
1607
|
+
* @type {string}
|
|
1608
|
+
* @memberof VPSV1BackupBackupResource
|
|
1609
|
+
*/
|
|
1610
|
+
'location': string;
|
|
1611
|
+
/**
|
|
1612
|
+
*
|
|
1613
|
+
* @type {string}
|
|
1614
|
+
* @memberof VPSV1BackupBackupResource
|
|
1615
|
+
*/
|
|
1616
|
+
'created_at': string;
|
|
1166
1617
|
}
|
|
1167
1618
|
/**
|
|
1168
1619
|
*
|
|
@@ -1457,83 +1908,41 @@ export interface VPSV1MalwareMetricsResource {
|
|
|
1457
1908
|
export interface VPSV1MetricsMetricsCollection {
|
|
1458
1909
|
/**
|
|
1459
1910
|
*
|
|
1460
|
-
* @type {
|
|
1911
|
+
* @type {VPSV1MetricsMetricsResource}
|
|
1461
1912
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1462
1913
|
*/
|
|
1463
|
-
'cpu_usage':
|
|
1914
|
+
'cpu_usage': VPSV1MetricsMetricsResource | null;
|
|
1464
1915
|
/**
|
|
1465
1916
|
*
|
|
1466
|
-
* @type {
|
|
1917
|
+
* @type {VPSV1MetricsMetricsResource}
|
|
1467
1918
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1468
1919
|
*/
|
|
1469
|
-
'ram_usage':
|
|
1920
|
+
'ram_usage': VPSV1MetricsMetricsResource | null;
|
|
1470
1921
|
/**
|
|
1471
1922
|
*
|
|
1472
|
-
* @type {
|
|
1923
|
+
* @type {VPSV1MetricsMetricsResource}
|
|
1473
1924
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1474
1925
|
*/
|
|
1475
|
-
'disk_space':
|
|
1926
|
+
'disk_space': VPSV1MetricsMetricsResource | null;
|
|
1476
1927
|
/**
|
|
1477
1928
|
*
|
|
1478
|
-
* @type {
|
|
1929
|
+
* @type {VPSV1MetricsMetricsResource}
|
|
1479
1930
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1480
1931
|
*/
|
|
1481
|
-
'outgoing_traffic':
|
|
1932
|
+
'outgoing_traffic': VPSV1MetricsMetricsResource | null;
|
|
1482
1933
|
/**
|
|
1483
1934
|
*
|
|
1484
|
-
* @type {
|
|
1935
|
+
* @type {VPSV1MetricsMetricsResource}
|
|
1485
1936
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1486
1937
|
*/
|
|
1487
|
-
'incoming_traffic':
|
|
1938
|
+
'incoming_traffic': VPSV1MetricsMetricsResource | null;
|
|
1488
1939
|
/**
|
|
1489
1940
|
*
|
|
1490
|
-
* @type {
|
|
1941
|
+
* @type {VPSV1MetricsMetricsResource}
|
|
1491
1942
|
* @memberof VPSV1MetricsMetricsCollection
|
|
1492
1943
|
*/
|
|
1493
|
-
'uptime':
|
|
1944
|
+
'uptime': VPSV1MetricsMetricsResource | null;
|
|
1494
1945
|
}
|
|
1495
|
-
/**
|
|
1496
|
-
* @type VPSV1MetricsMetricsCollectionCpuUsage
|
|
1497
|
-
* CPU usage in percentage, 0 - 100%
|
|
1498
|
-
* @export
|
|
1499
|
-
*/
|
|
1500
|
-
export type VPSV1MetricsMetricsCollectionCpuUsage = VPSV1MetricsMetricsResource;
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* @type VPSV1MetricsMetricsCollectionDiskSpace
|
|
1504
|
-
* Disk space usage in bytes
|
|
1505
|
-
* @export
|
|
1506
|
-
*/
|
|
1507
|
-
export type VPSV1MetricsMetricsCollectionDiskSpace = VPSV1MetricsMetricsResource;
|
|
1508
|
-
|
|
1509
|
-
/**
|
|
1510
|
-
* @type VPSV1MetricsMetricsCollectionIncomingTraffic
|
|
1511
|
-
* Incoming traffic in bytes
|
|
1512
|
-
* @export
|
|
1513
|
-
*/
|
|
1514
|
-
export type VPSV1MetricsMetricsCollectionIncomingTraffic = VPSV1MetricsMetricsResource;
|
|
1515
|
-
|
|
1516
|
-
/**
|
|
1517
|
-
* @type VPSV1MetricsMetricsCollectionOutgoingTraffic
|
|
1518
|
-
* Outgoing traffic in bytes
|
|
1519
|
-
* @export
|
|
1520
|
-
*/
|
|
1521
|
-
export type VPSV1MetricsMetricsCollectionOutgoingTraffic = VPSV1MetricsMetricsResource;
|
|
1522
|
-
|
|
1523
|
-
/**
|
|
1524
|
-
* @type VPSV1MetricsMetricsCollectionRamUsage
|
|
1525
|
-
* RAM usage in bytes
|
|
1526
|
-
* @export
|
|
1527
|
-
*/
|
|
1528
|
-
export type VPSV1MetricsMetricsCollectionRamUsage = VPSV1MetricsMetricsResource;
|
|
1529
|
-
|
|
1530
|
-
/**
|
|
1531
|
-
* @type VPSV1MetricsMetricsCollectionUptime
|
|
1532
|
-
* Uptime in milliseconds
|
|
1533
|
-
* @export
|
|
1534
|
-
*/
|
|
1535
|
-
export type VPSV1MetricsMetricsCollectionUptime = VPSV1MetricsMetricsResource;
|
|
1536
|
-
|
|
1537
1946
|
/**
|
|
1538
1947
|
*
|
|
1539
1948
|
* @export
|
|
@@ -1989,23 +2398,23 @@ export interface VPSV1VirtualMachineVirtualMachineResource {
|
|
|
1989
2398
|
*/
|
|
1990
2399
|
'ns2': string | null;
|
|
1991
2400
|
/**
|
|
1992
|
-
*
|
|
1993
|
-
* @type {
|
|
2401
|
+
* Array of [`VPS.V1.IPAddress.IPAddressResource`](#model/vpsv1ipaddressipaddressresource)
|
|
2402
|
+
* @type {Array<VPSV1IPAddressIPAddressResource>}
|
|
1994
2403
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
1995
2404
|
*/
|
|
1996
|
-
'ipv4':
|
|
2405
|
+
'ipv4': Array<VPSV1IPAddressIPAddressResource>;
|
|
1997
2406
|
/**
|
|
1998
|
-
*
|
|
1999
|
-
* @type {
|
|
2407
|
+
* Array of [`VPS.V1.IPAddress.IPAddressResource`](#model/vpsv1ipaddressipaddressresource)
|
|
2408
|
+
* @type {Array<VPSV1IPAddressIPAddressResource>}
|
|
2000
2409
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
2001
2410
|
*/
|
|
2002
|
-
'ipv6':
|
|
2411
|
+
'ipv6': Array<VPSV1IPAddressIPAddressResource>;
|
|
2003
2412
|
/**
|
|
2004
2413
|
*
|
|
2005
|
-
* @type {
|
|
2414
|
+
* @type {VPSV1TemplateTemplateResource}
|
|
2006
2415
|
* @memberof VPSV1VirtualMachineVirtualMachineResource
|
|
2007
2416
|
*/
|
|
2008
|
-
'template':
|
|
2417
|
+
'template': VPSV1TemplateTemplateResource | null;
|
|
2009
2418
|
/**
|
|
2010
2419
|
*
|
|
2011
2420
|
* @type {string}
|
|
@@ -2041,27 +2450,6 @@ export const VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = {
|
|
|
2041
2450
|
|
|
2042
2451
|
export type VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = typeof VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum[keyof typeof VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum];
|
|
2043
2452
|
|
|
2044
|
-
/**
|
|
2045
|
-
* @type VPSV1VirtualMachineVirtualMachineResourceIpv4
|
|
2046
|
-
* IPv4 address of virtual machine
|
|
2047
|
-
* @export
|
|
2048
|
-
*/
|
|
2049
|
-
export type VPSV1VirtualMachineVirtualMachineResourceIpv4 = Array<VPSV1IPAddressIPAddressResource>;
|
|
2050
|
-
|
|
2051
|
-
/**
|
|
2052
|
-
* @type VPSV1VirtualMachineVirtualMachineResourceIpv6
|
|
2053
|
-
* IPv6 address of virtual machine, `null` if not assigned
|
|
2054
|
-
* @export
|
|
2055
|
-
*/
|
|
2056
|
-
export type VPSV1VirtualMachineVirtualMachineResourceIpv6 = Array<VPSV1IPAddressIPAddressResource>;
|
|
2057
|
-
|
|
2058
|
-
/**
|
|
2059
|
-
* @type VPSV1VirtualMachineVirtualMachineResourceTemplate
|
|
2060
|
-
* OS template installed in virtual machine
|
|
2061
|
-
* @export
|
|
2062
|
-
*/
|
|
2063
|
-
export type VPSV1VirtualMachineVirtualMachineResourceTemplate = VPSV1TemplateTemplateResource;
|
|
2064
|
-
|
|
2065
2453
|
|
|
2066
2454
|
/**
|
|
2067
2455
|
* BillingCatalogApi - axios parameter creator
|
|
@@ -3531,19 +3919,22 @@ export class DomainsAvailabilityApi extends BaseAPI {
|
|
|
3531
3919
|
|
|
3532
3920
|
|
|
3533
3921
|
/**
|
|
3534
|
-
*
|
|
3922
|
+
* DomainsForwardingApi - axios parameter creator
|
|
3535
3923
|
* @export
|
|
3536
3924
|
*/
|
|
3537
|
-
export const
|
|
3925
|
+
export const DomainsForwardingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3538
3926
|
return {
|
|
3539
3927
|
/**
|
|
3540
|
-
* This endpoint
|
|
3541
|
-
* @summary
|
|
3928
|
+
* This endpoint creates domain forwarding data.
|
|
3929
|
+
* @summary Create forwarding data
|
|
3930
|
+
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
3542
3931
|
* @param {*} [options] Override http request option.
|
|
3543
3932
|
* @throws {RequiredError}
|
|
3544
3933
|
*/
|
|
3545
|
-
|
|
3546
|
-
|
|
3934
|
+
createForwardingDataV1: async (domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3935
|
+
// verify required parameter 'domainsV1ForwardingStoreRequest' is not null or undefined
|
|
3936
|
+
assertParamExists('createForwardingDataV1', 'domainsV1ForwardingStoreRequest', domainsV1ForwardingStoreRequest)
|
|
3937
|
+
const localVarPath = `/api/domains/v1/forwarding`;
|
|
3547
3938
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3548
3939
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3549
3940
|
let baseOptions;
|
|
@@ -3551,7 +3942,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
3551
3942
|
baseOptions = configuration.baseOptions;
|
|
3552
3943
|
}
|
|
3553
3944
|
|
|
3554
|
-
const localVarRequestOptions = { method: '
|
|
3945
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3555
3946
|
const localVarHeaderParameter = {} as any;
|
|
3556
3947
|
const localVarQueryParameter = {} as any;
|
|
3557
3948
|
|
|
@@ -3561,74 +3952,1245 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
3561
3952
|
|
|
3562
3953
|
|
|
3563
3954
|
|
|
3955
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3956
|
+
|
|
3564
3957
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3565
3958
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3566
3959
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3960
|
+
localVarRequestOptions.data = serializeDataIfNeeded(domainsV1ForwardingStoreRequest, localVarRequestOptions, configuration)
|
|
3567
3961
|
|
|
3568
3962
|
return {
|
|
3569
3963
|
url: toPathString(localVarUrlObj),
|
|
3570
3964
|
options: localVarRequestOptions,
|
|
3571
3965
|
};
|
|
3572
3966
|
},
|
|
3573
|
-
}
|
|
3574
|
-
};
|
|
3575
|
-
|
|
3576
|
-
/**
|
|
3577
|
-
* DomainsPortfolioApi - functional programming interface
|
|
3578
|
-
* @export
|
|
3579
|
-
*/
|
|
3580
|
-
export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
3581
|
-
const localVarAxiosParamCreator = DomainsPortfolioApiAxiosParamCreator(configuration)
|
|
3582
|
-
return {
|
|
3583
3967
|
/**
|
|
3584
|
-
* This endpoint
|
|
3585
|
-
* @summary
|
|
3968
|
+
* This endpoint deletes domain forwarding data.
|
|
3969
|
+
* @summary Delete forwarding data
|
|
3970
|
+
* @param {string} domain Domain name
|
|
3586
3971
|
* @param {*} [options] Override http request option.
|
|
3587
3972
|
* @throws {RequiredError}
|
|
3588
3973
|
*/
|
|
3589
|
-
async
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3974
|
+
deleteForwardingDataV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3975
|
+
// verify required parameter 'domain' is not null or undefined
|
|
3976
|
+
assertParamExists('deleteForwardingDataV1', 'domain', domain)
|
|
3977
|
+
const localVarPath = `/api/domains/v1/forwarding/{domain}`
|
|
3978
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
3979
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3980
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3981
|
+
let baseOptions;
|
|
3982
|
+
if (configuration) {
|
|
3983
|
+
baseOptions = configuration.baseOptions;
|
|
3984
|
+
}
|
|
3596
3985
|
|
|
3597
|
-
|
|
3598
|
-
|
|
3986
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3987
|
+
const localVarHeaderParameter = {} as any;
|
|
3988
|
+
const localVarQueryParameter = {} as any;
|
|
3989
|
+
|
|
3990
|
+
// authentication apiToken required
|
|
3991
|
+
// http bearer authentication required
|
|
3992
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
|
|
3996
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3997
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3998
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3999
|
+
|
|
4000
|
+
return {
|
|
4001
|
+
url: toPathString(localVarUrlObj),
|
|
4002
|
+
options: localVarRequestOptions,
|
|
4003
|
+
};
|
|
4004
|
+
},
|
|
4005
|
+
/**
|
|
4006
|
+
* This endpoint retrieves domain forwarding data.
|
|
4007
|
+
* @summary Get forwarding data
|
|
4008
|
+
* @param {string} domain Domain name
|
|
4009
|
+
* @param {*} [options] Override http request option.
|
|
4010
|
+
* @throws {RequiredError}
|
|
4011
|
+
*/
|
|
4012
|
+
getForwardingDataV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4013
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4014
|
+
assertParamExists('getForwardingDataV1', 'domain', domain)
|
|
4015
|
+
const localVarPath = `/api/domains/v1/forwarding/{domain}`
|
|
4016
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4017
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4018
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4019
|
+
let baseOptions;
|
|
4020
|
+
if (configuration) {
|
|
4021
|
+
baseOptions = configuration.baseOptions;
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4025
|
+
const localVarHeaderParameter = {} as any;
|
|
4026
|
+
const localVarQueryParameter = {} as any;
|
|
4027
|
+
|
|
4028
|
+
// authentication apiToken required
|
|
4029
|
+
// http bearer authentication required
|
|
4030
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4031
|
+
|
|
4032
|
+
|
|
4033
|
+
|
|
4034
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4035
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4036
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4037
|
+
|
|
4038
|
+
return {
|
|
4039
|
+
url: toPathString(localVarUrlObj),
|
|
4040
|
+
options: localVarRequestOptions,
|
|
4041
|
+
};
|
|
4042
|
+
},
|
|
4043
|
+
}
|
|
4044
|
+
};
|
|
4045
|
+
|
|
4046
|
+
/**
|
|
4047
|
+
* DomainsForwardingApi - functional programming interface
|
|
4048
|
+
* @export
|
|
4049
|
+
*/
|
|
4050
|
+
export const DomainsForwardingApiFp = function(configuration?: Configuration) {
|
|
4051
|
+
const localVarAxiosParamCreator = DomainsForwardingApiAxiosParamCreator(configuration)
|
|
4052
|
+
return {
|
|
4053
|
+
/**
|
|
4054
|
+
* This endpoint creates domain forwarding data.
|
|
4055
|
+
* @summary Create forwarding data
|
|
4056
|
+
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
4057
|
+
* @param {*} [options] Override http request option.
|
|
4058
|
+
* @throws {RequiredError}
|
|
4059
|
+
*/
|
|
4060
|
+
async createForwardingDataV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1ForwardingForwardingResource>> {
|
|
4061
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createForwardingDataV1(domainsV1ForwardingStoreRequest, options);
|
|
4062
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsForwardingApi.createForwardingDataV1']?.[0]?.url;
|
|
4063
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4064
|
+
},
|
|
4065
|
+
/**
|
|
4066
|
+
* This endpoint deletes domain forwarding data.
|
|
4067
|
+
* @summary Delete forwarding data
|
|
4068
|
+
* @param {string} domain Domain name
|
|
4069
|
+
* @param {*} [options] Override http request option.
|
|
4070
|
+
* @throws {RequiredError}
|
|
4071
|
+
*/
|
|
4072
|
+
async deleteForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
4073
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteForwardingDataV1(domain, options);
|
|
4074
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsForwardingApi.deleteForwardingDataV1']?.[0]?.url;
|
|
4075
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4076
|
+
},
|
|
4077
|
+
/**
|
|
4078
|
+
* This endpoint retrieves domain forwarding data.
|
|
4079
|
+
* @summary Get forwarding data
|
|
4080
|
+
* @param {string} domain Domain name
|
|
4081
|
+
* @param {*} [options] Override http request option.
|
|
4082
|
+
* @throws {RequiredError}
|
|
4083
|
+
*/
|
|
4084
|
+
async getForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1ForwardingForwardingResource>> {
|
|
4085
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getForwardingDataV1(domain, options);
|
|
4086
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsForwardingApi.getForwardingDataV1']?.[0]?.url;
|
|
4087
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4088
|
+
},
|
|
4089
|
+
}
|
|
4090
|
+
};
|
|
4091
|
+
|
|
4092
|
+
/**
|
|
4093
|
+
* DomainsForwardingApi - factory interface
|
|
4094
|
+
* @export
|
|
4095
|
+
*/
|
|
4096
|
+
export const DomainsForwardingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4097
|
+
const localVarFp = DomainsForwardingApiFp(configuration)
|
|
4098
|
+
return {
|
|
4099
|
+
/**
|
|
4100
|
+
* This endpoint creates domain forwarding data.
|
|
4101
|
+
* @summary Create forwarding data
|
|
4102
|
+
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
4103
|
+
* @param {*} [options] Override http request option.
|
|
4104
|
+
* @throws {RequiredError}
|
|
4105
|
+
*/
|
|
4106
|
+
createForwardingDataV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1ForwardingForwardingResource> {
|
|
4107
|
+
return localVarFp.createForwardingDataV1(domainsV1ForwardingStoreRequest, options).then((request) => request(axios, basePath));
|
|
4108
|
+
},
|
|
4109
|
+
/**
|
|
4110
|
+
* This endpoint deletes domain forwarding data.
|
|
4111
|
+
* @summary Delete forwarding data
|
|
4112
|
+
* @param {string} domain Domain name
|
|
4113
|
+
* @param {*} [options] Override http request option.
|
|
4114
|
+
* @throws {RequiredError}
|
|
4115
|
+
*/
|
|
4116
|
+
deleteForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
4117
|
+
return localVarFp.deleteForwardingDataV1(domain, options).then((request) => request(axios, basePath));
|
|
4118
|
+
},
|
|
4119
|
+
/**
|
|
4120
|
+
* This endpoint retrieves domain forwarding data.
|
|
4121
|
+
* @summary Get forwarding data
|
|
4122
|
+
* @param {string} domain Domain name
|
|
4123
|
+
* @param {*} [options] Override http request option.
|
|
4124
|
+
* @throws {RequiredError}
|
|
4125
|
+
*/
|
|
4126
|
+
getForwardingDataV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1ForwardingForwardingResource> {
|
|
4127
|
+
return localVarFp.getForwardingDataV1(domain, options).then((request) => request(axios, basePath));
|
|
4128
|
+
},
|
|
4129
|
+
};
|
|
4130
|
+
};
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* DomainsForwardingApi - object-oriented interface
|
|
4134
|
+
* @export
|
|
4135
|
+
* @class DomainsForwardingApi
|
|
4136
|
+
* @extends {BaseAPI}
|
|
4137
|
+
*/
|
|
4138
|
+
export class DomainsForwardingApi extends BaseAPI {
|
|
4139
|
+
/**
|
|
4140
|
+
* This endpoint creates domain forwarding data.
|
|
4141
|
+
* @summary Create forwarding data
|
|
4142
|
+
* @param {DomainsV1ForwardingStoreRequest} domainsV1ForwardingStoreRequest
|
|
4143
|
+
* @param {*} [options] Override http request option.
|
|
4144
|
+
* @throws {RequiredError}
|
|
4145
|
+
* @memberof DomainsForwardingApi
|
|
4146
|
+
*/
|
|
4147
|
+
public createForwardingDataV1(domainsV1ForwardingStoreRequest: DomainsV1ForwardingStoreRequest, options?: RawAxiosRequestConfig) {
|
|
4148
|
+
return DomainsForwardingApiFp(this.configuration).createForwardingDataV1(domainsV1ForwardingStoreRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* This endpoint deletes domain forwarding data.
|
|
4153
|
+
* @summary Delete forwarding data
|
|
4154
|
+
* @param {string} domain Domain name
|
|
4155
|
+
* @param {*} [options] Override http request option.
|
|
4156
|
+
* @throws {RequiredError}
|
|
4157
|
+
* @memberof DomainsForwardingApi
|
|
4158
|
+
*/
|
|
4159
|
+
public deleteForwardingDataV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
4160
|
+
return DomainsForwardingApiFp(this.configuration).deleteForwardingDataV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4161
|
+
}
|
|
4162
|
+
|
|
4163
|
+
/**
|
|
4164
|
+
* This endpoint retrieves domain forwarding data.
|
|
4165
|
+
* @summary Get forwarding data
|
|
4166
|
+
* @param {string} domain Domain name
|
|
4167
|
+
* @param {*} [options] Override http request option.
|
|
4168
|
+
* @throws {RequiredError}
|
|
4169
|
+
* @memberof DomainsForwardingApi
|
|
4170
|
+
*/
|
|
4171
|
+
public getForwardingDataV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
4172
|
+
return DomainsForwardingApiFp(this.configuration).getForwardingDataV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4173
|
+
}
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
|
|
4177
|
+
|
|
4178
|
+
/**
|
|
4179
|
+
* DomainsPortfolioApi - axios parameter creator
|
|
4180
|
+
* @export
|
|
4181
|
+
*/
|
|
4182
|
+
export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4183
|
+
return {
|
|
4184
|
+
/**
|
|
4185
|
+
* This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
|
|
4186
|
+
* @summary Disable domain lock
|
|
4187
|
+
* @param {string} domain Domain name
|
|
4188
|
+
* @param {*} [options] Override http request option.
|
|
4189
|
+
* @throws {RequiredError}
|
|
4190
|
+
*/
|
|
4191
|
+
disableDomainLockV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4192
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4193
|
+
assertParamExists('disableDomainLockV1', 'domain', domain)
|
|
4194
|
+
const localVarPath = `/api/domains/v1/portfolio/{domain}/domain-lock`
|
|
4195
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4196
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4197
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4198
|
+
let baseOptions;
|
|
4199
|
+
if (configuration) {
|
|
4200
|
+
baseOptions = configuration.baseOptions;
|
|
4201
|
+
}
|
|
4202
|
+
|
|
4203
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4204
|
+
const localVarHeaderParameter = {} as any;
|
|
4205
|
+
const localVarQueryParameter = {} as any;
|
|
4206
|
+
|
|
4207
|
+
// authentication apiToken required
|
|
4208
|
+
// http bearer authentication required
|
|
4209
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4210
|
+
|
|
4211
|
+
|
|
4212
|
+
|
|
4213
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4215
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4216
|
+
|
|
4217
|
+
return {
|
|
4218
|
+
url: toPathString(localVarUrlObj),
|
|
4219
|
+
options: localVarRequestOptions,
|
|
4220
|
+
};
|
|
4221
|
+
},
|
|
4222
|
+
/**
|
|
4223
|
+
* 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.
|
|
4224
|
+
* @summary Disable privacy protection
|
|
4225
|
+
* @param {string} domain Domain name
|
|
4226
|
+
* @param {*} [options] Override http request option.
|
|
4227
|
+
* @throws {RequiredError}
|
|
4228
|
+
*/
|
|
4229
|
+
disablePrivacyProtectionV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4230
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4231
|
+
assertParamExists('disablePrivacyProtectionV1', 'domain', domain)
|
|
4232
|
+
const localVarPath = `/api/domains/v1/portfolio/{domain}/privacy-protection`
|
|
4233
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4236
|
+
let baseOptions;
|
|
4237
|
+
if (configuration) {
|
|
4238
|
+
baseOptions = configuration.baseOptions;
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4241
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4242
|
+
const localVarHeaderParameter = {} as any;
|
|
4243
|
+
const localVarQueryParameter = {} as any;
|
|
4244
|
+
|
|
4245
|
+
// authentication apiToken required
|
|
4246
|
+
// http bearer authentication required
|
|
4247
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4248
|
+
|
|
4249
|
+
|
|
4250
|
+
|
|
4251
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4253
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4254
|
+
|
|
4255
|
+
return {
|
|
4256
|
+
url: toPathString(localVarUrlObj),
|
|
4257
|
+
options: localVarRequestOptions,
|
|
4258
|
+
};
|
|
4259
|
+
},
|
|
4260
|
+
/**
|
|
4261
|
+
* 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.
|
|
4262
|
+
* @summary Enable domain lock
|
|
4263
|
+
* @param {string} domain Domain name
|
|
4264
|
+
* @param {*} [options] Override http request option.
|
|
4265
|
+
* @throws {RequiredError}
|
|
4266
|
+
*/
|
|
4267
|
+
enableDomainLockV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4268
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4269
|
+
assertParamExists('enableDomainLockV1', 'domain', domain)
|
|
4270
|
+
const localVarPath = `/api/domains/v1/portfolio/{domain}/domain-lock`
|
|
4271
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4273
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4274
|
+
let baseOptions;
|
|
4275
|
+
if (configuration) {
|
|
4276
|
+
baseOptions = configuration.baseOptions;
|
|
4277
|
+
}
|
|
4278
|
+
|
|
4279
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4280
|
+
const localVarHeaderParameter = {} as any;
|
|
4281
|
+
const localVarQueryParameter = {} as any;
|
|
4282
|
+
|
|
4283
|
+
// authentication apiToken required
|
|
4284
|
+
// http bearer authentication required
|
|
4285
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4286
|
+
|
|
4287
|
+
|
|
4288
|
+
|
|
4289
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4290
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4291
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4292
|
+
|
|
4293
|
+
return {
|
|
4294
|
+
url: toPathString(localVarUrlObj),
|
|
4295
|
+
options: localVarRequestOptions,
|
|
4296
|
+
};
|
|
4297
|
+
},
|
|
4298
|
+
/**
|
|
4299
|
+
* 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.
|
|
4300
|
+
* @summary Enable privacy protection
|
|
4301
|
+
* @param {string} domain Domain name
|
|
4302
|
+
* @param {*} [options] Override http request option.
|
|
4303
|
+
* @throws {RequiredError}
|
|
4304
|
+
*/
|
|
4305
|
+
enablePrivacyProtectionV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4306
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4307
|
+
assertParamExists('enablePrivacyProtectionV1', 'domain', domain)
|
|
4308
|
+
const localVarPath = `/api/domains/v1/portfolio/{domain}/privacy-protection`
|
|
4309
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4311
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4312
|
+
let baseOptions;
|
|
4313
|
+
if (configuration) {
|
|
4314
|
+
baseOptions = configuration.baseOptions;
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4318
|
+
const localVarHeaderParameter = {} as any;
|
|
4319
|
+
const localVarQueryParameter = {} as any;
|
|
4320
|
+
|
|
4321
|
+
// authentication apiToken required
|
|
4322
|
+
// http bearer authentication required
|
|
4323
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4324
|
+
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4329
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4330
|
+
|
|
4331
|
+
return {
|
|
4332
|
+
url: toPathString(localVarUrlObj),
|
|
4333
|
+
options: localVarRequestOptions,
|
|
4334
|
+
};
|
|
4335
|
+
},
|
|
4336
|
+
/**
|
|
4337
|
+
* This endpoint retrieves a list of all domains associated with your account.
|
|
4338
|
+
* @summary Get domain list
|
|
4339
|
+
* @param {*} [options] Override http request option.
|
|
4340
|
+
* @throws {RequiredError}
|
|
4341
|
+
*/
|
|
4342
|
+
getDomainListV1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4343
|
+
const localVarPath = `/api/domains/v1/portfolio`;
|
|
4344
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4345
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4346
|
+
let baseOptions;
|
|
4347
|
+
if (configuration) {
|
|
4348
|
+
baseOptions = configuration.baseOptions;
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4351
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4352
|
+
const localVarHeaderParameter = {} as any;
|
|
4353
|
+
const localVarQueryParameter = {} as any;
|
|
4354
|
+
|
|
4355
|
+
// authentication apiToken required
|
|
4356
|
+
// http bearer authentication required
|
|
4357
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4358
|
+
|
|
4359
|
+
|
|
4360
|
+
|
|
4361
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4363
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4364
|
+
|
|
4365
|
+
return {
|
|
4366
|
+
url: toPathString(localVarUrlObj),
|
|
4367
|
+
options: localVarRequestOptions,
|
|
4368
|
+
};
|
|
4369
|
+
},
|
|
4370
|
+
/**
|
|
4371
|
+
* This endpoint retrieves details for specified domain.
|
|
4372
|
+
* @summary Get domain
|
|
4373
|
+
* @param {string} domain Domain name
|
|
4374
|
+
* @param {*} [options] Override http request option.
|
|
4375
|
+
* @throws {RequiredError}
|
|
4376
|
+
*/
|
|
4377
|
+
getDomainV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4378
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4379
|
+
assertParamExists('getDomainV1', 'domain', domain)
|
|
4380
|
+
const localVarPath = `/api/domains/v1/portfolio/{domain}`
|
|
4381
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4382
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4383
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4384
|
+
let baseOptions;
|
|
4385
|
+
if (configuration) {
|
|
4386
|
+
baseOptions = configuration.baseOptions;
|
|
4387
|
+
}
|
|
4388
|
+
|
|
4389
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4390
|
+
const localVarHeaderParameter = {} as any;
|
|
4391
|
+
const localVarQueryParameter = {} as any;
|
|
4392
|
+
|
|
4393
|
+
// authentication apiToken required
|
|
4394
|
+
// http bearer authentication required
|
|
4395
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4396
|
+
|
|
4397
|
+
|
|
4398
|
+
|
|
4399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4401
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4402
|
+
|
|
4403
|
+
return {
|
|
4404
|
+
url: toPathString(localVarUrlObj),
|
|
4405
|
+
options: localVarRequestOptions,
|
|
4406
|
+
};
|
|
4407
|
+
},
|
|
4408
|
+
/**
|
|
4409
|
+
* This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status. If no payment method is provided, default will be used. If no WHOIS information is provided, default for that TLD will be used. Before making request make sure that WHOIS information for TLD exists. Some TLDs require `additional_details` to be provided and will be validated before making purchase.
|
|
4410
|
+
* @summary Purchase new domain
|
|
4411
|
+
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
4412
|
+
* @param {*} [options] Override http request option.
|
|
4413
|
+
* @throws {RequiredError}
|
|
4414
|
+
*/
|
|
4415
|
+
purchaseNewDomainV1: async (domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4416
|
+
// verify required parameter 'domainsV1PortfolioPurchaseRequest' is not null or undefined
|
|
4417
|
+
assertParamExists('purchaseNewDomainV1', 'domainsV1PortfolioPurchaseRequest', domainsV1PortfolioPurchaseRequest)
|
|
4418
|
+
const localVarPath = `/api/domains/v1/portfolio`;
|
|
4419
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4420
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4421
|
+
let baseOptions;
|
|
4422
|
+
if (configuration) {
|
|
4423
|
+
baseOptions = configuration.baseOptions;
|
|
4424
|
+
}
|
|
4425
|
+
|
|
4426
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4427
|
+
const localVarHeaderParameter = {} as any;
|
|
4428
|
+
const localVarQueryParameter = {} as any;
|
|
4429
|
+
|
|
4430
|
+
// authentication apiToken required
|
|
4431
|
+
// http bearer authentication required
|
|
4432
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4433
|
+
|
|
4434
|
+
|
|
4435
|
+
|
|
4436
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4437
|
+
|
|
4438
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4439
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4440
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4441
|
+
localVarRequestOptions.data = serializeDataIfNeeded(domainsV1PortfolioPurchaseRequest, localVarRequestOptions, configuration)
|
|
4442
|
+
|
|
4443
|
+
return {
|
|
4444
|
+
url: toPathString(localVarUrlObj),
|
|
4445
|
+
options: localVarRequestOptions,
|
|
4446
|
+
};
|
|
4447
|
+
},
|
|
4448
|
+
/**
|
|
4449
|
+
* This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
|
|
4450
|
+
* @summary Update nameservers
|
|
4451
|
+
* @param {string} domain Domain name
|
|
4452
|
+
* @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
|
|
4453
|
+
* @param {*} [options] Override http request option.
|
|
4454
|
+
* @throws {RequiredError}
|
|
4455
|
+
*/
|
|
4456
|
+
updateNameserversV1: async (domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4457
|
+
// verify required parameter 'domain' is not null or undefined
|
|
4458
|
+
assertParamExists('updateNameserversV1', 'domain', domain)
|
|
4459
|
+
// verify required parameter 'domainsV1PortfolioUpdateNameserversRequest' is not null or undefined
|
|
4460
|
+
assertParamExists('updateNameserversV1', 'domainsV1PortfolioUpdateNameserversRequest', domainsV1PortfolioUpdateNameserversRequest)
|
|
4461
|
+
const localVarPath = `/api/domains/v1/portfolio/{domain}/nameservers`
|
|
4462
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4465
|
+
let baseOptions;
|
|
4466
|
+
if (configuration) {
|
|
4467
|
+
baseOptions = configuration.baseOptions;
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4470
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4471
|
+
const localVarHeaderParameter = {} as any;
|
|
4472
|
+
const localVarQueryParameter = {} as any;
|
|
4473
|
+
|
|
4474
|
+
// authentication apiToken required
|
|
4475
|
+
// http bearer authentication required
|
|
4476
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4477
|
+
|
|
4478
|
+
|
|
4479
|
+
|
|
4480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4481
|
+
|
|
4482
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4483
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4484
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4485
|
+
localVarRequestOptions.data = serializeDataIfNeeded(domainsV1PortfolioUpdateNameserversRequest, localVarRequestOptions, configuration)
|
|
4486
|
+
|
|
4487
|
+
return {
|
|
4488
|
+
url: toPathString(localVarUrlObj),
|
|
4489
|
+
options: localVarRequestOptions,
|
|
4490
|
+
};
|
|
4491
|
+
},
|
|
4492
|
+
}
|
|
4493
|
+
};
|
|
4494
|
+
|
|
4495
|
+
/**
|
|
4496
|
+
* DomainsPortfolioApi - functional programming interface
|
|
4497
|
+
* @export
|
|
4498
|
+
*/
|
|
4499
|
+
export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
4500
|
+
const localVarAxiosParamCreator = DomainsPortfolioApiAxiosParamCreator(configuration)
|
|
4501
|
+
return {
|
|
4502
|
+
/**
|
|
4503
|
+
* This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
|
|
4504
|
+
* @summary Disable domain lock
|
|
4505
|
+
* @param {string} domain Domain name
|
|
4506
|
+
* @param {*} [options] Override http request option.
|
|
4507
|
+
* @throws {RequiredError}
|
|
4508
|
+
*/
|
|
4509
|
+
async disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
4510
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disableDomainLockV1(domain, options);
|
|
4511
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.disableDomainLockV1']?.[0]?.url;
|
|
4512
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4513
|
+
},
|
|
4514
|
+
/**
|
|
4515
|
+
* 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.
|
|
4516
|
+
* @summary Disable privacy protection
|
|
4517
|
+
* @param {string} domain Domain name
|
|
4518
|
+
* @param {*} [options] Override http request option.
|
|
4519
|
+
* @throws {RequiredError}
|
|
4520
|
+
*/
|
|
4521
|
+
async disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
4522
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disablePrivacyProtectionV1(domain, options);
|
|
4523
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.disablePrivacyProtectionV1']?.[0]?.url;
|
|
4524
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4525
|
+
},
|
|
4526
|
+
/**
|
|
4527
|
+
* 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.
|
|
4528
|
+
* @summary Enable domain lock
|
|
4529
|
+
* @param {string} domain Domain name
|
|
4530
|
+
* @param {*} [options] Override http request option.
|
|
4531
|
+
* @throws {RequiredError}
|
|
4532
|
+
*/
|
|
4533
|
+
async enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
4534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enableDomainLockV1(domain, options);
|
|
4535
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.enableDomainLockV1']?.[0]?.url;
|
|
4536
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4537
|
+
},
|
|
4538
|
+
/**
|
|
4539
|
+
* 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.
|
|
4540
|
+
* @summary Enable privacy protection
|
|
4541
|
+
* @param {string} domain Domain name
|
|
4542
|
+
* @param {*} [options] Override http request option.
|
|
4543
|
+
* @throws {RequiredError}
|
|
4544
|
+
*/
|
|
4545
|
+
async enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
4546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enablePrivacyProtectionV1(domain, options);
|
|
4547
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.enablePrivacyProtectionV1']?.[0]?.url;
|
|
4548
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4549
|
+
},
|
|
4550
|
+
/**
|
|
4551
|
+
* This endpoint retrieves a list of all domains associated with your account.
|
|
4552
|
+
* @summary Get domain list
|
|
4553
|
+
* @param {*} [options] Override http request option.
|
|
4554
|
+
* @throws {RequiredError}
|
|
4555
|
+
*/
|
|
4556
|
+
async getDomainListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1DomainDomainResource>>> {
|
|
4557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDomainListV1(options);
|
|
4558
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.getDomainListV1']?.[0]?.url;
|
|
4559
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4560
|
+
},
|
|
4561
|
+
/**
|
|
4562
|
+
* This endpoint retrieves details for specified domain.
|
|
4563
|
+
* @summary Get domain
|
|
4564
|
+
* @param {string} domain Domain name
|
|
4565
|
+
* @param {*} [options] Override http request option.
|
|
4566
|
+
* @throws {RequiredError}
|
|
4567
|
+
*/
|
|
4568
|
+
async getDomainV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1DomainDomainExtendedResource>> {
|
|
4569
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDomainV1(domain, options);
|
|
4570
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.getDomainV1']?.[0]?.url;
|
|
4571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4572
|
+
},
|
|
4573
|
+
/**
|
|
4574
|
+
* This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status. If no payment method is provided, default will be used. If no WHOIS information is provided, default for that TLD will be used. Before making request make sure that WHOIS information for TLD exists. Some TLDs require `additional_details` to be provided and will be validated before making purchase.
|
|
4575
|
+
* @summary Purchase new domain
|
|
4576
|
+
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
4577
|
+
* @param {*} [options] Override http request option.
|
|
4578
|
+
* @throws {RequiredError}
|
|
4579
|
+
*/
|
|
4580
|
+
async purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingV1OrderOrderResource>> {
|
|
4581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest, options);
|
|
4582
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.purchaseNewDomainV1']?.[0]?.url;
|
|
4583
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4584
|
+
},
|
|
4585
|
+
/**
|
|
4586
|
+
* This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
|
|
4587
|
+
* @summary Update nameservers
|
|
4588
|
+
* @param {string} domain Domain name
|
|
4589
|
+
* @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
|
|
4590
|
+
* @param {*} [options] Override http request option.
|
|
4591
|
+
* @throws {RequiredError}
|
|
4592
|
+
*/
|
|
4593
|
+
async updateNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
4594
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateNameserversV1(domain, domainsV1PortfolioUpdateNameserversRequest, options);
|
|
4595
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsPortfolioApi.updateNameserversV1']?.[0]?.url;
|
|
4596
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4597
|
+
},
|
|
4598
|
+
}
|
|
4599
|
+
};
|
|
4600
|
+
|
|
4601
|
+
/**
|
|
4602
|
+
* DomainsPortfolioApi - factory interface
|
|
4603
|
+
* @export
|
|
4604
|
+
*/
|
|
4605
|
+
export const DomainsPortfolioApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4606
|
+
const localVarFp = DomainsPortfolioApiFp(configuration)
|
|
4607
|
+
return {
|
|
4608
|
+
/**
|
|
4609
|
+
* This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
|
|
4610
|
+
* @summary Disable domain lock
|
|
4611
|
+
* @param {string} domain Domain name
|
|
4612
|
+
* @param {*} [options] Override http request option.
|
|
4613
|
+
* @throws {RequiredError}
|
|
4614
|
+
*/
|
|
4615
|
+
disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
4616
|
+
return localVarFp.disableDomainLockV1(domain, options).then((request) => request(axios, basePath));
|
|
4617
|
+
},
|
|
4618
|
+
/**
|
|
4619
|
+
* 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.
|
|
4620
|
+
* @summary Disable privacy protection
|
|
4621
|
+
* @param {string} domain Domain name
|
|
4622
|
+
* @param {*} [options] Override http request option.
|
|
4623
|
+
* @throws {RequiredError}
|
|
4624
|
+
*/
|
|
4625
|
+
disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
4626
|
+
return localVarFp.disablePrivacyProtectionV1(domain, options).then((request) => request(axios, basePath));
|
|
4627
|
+
},
|
|
4628
|
+
/**
|
|
4629
|
+
* 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.
|
|
4630
|
+
* @summary Enable domain lock
|
|
4631
|
+
* @param {string} domain Domain name
|
|
4632
|
+
* @param {*} [options] Override http request option.
|
|
4633
|
+
* @throws {RequiredError}
|
|
4634
|
+
*/
|
|
4635
|
+
enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
4636
|
+
return localVarFp.enableDomainLockV1(domain, options).then((request) => request(axios, basePath));
|
|
4637
|
+
},
|
|
4638
|
+
/**
|
|
4639
|
+
* 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.
|
|
4640
|
+
* @summary Enable privacy protection
|
|
4641
|
+
* @param {string} domain Domain name
|
|
4642
|
+
* @param {*} [options] Override http request option.
|
|
4643
|
+
* @throws {RequiredError}
|
|
4644
|
+
*/
|
|
4645
|
+
enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
4646
|
+
return localVarFp.enablePrivacyProtectionV1(domain, options).then((request) => request(axios, basePath));
|
|
4647
|
+
},
|
|
4648
|
+
/**
|
|
4649
|
+
* This endpoint retrieves a list of all domains associated with your account.
|
|
4650
|
+
* @summary Get domain list
|
|
4651
|
+
* @param {*} [options] Override http request option.
|
|
4652
|
+
* @throws {RequiredError}
|
|
4653
|
+
*/
|
|
4654
|
+
getDomainListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1DomainDomainResource>> {
|
|
4655
|
+
return localVarFp.getDomainListV1(options).then((request) => request(axios, basePath));
|
|
4656
|
+
},
|
|
4657
|
+
/**
|
|
4658
|
+
* This endpoint retrieves details for specified domain.
|
|
4659
|
+
* @summary Get domain
|
|
4660
|
+
* @param {string} domain Domain name
|
|
4661
|
+
* @param {*} [options] Override http request option.
|
|
4662
|
+
* @throws {RequiredError}
|
|
4663
|
+
*/
|
|
4664
|
+
getDomainV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1DomainDomainExtendedResource> {
|
|
4665
|
+
return localVarFp.getDomainV1(domain, options).then((request) => request(axios, basePath));
|
|
4666
|
+
},
|
|
4667
|
+
/**
|
|
4668
|
+
* This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status. If no payment method is provided, default will be used. If no WHOIS information is provided, default for that TLD will be used. Before making request make sure that WHOIS information for TLD exists. Some TLDs require `additional_details` to be provided and will be validated before making purchase.
|
|
4669
|
+
* @summary Purchase new domain
|
|
4670
|
+
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
4671
|
+
* @param {*} [options] Override http request option.
|
|
4672
|
+
* @throws {RequiredError}
|
|
4673
|
+
*/
|
|
4674
|
+
purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingV1OrderOrderResource> {
|
|
4675
|
+
return localVarFp.purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest, options).then((request) => request(axios, basePath));
|
|
4676
|
+
},
|
|
4677
|
+
/**
|
|
4678
|
+
* This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
|
|
4679
|
+
* @summary Update nameservers
|
|
4680
|
+
* @param {string} domain Domain name
|
|
4681
|
+
* @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
|
|
4682
|
+
* @param {*} [options] Override http request option.
|
|
4683
|
+
* @throws {RequiredError}
|
|
4684
|
+
*/
|
|
4685
|
+
updateNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
4686
|
+
return localVarFp.updateNameserversV1(domain, domainsV1PortfolioUpdateNameserversRequest, options).then((request) => request(axios, basePath));
|
|
4687
|
+
},
|
|
4688
|
+
};
|
|
4689
|
+
};
|
|
4690
|
+
|
|
4691
|
+
/**
|
|
4692
|
+
* DomainsPortfolioApi - object-oriented interface
|
|
4693
|
+
* @export
|
|
4694
|
+
* @class DomainsPortfolioApi
|
|
4695
|
+
* @extends {BaseAPI}
|
|
4696
|
+
*/
|
|
4697
|
+
export class DomainsPortfolioApi extends BaseAPI {
|
|
4698
|
+
/**
|
|
4699
|
+
* This endpoint disables domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar.
|
|
4700
|
+
* @summary Disable domain lock
|
|
4701
|
+
* @param {string} domain Domain name
|
|
4702
|
+
* @param {*} [options] Override http request option.
|
|
4703
|
+
* @throws {RequiredError}
|
|
4704
|
+
* @memberof DomainsPortfolioApi
|
|
4705
|
+
*/
|
|
4706
|
+
public disableDomainLockV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
4707
|
+
return DomainsPortfolioApiFp(this.configuration).disableDomainLockV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4708
|
+
}
|
|
4709
|
+
|
|
4710
|
+
/**
|
|
4711
|
+
* 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.
|
|
4712
|
+
* @summary Disable privacy protection
|
|
4713
|
+
* @param {string} domain Domain name
|
|
4714
|
+
* @param {*} [options] Override http request option.
|
|
4715
|
+
* @throws {RequiredError}
|
|
4716
|
+
* @memberof DomainsPortfolioApi
|
|
4717
|
+
*/
|
|
4718
|
+
public disablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
4719
|
+
return DomainsPortfolioApiFp(this.configuration).disablePrivacyProtectionV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4720
|
+
}
|
|
4721
|
+
|
|
4722
|
+
/**
|
|
4723
|
+
* 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.
|
|
4724
|
+
* @summary Enable domain lock
|
|
4725
|
+
* @param {string} domain Domain name
|
|
4726
|
+
* @param {*} [options] Override http request option.
|
|
4727
|
+
* @throws {RequiredError}
|
|
4728
|
+
* @memberof DomainsPortfolioApi
|
|
4729
|
+
*/
|
|
4730
|
+
public enableDomainLockV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
4731
|
+
return DomainsPortfolioApiFp(this.configuration).enableDomainLockV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4732
|
+
}
|
|
4733
|
+
|
|
4734
|
+
/**
|
|
4735
|
+
* 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.
|
|
4736
|
+
* @summary Enable privacy protection
|
|
4737
|
+
* @param {string} domain Domain name
|
|
4738
|
+
* @param {*} [options] Override http request option.
|
|
4739
|
+
* @throws {RequiredError}
|
|
4740
|
+
* @memberof DomainsPortfolioApi
|
|
4741
|
+
*/
|
|
4742
|
+
public enablePrivacyProtectionV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
4743
|
+
return DomainsPortfolioApiFp(this.configuration).enablePrivacyProtectionV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4744
|
+
}
|
|
4745
|
+
|
|
4746
|
+
/**
|
|
4747
|
+
* This endpoint retrieves a list of all domains associated with your account.
|
|
4748
|
+
* @summary Get domain list
|
|
4749
|
+
* @param {*} [options] Override http request option.
|
|
4750
|
+
* @throws {RequiredError}
|
|
4751
|
+
* @memberof DomainsPortfolioApi
|
|
4752
|
+
*/
|
|
4753
|
+
public getDomainListV1(options?: RawAxiosRequestConfig) {
|
|
4754
|
+
return DomainsPortfolioApiFp(this.configuration).getDomainListV1(options).then((request) => request(this.axios, this.basePath));
|
|
4755
|
+
}
|
|
4756
|
+
|
|
4757
|
+
/**
|
|
4758
|
+
* This endpoint retrieves details for specified domain.
|
|
4759
|
+
* @summary Get domain
|
|
4760
|
+
* @param {string} domain Domain name
|
|
4761
|
+
* @param {*} [options] Override http request option.
|
|
4762
|
+
* @throws {RequiredError}
|
|
4763
|
+
* @memberof DomainsPortfolioApi
|
|
4764
|
+
*/
|
|
4765
|
+
public getDomainV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
4766
|
+
return DomainsPortfolioApiFp(this.configuration).getDomainV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
/**
|
|
4770
|
+
* This endpoint purchases and registers new domain. If registration fails, login to hPanel and check the domain registration status. If no payment method is provided, default will be used. If no WHOIS information is provided, default for that TLD will be used. Before making request make sure that WHOIS information for TLD exists. Some TLDs require `additional_details` to be provided and will be validated before making purchase.
|
|
4771
|
+
* @summary Purchase new domain
|
|
4772
|
+
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
4773
|
+
* @param {*} [options] Override http request option.
|
|
4774
|
+
* @throws {RequiredError}
|
|
4775
|
+
* @memberof DomainsPortfolioApi
|
|
4776
|
+
*/
|
|
4777
|
+
public purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest: DomainsV1PortfolioPurchaseRequest, options?: RawAxiosRequestConfig) {
|
|
4778
|
+
return DomainsPortfolioApiFp(this.configuration).purchaseNewDomainV1(domainsV1PortfolioPurchaseRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
/**
|
|
4782
|
+
* This endpoint sets the nameservers for a specified domain. Be aware, that improper nameserver configuration can lead to the domain being unresolvable or unavailable.
|
|
4783
|
+
* @summary Update nameservers
|
|
4784
|
+
* @param {string} domain Domain name
|
|
4785
|
+
* @param {DomainsV1PortfolioUpdateNameserversRequest} domainsV1PortfolioUpdateNameserversRequest
|
|
4786
|
+
* @param {*} [options] Override http request option.
|
|
4787
|
+
* @throws {RequiredError}
|
|
4788
|
+
* @memberof DomainsPortfolioApi
|
|
4789
|
+
*/
|
|
4790
|
+
public updateNameserversV1(domain: string, domainsV1PortfolioUpdateNameserversRequest: DomainsV1PortfolioUpdateNameserversRequest, options?: RawAxiosRequestConfig) {
|
|
4791
|
+
return DomainsPortfolioApiFp(this.configuration).updateNameserversV1(domain, domainsV1PortfolioUpdateNameserversRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4792
|
+
}
|
|
4793
|
+
}
|
|
4794
|
+
|
|
4795
|
+
|
|
4796
|
+
|
|
4797
|
+
/**
|
|
4798
|
+
* DomainsWHOISApi - axios parameter creator
|
|
3599
4799
|
* @export
|
|
3600
4800
|
*/
|
|
3601
|
-
export const
|
|
3602
|
-
const localVarFp = DomainsPortfolioApiFp(configuration)
|
|
4801
|
+
export const DomainsWHOISApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3603
4802
|
return {
|
|
3604
4803
|
/**
|
|
3605
|
-
* This endpoint
|
|
3606
|
-
* @summary
|
|
4804
|
+
* This endpoint creates WHOIS contact profile.
|
|
4805
|
+
* @summary Create WHOIS profile
|
|
4806
|
+
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
3607
4807
|
* @param {*} [options] Override http request option.
|
|
3608
4808
|
* @throws {RequiredError}
|
|
3609
4809
|
*/
|
|
3610
|
-
|
|
3611
|
-
|
|
4810
|
+
createWHOISProfileV1: async (domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4811
|
+
// verify required parameter 'domainsV1WHOISStoreRequest' is not null or undefined
|
|
4812
|
+
assertParamExists('createWHOISProfileV1', 'domainsV1WHOISStoreRequest', domainsV1WHOISStoreRequest)
|
|
4813
|
+
const localVarPath = `/api/domains/v1/whois`;
|
|
4814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4816
|
+
let baseOptions;
|
|
4817
|
+
if (configuration) {
|
|
4818
|
+
baseOptions = configuration.baseOptions;
|
|
4819
|
+
}
|
|
4820
|
+
|
|
4821
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4822
|
+
const localVarHeaderParameter = {} as any;
|
|
4823
|
+
const localVarQueryParameter = {} as any;
|
|
4824
|
+
|
|
4825
|
+
// authentication apiToken required
|
|
4826
|
+
// http bearer authentication required
|
|
4827
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4828
|
+
|
|
4829
|
+
|
|
4830
|
+
|
|
4831
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4832
|
+
|
|
4833
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4834
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4835
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4836
|
+
localVarRequestOptions.data = serializeDataIfNeeded(domainsV1WHOISStoreRequest, localVarRequestOptions, configuration)
|
|
4837
|
+
|
|
4838
|
+
return {
|
|
4839
|
+
url: toPathString(localVarUrlObj),
|
|
4840
|
+
options: localVarRequestOptions,
|
|
4841
|
+
};
|
|
4842
|
+
},
|
|
4843
|
+
/**
|
|
4844
|
+
* This endpoint deletes WHOIS contact profile.
|
|
4845
|
+
* @summary Delete WHOIS profile
|
|
4846
|
+
* @param {number} whoisId WHOIS ID
|
|
4847
|
+
* @param {*} [options] Override http request option.
|
|
4848
|
+
* @throws {RequiredError}
|
|
4849
|
+
*/
|
|
4850
|
+
deleteWHOISProfileV1: async (whoisId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4851
|
+
// verify required parameter 'whoisId' is not null or undefined
|
|
4852
|
+
assertParamExists('deleteWHOISProfileV1', 'whoisId', whoisId)
|
|
4853
|
+
const localVarPath = `/api/domains/v1/whois/{whoisId}`
|
|
4854
|
+
.replace(`{${"whoisId"}}`, encodeURIComponent(String(whoisId)));
|
|
4855
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4856
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4857
|
+
let baseOptions;
|
|
4858
|
+
if (configuration) {
|
|
4859
|
+
baseOptions = configuration.baseOptions;
|
|
4860
|
+
}
|
|
4861
|
+
|
|
4862
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4863
|
+
const localVarHeaderParameter = {} as any;
|
|
4864
|
+
const localVarQueryParameter = {} as any;
|
|
4865
|
+
|
|
4866
|
+
// authentication apiToken required
|
|
4867
|
+
// http bearer authentication required
|
|
4868
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4869
|
+
|
|
4870
|
+
|
|
4871
|
+
|
|
4872
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4873
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4874
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4875
|
+
|
|
4876
|
+
return {
|
|
4877
|
+
url: toPathString(localVarUrlObj),
|
|
4878
|
+
options: localVarRequestOptions,
|
|
4879
|
+
};
|
|
4880
|
+
},
|
|
4881
|
+
/**
|
|
4882
|
+
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
4883
|
+
* @summary Get WHOIS profile list
|
|
4884
|
+
* @param {string} [tld] Filter by TLD (without trailing dot)
|
|
4885
|
+
* @param {*} [options] Override http request option.
|
|
4886
|
+
* @throws {RequiredError}
|
|
4887
|
+
*/
|
|
4888
|
+
getWHOISProfileListV1: async (tld?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4889
|
+
const localVarPath = `/api/domains/v1/whois`;
|
|
4890
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4891
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4892
|
+
let baseOptions;
|
|
4893
|
+
if (configuration) {
|
|
4894
|
+
baseOptions = configuration.baseOptions;
|
|
4895
|
+
}
|
|
4896
|
+
|
|
4897
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4898
|
+
const localVarHeaderParameter = {} as any;
|
|
4899
|
+
const localVarQueryParameter = {} as any;
|
|
4900
|
+
|
|
4901
|
+
// authentication apiToken required
|
|
4902
|
+
// http bearer authentication required
|
|
4903
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4904
|
+
|
|
4905
|
+
if (tld !== undefined) {
|
|
4906
|
+
localVarQueryParameter['tld'] = tld;
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4909
|
+
|
|
4910
|
+
|
|
4911
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4912
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4913
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4914
|
+
|
|
4915
|
+
return {
|
|
4916
|
+
url: toPathString(localVarUrlObj),
|
|
4917
|
+
options: localVarRequestOptions,
|
|
4918
|
+
};
|
|
4919
|
+
},
|
|
4920
|
+
/**
|
|
4921
|
+
* This endpoint retrieves a domain list where provided WHOIS contact profile is used.
|
|
4922
|
+
* @summary Get WHOIS profile usage
|
|
4923
|
+
* @param {number} whoisId WHOIS ID
|
|
4924
|
+
* @param {*} [options] Override http request option.
|
|
4925
|
+
* @throws {RequiredError}
|
|
4926
|
+
*/
|
|
4927
|
+
getWHOISProfileUsageV1: async (whoisId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4928
|
+
// verify required parameter 'whoisId' is not null or undefined
|
|
4929
|
+
assertParamExists('getWHOISProfileUsageV1', 'whoisId', whoisId)
|
|
4930
|
+
const localVarPath = `/api/domains/v1/whois/{whoisId}/usage`
|
|
4931
|
+
.replace(`{${"whoisId"}}`, encodeURIComponent(String(whoisId)));
|
|
4932
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4934
|
+
let baseOptions;
|
|
4935
|
+
if (configuration) {
|
|
4936
|
+
baseOptions = configuration.baseOptions;
|
|
4937
|
+
}
|
|
4938
|
+
|
|
4939
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4940
|
+
const localVarHeaderParameter = {} as any;
|
|
4941
|
+
const localVarQueryParameter = {} as any;
|
|
4942
|
+
|
|
4943
|
+
// authentication apiToken required
|
|
4944
|
+
// http bearer authentication required
|
|
4945
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4946
|
+
|
|
4947
|
+
|
|
4948
|
+
|
|
4949
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4950
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4951
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4952
|
+
|
|
4953
|
+
return {
|
|
4954
|
+
url: toPathString(localVarUrlObj),
|
|
4955
|
+
options: localVarRequestOptions,
|
|
4956
|
+
};
|
|
4957
|
+
},
|
|
4958
|
+
/**
|
|
4959
|
+
* This endpoint retrieves a WHOIS contact profile.
|
|
4960
|
+
* @summary Get WHOIS profile
|
|
4961
|
+
* @param {number} whoisId WHOIS ID
|
|
4962
|
+
* @param {*} [options] Override http request option.
|
|
4963
|
+
* @throws {RequiredError}
|
|
4964
|
+
*/
|
|
4965
|
+
getWHOISProfileV1: async (whoisId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4966
|
+
// verify required parameter 'whoisId' is not null or undefined
|
|
4967
|
+
assertParamExists('getWHOISProfileV1', 'whoisId', whoisId)
|
|
4968
|
+
const localVarPath = `/api/domains/v1/whois/{whoisId}`
|
|
4969
|
+
.replace(`{${"whoisId"}}`, encodeURIComponent(String(whoisId)));
|
|
4970
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4971
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4972
|
+
let baseOptions;
|
|
4973
|
+
if (configuration) {
|
|
4974
|
+
baseOptions = configuration.baseOptions;
|
|
4975
|
+
}
|
|
4976
|
+
|
|
4977
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4978
|
+
const localVarHeaderParameter = {} as any;
|
|
4979
|
+
const localVarQueryParameter = {} as any;
|
|
4980
|
+
|
|
4981
|
+
// authentication apiToken required
|
|
4982
|
+
// http bearer authentication required
|
|
4983
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4984
|
+
|
|
4985
|
+
|
|
4986
|
+
|
|
4987
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4988
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4989
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4990
|
+
|
|
4991
|
+
return {
|
|
4992
|
+
url: toPathString(localVarUrlObj),
|
|
4993
|
+
options: localVarRequestOptions,
|
|
4994
|
+
};
|
|
4995
|
+
},
|
|
4996
|
+
}
|
|
4997
|
+
};
|
|
4998
|
+
|
|
4999
|
+
/**
|
|
5000
|
+
* DomainsWHOISApi - functional programming interface
|
|
5001
|
+
* @export
|
|
5002
|
+
*/
|
|
5003
|
+
export const DomainsWHOISApiFp = function(configuration?: Configuration) {
|
|
5004
|
+
const localVarAxiosParamCreator = DomainsWHOISApiAxiosParamCreator(configuration)
|
|
5005
|
+
return {
|
|
5006
|
+
/**
|
|
5007
|
+
* This endpoint creates WHOIS contact profile.
|
|
5008
|
+
* @summary Create WHOIS profile
|
|
5009
|
+
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
5010
|
+
* @param {*} [options] Override http request option.
|
|
5011
|
+
* @throws {RequiredError}
|
|
5012
|
+
*/
|
|
5013
|
+
async createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1WHOISProfileResource>> {
|
|
5014
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createWHOISProfileV1(domainsV1WHOISStoreRequest, options);
|
|
5015
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsWHOISApi.createWHOISProfileV1']?.[0]?.url;
|
|
5016
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5017
|
+
},
|
|
5018
|
+
/**
|
|
5019
|
+
* This endpoint deletes WHOIS contact profile.
|
|
5020
|
+
* @summary Delete WHOIS profile
|
|
5021
|
+
* @param {number} whoisId WHOIS ID
|
|
5022
|
+
* @param {*} [options] Override http request option.
|
|
5023
|
+
* @throws {RequiredError}
|
|
5024
|
+
*/
|
|
5025
|
+
async deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
|
|
5026
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWHOISProfileV1(whoisId, options);
|
|
5027
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsWHOISApi.deleteWHOISProfileV1']?.[0]?.url;
|
|
5028
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5029
|
+
},
|
|
5030
|
+
/**
|
|
5031
|
+
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
5032
|
+
* @summary Get WHOIS profile list
|
|
5033
|
+
* @param {string} [tld] Filter by TLD (without trailing dot)
|
|
5034
|
+
* @param {*} [options] Override http request option.
|
|
5035
|
+
* @throws {RequiredError}
|
|
5036
|
+
*/
|
|
5037
|
+
async getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1WHOISProfileResource>>> {
|
|
5038
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getWHOISProfileListV1(tld, options);
|
|
5039
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsWHOISApi.getWHOISProfileListV1']?.[0]?.url;
|
|
5040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5041
|
+
},
|
|
5042
|
+
/**
|
|
5043
|
+
* This endpoint retrieves a domain list where provided WHOIS contact profile is used.
|
|
5044
|
+
* @summary Get WHOIS profile usage
|
|
5045
|
+
* @param {number} whoisId WHOIS ID
|
|
5046
|
+
* @param {*} [options] Override http request option.
|
|
5047
|
+
* @throws {RequiredError}
|
|
5048
|
+
*/
|
|
5049
|
+
async getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
5050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getWHOISProfileUsageV1(whoisId, options);
|
|
5051
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsWHOISApi.getWHOISProfileUsageV1']?.[0]?.url;
|
|
5052
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5053
|
+
},
|
|
5054
|
+
/**
|
|
5055
|
+
* This endpoint retrieves a WHOIS contact profile.
|
|
5056
|
+
* @summary Get WHOIS profile
|
|
5057
|
+
* @param {number} whoisId WHOIS ID
|
|
5058
|
+
* @param {*} [options] Override http request option.
|
|
5059
|
+
* @throws {RequiredError}
|
|
5060
|
+
*/
|
|
5061
|
+
async getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1WHOISProfileResource>> {
|
|
5062
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getWHOISProfileV1(whoisId, options);
|
|
5063
|
+
const localVarOperationServerBasePath = operationServerMap['DomainsWHOISApi.getWHOISProfileV1']?.[0]?.url;
|
|
5064
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5065
|
+
},
|
|
5066
|
+
}
|
|
5067
|
+
};
|
|
5068
|
+
|
|
5069
|
+
/**
|
|
5070
|
+
* DomainsWHOISApi - factory interface
|
|
5071
|
+
* @export
|
|
5072
|
+
*/
|
|
5073
|
+
export const DomainsWHOISApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5074
|
+
const localVarFp = DomainsWHOISApiFp(configuration)
|
|
5075
|
+
return {
|
|
5076
|
+
/**
|
|
5077
|
+
* This endpoint creates WHOIS contact profile.
|
|
5078
|
+
* @summary Create WHOIS profile
|
|
5079
|
+
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
5080
|
+
* @param {*} [options] Override http request option.
|
|
5081
|
+
* @throws {RequiredError}
|
|
5082
|
+
*/
|
|
5083
|
+
createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1WHOISProfileResource> {
|
|
5084
|
+
return localVarFp.createWHOISProfileV1(domainsV1WHOISStoreRequest, options).then((request) => request(axios, basePath));
|
|
5085
|
+
},
|
|
5086
|
+
/**
|
|
5087
|
+
* This endpoint deletes WHOIS contact profile.
|
|
5088
|
+
* @summary Delete WHOIS profile
|
|
5089
|
+
* @param {number} whoisId WHOIS ID
|
|
5090
|
+
* @param {*} [options] Override http request option.
|
|
5091
|
+
* @throws {RequiredError}
|
|
5092
|
+
*/
|
|
5093
|
+
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
|
|
5094
|
+
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
5095
|
+
},
|
|
5096
|
+
/**
|
|
5097
|
+
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
5098
|
+
* @summary Get WHOIS profile list
|
|
5099
|
+
* @param {string} [tld] Filter by TLD (without trailing dot)
|
|
5100
|
+
* @param {*} [options] Override http request option.
|
|
5101
|
+
* @throws {RequiredError}
|
|
5102
|
+
*/
|
|
5103
|
+
getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1WHOISProfileResource>> {
|
|
5104
|
+
return localVarFp.getWHOISProfileListV1(tld, options).then((request) => request(axios, basePath));
|
|
5105
|
+
},
|
|
5106
|
+
/**
|
|
5107
|
+
* This endpoint retrieves a domain list where provided WHOIS contact profile is used.
|
|
5108
|
+
* @summary Get WHOIS profile usage
|
|
5109
|
+
* @param {number} whoisId WHOIS ID
|
|
5110
|
+
* @param {*} [options] Override http request option.
|
|
5111
|
+
* @throws {RequiredError}
|
|
5112
|
+
*/
|
|
5113
|
+
getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
5114
|
+
return localVarFp.getWHOISProfileUsageV1(whoisId, options).then((request) => request(axios, basePath));
|
|
5115
|
+
},
|
|
5116
|
+
/**
|
|
5117
|
+
* This endpoint retrieves a WHOIS contact profile.
|
|
5118
|
+
* @summary Get WHOIS profile
|
|
5119
|
+
* @param {number} whoisId WHOIS ID
|
|
5120
|
+
* @param {*} [options] Override http request option.
|
|
5121
|
+
* @throws {RequiredError}
|
|
5122
|
+
*/
|
|
5123
|
+
getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1WHOISProfileResource> {
|
|
5124
|
+
return localVarFp.getWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
3612
5125
|
},
|
|
3613
5126
|
};
|
|
3614
5127
|
};
|
|
3615
5128
|
|
|
3616
5129
|
/**
|
|
3617
|
-
*
|
|
5130
|
+
* DomainsWHOISApi - object-oriented interface
|
|
3618
5131
|
* @export
|
|
3619
|
-
* @class
|
|
5132
|
+
* @class DomainsWHOISApi
|
|
3620
5133
|
* @extends {BaseAPI}
|
|
3621
5134
|
*/
|
|
3622
|
-
export class
|
|
5135
|
+
export class DomainsWHOISApi extends BaseAPI {
|
|
3623
5136
|
/**
|
|
3624
|
-
* This endpoint
|
|
3625
|
-
* @summary
|
|
5137
|
+
* This endpoint creates WHOIS contact profile.
|
|
5138
|
+
* @summary Create WHOIS profile
|
|
5139
|
+
* @param {DomainsV1WHOISStoreRequest} domainsV1WHOISStoreRequest
|
|
3626
5140
|
* @param {*} [options] Override http request option.
|
|
3627
5141
|
* @throws {RequiredError}
|
|
3628
|
-
* @memberof
|
|
5142
|
+
* @memberof DomainsWHOISApi
|
|
3629
5143
|
*/
|
|
3630
|
-
public
|
|
3631
|
-
return
|
|
5144
|
+
public createWHOISProfileV1(domainsV1WHOISStoreRequest: DomainsV1WHOISStoreRequest, options?: RawAxiosRequestConfig) {
|
|
5145
|
+
return DomainsWHOISApiFp(this.configuration).createWHOISProfileV1(domainsV1WHOISStoreRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
/**
|
|
5149
|
+
* This endpoint deletes WHOIS contact profile.
|
|
5150
|
+
* @summary Delete WHOIS profile
|
|
5151
|
+
* @param {number} whoisId WHOIS ID
|
|
5152
|
+
* @param {*} [options] Override http request option.
|
|
5153
|
+
* @throws {RequiredError}
|
|
5154
|
+
* @memberof DomainsWHOISApi
|
|
5155
|
+
*/
|
|
5156
|
+
public deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig) {
|
|
5157
|
+
return DomainsWHOISApiFp(this.configuration).deleteWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
5158
|
+
}
|
|
5159
|
+
|
|
5160
|
+
/**
|
|
5161
|
+
* This endpoint retrieves a list of WHOIS contact profiles.
|
|
5162
|
+
* @summary Get WHOIS profile list
|
|
5163
|
+
* @param {string} [tld] Filter by TLD (without trailing dot)
|
|
5164
|
+
* @param {*} [options] Override http request option.
|
|
5165
|
+
* @throws {RequiredError}
|
|
5166
|
+
* @memberof DomainsWHOISApi
|
|
5167
|
+
*/
|
|
5168
|
+
public getWHOISProfileListV1(tld?: string, options?: RawAxiosRequestConfig) {
|
|
5169
|
+
return DomainsWHOISApiFp(this.configuration).getWHOISProfileListV1(tld, options).then((request) => request(this.axios, this.basePath));
|
|
5170
|
+
}
|
|
5171
|
+
|
|
5172
|
+
/**
|
|
5173
|
+
* This endpoint retrieves a domain list where provided WHOIS contact profile is used.
|
|
5174
|
+
* @summary Get WHOIS profile usage
|
|
5175
|
+
* @param {number} whoisId WHOIS ID
|
|
5176
|
+
* @param {*} [options] Override http request option.
|
|
5177
|
+
* @throws {RequiredError}
|
|
5178
|
+
* @memberof DomainsWHOISApi
|
|
5179
|
+
*/
|
|
5180
|
+
public getWHOISProfileUsageV1(whoisId: number, options?: RawAxiosRequestConfig) {
|
|
5181
|
+
return DomainsWHOISApiFp(this.configuration).getWHOISProfileUsageV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
5182
|
+
}
|
|
5183
|
+
|
|
5184
|
+
/**
|
|
5185
|
+
* This endpoint retrieves a WHOIS contact profile.
|
|
5186
|
+
* @summary Get WHOIS profile
|
|
5187
|
+
* @param {number} whoisId WHOIS ID
|
|
5188
|
+
* @param {*} [options] Override http request option.
|
|
5189
|
+
* @throws {RequiredError}
|
|
5190
|
+
* @memberof DomainsWHOISApi
|
|
5191
|
+
*/
|
|
5192
|
+
public getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig) {
|
|
5193
|
+
return DomainsWHOISApiFp(this.configuration).getWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
3632
5194
|
}
|
|
3633
5195
|
}
|
|
3634
5196
|
|