hostinger-api-sdk 1.25.0 → 1.26.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 +275 -32
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +190 -32
- package/dist/api.js +157 -9
- 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 +190 -32
- package/dist/esm/api.js +149 -1
- 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/DomainsPortfolioApi.md +56 -0
- package/docs/DomainsTransferApi.md +56 -0
- package/docs/DomainsV1PortfolioClaimRequest.md +24 -0
- package/docs/{DomainsV1PortfolioPurchaseRequestDomainContacts.md → DomainsV1PortfolioClaimRequestDomainContacts.md} +3 -3
- package/docs/DomainsV1PortfolioClaimResource.md +24 -0
- package/docs/DomainsV1PortfolioPurchaseRequest.md +1 -1
- package/docs/DomainsV1TransferClaimRequest.md +26 -0
- 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.27.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
|
|
@@ -2847,77 +2847,138 @@ export interface DomainsV1PortfolioAuthCodeAuthCodeResource {
|
|
|
2847
2847
|
/**
|
|
2848
2848
|
*
|
|
2849
2849
|
* @export
|
|
2850
|
-
* @interface
|
|
2850
|
+
* @interface DomainsV1PortfolioClaimRequest
|
|
2851
2851
|
*/
|
|
2852
|
-
export interface
|
|
2852
|
+
export interface DomainsV1PortfolioClaimRequest {
|
|
2853
2853
|
/**
|
|
2854
2854
|
* Domain name
|
|
2855
2855
|
* @type {string}
|
|
2856
|
-
* @memberof
|
|
2856
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2857
2857
|
*/
|
|
2858
2858
|
'domain': string;
|
|
2859
|
-
/**
|
|
2860
|
-
* Catalog price item ID
|
|
2861
|
-
* @type {string}
|
|
2862
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2863
|
-
*/
|
|
2864
|
-
'item_id': string;
|
|
2865
|
-
/**
|
|
2866
|
-
* Payment method ID, default will be used if not provided
|
|
2867
|
-
* @type {number}
|
|
2868
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2869
|
-
*/
|
|
2870
|
-
'payment_method_id': number;
|
|
2871
2859
|
/**
|
|
2872
2860
|
*
|
|
2873
|
-
* @type {
|
|
2874
|
-
* @memberof
|
|
2861
|
+
* @type {DomainsV1PortfolioClaimRequestDomainContacts}
|
|
2862
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2875
2863
|
*/
|
|
2876
|
-
'domain_contacts':
|
|
2864
|
+
'domain_contacts': DomainsV1PortfolioClaimRequestDomainContacts;
|
|
2877
2865
|
/**
|
|
2878
2866
|
* Additional registration data, possible values depends on TLD
|
|
2879
2867
|
* @type {object}
|
|
2880
|
-
* @memberof
|
|
2868
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2881
2869
|
*/
|
|
2882
2870
|
'additional_details': object;
|
|
2883
|
-
/**
|
|
2884
|
-
* Discount coupon codes
|
|
2885
|
-
* @type {Array<any>}
|
|
2886
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2887
|
-
*/
|
|
2888
|
-
'coupons': Array<any>;
|
|
2889
2871
|
}
|
|
2890
2872
|
/**
|
|
2891
2873
|
* Domain contact information
|
|
2892
2874
|
* @export
|
|
2893
|
-
* @interface
|
|
2875
|
+
* @interface DomainsV1PortfolioClaimRequestDomainContacts
|
|
2894
2876
|
*/
|
|
2895
|
-
export interface
|
|
2877
|
+
export interface DomainsV1PortfolioClaimRequestDomainContacts {
|
|
2896
2878
|
/**
|
|
2897
2879
|
* Owner contact WHOIS record ID
|
|
2898
2880
|
* @type {number}
|
|
2899
|
-
* @memberof
|
|
2881
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2900
2882
|
*/
|
|
2901
2883
|
'owner_id': number;
|
|
2902
2884
|
/**
|
|
2903
2885
|
* Administrative contact WHOIS record ID
|
|
2904
2886
|
* @type {number}
|
|
2905
|
-
* @memberof
|
|
2887
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2906
2888
|
*/
|
|
2907
2889
|
'admin_id': number;
|
|
2908
2890
|
/**
|
|
2909
2891
|
* Billing contact WHOIS record ID
|
|
2910
2892
|
* @type {number}
|
|
2911
|
-
* @memberof
|
|
2893
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2912
2894
|
*/
|
|
2913
2895
|
'billing_id': number;
|
|
2914
2896
|
/**
|
|
2915
2897
|
* Technical contact WHOIS record ID
|
|
2916
2898
|
* @type {number}
|
|
2917
|
-
* @memberof
|
|
2899
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2918
2900
|
*/
|
|
2919
2901
|
'tech_id': number;
|
|
2920
2902
|
}
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @export
|
|
2906
|
+
* @interface DomainsV1PortfolioClaimResource
|
|
2907
|
+
*/
|
|
2908
|
+
export interface DomainsV1PortfolioClaimResource {
|
|
2909
|
+
/**
|
|
2910
|
+
* Domain name
|
|
2911
|
+
* @type {string}
|
|
2912
|
+
* @memberof DomainsV1PortfolioClaimResource
|
|
2913
|
+
*/
|
|
2914
|
+
'domain': string | null;
|
|
2915
|
+
/**
|
|
2916
|
+
* Domain status
|
|
2917
|
+
* @type {string}
|
|
2918
|
+
* @memberof DomainsV1PortfolioClaimResource
|
|
2919
|
+
*/
|
|
2920
|
+
'status': DomainsV1PortfolioClaimResourceStatusEnum | null;
|
|
2921
|
+
/**
|
|
2922
|
+
*
|
|
2923
|
+
* @type {string}
|
|
2924
|
+
* @memberof DomainsV1PortfolioClaimResource
|
|
2925
|
+
*/
|
|
2926
|
+
'created_at': string | null;
|
|
2927
|
+
}
|
|
2928
|
+
export declare const DomainsV1PortfolioClaimResourceStatusEnum: {
|
|
2929
|
+
readonly Active: "active";
|
|
2930
|
+
readonly PendingSetup: "pending_setup";
|
|
2931
|
+
readonly Expired: "expired";
|
|
2932
|
+
readonly Requested: "requested";
|
|
2933
|
+
readonly PendingVerification: "pending_verification";
|
|
2934
|
+
readonly Deleted: "deleted";
|
|
2935
|
+
readonly Suspended: "suspended";
|
|
2936
|
+
readonly Failed: "failed";
|
|
2937
|
+
};
|
|
2938
|
+
export type DomainsV1PortfolioClaimResourceStatusEnum = typeof DomainsV1PortfolioClaimResourceStatusEnum[keyof typeof DomainsV1PortfolioClaimResourceStatusEnum];
|
|
2939
|
+
/**
|
|
2940
|
+
*
|
|
2941
|
+
* @export
|
|
2942
|
+
* @interface DomainsV1PortfolioPurchaseRequest
|
|
2943
|
+
*/
|
|
2944
|
+
export interface DomainsV1PortfolioPurchaseRequest {
|
|
2945
|
+
/**
|
|
2946
|
+
* Domain name
|
|
2947
|
+
* @type {string}
|
|
2948
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2949
|
+
*/
|
|
2950
|
+
'domain': string;
|
|
2951
|
+
/**
|
|
2952
|
+
* Catalog price item ID
|
|
2953
|
+
* @type {string}
|
|
2954
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2955
|
+
*/
|
|
2956
|
+
'item_id': string;
|
|
2957
|
+
/**
|
|
2958
|
+
* Payment method ID, default will be used if not provided
|
|
2959
|
+
* @type {number}
|
|
2960
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2961
|
+
*/
|
|
2962
|
+
'payment_method_id': number;
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @type {DomainsV1PortfolioClaimRequestDomainContacts}
|
|
2966
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2967
|
+
*/
|
|
2968
|
+
'domain_contacts': DomainsV1PortfolioClaimRequestDomainContacts;
|
|
2969
|
+
/**
|
|
2970
|
+
* Additional registration data, possible values depends on TLD
|
|
2971
|
+
* @type {object}
|
|
2972
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2973
|
+
*/
|
|
2974
|
+
'additional_details': object;
|
|
2975
|
+
/**
|
|
2976
|
+
* Discount coupon codes
|
|
2977
|
+
* @type {Array<any>}
|
|
2978
|
+
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2979
|
+
*/
|
|
2980
|
+
'coupons': Array<any>;
|
|
2981
|
+
}
|
|
2921
2982
|
/**
|
|
2922
2983
|
*
|
|
2923
2984
|
* @export
|
|
@@ -2974,6 +3035,37 @@ export interface DomainsV1PortfolioUpdateNameserversRequest {
|
|
|
2974
3035
|
*/
|
|
2975
3036
|
'ns4': string;
|
|
2976
3037
|
}
|
|
3038
|
+
/**
|
|
3039
|
+
*
|
|
3040
|
+
* @export
|
|
3041
|
+
* @interface DomainsV1TransferClaimRequest
|
|
3042
|
+
*/
|
|
3043
|
+
export interface DomainsV1TransferClaimRequest {
|
|
3044
|
+
/**
|
|
3045
|
+
* Domain name
|
|
3046
|
+
* @type {string}
|
|
3047
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3048
|
+
*/
|
|
3049
|
+
'domain': string;
|
|
3050
|
+
/**
|
|
3051
|
+
* Authorization code from the current registrar
|
|
3052
|
+
* @type {string}
|
|
3053
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3054
|
+
*/
|
|
3055
|
+
'auth_code': string;
|
|
3056
|
+
/**
|
|
3057
|
+
*
|
|
3058
|
+
* @type {DomainsV1PortfolioClaimRequestDomainContacts}
|
|
3059
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3060
|
+
*/
|
|
3061
|
+
'domain_contacts': DomainsV1PortfolioClaimRequestDomainContacts;
|
|
3062
|
+
/**
|
|
3063
|
+
* Keep the existing nameservers of the domain
|
|
3064
|
+
* @type {boolean}
|
|
3065
|
+
* @memberof DomainsV1TransferClaimRequest
|
|
3066
|
+
*/
|
|
3067
|
+
'should_keep_ns': boolean;
|
|
3068
|
+
}
|
|
2977
3069
|
/**
|
|
2978
3070
|
*
|
|
2979
3071
|
* @export
|
|
@@ -13026,6 +13118,14 @@ export declare class DomainsMoveApi extends BaseAPI {
|
|
|
13026
13118
|
* @export
|
|
13027
13119
|
*/
|
|
13028
13120
|
export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13121
|
+
/**
|
|
13122
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
13123
|
+
* @summary Claim free domain
|
|
13124
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
13125
|
+
* @param {*} [options] Override http request option.
|
|
13126
|
+
* @throws {RequiredError}
|
|
13127
|
+
*/
|
|
13128
|
+
claimFreeDomainV1: (domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13029
13129
|
/**
|
|
13030
13130
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13031
13131
|
* @summary Disable domain lock
|
|
@@ -13112,6 +13212,14 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
13112
13212
|
* @export
|
|
13113
13213
|
*/
|
|
13114
13214
|
export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
13215
|
+
/**
|
|
13216
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
13217
|
+
* @summary Claim free domain
|
|
13218
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
13219
|
+
* @param {*} [options] Override http request option.
|
|
13220
|
+
* @throws {RequiredError}
|
|
13221
|
+
*/
|
|
13222
|
+
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1PortfolioClaimResource>>;
|
|
13115
13223
|
/**
|
|
13116
13224
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13117
13225
|
* @summary Disable domain lock
|
|
@@ -13198,6 +13306,14 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
13198
13306
|
* @export
|
|
13199
13307
|
*/
|
|
13200
13308
|
export declare const DomainsPortfolioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13309
|
+
/**
|
|
13310
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
13311
|
+
* @summary Claim free domain
|
|
13312
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
13313
|
+
* @param {*} [options] Override http request option.
|
|
13314
|
+
* @throws {RequiredError}
|
|
13315
|
+
*/
|
|
13316
|
+
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1PortfolioClaimResource>;
|
|
13201
13317
|
/**
|
|
13202
13318
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13203
13319
|
* @summary Disable domain lock
|
|
@@ -13286,6 +13402,15 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
13286
13402
|
* @extends {BaseAPI}
|
|
13287
13403
|
*/
|
|
13288
13404
|
export declare class DomainsPortfolioApi extends BaseAPI {
|
|
13405
|
+
/**
|
|
13406
|
+
* Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
|
|
13407
|
+
* @summary Claim free domain
|
|
13408
|
+
* @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
|
|
13409
|
+
* @param {*} [options] Override http request option.
|
|
13410
|
+
* @throws {RequiredError}
|
|
13411
|
+
* @memberof DomainsPortfolioApi
|
|
13412
|
+
*/
|
|
13413
|
+
claimFreeDomainV1(domainsV1PortfolioClaimRequest: DomainsV1PortfolioClaimRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1PortfolioClaimResource, any, {}, any>>;
|
|
13289
13414
|
/**
|
|
13290
13415
|
* Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
|
|
13291
13416
|
* @summary Disable domain lock
|
|
@@ -13382,6 +13507,14 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
13382
13507
|
* @export
|
|
13383
13508
|
*/
|
|
13384
13509
|
export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13510
|
+
/**
|
|
13511
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
13512
|
+
* @summary Claim free domain transfer
|
|
13513
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
13514
|
+
* @param {*} [options] Override http request option.
|
|
13515
|
+
* @throws {RequiredError}
|
|
13516
|
+
*/
|
|
13517
|
+
claimFreeDomainTransferV1: (domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13385
13518
|
/**
|
|
13386
13519
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13387
13520
|
* @summary Get transfer list
|
|
@@ -13403,6 +13536,14 @@ export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Confi
|
|
|
13403
13536
|
* @export
|
|
13404
13537
|
*/
|
|
13405
13538
|
export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
13539
|
+
/**
|
|
13540
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
13541
|
+
* @summary Claim free domain transfer
|
|
13542
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
13543
|
+
* @param {*} [options] Override http request option.
|
|
13544
|
+
* @throws {RequiredError}
|
|
13545
|
+
*/
|
|
13546
|
+
claimFreeDomainTransferV1(domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1TransferTransferResource>>;
|
|
13406
13547
|
/**
|
|
13407
13548
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13408
13549
|
* @summary Get transfer list
|
|
@@ -13424,6 +13565,14 @@ export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
|
13424
13565
|
* @export
|
|
13425
13566
|
*/
|
|
13426
13567
|
export declare const DomainsTransferApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13568
|
+
/**
|
|
13569
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
13570
|
+
* @summary Claim free domain transfer
|
|
13571
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
13572
|
+
* @param {*} [options] Override http request option.
|
|
13573
|
+
* @throws {RequiredError}
|
|
13574
|
+
*/
|
|
13575
|
+
claimFreeDomainTransferV1(domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1TransferTransferResource>;
|
|
13427
13576
|
/**
|
|
13428
13577
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13429
13578
|
* @summary Get transfer list
|
|
@@ -13447,6 +13596,15 @@ export declare const DomainsTransferApiFactory: (configuration?: Configuration,
|
|
|
13447
13596
|
* @extends {BaseAPI}
|
|
13448
13597
|
*/
|
|
13449
13598
|
export declare class DomainsTransferApi extends BaseAPI {
|
|
13599
|
+
/**
|
|
13600
|
+
* Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
|
|
13601
|
+
* @summary Claim free domain transfer
|
|
13602
|
+
* @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
|
|
13603
|
+
* @param {*} [options] Override http request option.
|
|
13604
|
+
* @throws {RequiredError}
|
|
13605
|
+
* @memberof DomainsTransferApi
|
|
13606
|
+
*/
|
|
13607
|
+
claimFreeDomainTransferV1(domainsV1TransferClaimRequest: DomainsV1TransferClaimRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1TransferTransferResource, any, {}, any>>;
|
|
13450
13608
|
/**
|
|
13451
13609
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13452
13610
|
* @summary Get transfer list
|