hostinger-api-sdk 1.23.0 → 1.25.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/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.24.0
4
+ * API Version: 1.26.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,155 @@ 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];
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
+ }
2685
2834
  /**
2686
2835
  *
2687
2836
  * @export
@@ -2856,6 +3005,38 @@ export interface DomainsV1TransferTransferResource {
2856
3005
  */
2857
3006
  'completed_at': string | null;
2858
3007
  }
3008
+ /**
3009
+ *
3010
+ * @export
3011
+ * @interface DomainsV1WHOISChangeUpdateRequest
3012
+ */
3013
+ export interface DomainsV1WHOISChangeUpdateRequest {
3014
+ /**
3015
+ * WHOIS profile ID to assign to the domain
3016
+ * @type {number}
3017
+ * @memberof DomainsV1WHOISChangeUpdateRequest
3018
+ */
3019
+ 'new_whois_id': number;
3020
+ /**
3021
+ * Domain name
3022
+ * @type {string}
3023
+ * @memberof DomainsV1WHOISChangeUpdateRequest
3024
+ */
3025
+ 'domain': string;
3026
+ /**
3027
+ * Contact roles to repoint to the new WHOIS profile
3028
+ * @type {Array<string>}
3029
+ * @memberof DomainsV1WHOISChangeUpdateRequest
3030
+ */
3031
+ 'change_for': Array<DomainsV1WHOISChangeUpdateRequestChangeForEnum>;
3032
+ }
3033
+ export declare const DomainsV1WHOISChangeUpdateRequestChangeForEnum: {
3034
+ readonly Owner: "owner";
3035
+ readonly Admin: "admin";
3036
+ readonly Billing: "billing";
3037
+ readonly Tech: "tech";
3038
+ };
3039
+ export type DomainsV1WHOISChangeUpdateRequestChangeForEnum = typeof DomainsV1WHOISChangeUpdateRequestChangeForEnum[keyof typeof DomainsV1WHOISChangeUpdateRequestChangeForEnum];
2859
3040
  /**
2860
3041
  *
2861
3042
  * @export
@@ -12546,6 +12727,300 @@ export declare class DomainsForwardingApi extends BaseAPI {
12546
12727
  */
12547
12728
  updateDomainForwardingV1(domain: string, domainsV1ForwardingUpdateRequest: DomainsV1ForwardingUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}, any>>;
12548
12729
  }
