hostinger-api-sdk 1.24.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/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.25.0
6
+ * API Version: 1.26.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.25.0
6
+ * API Version: 1.26.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.25.0
6
+ * API Version: 1.26.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -48,7 +48,7 @@ export class Configuration {
48
48
  this.baseOptions = {
49
49
  ...param.baseOptions,
50
50
  headers: {
51
- 'User-Agent': "hostinger-typescript-sdk/1.24.0",
51
+ 'User-Agent': "hostinger-typescript-sdk/1.25.0",
52
52
  ...param.baseOptions?.headers,
53
53
  },
54
54
  };
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.25.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
@@ -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
@@ -12633,6 +12727,300 @@ export declare class DomainsForwardingApi extends BaseAPI {
12633
12727
  */
12634
12728
  updateDomainForwardingV1(domain: string, domainsV1ForwardingUpdateRequest: DomainsV1ForwardingUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1ForwardingForwardingResource, any, {}, any>>;
12635
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
+ }
12636
13024
  /**
12637
13025
  * DomainsPortfolioApi - axios parameter creator
12638
13026
  * @export