hostinger-api-sdk 1.22.1 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +460 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +257 -5
- package/dist/api.js +365 -13
- 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 +257 -5
- package/dist/esm/api.js +357 -5
- 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/DomainsV1IRTPVerificationResource.md +32 -0
- package/docs/DomainsV1WHOISChangeUpdateRequest.md +24 -0
- package/docs/DomainsWHOISApi.md +272 -0
- package/docs/VPSVirtualMachineApi.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.25.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.24.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.25.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -2682,6 +2682,61 @@ export declare const DomainsV1ForwardingUpdateRequestRedirectTypeEnum: {
|
|
|
2682
2682
|
readonly _302: "302";
|
|
2683
2683
|
};
|
|
2684
2684
|
export type DomainsV1ForwardingUpdateRequestRedirectTypeEnum = typeof DomainsV1ForwardingUpdateRequestRedirectTypeEnum[keyof typeof DomainsV1ForwardingUpdateRequestRedirectTypeEnum];
|
|
2685
|
+
/**
|
|
2686
|
+
*
|
|
2687
|
+
* @export
|
|
2688
|
+
* @interface DomainsV1IRTPVerificationResource
|
|
2689
|
+
*/
|
|
2690
|
+
export interface DomainsV1IRTPVerificationResource {
|
|
2691
|
+
/**
|
|
2692
|
+
* Domain name
|
|
2693
|
+
* @type {string}
|
|
2694
|
+
* @memberof DomainsV1IRTPVerificationResource
|
|
2695
|
+
*/
|
|
2696
|
+
'domain': string;
|
|
2697
|
+
/**
|
|
2698
|
+
* IRTP verification status
|
|
2699
|
+
* @type {string}
|
|
2700
|
+
* @memberof DomainsV1IRTPVerificationResource
|
|
2701
|
+
*/
|
|
2702
|
+
'status': DomainsV1IRTPVerificationResourceStatusEnum;
|
|
2703
|
+
/**
|
|
2704
|
+
* When the old registrant confirmed the change
|
|
2705
|
+
* @type {string}
|
|
2706
|
+
* @memberof DomainsV1IRTPVerificationResource
|
|
2707
|
+
*/
|
|
2708
|
+
'old_confirmed_at': string | null;
|
|
2709
|
+
/**
|
|
2710
|
+
* When the new registrant confirmed the change
|
|
2711
|
+
* @type {string}
|
|
2712
|
+
* @memberof DomainsV1IRTPVerificationResource
|
|
2713
|
+
*/
|
|
2714
|
+
'new_confirmed_at': string | null;
|
|
2715
|
+
/**
|
|
2716
|
+
* Email the old registrant confirmation was sent to
|
|
2717
|
+
* @type {string}
|
|
2718
|
+
* @memberof DomainsV1IRTPVerificationResource
|
|
2719
|
+
*/
|
|
2720
|
+
'old_whois_profile_email': string;
|
|
2721
|
+
/**
|
|
2722
|
+
* Email the new registrant confirmation was sent to
|
|
2723
|
+
* @type {string}
|
|
2724
|
+
* @memberof DomainsV1IRTPVerificationResource
|
|
2725
|
+
*/
|
|
2726
|
+
'new_whois_profile_email': string;
|
|
2727
|
+
/**
|
|
2728
|
+
* When the verification auto-cancels if unconfirmed
|
|
2729
|
+
* @type {string}
|
|
2730
|
+
* @memberof DomainsV1IRTPVerificationResource
|
|
2731
|
+
*/
|
|
2732
|
+
'expires_at': string;
|
|
2733
|
+
}
|
|
2734
|
+
export declare const DomainsV1IRTPVerificationResourceStatusEnum: {
|
|
2735
|
+
readonly Pending: "pending";
|
|
2736
|
+
readonly Completed: "completed";
|
|
2737
|
+
readonly Canceled: "canceled";
|
|
2738
|
+
};
|
|
2739
|
+
export type DomainsV1IRTPVerificationResourceStatusEnum = typeof DomainsV1IRTPVerificationResourceStatusEnum[keyof typeof DomainsV1IRTPVerificationResourceStatusEnum];
|
|
2685
2740
|
/**
|
|
2686
2741
|
*
|
|
2687
2742
|
* @export
|
|
@@ -2856,6 +2911,38 @@ export interface DomainsV1TransferTransferResource {
|
|
|
2856
2911
|
*/
|
|
2857
2912
|
'completed_at': string | null;
|
|
2858
2913
|
}
|
|
2914
|
+
/**
|
|
2915
|
+
*
|
|
2916
|
+
* @export
|
|
2917
|
+
* @interface DomainsV1WHOISChangeUpdateRequest
|
|
2918
|
+
*/
|
|
2919
|
+
export interface DomainsV1WHOISChangeUpdateRequest {
|
|
2920
|
+
/**
|
|
2921
|
+
* WHOIS profile ID to assign to the domain
|
|
2922
|
+
* @type {number}
|
|
2923
|
+
* @memberof DomainsV1WHOISChangeUpdateRequest
|
|
2924
|
+
*/
|
|
2925
|
+
'new_whois_id': number;
|
|
2926
|
+
/**
|
|
2927
|
+
* Domain name
|
|
2928
|
+
* @type {string}
|
|
2929
|
+
* @memberof DomainsV1WHOISChangeUpdateRequest
|
|
2930
|
+
*/
|
|
2931
|
+
'domain': string;
|
|
2932
|
+
/**
|
|
2933
|
+
* Contact roles to repoint to the new WHOIS profile
|
|
2934
|
+
* @type {Array<string>}
|
|
2935
|
+
* @memberof DomainsV1WHOISChangeUpdateRequest
|
|
2936
|
+
*/
|
|
2937
|
+
'change_for': Array<DomainsV1WHOISChangeUpdateRequestChangeForEnum>;
|
|
2938
|
+
}
|
|
2939
|
+
export declare const DomainsV1WHOISChangeUpdateRequestChangeForEnum: {
|
|
2940
|
+
readonly Owner: "owner";
|
|
2941
|
+
readonly Admin: "admin";
|
|
2942
|
+
readonly Billing: "billing";
|
|
2943
|
+
readonly Tech: "tech";
|
|
2944
|
+
};
|
|
2945
|
+
export type DomainsV1WHOISChangeUpdateRequestChangeForEnum = typeof DomainsV1WHOISChangeUpdateRequestChangeForEnum[keyof typeof DomainsV1WHOISChangeUpdateRequestChangeForEnum];
|
|
2859
2946
|
/**
|
|
2860
2947
|
*
|
|
2861
2948
|
* @export
|
|
@@ -12995,6 +13082,22 @@ export declare class DomainsTransferApi extends BaseAPI {
|
|
|
12995
13082
|
* @export
|
|
12996
13083
|
*/
|
|
12997
13084
|
export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13085
|
+
/**
|
|
13086
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
13087
|
+
* @summary Cancel pending IRTP verification
|
|
13088
|
+
* @param {string} domain Domain name
|
|
13089
|
+
* @param {*} [options] Override http request option.
|
|
13090
|
+
* @throws {RequiredError}
|
|
13091
|
+
*/
|
|
13092
|
+
cancelPendingIRTPVerificationV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13093
|
+
/**
|
|
13094
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
13095
|
+
* @summary Change WHOIS profile for domain
|
|
13096
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
13097
|
+
* @param {*} [options] Override http request option.
|
|
13098
|
+
* @throws {RequiredError}
|
|
13099
|
+
*/
|
|
13100
|
+
changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12998
13101
|
/**
|
|
12999
13102
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
13000
13103
|
* @summary Create WHOIS profile
|
|
@@ -13011,6 +13114,14 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
13011
13114
|
* @throws {RequiredError}
|
|
13012
13115
|
*/
|
|
13013
13116
|
deleteWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13117
|
+
/**
|
|
13118
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
13119
|
+
* @summary Get pending IRTP verification
|
|
13120
|
+
* @param {string} domain Domain name
|
|
13121
|
+
* @param {*} [options] Override http request option.
|
|
13122
|
+
* @throws {RequiredError}
|
|
13123
|
+
*/
|
|
13124
|
+
getPendingIRTPVerificationV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13014
13125
|
/**
|
|
13015
13126
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
13016
13127
|
* @summary Get WHOIS profile list
|
|
@@ -13035,12 +13146,44 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
13035
13146
|
* @throws {RequiredError}
|
|
13036
13147
|
*/
|
|
13037
13148
|
getWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13149
|
+
/**
|
|
13150
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
13151
|
+
* @summary Set WHOIS profile as default
|
|
13152
|
+
* @param {number} whoisId WHOIS ID
|
|
13153
|
+
* @param {*} [options] Override http request option.
|
|
13154
|
+
* @throws {RequiredError}
|
|
13155
|
+
*/
|
|
13156
|
+
setWHOISProfileAsDefaultV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13157
|
+
/**
|
|
13158
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
13159
|
+
* @summary Unset default WHOIS profile
|
|
13160
|
+
* @param {number} whoisId WHOIS ID
|
|
13161
|
+
* @param {*} [options] Override http request option.
|
|
13162
|
+
* @throws {RequiredError}
|
|
13163
|
+
*/
|
|
13164
|
+
unsetDefaultWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13038
13165
|
};
|
|
13039
13166
|
/**
|
|
13040
13167
|
* DomainsWHOISApi - functional programming interface
|
|
13041
13168
|
* @export
|
|
13042
13169
|
*/
|
|
13043
13170
|
export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
13171
|
+
/**
|
|
13172
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
13173
|
+
* @summary Cancel pending IRTP verification
|
|
13174
|
+
* @param {string} domain Domain name
|
|
13175
|
+
* @param {*} [options] Override http request option.
|
|
13176
|
+
* @throws {RequiredError}
|
|
13177
|
+
*/
|
|
13178
|
+
cancelPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13179
|
+
/**
|
|
13180
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
13181
|
+
* @summary Change WHOIS profile for domain
|
|
13182
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
13183
|
+
* @param {*} [options] Override http request option.
|
|
13184
|
+
* @throws {RequiredError}
|
|
13185
|
+
*/
|
|
13186
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13044
13187
|
/**
|
|
13045
13188
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
13046
13189
|
* @summary Create WHOIS profile
|
|
@@ -13057,6 +13200,14 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
13057
13200
|
* @throws {RequiredError}
|
|
13058
13201
|
*/
|
|
13059
13202
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13203
|
+
/**
|
|
13204
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
13205
|
+
* @summary Get pending IRTP verification
|
|
13206
|
+
* @param {string} domain Domain name
|
|
13207
|
+
* @param {*} [options] Override http request option.
|
|
13208
|
+
* @throws {RequiredError}
|
|
13209
|
+
*/
|
|
13210
|
+
getPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1IRTPVerificationResource>>;
|
|
13060
13211
|
/**
|
|
13061
13212
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
13062
13213
|
* @summary Get WHOIS profile list
|
|
@@ -13081,12 +13232,44 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
13081
13232
|
* @throws {RequiredError}
|
|
13082
13233
|
*/
|
|
13083
13234
|
getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1WHOISProfileResource>>;
|
|
13235
|
+
/**
|
|
13236
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
13237
|
+
* @summary Set WHOIS profile as default
|
|
13238
|
+
* @param {number} whoisId WHOIS ID
|
|
13239
|
+
* @param {*} [options] Override http request option.
|
|
13240
|
+
* @throws {RequiredError}
|
|
13241
|
+
*/
|
|
13242
|
+
setWHOISProfileAsDefaultV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13243
|
+
/**
|
|
13244
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
13245
|
+
* @summary Unset default WHOIS profile
|
|
13246
|
+
* @param {number} whoisId WHOIS ID
|
|
13247
|
+
* @param {*} [options] Override http request option.
|
|
13248
|
+
* @throws {RequiredError}
|
|
13249
|
+
*/
|
|
13250
|
+
unsetDefaultWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
13084
13251
|
};
|
|
13085
13252
|
/**
|
|
13086
13253
|
* DomainsWHOISApi - factory interface
|
|
13087
13254
|
* @export
|
|
13088
13255
|
*/
|
|
13089
13256
|
export declare const DomainsWHOISApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13257
|
+
/**
|
|
13258
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
13259
|
+
* @summary Cancel pending IRTP verification
|
|
13260
|
+
* @param {string} domain Domain name
|
|
13261
|
+
* @param {*} [options] Override http request option.
|
|
13262
|
+
* @throws {RequiredError}
|
|
13263
|
+
*/
|
|
13264
|
+
cancelPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13265
|
+
/**
|
|
13266
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
13267
|
+
* @summary Change WHOIS profile for domain
|
|
13268
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
13269
|
+
* @param {*} [options] Override http request option.
|
|
13270
|
+
* @throws {RequiredError}
|
|
13271
|
+
*/
|
|
13272
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13090
13273
|
/**
|
|
13091
13274
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
13092
13275
|
* @summary Create WHOIS profile
|
|
@@ -13103,6 +13286,14 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
13103
13286
|
* @throws {RequiredError}
|
|
13104
13287
|
*/
|
|
13105
13288
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13289
|
+
/**
|
|
13290
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
13291
|
+
* @summary Get pending IRTP verification
|
|
13292
|
+
* @param {string} domain Domain name
|
|
13293
|
+
* @param {*} [options] Override http request option.
|
|
13294
|
+
* @throws {RequiredError}
|
|
13295
|
+
*/
|
|
13296
|
+
getPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1IRTPVerificationResource>;
|
|
13106
13297
|
/**
|
|
13107
13298
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
13108
13299
|
* @summary Get WHOIS profile list
|
|
@@ -13127,6 +13318,22 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
13127
13318
|
* @throws {RequiredError}
|
|
13128
13319
|
*/
|
|
13129
13320
|
getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1WHOISProfileResource>;
|
|
13321
|
+
/**
|
|
13322
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
13323
|
+
* @summary Set WHOIS profile as default
|
|
13324
|
+
* @param {number} whoisId WHOIS ID
|
|
13325
|
+
* @param {*} [options] Override http request option.
|
|
13326
|
+
* @throws {RequiredError}
|
|
13327
|
+
*/
|
|
13328
|
+
setWHOISProfileAsDefaultV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13329
|
+
/**
|
|
13330
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
13331
|
+
* @summary Unset default WHOIS profile
|
|
13332
|
+
* @param {number} whoisId WHOIS ID
|
|
13333
|
+
* @param {*} [options] Override http request option.
|
|
13334
|
+
* @throws {RequiredError}
|
|
13335
|
+
*/
|
|
13336
|
+
unsetDefaultWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13130
13337
|
};
|
|
13131
13338
|
/**
|
|
13132
13339
|
* DomainsWHOISApi - object-oriented interface
|
|
@@ -13135,6 +13342,24 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
13135
13342
|
* @extends {BaseAPI}
|
|
13136
13343
|
*/
|
|
13137
13344
|
export declare class DomainsWHOISApi extends BaseAPI {
|
|
13345
|
+
/**
|
|
13346
|
+
* Cancel a pending IRTP verification. Use this endpoint to back out of a WHOIS change that is stuck waiting on registrant confirmation, for example when the confirmation email cannot be received, without waiting out the 5-day expiry.
|
|
13347
|
+
* @summary Cancel pending IRTP verification
|
|
13348
|
+
* @param {string} domain Domain name
|
|
13349
|
+
* @param {*} [options] Override http request option.
|
|
13350
|
+
* @throws {RequiredError}
|
|
13351
|
+
* @memberof DomainsWHOISApi
|
|
13352
|
+
*/
|
|
13353
|
+
cancelPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13354
|
+
/**
|
|
13355
|
+
* Change WHOIS contact profile for a domain. Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today. Changing transfer sensitive fields on the owner contact starts an IRTP verification. The change is processed asynchronously. Use this endpoint to move a registered domain onto different contact information.
|
|
13356
|
+
* @summary Change WHOIS profile for domain
|
|
13357
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
13358
|
+
* @param {*} [options] Override http request option.
|
|
13359
|
+
* @throws {RequiredError}
|
|
13360
|
+
* @memberof DomainsWHOISApi
|
|
13361
|
+
*/
|
|
13362
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13138
13363
|
/**
|
|
13139
13364
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
13140
13365
|
* @summary Create WHOIS profile
|
|
@@ -13153,6 +13378,15 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
13153
13378
|
* @memberof DomainsWHOISApi
|
|
13154
13379
|
*/
|
|
13155
13380
|
deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13381
|
+
/**
|
|
13382
|
+
* Retrieve a pending IRTP verification for a domain. Both the old and new registrant must confirm it before the WHOIS change takes effect. Use this endpoint to check the status of a WHOIS change awaiting registrant confirmation.
|
|
13383
|
+
* @summary Get pending IRTP verification
|
|
13384
|
+
* @param {string} domain Domain name
|
|
13385
|
+
* @param {*} [options] Override http request option.
|
|
13386
|
+
* @throws {RequiredError}
|
|
13387
|
+
* @memberof DomainsWHOISApi
|
|
13388
|
+
*/
|
|
13389
|
+
getPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1IRTPVerificationResource, any, {}, any>>;
|
|
13156
13390
|
/**
|
|
13157
13391
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
13158
13392
|
* @summary Get WHOIS profile list
|
|
@@ -13180,6 +13414,24 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
13180
13414
|
* @memberof DomainsWHOISApi
|
|
13181
13415
|
*/
|
|
13182
13416
|
getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any, {}, any>>;
|
|
13417
|
+
/**
|
|
13418
|
+
* Set WHOIS contact profile as default. The default profile is pre-selected for the TLD it belongs to when registering new domains. Use this endpoint to avoid picking contact information for every registration.
|
|
13419
|
+
* @summary Set WHOIS profile as default
|
|
13420
|
+
* @param {number} whoisId WHOIS ID
|
|
13421
|
+
* @param {*} [options] Override http request option.
|
|
13422
|
+
* @throws {RequiredError}
|
|
13423
|
+
* @memberof DomainsWHOISApi
|
|
13424
|
+
*/
|
|
13425
|
+
setWHOISProfileAsDefaultV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13426
|
+
/**
|
|
13427
|
+
* Unset WHOIS contact profile as default. The profile itself is kept, it is only no longer pre-selected for its TLD. Use this endpoint to stop reusing contact information for new registrations.
|
|
13428
|
+
* @summary Unset default WHOIS profile
|
|
13429
|
+
* @param {number} whoisId WHOIS ID
|
|
13430
|
+
* @param {*} [options] Override http request option.
|
|
13431
|
+
* @throws {RequiredError}
|
|
13432
|
+
* @memberof DomainsWHOISApi
|
|
13433
|
+
*/
|
|
13434
|
+
unsetDefaultWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13183
13435
|
}
|
|
13184
13436
|
/**
|
|
13185
13437
|
* EcommerceMiscellaneousApi - axios parameter creator
|
|
@@ -20212,7 +20464,7 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
|
|
|
20212
20464
|
*/
|
|
20213
20465
|
startVirtualMachineV1: (virtualMachineId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20214
20466
|
/**
|
|
20215
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20467
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
20216
20468
|
* @summary Stop virtual machine
|
|
20217
20469
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20218
20470
|
* @param {*} [options] Override http request option.
|
|
@@ -20346,7 +20598,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
|
|
|
20346
20598
|
*/
|
|
20347
20599
|
startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VPSV1ActionActionResource>>;
|
|
20348
20600
|
/**
|
|
20349
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20601
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
20350
20602
|
* @summary Stop virtual machine
|
|
20351
20603
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20352
20604
|
* @param {*} [options] Override http request option.
|
|
@@ -20480,7 +20732,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
|
|
|
20480
20732
|
*/
|
|
20481
20733
|
startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): AxiosPromise<VPSV1ActionActionResource>;
|
|
20482
20734
|
/**
|
|
20483
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20735
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
20484
20736
|
* @summary Stop virtual machine
|
|
20485
20737
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20486
20738
|
* @param {*} [options] Override http request option.
|
|
@@ -20630,7 +20882,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
20630
20882
|
*/
|
|
20631
20883
|
startVirtualMachineV1(virtualMachineId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1ActionActionResource, any, {}, any>>;
|
|
20632
20884
|
/**
|
|
20633
|
-
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. Use this endpoint to power off running VPS instances.
|
|
20885
|
+
* Stop a specified virtual machine. If the virtual machine is already stopped, the request will still be processed without any effect. This is a compute-only power state change and does not affect billing. To stop future charges, disable auto-renewal on the owning subscription. Use this endpoint to power off running VPS instances.
|
|
20634
20886
|
* @summary Stop virtual machine
|
|
20635
20887
|
* @param {number} virtualMachineId Virtual Machine ID
|
|
20636
20888
|
* @param {*} [options] Override http request option.
|