12730
+ /**
12731
+ * DomainsMoveApi - axios parameter creator
12732
+ * @export
12733
+ */
12734
+ export declare const DomainsMoveApiAxiosParamCreator: (configuration?: Configuration) => {
12735
+ /**
12736
+ * 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.
12737
+ * @summary Accept incoming domain move
12738
+ * @param {string} domain Domain name
12739
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
12740
+ * @param {*} [options] Override http request option.
12741
+ * @throws {RequiredError}
12742
+ */
12743
+ acceptIncomingDomainMoveV1: (domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12744
+ /**
12745
+ * 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.
12746
+ * @summary Cancel outgoing domain move
12747
+ * @param {string} domain Domain name
12748
+ * @param {*} [options] Override http request option.
12749
+ * @throws {RequiredError}
12750
+ */
12751
+ cancelOutgoingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12752
+ /**
12753
+ * 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.
12754
+ * @summary Get incoming domain move list
12755
+ * @param {*} [options] Override http request option.
12756
+ * @throws {RequiredError}
12757
+ */
12758
+ getIncomingDomainMoveListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12759
+ /**
12760
+ * 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.
12761
+ * @summary Get incoming domain move
12762
+ * @param {string} domain Domain name
12763
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the &#x60;activating&#x60; status.
12764
+ * @param {*} [options] Override http request option.
12765
+ * @throws {RequiredError}
12766
+ */
12767
+ getIncomingDomainMoveV1: (domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12768
+ /**
12769
+ * 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.
12770
+ * @summary Get outgoing domain move list
12771
+ * @param {*} [options] Override http request option.
12772
+ * @throws {RequiredError}
12773
+ */
12774
+ getOutgoingDomainMoveListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12775
+ /**
12776
+ * 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.
12777
+ * @summary Get outgoing domain move
12778
+ * @param {string} domain Domain name
12779
+ * @param {*} [options] Override http request option.
12780
+ * @throws {RequiredError}
12781
+ */
12782
+ getOutgoingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12783
+ /**
12784
+ * 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.
12785
+ * @summary Reject incoming domain move
12786
+ * @param {string} domain Domain name
12787
+ * @param {*} [options] Override http request option.
12788
+ * @throws {RequiredError}
12789
+ */
12790
+ rejectIncomingDomainMoveV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12791
+ /**
12792
+ * 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.
12793
+ * @summary Start outgoing domain move
12794
+ * @param {string} domain Domain name
12795
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
12796
+ * @param {*} [options] Override http request option.
12797
+ * @throws {RequiredError}
12798
+ */
12799
+ startOutgoingDomainMoveV1: (domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12800
+ };
12801
+ /**
12802
+ * DomainsMoveApi - functional programming interface
12803
+ * @export
12804
+ */
12805
+ export declare const DomainsMoveApiFp: (configuration?: Configuration) => {
12806
+ /**
12807
+ * 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.
12808
+ * @summary Accept incoming domain move
12809
+ * @param {string} domain Domain name
12810
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
12811
+ * @param {*} [options] Override http request option.
12812
+ * @throws {RequiredError}
12813
+ */
12814
+ acceptIncomingDomainMoveV1(domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12815
+ /**
12816
+ * 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.
12817
+ * @summary Cancel outgoing domain move
12818
+ * @param {string} domain Domain name
12819
+ * @param {*} [options] Override http request option.
12820
+ * @throws {RequiredError}
12821
+ */
12822
+ cancelOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12823
+ /**
12824
+ * 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.
12825
+ * @summary Get incoming domain move list
12826
+ * @param {*} [options] Override http request option.
12827
+ * @throws {RequiredError}
12828
+ */
12829
+ getIncomingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1MoveMoveResource>>>;
12830
+ /**
12831
+ * 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.
12832
+ * @summary Get incoming domain move
12833
+ * @param {string} domain Domain name
12834
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the &#x60;activating&#x60; status.
12835
+ * @param {*} [options] Override http request option.
12836
+ * @throws {RequiredError}
12837
+ */
12838
+ getIncomingDomainMoveV1(domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1MoveMoveResource>>;
12839
+ /**
12840
+ * 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.
12841
+ * @summary Get outgoing domain move list
12842
+ * @param {*} [options] Override http request option.
12843
+ * @throws {RequiredError}
12844
+ */
12845
+ getOutgoingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DomainsV1MoveMoveResource>>>;
12846
+ /**
12847
+ * 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.
12848
+ * @summary Get outgoing domain move
12849
+ * @param {string} domain Domain name
12850
+ * @param {*} [options] Override http request option.
12851
+ * @throws {RequiredError}
12852
+ */
12853
+ getOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1MoveMoveResource>>;
12854
+ /**
12855
+ * 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.
12856
+ * @summary Reject incoming domain move
12857
+ * @param {string} domain Domain name
12858
+ * @param {*} [options] Override http request option.
12859
+ * @throws {RequiredError}
12860
+ */
12861
+ rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12862
+ /**
12863
+ * 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.
12864
+ * @summary Start outgoing domain move
12865
+ * @param {string} domain Domain name
12866
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
12867
+ * @param {*} [options] Override http request option.
12868
+ * @throws {RequiredError}
12869
+ */
12870
+ startOutgoingDomainMoveV1(domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
12871
+ };
12872
+ /**
12873
+ * DomainsMoveApi - factory interface
12874
+ * @export
12875
+ */
12876
+ export declare const DomainsMoveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
12877
+ /**
12878
+ * 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.
12879
+ * @summary Accept incoming domain move
12880
+ * @param {string} domain Domain name
12881
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
12882
+ * @param {*} [options] Override http request option.
12883
+ * @throws {RequiredError}
12884
+ */
12885
+ acceptIncomingDomainMoveV1(domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12886
+ /**
12887
+ * 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.
12888
+ * @summary Cancel outgoing domain move
12889
+ * @param {string} domain Domain name
12890
+ * @param {*} [options] Override http request option.
12891
+ * @throws {RequiredError}
12892
+ */
12893
+ cancelOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12894
+ /**
12895
+ * 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.
12896
+ * @summary Get incoming domain move list
12897
+ * @param {*} [options] Override http request option.
12898
+ * @throws {RequiredError}
12899
+ */
12900
+ getIncomingDomainMoveListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1MoveMoveResource>>;
12901
+ /**
12902
+ * 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.
12903
+ * @summary Get incoming domain move
12904
+ * @param {string} domain Domain name
12905
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the &#x60;activating&#x60; status.
12906
+ * @param {*} [options] Override http request option.
12907
+ * @throws {RequiredError}
12908
+ */
12909
+ getIncomingDomainMoveV1(domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1MoveMoveResource>;
12910
+ /**
12911
+ * 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.
12912
+ * @summary Get outgoing domain move list
12913
+ * @param {*} [options] Override http request option.
12914
+ * @throws {RequiredError}
12915
+ */
12916
+ getOutgoingDomainMoveListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<DomainsV1MoveMoveResource>>;
12917
+ /**
12918
+ * 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.
12919
+ * @summary Get outgoing domain move
12920
+ * @param {string} domain Domain name
12921
+ * @param {*} [options] Override http request option.
12922
+ * @throws {RequiredError}
12923
+ */
12924
+ getOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1MoveMoveResource>;
12925
+ /**
12926
+ * 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.
12927
+ * @summary Reject incoming domain move
12928
+ * @param {string} domain Domain name
12929
+ * @param {*} [options] Override http request option.
12930
+ * @throws {RequiredError}
12931
+ */
12932
+ rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12933
+ /**
12934
+ * 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.
12935
+ * @summary Start outgoing domain move
12936
+ * @param {string} domain Domain name
12937
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
12938
+ * @param {*} [options] Override http request option.
12939
+ * @throws {RequiredError}
12940
+ */
12941
+ startOutgoingDomainMoveV1(domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
12942
+ };
12943
+ /**
12944
+ * DomainsMoveApi - object-oriented interface
12945
+ * @export
12946
+ * @class DomainsMoveApi
12947
+ * @extends {BaseAPI}
12948
+ */
12949
+ export declare class DomainsMoveApi extends BaseAPI {
12950
+ /**
12951
+ * 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.
12952
+ * @summary Accept incoming domain move
12953
+ * @param {string} domain Domain name
12954
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
12955
+ * @param {*} [options] Override http request option.
12956
+ * @throws {RequiredError}
12957
+ * @memberof DomainsMoveApi
12958
+ */
12959
+ acceptIncomingDomainMoveV1(domain: string, domainsV1MoveIncomingUpdateRequest: DomainsV1MoveIncomingUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
12960
+ /**
12961
+ * 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.
12962
+ * @summary Cancel outgoing domain move
12963
+ * @param {string} domain Domain name
12964
+ * @param {*} [options] Override http request option.
12965
+ * @throws {RequiredError}
12966
+ * @memberof DomainsMoveApi
12967
+ */
12968
+ cancelOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
12969
+ /**
12970
+ * 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.
12971
+ * @summary Get incoming domain move list
12972
+ * @param {*} [options] Override http request option.
12973
+ * @throws {RequiredError}
12974
+ * @memberof DomainsMoveApi
12975
+ */
12976
+ getIncomingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource[], any, {}, any>>;
12977
+ /**
12978
+ * 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.
12979
+ * @summary Get incoming domain move
12980
+ * @param {string} domain Domain name
12981
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the &#x60;activating&#x60; status.
12982
+ * @param {*} [options] Override http request option.
12983
+ * @throws {RequiredError}
12984
+ * @memberof DomainsMoveApi
12985
+ */
12986
+ getIncomingDomainMoveV1(domain: string, forceSync?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource, any, {}, any>>;
12987
+ /**
12988
+ * 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.
12989
+ * @summary Get outgoing domain move list
12990
+ * @param {*} [options] Override http request option.
12991
+ * @throws {RequiredError}
12992
+ * @memberof DomainsMoveApi
12993
+ */
12994
+ getOutgoingDomainMoveListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource[], any, {}, any>>;
12995
+ /**
12996
+ * 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.
12997
+ * @summary Get outgoing domain move
12998
+ * @param {string} domain Domain name
12999
+ * @param {*} [options] Override http request option.
13000
+ * @throws {RequiredError}
13001
+ * @memberof DomainsMoveApi
13002
+ */
13003
+ getOutgoingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1MoveMoveResource, any, {}, any>>;
13004
+ /**
13005
+ * 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.
13006
+ * @summary Reject incoming domain move
13007
+ * @param {string} domain Domain name
13008
+ * @param {*} [options] Override http request option.
13009
+ * @throws {RequiredError}
13010
+ * @memberof DomainsMoveApi
13011
+ */
13012
+ rejectIncomingDomainMoveV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
13013
+ /**
13014
+ * 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.
13015
+ * @summary Start outgoing domain move
13016
+ * @param {string} domain Domain name
13017
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
13018
+ * @param {*} [options] Override http request option.
13019
+ * @throws {RequiredError}
13020
+ * @memberof DomainsMoveApi
13021
+ */
13022
+ startOutgoingDomainMoveV1(domain: string, domainsV1MoveOutgoingStoreRequest: DomainsV1MoveOutgoingStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
13023
+ }
12549
13024
  /**
12550
13025
  * DomainsPortfolioApi - axios parameter creator
12551
13026
  * @export
@@ -12995,6 +13470,22 @@ export declare class DomainsTransferApi extends BaseAPI {
12995
13470
  * @export
12996
13471
  */
12997
13472
  export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configuration) => {
13473
+ /**
13474
+ * 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.
13475
+ * @summary Cancel pending IRTP verification
13476
+ * @param {string} domain Domain name
13477
+ * @param {*} [options] Override http request option.
13478
+ * @throws {RequiredError}
13479
+ */
13480
+ cancelPendingIRTPVerificationV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13481
+ /**
13482
+ * 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.
13483
+ * @summary Change WHOIS profile for domain
13484
+ * @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
13485
+ * @param {*} [options] Override http request option.
13486
+ * @throws {RequiredError}
13487
+ */
13488
+ changeWHOISProfileForDomainV1: (domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12998
13489
  /**
12999
13490
  * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
13000
13491
  * @summary Create WHOIS profile
@@ -13011,6 +13502,14 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
13011
13502
  * @throws {RequiredError}
13012
13503
  */
13013
13504
  deleteWHOISProfileV1: (whoisId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13505
+ /**
13506
+ * 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.
13507
+ * @summary Get pending IRTP verification
13508
+ * @param {string} domain Domain name
13509
+ * @param {*} [options] Override http request option.
13510
+ * @throws {RequiredError}
13511
+ */
13512
+ getPendingIRTPVerificationV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13014
13513
  /**
13015
13514
  * Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
13016
13515
  * @summary Get WHOIS profile list
@@ -13057,6 +13556,22 @@ export declare const DomainsWHOISApiAxiosParamCreator: (configuration?: Configur
13057
13556
  * @export
13058
13557
  */
13059
13558
  export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
13559
+ /**
13560
+ * 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.
13561
+ * @summary Cancel pending IRTP verification
13562
+ * @param {string} domain Domain name
13563
+ * @param {*} [options] Override http request option.
13564
+ * @throws {RequiredError}
13565
+ */
13566
+ cancelPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13567
+ /**
13568
+ * 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.
13569
+ * @summary Change WHOIS profile for domain
13570
+ * @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
13571
+ * @param {*} [options] Override http request option.
13572
+ * @throws {RequiredError}
13573
+ */
13574
+ changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13060
13575
  /**
13061
13576
  * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
13062
13577
  * @summary Create WHOIS profile
@@ -13073,6 +13588,14 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
13073
13588
  * @throws {RequiredError}
13074
13589
  */
13075
13590
  deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
13591
+ /**
13592
+ * 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.
13593
+ * @summary Get pending IRTP verification
13594
+ * @param {string} domain Domain name
13595
+ * @param {*} [options] Override http request option.
13596
+ * @throws {RequiredError}
13597
+ */
13598
+ getPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1IRTPVerificationResource>>;
13076
13599
  /**
13077
13600
  * Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
13078
13601
  * @summary Get WHOIS profile list
@@ -13119,6 +13642,22 @@ export declare const DomainsWHOISApiFp: (configuration?: Configuration) => {
13119
13642
  * @export
13120
13643
  */
13121
13644
  export declare const DomainsWHOISApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
13645
+ /**
13646
+ * 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.
13647
+ * @summary Cancel pending IRTP verification
13648
+ * @param {string} domain Domain name
13649
+ * @param {*} [options] Override http request option.
13650
+ * @throws {RequiredError}
13651
+ */
13652
+ cancelPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13653
+ /**
13654
+ * 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.
13655
+ * @summary Change WHOIS profile for domain
13656
+ * @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
13657
+ * @param {*} [options] Override http request option.
13658
+ * @throws {RequiredError}
13659
+ */
13660
+ changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13122
13661
  /**
13123
13662
  * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
13124
13663
  * @summary Create WHOIS profile
@@ -13135,6 +13674,14 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
13135
13674
  * @throws {RequiredError}
13136
13675
  */
13137
13676
  deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
13677
+ /**
13678
+ * 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.
13679
+ * @summary Get pending IRTP verification
13680
+ * @param {string} domain Domain name
13681
+ * @param {*} [options] Override http request option.
13682
+ * @throws {RequiredError}
13683
+ */
13684
+ getPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1IRTPVerificationResource>;
13138
13685
  /**
13139
13686
  * Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
13140
13687
  * @summary Get WHOIS profile list
@@ -13183,6 +13730,24 @@ export declare const DomainsWHOISApiFactory: (configuration?: Configuration, bas
13183
13730
  * @extends {BaseAPI}
13184
13731
  */
13185
13732
  export declare class DomainsWHOISApi extends BaseAPI {
13733
+ /**
13734
+ * 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.
13735
+ * @summary Cancel pending IRTP verification
13736
+ * @param {string} domain Domain name
13737
+ * @param {*} [options] Override http request option.
13738
+ * @throws {RequiredError}
13739
+ * @memberof DomainsWHOISApi
13740
+ */
13741
+ cancelPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
13742
+ /**
13743
+ * 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.
13744
+ * @summary Change WHOIS profile for domain
13745
+ * @param {DomainsV1WHOISChangeUpdateRequest} domainsV1WHOISChangeUpdateRequest
13746
+ * @param {*} [options] Override http request option.
13747
+ * @throws {RequiredError}
13748
+ * @memberof DomainsWHOISApi
13749
+ */
13750
+ changeWHOISProfileForDomainV1(domainsV1WHOISChangeUpdateRequest: DomainsV1WHOISChangeUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
13186
13751
  /**
13187
13752
  * Create WHOIS contact profile. Use this endpoint to add new contact information for domain registration.
13188
13753
  * @summary Create WHOIS profile
@@ -13201,6 +13766,15 @@ export declare class DomainsWHOISApi extends BaseAPI {
13201
13766
  * @memberof DomainsWHOISApi
13202
13767
  */
13203
13768
  deleteWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
13769
+ /**
13770
+ * 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.
13771
+ * @summary Get pending IRTP verification
13772
+ * @param {string} domain Domain name
13773
+ * @param {*} [options] Override http request option.
13774
+ * @throws {RequiredError}
13775
+ * @memberof DomainsWHOISApi
13776
+ */
13777
+ getPendingIRTPVerificationV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1IRTPVerificationResource, any, {}, any>>;
13204
13778
  /**
13205
13779
  * Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
13206
13780
  * @summary Get WHOIS profile list