@hostinger/sdk 1.49.4 → 1.50.1
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 +61 -17
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +58 -17
- package/dist/api.js +31 -28
- 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 +58 -17
- package/dist/esm/api.js +20 -17
- 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/BillingOrdersApi.md +2 -1
- package/docs/BillingSubscriptionsApi.md +2 -1
- package/docs/BillingV1OrderPaymentProcessingResource.md +26 -0
- package/docs/DomainsPortfolioApi.md +2 -1
- package/docs/DomainsV1WHOISProfileResource.md +2 -0
- package/docs/VPSVirtualMachineApi.md +2 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@1.
|
|
1
|
+
## @hostinger/sdk@1.50.1
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@1.
|
|
8
|
+
npm install @hostinger/sdk@1.50.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.50.1
|
|
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
|
|
@@ -2202,6 +2202,44 @@ export const BillingV1OrderOrderResourceStatusEnum = {
|
|
|
2202
2202
|
|
|
2203
2203
|
export type BillingV1OrderOrderResourceStatusEnum = typeof BillingV1OrderOrderResourceStatusEnum[keyof typeof BillingV1OrderOrderResourceStatusEnum];
|
|
2204
2204
|
|
|
2205
|
+
/**
|
|
2206
|
+
*
|
|
2207
|
+
* @export
|
|
2208
|
+
* @interface BillingV1OrderPaymentProcessingResource
|
|
2209
|
+
*/
|
|
2210
|
+
export interface BillingV1OrderPaymentProcessingResource {
|
|
2211
|
+
/**
|
|
2212
|
+
* Order ID
|
|
2213
|
+
* @type {number}
|
|
2214
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2215
|
+
*/
|
|
2216
|
+
'id': number;
|
|
2217
|
+
/**
|
|
2218
|
+
* Subscription ID, use it to find the product once the order completes
|
|
2219
|
+
* @type {string}
|
|
2220
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2221
|
+
*/
|
|
2222
|
+
'subscription_id': string | null;
|
|
2223
|
+
/**
|
|
2224
|
+
*
|
|
2225
|
+
* @type {string}
|
|
2226
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2227
|
+
*/
|
|
2228
|
+
'status': BillingV1OrderPaymentProcessingResourceStatusEnum;
|
|
2229
|
+
/**
|
|
2230
|
+
* Explanation of what happens next
|
|
2231
|
+
* @type {string}
|
|
2232
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2233
|
+
*/
|
|
2234
|
+
'message': string;
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
export const BillingV1OrderPaymentProcessingResourceStatusEnum = {
|
|
2238
|
+
PaymentInitiated: 'payment_initiated'
|
|
2239
|
+
} as const;
|
|
2240
|
+
|
|
2241
|
+
export type BillingV1OrderPaymentProcessingResourceStatusEnum = typeof BillingV1OrderPaymentProcessingResourceStatusEnum[keyof typeof BillingV1OrderPaymentProcessingResourceStatusEnum];
|
|
2242
|
+
|
|
2205
2243
|
/**
|
|
2206
2244
|
*
|
|
2207
2245
|
* @export
|
|
@@ -3841,6 +3879,12 @@ export interface DomainsV1WHOISProfileResource {
|
|
|
3841
3879
|
* @memberof DomainsV1WHOISProfileResource
|
|
3842
3880
|
*/
|
|
3843
3881
|
'entity_type': DomainsV1WHOISProfileResourceEntityTypeEnum;
|
|
3882
|
+
/**
|
|
3883
|
+
* Whether the profile is pre-selected when registering new domains of its TLD
|
|
3884
|
+
* @type {boolean}
|
|
3885
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
3886
|
+
*/
|
|
3887
|
+
'is_default': boolean;
|
|
3844
3888
|
/**
|
|
3845
3889
|
* WHOIS profile details
|
|
3846
3890
|
* @type {object}
|
|
@@ -19993,7 +20037,7 @@ export type GetCatalogItemListV1CategoryEnum = typeof GetCatalogItemListV1Catego
|
|
|
19993
20037
|
export const BillingOrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19994
20038
|
return {
|
|
19995
20039
|
/**
|
|
19996
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
20040
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
19997
20041
|
* @summary Create purchase order
|
|
19998
20042
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
19999
20043
|
* @param {*} [options] Override http request option.
|
|
@@ -20043,7 +20087,7 @@ export const BillingOrdersApiFp = function(configuration?: Configuration) {
|
|
|
20043
20087
|
const localVarAxiosParamCreator = BillingOrdersApiAxiosParamCreator(configuration)
|
|
20044
20088
|
return {
|
|
20045
20089
|
/**
|
|
20046
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
20090
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
20047
20091
|
* @summary Create purchase order
|
|
20048
20092
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
20049
20093
|
* @param {*} [options] Override http request option.
|
|
@@ -20065,7 +20109,7 @@ export const BillingOrdersApiFactory = function (configuration?: Configuration,
|
|
|
20065
20109
|
const localVarFp = BillingOrdersApiFp(configuration)
|
|
20066
20110
|
return {
|
|
20067
20111
|
/**
|
|
20068
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
20112
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
20069
20113
|
* @summary Create purchase order
|
|
20070
20114
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
20071
20115
|
* @param {*} [options] Override http request option.
|
|
@@ -20085,7 +20129,7 @@ export const BillingOrdersApiFactory = function (configuration?: Configuration,
|
|
|
20085
20129
|
*/
|
|
20086
20130
|
export class BillingOrdersApi extends BaseAPI {
|
|
20087
20131
|
/**
|
|
20088
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
20132
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
20089
20133
|
* @summary Create purchase order
|
|
20090
20134
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
20091
20135
|
* @param {*} [options] Override http request option.
|
|
@@ -20464,7 +20508,7 @@ export const BillingSubscriptionsApiAxiosParamCreator = function (configuration?
|
|
|
20464
20508
|
};
|
|
20465
20509
|
},
|
|
20466
20510
|
/**
|
|
20467
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
20511
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
20468
20512
|
* @summary Renew subscription
|
|
20469
20513
|
* @param {string} subscriptionId Subscription ID
|
|
20470
20514
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -20551,7 +20595,7 @@ export const BillingSubscriptionsApiFp = function(configuration?: Configuration)
|
|
|
20551
20595
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20552
20596
|
},
|
|
20553
20597
|
/**
|
|
20554
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
20598
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
20555
20599
|
* @summary Renew subscription
|
|
20556
20600
|
* @param {string} subscriptionId Subscription ID
|
|
20557
20601
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -20603,7 +20647,7 @@ export const BillingSubscriptionsApiFactory = function (configuration?: Configur
|
|
|
20603
20647
|
return localVarFp.getSubscriptionListV1(options).then((request) => request(axios, basePath));
|
|
20604
20648
|
},
|
|
20605
20649
|
/**
|
|
20606
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
20650
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
20607
20651
|
* @summary Renew subscription
|
|
20608
20652
|
* @param {string} subscriptionId Subscription ID
|
|
20609
20653
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -20659,7 +20703,7 @@ export class BillingSubscriptionsApi extends BaseAPI {
|
|
|
20659
20703
|
}
|
|
20660
20704
|
|
|
20661
20705
|
/**
|
|
20662
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
20706
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
20663
20707
|
* @summary Renew subscription
|
|
20664
20708
|
* @param {string} subscriptionId Subscription ID
|
|
20665
20709
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -23064,7 +23108,7 @@ export const DomainsPortfolioApiAxiosParamCreator = function (configuration?: Co
|
|
|
23064
23108
|
};
|
|
23065
23109
|
},
|
|
23066
23110
|
/**
|
|
23067
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23111
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23068
23112
|
* @summary Purchase new domain
|
|
23069
23113
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
23070
23114
|
* @param {*} [options] Override http request option.
|
|
@@ -23265,7 +23309,7 @@ export const DomainsPortfolioApiFp = function(configuration?: Configuration) {
|
|
|
23265
23309
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23266
23310
|
},
|
|
23267
23311
|
/**
|
|
23268
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23312
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23269
23313
|
* @summary Purchase new domain
|
|
23270
23314
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
23271
23315
|
* @param {*} [options] Override http request option.
|
|
@@ -23389,7 +23433,7 @@ export const DomainsPortfolioApiFactory = function (configuration?: Configuratio
|
|
|
23389
23433
|
return localVarFp.getDomainRenewalInformationV1(domain, options).then((request) => request(axios, basePath));
|
|
23390
23434
|
},
|
|
23391
23435
|
/**
|
|
23392
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23436
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23393
23437
|
* @summary Purchase new domain
|
|
23394
23438
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
23395
23439
|
* @param {*} [options] Override http request option.
|
|
@@ -23527,7 +23571,7 @@ export class DomainsPortfolioApi extends BaseAPI {
|
|
|
23527
23571
|
}
|
|
23528
23572
|
|
|
23529
23573
|
/**
|
|
23530
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23574
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
23531
23575
|
* @summary Purchase new domain
|
|
23532
23576
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
23533
23577
|
* @param {*} [options] Override http request option.
|
|
@@ -46226,7 +46270,7 @@ export const VPSVirtualMachineApiAxiosParamCreator = function (configuration?: C
|
|
|
46226
46270
|
};
|
|
46227
46271
|
},
|
|
46228
46272
|
/**
|
|
46229
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
46273
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
46230
46274
|
* @summary Purchase new virtual machine
|
|
46231
46275
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
46232
46276
|
* @param {*} [options] Override http request option.
|
|
@@ -46742,7 +46786,7 @@ export const VPSVirtualMachineApiFp = function(configuration?: Configuration) {
|
|
|
46742
46786
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
46743
46787
|
},
|
|
46744
46788
|
/**
|
|
46745
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
46789
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
46746
46790
|
* @summary Purchase new virtual machine
|
|
46747
46791
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
46748
46792
|
* @param {*} [options] Override http request option.
|
|
@@ -46932,7 +46976,7 @@ export const VPSVirtualMachineApiFactory = function (configuration?: Configurati
|
|
|
46932
46976
|
return localVarFp.getVirtualMachinesV1(options).then((request) => request(axios, basePath));
|
|
46933
46977
|
},
|
|
46934
46978
|
/**
|
|
46935
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
46979
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
46936
46980
|
* @summary Purchase new virtual machine
|
|
46937
46981
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
46938
46982
|
* @param {*} [options] Override http request option.
|
|
@@ -47108,7 +47152,7 @@ export class VPSVirtualMachineApi extends BaseAPI {
|
|
|
47108
47152
|
}
|
|
47109
47153
|
|
|
47110
47154
|
/**
|
|
47111
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
47155
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
47112
47156
|
* @summary Purchase new virtual machine
|
|
47113
47157
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
47114
47158
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.50.1
|
|
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.
|
|
6
|
+
* API Version: 1.50.1
|
|
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.
|
|
6
|
+
* API Version: 1.50.1
|
|
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.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/1.50.1",
|
|
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.
|
|
4
|
+
* API Version: 1.50.1
|
|
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
|
|
@@ -2157,6 +2157,41 @@ export declare const BillingV1OrderOrderResourceStatusEnum: {
|
|
|
2157
2157
|
readonly FraudRefund: "fraud_refund";
|
|
2158
2158
|
};
|
|
2159
2159
|
export type BillingV1OrderOrderResourceStatusEnum = typeof BillingV1OrderOrderResourceStatusEnum[keyof typeof BillingV1OrderOrderResourceStatusEnum];
|
|
2160
|
+
/**
|
|
2161
|
+
*
|
|
2162
|
+
* @export
|
|
2163
|
+
* @interface BillingV1OrderPaymentProcessingResource
|
|
2164
|
+
*/
|
|
2165
|
+
export interface BillingV1OrderPaymentProcessingResource {
|
|
2166
|
+
/**
|
|
2167
|
+
* Order ID
|
|
2168
|
+
* @type {number}
|
|
2169
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2170
|
+
*/
|
|
2171
|
+
'id': number;
|
|
2172
|
+
/**
|
|
2173
|
+
* Subscription ID, use it to find the product once the order completes
|
|
2174
|
+
* @type {string}
|
|
2175
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2176
|
+
*/
|
|
2177
|
+
'subscription_id': string | null;
|
|
2178
|
+
/**
|
|
2179
|
+
*
|
|
2180
|
+
* @type {string}
|
|
2181
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2182
|
+
*/
|
|
2183
|
+
'status': BillingV1OrderPaymentProcessingResourceStatusEnum;
|
|
2184
|
+
/**
|
|
2185
|
+
* Explanation of what happens next
|
|
2186
|
+
* @type {string}
|
|
2187
|
+
* @memberof BillingV1OrderPaymentProcessingResource
|
|
2188
|
+
*/
|
|
2189
|
+
'message': string;
|
|
2190
|
+
}
|
|
2191
|
+
export declare const BillingV1OrderPaymentProcessingResourceStatusEnum: {
|
|
2192
|
+
readonly PaymentInitiated: "payment_initiated";
|
|
2193
|
+
};
|
|
2194
|
+
export type BillingV1OrderPaymentProcessingResourceStatusEnum = typeof BillingV1OrderPaymentProcessingResourceStatusEnum[keyof typeof BillingV1OrderPaymentProcessingResourceStatusEnum];
|
|
2160
2195
|
/**
|
|
2161
2196
|
*
|
|
2162
2197
|
* @export
|
|
@@ -3752,6 +3787,12 @@ export interface DomainsV1WHOISProfileResource {
|
|
|
3752
3787
|
* @memberof DomainsV1WHOISProfileResource
|
|
3753
3788
|
*/
|
|
3754
3789
|
'entity_type': DomainsV1WHOISProfileResourceEntityTypeEnum;
|
|
3790
|
+
/**
|
|
3791
|
+
* Whether the profile is pre-selected when registering new domains of its TLD
|
|
3792
|
+
* @type {boolean}
|
|
3793
|
+
* @memberof DomainsV1WHOISProfileResource
|
|
3794
|
+
*/
|
|
3795
|
+
'is_default': boolean;
|
|
3755
3796
|
/**
|
|
3756
3797
|
* WHOIS profile details
|
|
3757
3798
|
* @type {object}
|
|
@@ -17862,7 +17903,7 @@ export type GetCatalogItemListV1CategoryEnum = typeof GetCatalogItemListV1Catego
|
|
|
17862
17903
|
*/
|
|
17863
17904
|
export declare const BillingOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
17864
17905
|
/**
|
|
17865
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17906
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17866
17907
|
* @summary Create purchase order
|
|
17867
17908
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
17868
17909
|
* @param {*} [options] Override http request option.
|
|
@@ -17876,7 +17917,7 @@ export declare const BillingOrdersApiAxiosParamCreator: (configuration?: Configu
|
|
|
17876
17917
|
*/
|
|
17877
17918
|
export declare const BillingOrdersApiFp: (configuration?: Configuration) => {
|
|
17878
17919
|
/**
|
|
17879
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17920
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17880
17921
|
* @summary Create purchase order
|
|
17881
17922
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
17882
17923
|
* @param {*} [options] Override http request option.
|
|
@@ -17890,7 +17931,7 @@ export declare const BillingOrdersApiFp: (configuration?: Configuration) => {
|
|
|
17890
17931
|
*/
|
|
17891
17932
|
export declare const BillingOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
17892
17933
|
/**
|
|
17893
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17934
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17894
17935
|
* @summary Create purchase order
|
|
17895
17936
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
17896
17937
|
* @param {*} [options] Override http request option.
|
|
@@ -17906,7 +17947,7 @@ export declare const BillingOrdersApiFactory: (configuration?: Configuration, ba
|
|
|
17906
17947
|
*/
|
|
17907
17948
|
export declare class BillingOrdersApi extends BaseAPI {
|
|
17908
17949
|
/**
|
|
17909
|
-
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17950
|
+
* Create a purchase order for any Hostinger product. This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the [catalog endpoint](#tag/billing-catalog) to look up the `item_id` values available for purchase. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the order will complete asynchronously once the payment is confirmed. This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or [hPanel](https://hpanel.hostinger.com/) to finalize setup. Use this endpoint to purchase any product available in the catalog.
|
|
17910
17951
|
* @summary Create purchase order
|
|
17911
17952
|
* @param {BillingV1OrderPurchaseRequest} billingV1OrderPurchaseRequest
|
|
17912
17953
|
* @param {*} [options] Override http request option.
|
|
@@ -18065,7 +18106,7 @@ export declare const BillingSubscriptionsApiAxiosParamCreator: (configuration?:
|
|
|
18065
18106
|
*/
|
|
18066
18107
|
getSubscriptionListV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
18067
18108
|
/**
|
|
18068
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
18109
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
18069
18110
|
* @summary Renew subscription
|
|
18070
18111
|
* @param {string} subscriptionId Subscription ID
|
|
18071
18112
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -18103,7 +18144,7 @@ export declare const BillingSubscriptionsApiFp: (configuration?: Configuration)
|
|
|
18103
18144
|
*/
|
|
18104
18145
|
getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BillingV1SubscriptionSubscriptionResource>>>;
|
|
18105
18146
|
/**
|
|
18106
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
18147
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
18107
18148
|
* @summary Renew subscription
|
|
18108
18149
|
* @param {string} subscriptionId Subscription ID
|
|
18109
18150
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -18141,7 +18182,7 @@ export declare const BillingSubscriptionsApiFactory: (configuration?: Configurat
|
|
|
18141
18182
|
*/
|
|
18142
18183
|
getSubscriptionListV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<BillingV1SubscriptionSubscriptionResource>>;
|
|
18143
18184
|
/**
|
|
18144
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
18185
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
18145
18186
|
* @summary Renew subscription
|
|
18146
18187
|
* @param {string} subscriptionId Subscription ID
|
|
18147
18188
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -18184,7 +18225,7 @@ export declare class BillingSubscriptionsApi extends BaseAPI {
|
|
|
18184
18225
|
*/
|
|
18185
18226
|
getSubscriptionListV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingV1SubscriptionSubscriptionResource[], any, {}, any>>;
|
|
18186
18227
|
/**
|
|
18187
|
-
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to renew any subscription available in your account.
|
|
18228
|
+
* Create a renewal order for an existing Hostinger subscription. This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the [subscriptions endpoint](#tag/billing-subscriptions) to look up the `subscriptionId` values available for renewal. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the renewal will complete asynchronously once the payment is confirmed. Use this endpoint to renew any subscription available in your account.
|
|
18188
18229
|
* @summary Renew subscription
|
|
18189
18230
|
* @param {string} subscriptionId Subscription ID
|
|
18190
18231
|
* @param {BillingV1SubscriptionRenewalRenewRequest} [billingV1SubscriptionRenewalRenewRequest]
|
|
@@ -19251,7 +19292,7 @@ export declare const DomainsPortfolioApiAxiosParamCreator: (configuration?: Conf
|
|
|
19251
19292
|
*/
|
|
19252
19293
|
getDomainRenewalInformationV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19253
19294
|
/**
|
|
19254
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19295
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19255
19296
|
* @summary Purchase new domain
|
|
19256
19297
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
19257
19298
|
* @param {*} [options] Override http request option.
|
|
@@ -19345,7 +19386,7 @@ export declare const DomainsPortfolioApiFp: (configuration?: Configuration) => {
|
|
|
19345
19386
|
*/
|
|
19346
19387
|
getDomainRenewalInformationV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DomainsV1PortfolioRenewalRenewalInformationResource>>;
|
|
19347
19388
|
/**
|
|
19348
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19389
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19349
19390
|
* @summary Purchase new domain
|
|
19350
19391
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
19351
19392
|
* @param {*} [options] Override http request option.
|
|
@@ -19439,7 +19480,7 @@ export declare const DomainsPortfolioApiFactory: (configuration?: Configuration,
|
|
|
19439
19480
|
*/
|
|
19440
19481
|
getDomainRenewalInformationV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<DomainsV1PortfolioRenewalRenewalInformationResource>;
|
|
19441
19482
|
/**
|
|
19442
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19483
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19443
19484
|
* @summary Purchase new domain
|
|
19444
19485
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
19445
19486
|
* @param {*} [options] Override http request option.
|
|
@@ -19544,7 +19585,7 @@ export declare class DomainsPortfolioApi extends BaseAPI {
|
|
|
19544
19585
|
*/
|
|
19545
19586
|
getDomainRenewalInformationV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1PortfolioRenewalRenewalInformationResource, any, {}, any>>;
|
|
19546
19587
|
/**
|
|
19547
|
-
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19588
|
+
* Purchase and register a new domain name. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the domain was **not** registered. Once the order completes, register the domain from [hPanel](https://hpanel.hostinger.com/). 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 completing purchase. Use this endpoint to register new domains for users.
|
|
19548
19589
|
* @summary Purchase new domain
|
|
19549
19590
|
* @param {DomainsV1PortfolioPurchaseRequest} domainsV1PortfolioPurchaseRequest
|
|
19550
19591
|
* @param {*} [options] Override http request option.
|
|
@@ -30609,7 +30650,7 @@ export declare const VPSVirtualMachineApiAxiosParamCreator: (configuration?: Con
|
|
|
30609
30650
|
*/
|
|
30610
30651
|
getVirtualMachinesV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30611
30652
|
/**
|
|
30612
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
30653
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
30613
30654
|
* @summary Purchase new virtual machine
|
|
30614
30655
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
30615
30656
|
* @param {*} [options] Override http request option.
|
|
@@ -30743,7 +30784,7 @@ export declare const VPSVirtualMachineApiFp: (configuration?: Configuration) =>
|
|
|
30743
30784
|
*/
|
|
30744
30785
|
getVirtualMachinesV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VPSV1VirtualMachineVirtualMachineResource>>>;
|
|
30745
30786
|
/**
|
|
30746
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
30787
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
30747
30788
|
* @summary Purchase new virtual machine
|
|
30748
30789
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
30749
30790
|
* @param {*} [options] Override http request option.
|
|
@@ -30877,7 +30918,7 @@ export declare const VPSVirtualMachineApiFactory: (configuration?: Configuration
|
|
|
30877
30918
|
*/
|
|
30878
30919
|
getVirtualMachinesV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<VPSV1VirtualMachineVirtualMachineResource>>;
|
|
30879
30920
|
/**
|
|
30880
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
30921
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
30881
30922
|
* @summary Purchase new virtual machine
|
|
30882
30923
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
30883
30924
|
* @param {*} [options] Override http request option.
|
|
@@ -31017,7 +31058,7 @@ export declare class VPSVirtualMachineApi extends BaseAPI {
|
|
|
31017
31058
|
*/
|
|
31018
31059
|
getVirtualMachinesV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VPSV1VirtualMachineVirtualMachineResource[], any, {}, any>>;
|
|
31019
31060
|
/**
|
|
31020
|
-
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. Use this endpoint to create new VPS instances.
|
|
31061
|
+
* Purchase and setup a new virtual machine. If virtual machine setup fails for any reason, login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. If no payment method is provided, your default payment method will be used automatically. If the response is `202 Accepted`, the payment is still being processed and the virtual machine was not set up. Login to [hPanel](https://hpanel.hostinger.com/) and complete the setup manually. Use this endpoint to create new VPS instances.
|
|
31021
31062
|
* @summary Purchase new virtual machine
|
|
31022
31063
|
* @param {VPSV1VirtualMachinePurchaseRequest} vPSV1VirtualMachinePurchaseRequest
|
|
31023
31064
|
* @param {*} [options] Override http request option.
|