hostinger-api-sdk 1.23.0 → 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 +313 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +187 -1
- package/dist/api.js +226 -10
- 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 +187 -1
- package/dist/esm/api.js +218 -2
- 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 +165 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/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
|
|
@@ -13057,6 +13168,22 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
|
|
|
13057
13168
|
* @export
|
|
13058
13169
|
*/
|
|
13059
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>>;
|
|
13060
13187
|
/**
|
|
13061
13188
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
13062
13189
|
* @summary Create WHOIS profile
|
|
@@ -13073,6 +13200,14 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
13073
13200
|
* @throws {RequiredError}
|
|
13074
13201
|
*/
|
|
13075
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>>;
|
|
13076
13211
|
/**
|
|
13077
13212
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
13078
13213
|
* @summary Get WHOIS profile list
|
|
@@ -13119,6 +13254,22 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
|
|
|
13119
13254
|
* @export
|
|
13120
13255
|
*/
|
|
13121
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>;
|
|
13122
13273
|
/**
|
|
13123
13274
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
13124
13275
|
* @summary Create WHOIS profile
|
|
@@ -13135,6 +13286,14 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
13135
13286
|
* @throws {RequiredError}
|
|
13136
13287
|
*/
|
|
13137
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>;
|
|
13138
13297
|
/**
|
|
13139
13298
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
13140
13299
|
* @summary Get WHOIS profile list
|
|
@@ -13183,6 +13342,24 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
|
|
|
13183
13342
|
* @extends {BaseAPI}
|
|
13184
13343
|
*/
|
|
13185
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>>;
|
|
13186
13363
|
/**
|
|
13187
13364
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
13188
13365
|
* @summary Create WHOIS profile
|
|
@@ -13201,6 +13378,15 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
13201
13378
|
* @memberof DomainsWHOISApi
|
|
13202
13379
|
*/
|
|
13203
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>>;
|
|
13204
13390
|
/**
|
|
13205
13391
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
13206
13392
|
* @summary Get WHOIS profile list
|
package/dist/api.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
|
|
@@ -19,14 +19,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = void 0;
|
|
22
|
+
exports.MailV1WebhooksWebhookCreatedResourceEventsEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaEventsEnum = exports.MailV1SchemaCreateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaCreateWebhookRequestSchemaEventsEnum = exports.MailV1OrdersOrderResourceStatusEnum = exports.MailV1MailboxesMailboxResourceStatusEnum = exports.MailV1LogsMailboxActionsMailboxActionLogResourceEventEnum = exports.MailV1LogsActionActionLogResourceResponseStatusEnum = exports.MailV1ApiTokensApiTokenResourceTypeEnum = exports.MailV1ApiTokensApiTokenCreatedResourceTypeEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = exports.DomainsV1IRTPVerificationResourceStatusEnum = exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = exports.AgencyHostingV1WebsitesWebsiteResourceStateEnum = exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = void 0;
|
|
23
|
+
exports.AgencyHostingDatacentersApi = exports.AgencyHostingDatacentersApiFactory = exports.AgencyHostingDatacentersApiFp = exports.AgencyHostingDatacentersApiAxiosParamCreator = exports.AgencyHostingDatabasesApi = exports.AgencyHostingDatabasesApiFactory = exports.AgencyHostingDatabasesApiFp = exports.AgencyHostingDatabasesApiAxiosParamCreator = exports.AgencyHostingCronJobsApi = exports.AgencyHostingCronJobsApiFactory = exports.AgencyHostingCronJobsApiFp = exports.AgencyHostingCronJobsApiAxiosParamCreator = exports.AgencyHostingCacheApi = exports.AgencyHostingCacheApiFactory = exports.AgencyHostingCacheApiFp = exports.AgencyHostingCacheApiAxiosParamCreator = exports.WordPressV1ThemesInstalledThemeResourceStatusEnum = exports.WordPressV1ThemesInstallThemeRequestFontEnum = exports.WordPressV1PluginsUpdateHostingerPluginRequestSlugEnum = exports.WordPressV1PluginsSuggestedPluginGroupResourceWebsiteTypeEnum = exports.WordPressV1PluginsInstalledPluginResourceStatusEnum = exports.WordPressV1MemcachedMemcachedStatusResourceStatusEnum = exports.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.MailV1WebhooksWebhookSecretResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceEventsEnum = exports.MailV1WebhooksWebhookResourceStatusEnum = exports.MailV1WebhooksWebhookResourceEventsEnum = exports.MailV1WebhooksWebhookCreatedResourceStatusEnum = void 0;
|
|
24
|
+
exports.DomainAccessVerifierVerificationsApiAxiosParamCreator = exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = exports.BillingPaymentMethodsApiAxiosParamCreator = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.AgencyHostingWordPressApi = exports.AgencyHostingWordPressApiFactory = exports.AgencyHostingWordPressApiFp = exports.AgencyHostingWordPressApiAxiosParamCreator = exports.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.AgencyHostingFilesApi = exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = exports.EcommerceMiscellaneousApiFp = exports.EcommerceMiscellaneousApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsTransferApi = exports.DomainsTransferApiFactory = exports.DomainsTransferApiFp = exports.DomainsTransferApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DomainAccessVerifierVerificationsApi = exports.DomainAccessVerifierVerificationsApiFactory = exports.DomainAccessVerifierVerificationsApiFp = void 0;
|
|
26
|
+
exports.MailAutorepliesApiFp = exports.MailAutorepliesApiAxiosParamCreator = exports.MailAliasesApi = exports.MailAliasesApiFactory = exports.MailAliasesApiFp = exports.MailAliasesApiAxiosParamCreator = exports.MailAPITokensApi = exports.MailAPITokensApiFactory = exports.MailAPITokensApiFp = exports.MailAPITokensApiAxiosParamCreator = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.HostingPHPApi = exports.HostingPHPApiFactory = exports.HostingPHPApiFp = exports.HostingPHPApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJsVulnerabilitiesV1SeveritiesEnum = exports.ListNodeJSBuildsV1StatesEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HostingCronJobsApi = exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = exports.HostingCacheApiAxiosParamCreator = exports.HorizonsWebsitesApi = void 0;
|
|
27
|
+
exports.VPSActionsApiAxiosParamCreator = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ListWebhooksV1StatusEnum = exports.MailWebhooksApi = exports.MailWebhooksApiFactory = exports.MailWebhooksApiFp = exports.MailWebhooksApiAxiosParamCreator = exports.ListOrdersV1SortEnum = exports.ListOrdersV1StatusEnum = exports.MailOrdersApi = exports.MailOrdersApiFactory = exports.MailOrdersApiFp = exports.MailOrdersApiAxiosParamCreator = exports.ListMailboxesV1SortEnum = exports.MailMailboxesApi = exports.MailMailboxesApiFactory = exports.MailMailboxesApiFp = exports.MailMailboxesApiAxiosParamCreator = exports.ListOutboundLogsV1StatusEnum = exports.ListMailboxActionLogsV1EventEnum = exports.ListInboundLogsV1StatusEnum = exports.ListActionLogsV1StatusEnum = exports.ListAccessLogsV1ProtocolEnum = exports.ListAccessLogsV1StatusEnum = exports.MailLogsApi = exports.MailLogsApiFactory = exports.MailLogsApiFp = exports.MailLogsApiAxiosParamCreator = exports.MailForwardersApi = exports.MailForwardersApiFactory = exports.MailForwardersApiFp = exports.MailForwardersApiAxiosParamCreator = exports.MailCatchallsApi = exports.MailCatchallsApiFactory = exports.MailCatchallsApiFp = exports.MailCatchallsApiAxiosParamCreator = exports.MailAutorepliesApi = exports.MailAutorepliesApiFactory = void 0;
|
|
28
|
+
exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = void 0;
|
|
29
|
+
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -157,6 +157,17 @@ exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = {
|
|
|
157
157
|
_301: '301',
|
|
158
158
|
_302: '302'
|
|
159
159
|
};
|
|
160
|
+
exports.DomainsV1IRTPVerificationResourceStatusEnum = {
|
|
161
|
+
Pending: 'pending',
|
|
162
|
+
Completed: 'completed',
|
|
163
|
+
Canceled: 'canceled'
|
|
164
|
+
};
|
|
165
|
+
exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = {
|
|
166
|
+
Owner: 'owner',
|
|
167
|
+
Admin: 'admin',
|
|
168
|
+
Billing: 'billing',
|
|
169
|
+
Tech: 'tech'
|
|
170
|
+
};
|
|
160
171
|
exports.DomainsV1WHOISProfileResourceEntityTypeEnum = {
|
|
161
172
|
Individual: 'individual',
|
|
162
173
|
Organization: 'organization'
|
|
@@ -5676,6 +5687,71 @@ exports.DomainsTransferApi = DomainsTransferApi;
|
|
|
5676
5687
|
*/
|
|
5677
5688
|
const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
5678
5689
|
return {
|
|
5690
|
+
/**
|
|
5691
|
+
* 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.
|
|
5692
|
+
* @summary Cancel pending IRTP verification
|
|
5693
|
+
* @param {string} domain Domain name
|
|
5694
|
+
* @param {*} [options] Override http request option.
|
|
5695
|
+
* @throws {RequiredError}
|
|
5696
|
+
*/
|
|
5697
|
+
cancelPendingIRTPVerificationV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
5698
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5699
|
+
(0, common_1.assertParamExists)('cancelPendingIRTPVerificationV1', 'domain', domain);
|
|
5700
|
+
const localVarPath = `/api/domains/v1/irtp/{domain}`
|
|
5701
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5702
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5703
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5704
|
+
let baseOptions;
|
|
5705
|
+
if (configuration) {
|
|
5706
|
+
baseOptions = configuration.baseOptions;
|
|
5707
|
+
}
|
|
5708
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5709
|
+
const localVarHeaderParameter = {};
|
|
5710
|
+
const localVarQueryParameter = {};
|
|
5711
|
+
// authentication apiToken required
|
|
5712
|
+
// http bearer authentication required
|
|
5713
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5714
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5716
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5717
|
+
return {
|
|
5718
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5719
|
+
options: localVarRequestOptions,
|
|
5720
|
+
};
|
|
5721
|
+
}),
|
|
5722
|
+
/**
|
|
5723
|
+
* 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.
|
|
5724
|
+
* @summary Change WHOIS profile for domain
|
|
5725
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
5726
|
+
* @param {*} [options] Override http request option.
|
|
5727
|
+
* @throws {RequiredError}
|
|
5728
|
+
*/
|
|
5729
|
+
changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest_1, ...args_1) => __awaiter(this, [domainsV1WHOISChangeUpdateRequest_1, ...args_1], void 0, function* (domainsV1WHOISChangeUpdateRequest, options = {}) {
|
|
5730
|
+
// verify required parameter 'domainsV1WHOISChangeUpdateRequest' is not null or undefined
|
|
5731
|
+
(0, common_1.assertParamExists)('changeWHOISProfileForDomainV1', 'domainsV1WHOISChangeUpdateRequest', domainsV1WHOISChangeUpdateRequest);
|
|
5732
|
+
const localVarPath = `/api/domains/v1/whois/change`;
|
|
5733
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5734
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5735
|
+
let baseOptions;
|
|
5736
|
+
if (configuration) {
|
|
5737
|
+
baseOptions = configuration.baseOptions;
|
|
5738
|
+
}
|
|
5739
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5740
|
+
const localVarHeaderParameter = {};
|
|
5741
|
+
const localVarQueryParameter = {};
|
|
5742
|
+
// authentication apiToken required
|
|
5743
|
+
// http bearer authentication required
|
|
5744
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5745
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5746
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5747
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5748
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5749
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1WHOISChangeUpdateRequest, localVarRequestOptions, configuration);
|
|
5750
|
+
return {
|
|
5751
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5752
|
+
options: localVarRequestOptions,
|
|
5753
|
+
};
|
|
5754
|
+
}),
|
|
5679
5755
|
/**
|
|
5680
5756
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5681
5757
|
* @summary Create WHOIS profile
|
|
@@ -5741,6 +5817,38 @@ const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
5741
5817
|
options: localVarRequestOptions,
|
|
5742
5818
|
};
|
|
5743
5819
|
}),
|
|
5820
|
+
/**
|
|
5821
|
+
* 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.
|
|
5822
|
+
* @summary Get pending IRTP verification
|
|
5823
|
+
* @param {string} domain Domain name
|
|
5824
|
+
* @param {*} [options] Override http request option.
|
|
5825
|
+
* @throws {RequiredError}
|
|
5826
|
+
*/
|
|
5827
|
+
getPendingIRTPVerificationV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
5828
|
+
// verify required parameter 'domain' is not null or undefined
|
|
5829
|
+
(0, common_1.assertParamExists)('getPendingIRTPVerificationV1', 'domain', domain);
|
|
5830
|
+
const localVarPath = `/api/domains/v1/irtp/{domain}`
|
|
5831
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
5832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5833
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5834
|
+
let baseOptions;
|
|
5835
|
+
if (configuration) {
|
|
5836
|
+
baseOptions = configuration.baseOptions;
|
|
5837
|
+
}
|
|
5838
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5839
|
+
const localVarHeaderParameter = {};
|
|
5840
|
+
const localVarQueryParameter = {};
|
|
5841
|
+
// authentication apiToken required
|
|
5842
|
+
// http bearer authentication required
|
|
5843
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5844
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5846
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5847
|
+
return {
|
|
5848
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5849
|
+
options: localVarRequestOptions,
|
|
5850
|
+
};
|
|
5851
|
+
}),
|
|
5744
5852
|
/**
|
|
5745
5853
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5746
5854
|
* @summary Get WHOIS profile list
|
|
@@ -5855,7 +5963,7 @@ const DomainsWHOISApiAxiosParamCreator = function (configuration) {
|
|
|
5855
5963
|
if (configuration) {
|
|
5856
5964
|
baseOptions = configuration.baseOptions;
|
|
5857
5965
|
}
|
|
5858
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
5966
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5859
5967
|
const localVarHeaderParameter = {};
|
|
5860
5968
|
const localVarQueryParameter = {};
|
|
5861
5969
|
// authentication apiToken required
|
|
@@ -5911,6 +6019,36 @@ exports.DomainsWHOISApiAxiosParamCreator = DomainsWHOISApiAxiosParamCreator;
|
|
|
5911
6019
|
const DomainsWHOISApiFp = function (configuration) {
|
|
5912
6020
|
const localVarAxiosParamCreator = (0, exports.DomainsWHOISApiAxiosParamCreator)(configuration);
|
|
5913
6021
|
return {
|
|
6022
|
+
/**
|
|
6023
|
+
* 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.
|
|
6024
|
+
* @summary Cancel pending IRTP verification
|
|
6025
|
+
* @param {string} domain Domain name
|
|
6026
|
+
* @param {*} [options] Override http request option.
|
|
6027
|
+
* @throws {RequiredError}
|
|
6028
|
+
*/
|
|
6029
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6030
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6031
|
+
var _a, _b;
|
|
6032
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPendingIRTPVerificationV1(domain, options);
|
|
6033
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.cancelPendingIRTPVerificationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6034
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6035
|
+
});
|
|
6036
|
+
},
|
|
6037
|
+
/**
|
|
6038
|
+
* 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.
|
|
6039
|
+
* @summary Change WHOIS profile for domain
|
|
6040
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6041
|
+
* @param {*} [options] Override http request option.
|
|
6042
|
+
* @throws {RequiredError}
|
|
6043
|
+
*/
|
|
6044
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6045
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6046
|
+
var _a, _b;
|
|
6047
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options);
|
|
6048
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.changeWHOISProfileForDomainV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6049
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6050
|
+
});
|
|
6051
|
+
},
|
|
5914
6052
|
/**
|
|
5915
6053
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
5916
6054
|
* @summary Create WHOIS profile
|
|
@@ -5941,6 +6079,21 @@ const DomainsWHOISApiFp = function (configuration) {
|
|
|
5941
6079
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5942
6080
|
});
|
|
5943
6081
|
},
|
|
6082
|
+
/**
|
|
6083
|
+
* 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.
|
|
6084
|
+
* @summary Get pending IRTP verification
|
|
6085
|
+
* @param {string} domain Domain name
|
|
6086
|
+
* @param {*} [options] Override http request option.
|
|
6087
|
+
* @throws {RequiredError}
|
|
6088
|
+
*/
|
|
6089
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6090
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6091
|
+
var _a, _b;
|
|
6092
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPendingIRTPVerificationV1(domain, options);
|
|
6093
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsWHOISApi.getPendingIRTPVerificationV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
6094
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6095
|
+
});
|
|
6096
|
+
},
|
|
5944
6097
|
/**
|
|
5945
6098
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
5946
6099
|
* @summary Get WHOIS profile list
|
|
@@ -6026,6 +6179,26 @@ exports.DomainsWHOISApiFp = DomainsWHOISApiFp;
|
|
|
6026
6179
|
const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
6027
6180
|
const localVarFp = (0, exports.DomainsWHOISApiFp)(configuration);
|
|
6028
6181
|
return {
|
|
6182
|
+
/**
|
|
6183
|
+
* 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.
|
|
6184
|
+
* @summary Cancel pending IRTP verification
|
|
6185
|
+
* @param {string} domain Domain name
|
|
6186
|
+
* @param {*} [options] Override http request option.
|
|
6187
|
+
* @throws {RequiredError}
|
|
6188
|
+
*/
|
|
6189
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6190
|
+
return localVarFp.cancelPendingIRTPVerificationV1(domain, options).then((request) => request(axios, basePath));
|
|
6191
|
+
},
|
|
6192
|
+
/**
|
|
6193
|
+
* 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.
|
|
6194
|
+
* @summary Change WHOIS profile for domain
|
|
6195
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6196
|
+
* @param {*} [options] Override http request option.
|
|
6197
|
+
* @throws {RequiredError}
|
|
6198
|
+
*/
|
|
6199
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6200
|
+
return localVarFp.changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(axios, basePath));
|
|
6201
|
+
},
|
|
6029
6202
|
/**
|
|
6030
6203
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
6031
6204
|
* @summary Create WHOIS profile
|
|
@@ -6046,6 +6219,16 @@ const DomainsWHOISApiFactory = function (configuration, basePath, axios) {
|
|
|
6046
6219
|
deleteWHOISProfileV1(whoisId, options) {
|
|
6047
6220
|
return localVarFp.deleteWHOISProfileV1(whoisId, options).then((request) => request(axios, basePath));
|
|
6048
6221
|
},
|
|
6222
|
+
/**
|
|
6223
|
+
* 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.
|
|
6224
|
+
* @summary Get pending IRTP verification
|
|
6225
|
+
* @param {string} domain Domain name
|
|
6226
|
+
* @param {*} [options] Override http request option.
|
|
6227
|
+
* @throws {RequiredError}
|
|
6228
|
+
*/
|
|
6229
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6230
|
+
return localVarFp.getPendingIRTPVerificationV1(domain, options).then((request) => request(axios, basePath));
|
|
6231
|
+
},
|
|
6049
6232
|
/**
|
|
6050
6233
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
6051
6234
|
* @summary Get WHOIS profile list
|
|
@@ -6106,6 +6289,28 @@ exports.DomainsWHOISApiFactory = DomainsWHOISApiFactory;
|
|
|
6106
6289
|
* @extends {BaseAPI}
|
|
6107
6290
|
*/
|
|
6108
6291
|
class DomainsWHOISApi extends base_1.BaseAPI {
|
|
6292
|
+
/**
|
|
6293
|
+
* 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.
|
|
6294
|
+
* @summary Cancel pending IRTP verification
|
|
6295
|
+
* @param {string} domain Domain name
|
|
6296
|
+
* @param {*} [options] Override http request option.
|
|
6297
|
+
* @throws {RequiredError}
|
|
6298
|
+
* @memberof DomainsWHOISApi
|
|
6299
|
+
*/
|
|
6300
|
+
cancelPendingIRTPVerificationV1(domain, options) {
|
|
6301
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).cancelPendingIRTPVerificationV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
6302
|
+
}
|
|
6303
|
+
/**
|
|
6304
|
+
* 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.
|
|
6305
|
+
* @summary Change WHOIS profile for domain
|
|
6306
|
+
* @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
|
|
6307
|
+
* @param {*} [options] Override http request option.
|
|
6308
|
+
* @throws {RequiredError}
|
|
6309
|
+
* @memberof DomainsWHOISApi
|
|
6310
|
+
*/
|
|
6311
|
+
changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options) {
|
|
6312
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6313
|
+
}
|
|
6109
6314
|
/**
|
|
6110
6315
|
* Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
|
|
6111
6316
|
* @summary Create WHOIS profile
|
|
@@ -6128,6 +6333,17 @@ class DomainsWHOISApi extends base_1.BaseAPI {
|
|
|
6128
6333
|
deleteWHOISProfileV1(whoisId, options) {
|
|
6129
6334
|
return (0, exports.DomainsWHOISApiFp)(this.configuration).deleteWHOISProfileV1(whoisId, options).then((request) => request(this.axios, this.basePath));
|
|
6130
6335
|
}
|
|
6336
|
+
/**
|
|
6337
|
+
* 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.
|
|
6338
|
+
* @summary Get pending IRTP verification
|
|
6339
|
+
* @param {string} domain Domain name
|
|
6340
|
+
* @param {*} [options] Override http request option.
|
|
6341
|
+
* @throws {RequiredError}
|
|
6342
|
+
* @memberof DomainsWHOISApi
|
|
6343
|
+
*/
|
|
6344
|
+
getPendingIRTPVerificationV1(domain, options) {
|
|
6345
|
+
return (0, exports.DomainsWHOISApiFp)(this.configuration).getPendingIRTPVerificationV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
6346
|
+
}
|
|
6131
6347
|
/**
|
|
6132
6348
|
* Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
|
|
6133
6349
|
* @summary Get WHOIS profile list
|