hostinger-api-sdk 1.24.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 +1052 -85
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +578 -32
- package/dist/api.js +753 -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 +578 -32
- package/dist/esm/api.js +741 -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/DomainsMoveApi.md +438 -0
- package/docs/DomainsPortfolioApi.md +56 -0
- package/docs/DomainsTransferApi.md +56 -0
- package/docs/DomainsV1MoveIncomingUpdateRequest.md +20 -0
- package/docs/DomainsV1MoveIncomingUpdateRequestDomainContacts.md +27 -0
- package/docs/DomainsV1MoveMoveResource.md +26 -0
- package/docs/DomainsV1MoveOutgoingStoreRequest.md +20 -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/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.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
|
|
@@ -2737,6 +2737,100 @@ export declare const DomainsV1IRTPVerificationResourceStatusEnum: {
|
|
|
2737
2737
|
readonly Canceled: "canceled";
|
|
2738
2738
|
};
|
|
2739
2739
|
export type DomainsV1IRTPVerificationResourceStatusEnum = typeof DomainsV1IRTPVerificationResourceStatusEnum[keyof typeof DomainsV1IRTPVerificationResourceStatusEnum];
|
|
2740
|
+
/**
|
|
2741
|
+
*
|
|
2742
|
+
* @export
|
|
2743
|
+
* @interface DomainsV1MoveIncomingUpdateRequest
|
|
2744
|
+
*/
|
|
2745
|
+
export interface DomainsV1MoveIncomingUpdateRequest {
|
|
2746
|
+
/**
|
|
2747
|
+
*
|
|
2748
|
+
* @type {DomainsV1MoveIncomingUpdateRequestDomainContacts}
|
|
2749
|
+
* @memberof DomainsV1MoveIncomingUpdateRequest
|
|
2750
|
+
*/
|
|
2751
|
+
'domain_contacts': DomainsV1MoveIncomingUpdateRequestDomainContacts;
|
|
2752
|
+
}
|
|
2753
|
+
/**
|
|
2754
|
+
* WHOIS profiles of the accepting account. Only the contact types required by the TLD are applied, but all four IDs must be provided.
|
|
2755
|
+
* @export
|
|
2756
|
+
* @interface DomainsV1MoveIncomingUpdateRequestDomainContacts
|
|
2757
|
+
*/
|
|
2758
|
+
export interface DomainsV1MoveIncomingUpdateRequestDomainContacts {
|
|
2759
|
+
/**
|
|
2760
|
+
* Owner contact WHOIS record ID
|
|
2761
|
+
* @type {number}
|
|
2762
|
+
* @memberof DomainsV1MoveIncomingUpdateRequestDomainContacts
|
|
2763
|
+
*/
|
|
2764
|
+
'owner_id': number;
|
|
2765
|
+
/**
|
|
2766
|
+
* Administrative contact WHOIS record ID
|
|
2767
|
+
* @type {number}
|
|
2768
|
+
* @memberof DomainsV1MoveIncomingUpdateRequestDomainContacts
|
|
2769
|
+
*/
|
|
2770
|
+
'admin_id': number;
|
|
2771
|
+
/**
|
|
2772
|
+
* Billing contact WHOIS record ID
|
|
2773
|
+
* @type {number}
|
|
2774
|
+
* @memberof DomainsV1MoveIncomingUpdateRequestDomainContacts
|
|
2775
|
+
*/
|
|
2776
|
+
'billing_id': number;
|
|
2777
|
+
/**
|
|
2778
|
+
* Technical contact WHOIS record ID
|
|
2779
|
+
* @type {number}
|
|
2780
|
+
* @memberof DomainsV1MoveIncomingUpdateRequestDomainContacts
|
|
2781
|
+
*/
|
|
2782
|
+
'tech_id': number;
|
|
2783
|
+
}
|
|
2784
|
+
/**
|
|
2785
|
+
*
|
|
2786
|
+
* @export
|
|
2787
|
+
* @interface DomainsV1MoveMoveResource
|
|
2788
|
+
*/
|
|
2789
|
+
export interface DomainsV1MoveMoveResource {
|
|
2790
|
+
/**
|
|
2791
|
+
* Domain name
|
|
2792
|
+
* @type {string}
|
|
2793
|
+
* @memberof DomainsV1MoveMoveResource
|
|
2794
|
+
*/
|
|
2795
|
+
'domain': string;
|
|
2796
|
+
/**
|
|
2797
|
+
* Status of the move
|
|
2798
|
+
* @type {string}
|
|
2799
|
+
* @memberof DomainsV1MoveMoveResource
|
|
2800
|
+
*/
|
|
2801
|
+
'status': DomainsV1MoveMoveResourceStatusEnum;
|
|
2802
|
+
/**
|
|
2803
|
+
*
|
|
2804
|
+
* @type {string}
|
|
2805
|
+
* @memberof DomainsV1MoveMoveResource
|
|
2806
|
+
*/
|
|
2807
|
+
'created_at': string;
|
|
2808
|
+
/**
|
|
2809
|
+
*
|
|
2810
|
+
* @type {string}
|
|
2811
|
+
* @memberof DomainsV1MoveMoveResource
|
|
2812
|
+
*/
|
|
2813
|
+
'updated_at': string;
|
|
2814
|
+
}
|
|
2815
|
+
export declare const DomainsV1MoveMoveResourceStatusEnum: {
|
|
2816
|
+
readonly Initiated: "initiated";
|
|
2817
|
+
readonly Activating: "activating";
|
|
2818
|
+
readonly Completed: "completed";
|
|
2819
|
+
};
|
|
2820
|
+
export type DomainsV1MoveMoveResourceStatusEnum = typeof DomainsV1MoveMoveResourceStatusEnum[keyof typeof DomainsV1MoveMoveResourceStatusEnum];
|
|
2821
|
+
/**
|
|
2822
|
+
*
|
|
2823
|
+
* @export
|
|
2824
|
+
* @interface DomainsV1MoveOutgoingStoreRequest
|
|
2825
|
+
*/
|
|
2826
|
+
export interface DomainsV1MoveOutgoingStoreRequest {
|
|
2827
|
+
/**
|
|
2828
|
+
* Email address of the Hostinger account receiving the domain
|
|
2829
|
+
* @type {string}
|
|
2830
|
+
* @memberof DomainsV1MoveOutgoingStoreRequest
|
|
2831
|
+
*/
|
|
2832
|
+
'new_customer_email': string;
|
|
2833
|
+
}
|
|
2740
2834
|
/**
|
|
2741
2835
|
*
|
|
2742
2836
|
* @export
|
|
@@ -2753,77 +2847,138 @@ export interface DomainsV1PortfolioAuthCodeAuthCodeResource {
|
|
|
2753
2847
|
/**
|
|
2754
2848
|
*
|
|
2755
2849
|
* @export
|
|
2756
|
-
* @interface
|
|
2850
|
+
* @interface DomainsV1PortfolioClaimRequest
|
|
2757
2851
|
*/
|
|
2758
|
-
export interface
|
|
2852
|
+
export interface DomainsV1PortfolioClaimRequest {
|
|
2759
2853
|
/**
|
|
2760
2854
|
* Domain name
|
|
2761
2855
|
* @type {string}
|
|
2762
|
-
* @memberof
|
|
2856
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2763
2857
|
*/
|
|
2764
2858
|
'domain': string;
|
|
2765
|
-
/**
|
|
2766
|
-
* Catalog price item ID
|
|
2767
|
-
* @type {string}
|
|
2768
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2769
|
-
*/
|
|
2770
|
-
'item_id': string;
|
|
2771
|
-
/**
|
|
2772
|
-
* Payment method ID, default will be used if not provided
|
|
2773
|
-
* @type {number}
|
|
2774
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2775
|
-
*/
|
|
2776
|
-
'payment_method_id': number;
|
|
2777
2859
|
/**
|
|
2778
2860
|
*
|
|
2779
|
-
* @type {
|
|
2780
|
-
* @memberof
|
|
2861
|
+
* @type {DomainsV1PortfolioClaimRequestDomainContacts}
|
|
2862
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2781
2863
|
*/
|
|
2782
|
-
'domain_contacts':
|
|
2864
|
+
'domain_contacts': DomainsV1PortfolioClaimRequestDomainContacts;
|
|
2783
2865
|
/**
|
|
2784
2866
|
* Additional registration data, possible values depends on TLD
|
|
2785
2867
|
* @type {object}
|
|
2786
|
-
* @memberof
|
|
2868
|
+
* @memberof DomainsV1PortfolioClaimRequest
|
|
2787
2869
|
*/
|
|
2788
2870
|
'additional_details': object;
|
|
2789
|
-
/**
|
|
2790
|
-
* Discount coupon codes
|
|
2791
|
-
* @type {Array<any>}
|
|
2792
|
-
* @memberof DomainsV1PortfolioPurchaseRequest
|
|
2793
|
-
*/
|
|
2794
|
-
'coupons': Array<any>;
|
|
2795
2871
|
}
|
|
2796
2872
|
/**
|
|
2797
2873
|
* Domain contact information
|
|
2798
2874
|
* @export
|
|
2799
|
-
* @interface
|
|
2875
|
+
* @interface DomainsV1PortfolioClaimRequestDomainContacts
|
|
2800
2876
|
*/
|
|
2801
|
-
export interface
|
|
2877
|
+
export interface DomainsV1PortfolioClaimRequestDomainContacts {
|
|
2802
2878
|
/**
|
|
2803
2879
|
* Owner contact WHOIS record ID
|
|
2804
2880
|
* @type {number}
|
|
2805
|
-
* @memberof
|
|
2881
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2806
2882
|
*/
|
|
2807
2883
|
'owner_id': number;
|
|
2808
2884
|
/**
|
|
2809
2885
|
* Administrative contact WHOIS record ID
|
|
2810
2886
|
* @type {number}
|
|
2811
|
-
* @memberof
|
|
2887
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2812
2888
|
*/
|
|
2813
2889
|
'admin_id': number;
|
|
2814
2890
|
/**
|
|
2815
2891
|
* Billing contact WHOIS record ID
|
|
2816
2892
|
* @type {number}
|
|
2817
|
-
* @memberof
|
|
2893
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2818
2894
|
*/
|
|
2819
2895
|
'billing_id': number;
|
|
2820
2896
|
/**
|
|
2821
2897
|
* Technical contact WHOIS record ID
|
|
2822
2898
|
* @type {number}
|
|
2823
|
-
* @memberof
|
|
2899
|
+
* @memberof DomainsV1PortfolioClaimRequestDomainContacts
|
|
2824
2900
|
*/
|
|
2825
2901
|
'tech_id': number;
|
|
2826
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
|
+
}
|
|
2827
2982
|
/**
|
|
2828
2983
|
*
|
|
2829
2984
|
* @export
|
|
@@ -2880,6 +3035,37 @@ export interface DomainsV1PortfolioUpdateNameserversRequest {
|
|
|
2880
3035
|
*/
|
|
2881
3036
|
'ns4': string;
|
|
2882
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
|
+
}
|
|
2883
3069
|
/**
|
|
2884
3070
|
*
|
|
2885
3071
|
* @export
|
|
@@ -12633,11 +12819,313 @@ export declare class DomainsForwardingApi extends BaseAPI {
|
|
|
12633
12819
|
*/
|
|
12634
12820
|
updateDomainForwardingV1(domain: string, domainsV1ForwardingUpdateRequest: DomainsV1ForwardingUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}, any>>;
|
|
12635
12821
|
}
|
|
12822
|
+
/**
|
|
12823
|
+
* DomainsMoveApi - axios parameter creator
|
|
12824
|
+
* @export
|
|
12825
|
+
*/
|
|
12826
|
+
export declare const DomainsMoveApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12827
|
+
/**
|
|
12828
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
12829
|
+
* @summary Accept incoming domain move
|
|
12830
|
+
* @param {string} domain Domain name
|
|
12831
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
12832
|
+
* @param {*} [options] Override http request option.
|
|
12833
|
+
* @throws {RequiredError}
|
|
12834
|
+
*/
|
|
12835
|
+
acceptIncomingDomainMoveV1: (domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12836
|
+
/**
|
|
12837
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
12838
|
+
* @summary Cancel outgoing domain move
|
|
12839
|
+
* @param {string} domain Domain name
|
|
12840
|
+
* @param {*} [options] Override http request option.
|
|
12841
|
+
* @throws {RequiredError}
|
|
12842
|
+
*/
|
|
12843
|
+
cancelOutgoingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12844
|
+
/**
|
|
12845
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
12846
|
+
* @summary Get incoming domain move list
|
|
12847
|
+
* @param {*} [options] Override http request option.
|
|
12848
|
+
* @throws {RequiredError}
|
|
12849
|
+
*/
|
|
12850
|
+
getIncomingDomainMoveListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12851
|
+
/**
|
|
12852
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
12853
|
+
* @summary Get incoming domain move
|
|
12854
|
+
* @param {string} domain Domain name
|
|
12855
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
12856
|
+
* @param {*} [options] Override http request option.
|
|
12857
|
+
* @throws {RequiredError}
|
|
12858
|
+
*/
|
|
12859
|
+
getIncomingDomainMoveV1: (domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12860
|
+
/**
|
|
12861
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
12862
|
+
* @summary Get outgoing domain move list
|
|
12863
|
+
* @param {*} [options] Override http request option.
|
|
12864
|
+
* @throws {RequiredError}
|
|
12865
|
+
*/
|
|
12866
|
+
getOutgoingDomainMoveListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12867
|
+
/**
|
|
12868
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
12869
|
+
* @summary Get outgoing domain move
|
|
12870
|
+
* @param {string} domain Domain name
|
|
12871
|
+
* @param {*} [options] Override http request option.
|
|
12872
|
+
* @throws {RequiredError}
|
|
12873
|
+
*/
|
|
12874
|
+
getOutgoingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12875
|
+
/**
|
|
12876
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
12877
|
+
* @summary Reject incoming domain move
|
|
12878
|
+
* @param {string} domain Domain name
|
|
12879
|
+
* @param {*} [options] Override http request option.
|
|
12880
|
+
* @throws {RequiredError}
|
|
12881
|
+
*/
|
|
12882
|
+
rejectIncomingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12883
|
+
/**
|
|
12884
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
12885
|
+
* @summary Start outgoing domain move
|
|
12886
|
+
* @param {string} domain Domain name
|
|
12887
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
12888
|
+
* @param {*} [options] Override http request option.
|
|
12889
|
+
* @throws {RequiredError}
|
|
12890
|
+
*/
|
|
12891
|
+
startOutgoingDomainMoveV1: (domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12892
|
+
};
|
|
12893
|
+
/**
|
|
12894
|
+
* DomainsMoveApi - functional programming interface
|
|
12895
|
+
* @export
|
|
12896
|
+
*/
|
|
12897
|
+
export declare const DomainsMoveApiFp: (configuration?: Configuration) => {
|
|
12898
|
+
/**
|
|
12899
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
12900
|
+
* @summary Accept incoming domain move
|
|
12901
|
+
* @param {string} domain Domain name
|
|
12902
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
12903
|
+
* @param {*} [options] Override http request option.
|
|
12904
|
+
* @throws {RequiredError}
|
|
12905
|
+
*/
|
|
12906
|
+
acceptIncomingDomainMoveV1(domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
12907
|
+
/**
|
|
12908
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
12909
|
+
* @summary Cancel outgoing domain move
|
|
12910
|
+
* @param {string} domain Domain name
|
|
12911
|
+
* @param {*} [options] Override http request option.
|
|
12912
|
+
* @throws {RequiredError}
|
|
12913
|
+
*/
|
|
12914
|
+
cancelOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
12915
|
+
/**
|
|
12916
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
12917
|
+
* @summary Get incoming domain move list
|
|
12918
|
+
* @param {*} [options] Override http request option.
|
|
12919
|
+
* @throws {RequiredError}
|
|
12920
|
+
*/
|
|
12921
|
+
getIncomingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1MoveMoveResource>>>;
|
|
12922
|
+
/**
|
|
12923
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
12924
|
+
* @summary Get incoming domain move
|
|
12925
|
+
* @param {string} domain Domain name
|
|
12926
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
12927
|
+
* @param {*} [options] Override http request option.
|
|
12928
|
+
* @throws {RequiredError}
|
|
12929
|
+
*/
|
|
12930
|
+
getIncomingDomainMoveV1(domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1MoveMoveResource>>;
|
|
12931
|
+
/**
|
|
12932
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
12933
|
+
* @summary Get outgoing domain move list
|
|
12934
|
+
* @param {*} [options] Override http request option.
|
|
12935
|
+
* @throws {RequiredError}
|
|
12936
|
+
*/
|
|
12937
|
+
getOutgoingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1MoveMoveResource>>>;
|
|
12938
|
+
/**
|
|
12939
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
12940
|
+
* @summary Get outgoing domain move
|
|
12941
|
+
* @param {string} domain Domain name
|
|
12942
|
+
* @param {*} [options] Override http request option.
|
|
12943
|
+
* @throws {RequiredError}
|
|
12944
|
+
*/
|
|
12945
|
+
getOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1MoveMoveResource>>;
|
|
12946
|
+
/**
|
|
12947
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
12948
|
+
* @summary Reject incoming domain move
|
|
12949
|
+
* @param {string} domain Domain name
|
|
12950
|
+
* @param {*} [options] Override http request option.
|
|
12951
|
+
* @throws {RequiredError}
|
|
12952
|
+
*/
|
|
12953
|
+
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
12954
|
+
/**
|
|
12955
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
12956
|
+
* @summary Start outgoing domain move
|
|
12957
|
+
* @param {string} domain Domain name
|
|
12958
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
12959
|
+
* @param {*} [options] Override http request option.
|
|
12960
|
+
* @throws {RequiredError}
|
|
12961
|
+
*/
|
|
12962
|
+
startOutgoingDomainMoveV1(domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
12963
|
+
};
|
|
12964
|
+
/**
|
|
12965
|
+
* DomainsMoveApi - factory interface
|
|
12966
|
+
* @export
|
|
12967
|
+
*/
|
|
12968
|
+
export declare const DomainsMoveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
12969
|
+
/**
|
|
12970
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
12971
|
+
* @summary Accept incoming domain move
|
|
12972
|
+
* @param {string} domain Domain name
|
|
12973
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
12974
|
+
* @param {*} [options] Override http request option.
|
|
12975
|
+
* @throws {RequiredError}
|
|
12976
|
+
*/
|
|
12977
|
+
acceptIncomingDomainMoveV1(domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
12978
|
+
/**
|
|
12979
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
12980
|
+
* @summary Cancel outgoing domain move
|
|
12981
|
+
* @param {string} domain Domain name
|
|
12982
|
+
* @param {*} [options] Override http request option.
|
|
12983
|
+
* @throws {RequiredError}
|
|
12984
|
+
*/
|
|
12985
|
+
cancelOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
12986
|
+
/**
|
|
12987
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
12988
|
+
* @summary Get incoming domain move list
|
|
12989
|
+
* @param {*} [options] Override http request option.
|
|
12990
|
+
* @throws {RequiredError}
|
|
12991
|
+
*/
|
|
12992
|
+
getIncomingDomainMoveListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1MoveMoveResource>>;
|
|
12993
|
+
/**
|
|
12994
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
12995
|
+
* @summary Get incoming domain move
|
|
12996
|
+
* @param {string} domain Domain name
|
|
12997
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
12998
|
+
* @param {*} [options] Override http request option.
|
|
12999
|
+
* @throws {RequiredError}
|
|
13000
|
+
*/
|
|
13001
|
+
getIncomingDomainMoveV1(domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1MoveMoveResource>;
|
|
13002
|
+
/**
|
|
13003
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
13004
|
+
* @summary Get outgoing domain move list
|
|
13005
|
+
* @param {*} [options] Override http request option.
|
|
13006
|
+
* @throws {RequiredError}
|
|
13007
|
+
*/
|
|
13008
|
+
getOutgoingDomainMoveListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1MoveMoveResource>>;
|
|
13009
|
+
/**
|
|
13010
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
13011
|
+
* @summary Get outgoing domain move
|
|
13012
|
+
* @param {string} domain Domain name
|
|
13013
|
+
* @param {*} [options] Override http request option.
|
|
13014
|
+
* @throws {RequiredError}
|
|
13015
|
+
*/
|
|
13016
|
+
getOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1MoveMoveResource>;
|
|
13017
|
+
/**
|
|
13018
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
13019
|
+
* @summary Reject incoming domain move
|
|
13020
|
+
* @param {string} domain Domain name
|
|
13021
|
+
* @param {*} [options] Override http request option.
|
|
13022
|
+
* @throws {RequiredError}
|
|
13023
|
+
*/
|
|
13024
|
+
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13025
|
+
/**
|
|
13026
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
13027
|
+
* @summary Start outgoing domain move
|
|
13028
|
+
* @param {string} domain Domain name
|
|
13029
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
13030
|
+
* @param {*} [options] Override http request option.
|
|
13031
|
+
* @throws {RequiredError}
|
|
13032
|
+
*/
|
|
13033
|
+
startOutgoingDomainMoveV1(domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
13034
|
+
};
|
|
13035
|
+
/**
|
|
13036
|
+
* DomainsMoveApi - object-oriented interface
|
|
13037
|
+
* @export
|
|
13038
|
+
* @class DomainsMoveApi
|
|
13039
|
+
* @extends {BaseAPI}
|
|
13040
|
+
*/
|
|
13041
|
+
export declare class DomainsMoveApi extends BaseAPI {
|
|
13042
|
+
/**
|
|
13043
|
+
* Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
|
|
13044
|
+
* @summary Accept incoming domain move
|
|
13045
|
+
* @param {string} domain Domain name
|
|
13046
|
+
* @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
|
|
13047
|
+
* @param {*} [options] Override http request option.
|
|
13048
|
+
* @throws {RequiredError}
|
|
13049
|
+
* @memberof DomainsMoveApi
|
|
13050
|
+
*/
|
|
13051
|
+
acceptIncomingDomainMoveV1(domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13052
|
+
/**
|
|
13053
|
+
* Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
|
|
13054
|
+
* @summary Cancel outgoing domain move
|
|
13055
|
+
* @param {string} domain Domain name
|
|
13056
|
+
* @param {*} [options] Override http request option.
|
|
13057
|
+
* @throws {RequiredError}
|
|
13058
|
+
* @memberof DomainsMoveApi
|
|
13059
|
+
*/
|
|
13060
|
+
cancelOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13061
|
+
/**
|
|
13062
|
+
* Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
|
|
13063
|
+
* @summary Get incoming domain move list
|
|
13064
|
+
* @param {*} [options] Override http request option.
|
|
13065
|
+
* @throws {RequiredError}
|
|
13066
|
+
* @memberof DomainsMoveApi
|
|
13067
|
+
*/
|
|
13068
|
+
getIncomingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource[], any, {}, any>>;
|
|
13069
|
+
/**
|
|
13070
|
+
* Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
|
|
13071
|
+
* @summary Get incoming domain move
|
|
13072
|
+
* @param {string} domain Domain name
|
|
13073
|
+
* @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
|
|
13074
|
+
* @param {*} [options] Override http request option.
|
|
13075
|
+
* @throws {RequiredError}
|
|
13076
|
+
* @memberof DomainsMoveApi
|
|
13077
|
+
*/
|
|
13078
|
+
getIncomingDomainMoveV1(domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource, any, {}, any>>;
|
|
13079
|
+
/**
|
|
13080
|
+
* Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
|
|
13081
|
+
* @summary Get outgoing domain move list
|
|
13082
|
+
* @param {*} [options] Override http request option.
|
|
13083
|
+
* @throws {RequiredError}
|
|
13084
|
+
* @memberof DomainsMoveApi
|
|
13085
|
+
*/
|
|
13086
|
+
getOutgoingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource[], any, {}, any>>;
|
|
13087
|
+
/**
|
|
13088
|
+
* Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
|
|
13089
|
+
* @summary Get outgoing domain move
|
|
13090
|
+
* @param {string} domain Domain name
|
|
13091
|
+
* @param {*} [options] Override http request option.
|
|
13092
|
+
* @throws {RequiredError}
|
|
13093
|
+
* @memberof DomainsMoveApi
|
|
13094
|
+
*/
|
|
13095
|
+
getOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource, any, {}, any>>;
|
|
13096
|
+
/**
|
|
13097
|
+
* Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
|
|
13098
|
+
* @summary Reject incoming domain move
|
|
13099
|
+
* @param {string} domain Domain name
|
|
13100
|
+
* @param {*} [options] Override http request option.
|
|
13101
|
+
* @throws {RequiredError}
|
|
13102
|
+
* @memberof DomainsMoveApi
|
|
13103
|
+
*/
|
|
13104
|
+
rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13105
|
+
/**
|
|
13106
|
+
* Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
|
|
13107
|
+
* @summary Start outgoing domain move
|
|
13108
|
+
* @param {string} domain Domain name
|
|
13109
|
+
* @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
|
|
13110
|
+
* @param {*} [options] Override http request option.
|
|
13111
|
+
* @throws {RequiredError}
|
|
13112
|
+
* @memberof DomainsMoveApi
|
|
13113
|
+
*/
|
|
13114
|
+
startOutgoingDomainMoveV1(domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
13115
|
+
}
|
|
12636
13116
|
/**
|
|
12637
13117
|
* DomainsPortfolioApi - axios parameter creator
|
|
12638
13118
|
* @export
|
|
12639
13119
|
*/
|
|
12640
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>;
|
|
12641
13129
|
/**
|
|
12642
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.
|
|
12643
13131
|
* @summary Disable domain lock
|
|
@@ -12724,6 +13212,14 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
12724
13212
|
* @export
|
|
12725
13213
|
*/
|
|
12726
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>>;
|
|
12727
13223
|
/**
|
|
12728
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.
|
|
12729
13225
|
* @summary Disable domain lock
|
|
@@ -12810,6 +13306,14 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
12810
13306
|
* @export
|
|
12811
13307
|
*/
|
|
12812
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>;
|
|
12813
13317
|
/**
|
|
12814
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.
|
|
12815
13319
|
* @summary Disable domain lock
|
|
@@ -12898,6 +13402,15 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
12898
13402
|
* @extends {BaseAPI}
|
|
12899
13403
|
*/
|
|
12900
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>>;
|
|
12901
13414
|
/**
|
|
12902
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.
|
|
12903
13416
|
* @summary Disable domain lock
|
|
@@ -12994,6 +13507,14 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
12994
13507
|
* @export
|
|
12995
13508
|
*/
|
|
12996
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>;
|
|
12997
13518
|
/**
|
|
12998
13519
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
12999
13520
|
* @summary Get transfer list
|
|
@@ -13015,6 +13536,14 @@ export declare const DomainsTransferApiAxiosParamCreator: (configuration?: Confi
|
|
|
13015
13536
|
* @export
|
|
13016
13537
|
*/
|
|
13017
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>>;
|
|
13018
13547
|
/**
|
|
13019
13548
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13020
13549
|
* @summary Get transfer list
|
|
@@ -13036,6 +13565,14 @@ export declare const DomainsTransferApiFp: (configuration?: Configuration) => {
|
|
|
13036
13565
|
* @export
|
|
13037
13566
|
*/
|
|
13038
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>;
|
|
13039
13576
|
/**
|
|
13040
13577
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13041
13578
|
* @summary Get transfer list
|
|
@@ -13059,6 +13596,15 @@ export declare const DomainsTransferApiFactory: (configuration?: Configuration,
|
|
|
13059
13596
|
* @extends {BaseAPI}
|
|
13060
13597
|
*/
|
|
13061
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>>;
|
|
13062
13608
|
/**
|
|
13063
13609
|
* Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
|
|
13064
13610
|
* @summary Get transfer list
|