hostinger-api-sdk 1.34.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +771 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +514 -1
- package/dist/api.js +510 -9
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +514 -1
- package/dist/esm/api.js +494 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgencyHostingMetricsApi.md +123 -0
- package/docs/AgencyHostingV1OrdersDiskUsageMetricsLimitsResource.md +22 -0
- package/docs/AgencyHostingV1OrdersDiskUsageMetricsMetricResource.md +24 -0
- package/docs/AgencyHostingV1OrdersDiskUsageMetricsMetricsResource.md +22 -0
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsLimitsResource.md +24 -0
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsMetricResource.md +26 -0
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsMetricsResource.md +24 -0
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsWebsiteResource.md +24 -0
- package/docs/HostingListWebsiteRedirectsV1200Response.md +22 -0
- package/docs/HostingRedirectsApi.md +193 -0
- package/docs/HostingV1RedirectsCreateRedirectRequest.md +22 -0
- package/docs/HostingV1RedirectsDeleteRedirectRequest.md +20 -0
- package/docs/HostingV1RedirectsRedirectResource.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.38.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
|
|
@@ -2170,6 +2170,209 @@ export class AgencyHostingFilesApi extends BaseAPI {
|
|
|
2170
2170
|
return AgencyHostingFilesApiFp(this.configuration).importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2171
2171
|
}
|
|
2172
2172
|
}
|
|
2173
|
+
/**
|
|
2174
|
+
* AgencyHostingMetricsApi - axios parameter creator
|
|
2175
|
+
* @export
|
|
2176
|
+
*/
|
|
2177
|
+
export const AgencyHostingMetricsApiAxiosParamCreator = function (configuration) {
|
|
2178
|
+
return {
|
|
2179
|
+
/**
|
|
2180
|
+
* Returns aggregated disk and inode usage for the Agency Plan order over the selected time frame, plus the plan quotas. Figures cover the whole order account. Values may be up to one hour stale. CPU, memory, and process usage are on the resource-usage-metrics endpoint.
|
|
2181
|
+
* @summary List Agency Plan order disk usage metrics
|
|
2182
|
+
* @param {number} orderId Agency Plan order ID
|
|
2183
|
+
* @param {ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum} [timeFrameDays] Length of the window in days, ending now. Bucket size grows with the window.
|
|
2184
|
+
* @param {*} [options] Override http request option.
|
|
2185
|
+
* @throws {RequiredError}
|
|
2186
|
+
*/
|
|
2187
|
+
listAgencyPlanOrderDiskUsageMetricsV1: (orderId_1, timeFrameDays_1, ...args_1) => __awaiter(this, [orderId_1, timeFrameDays_1, ...args_1], void 0, function* (orderId, timeFrameDays, options = {}) {
|
|
2188
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
2189
|
+
assertParamExists('listAgencyPlanOrderDiskUsageMetricsV1', 'orderId', orderId);
|
|
2190
|
+
const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/disk-usage-metrics`
|
|
2191
|
+
.replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
|
|
2192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2193
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2194
|
+
let baseOptions;
|
|
2195
|
+
if (configuration) {
|
|
2196
|
+
baseOptions = configuration.baseOptions;
|
|
2197
|
+
}
|
|
2198
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2199
|
+
const localVarHeaderParameter = {};
|
|
2200
|
+
const localVarQueryParameter = {};
|
|
2201
|
+
// authentication apiToken required
|
|
2202
|
+
// http bearer authentication required
|
|
2203
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2204
|
+
if (timeFrameDays !== undefined) {
|
|
2205
|
+
localVarQueryParameter['time_frame_days'] = timeFrameDays;
|
|
2206
|
+
}
|
|
2207
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2209
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2210
|
+
return {
|
|
2211
|
+
url: toPathString(localVarUrlObj),
|
|
2212
|
+
options: localVarRequestOptions,
|
|
2213
|
+
};
|
|
2214
|
+
}),
|
|
2215
|
+
/**
|
|
2216
|
+
* Returns aggregated CPU, memory, and process usage for the Agency Plan order over the selected time frame, plus the plan quotas and a per-website breakdown. Each website is identified by uid. Suspended and deleted websites are excluded from both the order totals and the per-website breakdown. Values may be up to one hour stale. Disk and inode usage are on the disk-usage-metrics endpoint.
|
|
2217
|
+
* @summary List order resource usage metrics
|
|
2218
|
+
* @param {number} orderId Agency Plan order ID
|
|
2219
|
+
* @param {ListOrderResourceUsageMetricsV1TimeFrameHoursEnum} [timeFrameHours] Length of the window in hours, ending now. Bucket size grows with the window.
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
*/
|
|
2223
|
+
listOrderResourceUsageMetricsV1: (orderId_1, timeFrameHours_1, ...args_1) => __awaiter(this, [orderId_1, timeFrameHours_1, ...args_1], void 0, function* (orderId, timeFrameHours, options = {}) {
|
|
2224
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
2225
|
+
assertParamExists('listOrderResourceUsageMetricsV1', 'orderId', orderId);
|
|
2226
|
+
const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/resource-usage-metrics`
|
|
2227
|
+
.replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
|
|
2228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2230
|
+
let baseOptions;
|
|
2231
|
+
if (configuration) {
|
|
2232
|
+
baseOptions = configuration.baseOptions;
|
|
2233
|
+
}
|
|
2234
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2235
|
+
const localVarHeaderParameter = {};
|
|
2236
|
+
const localVarQueryParameter = {};
|
|
2237
|
+
// authentication apiToken required
|
|
2238
|
+
// http bearer authentication required
|
|
2239
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2240
|
+
if (timeFrameHours !== undefined) {
|
|
2241
|
+
localVarQueryParameter['time_frame_hours'] = timeFrameHours;
|
|
2242
|
+
}
|
|
2243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2245
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2246
|
+
return {
|
|
2247
|
+
url: toPathString(localVarUrlObj),
|
|
2248
|
+
options: localVarRequestOptions,
|
|
2249
|
+
};
|
|
2250
|
+
}),
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
/**
|
|
2254
|
+
* AgencyHostingMetricsApi - functional programming interface
|
|
2255
|
+
* @export
|
|
2256
|
+
*/
|
|
2257
|
+
export const AgencyHostingMetricsApiFp = function (configuration) {
|
|
2258
|
+
const localVarAxiosParamCreator = AgencyHostingMetricsApiAxiosParamCreator(configuration);
|
|
2259
|
+
return {
|
|
2260
|
+
/**
|
|
2261
|
+
* Returns aggregated disk and inode usage for the Agency Plan order over the selected time frame, plus the plan quotas. Figures cover the whole order account. Values may be up to one hour stale. CPU, memory, and process usage are on the resource-usage-metrics endpoint.
|
|
2262
|
+
* @summary List Agency Plan order disk usage metrics
|
|
2263
|
+
* @param {number} orderId Agency Plan order ID
|
|
2264
|
+
* @param {ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum} [timeFrameDays] Length of the window in days, ending now. Bucket size grows with the window.
|
|
2265
|
+
* @param {*} [options] Override http request option.
|
|
2266
|
+
* @throws {RequiredError}
|
|
2267
|
+
*/
|
|
2268
|
+
listAgencyPlanOrderDiskUsageMetricsV1(orderId, timeFrameDays, options) {
|
|
2269
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2270
|
+
var _a, _b;
|
|
2271
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgencyPlanOrderDiskUsageMetricsV1(orderId, timeFrameDays, options);
|
|
2272
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingMetricsApi.listAgencyPlanOrderDiskUsageMetricsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
2273
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2274
|
+
});
|
|
2275
|
+
},
|
|
2276
|
+
/**
|
|
2277
|
+
* Returns aggregated CPU, memory, and process usage for the Agency Plan order over the selected time frame, plus the plan quotas and a per-website breakdown. Each website is identified by uid. Suspended and deleted websites are excluded from both the order totals and the per-website breakdown. Values may be up to one hour stale. Disk and inode usage are on the disk-usage-metrics endpoint.
|
|
2278
|
+
* @summary List order resource usage metrics
|
|
2279
|
+
* @param {number} orderId Agency Plan order ID
|
|
2280
|
+
* @param {ListOrderResourceUsageMetricsV1TimeFrameHoursEnum} [timeFrameHours] Length of the window in hours, ending now. Bucket size grows with the window.
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
2283
|
+
*/
|
|
2284
|
+
listOrderResourceUsageMetricsV1(orderId, timeFrameHours, options) {
|
|
2285
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2286
|
+
var _a, _b;
|
|
2287
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrderResourceUsageMetricsV1(orderId, timeFrameHours, options);
|
|
2288
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingMetricsApi.listOrderResourceUsageMetricsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
2289
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2290
|
+
});
|
|
2291
|
+
},
|
|
2292
|
+
};
|
|
2293
|
+
};
|
|
2294
|
+
/**
|
|
2295
|
+
* AgencyHostingMetricsApi - factory interface
|
|
2296
|
+
* @export
|
|
2297
|
+
*/
|
|
2298
|
+
export const AgencyHostingMetricsApiFactory = function (configuration, basePath, axios) {
|
|
2299
|
+
const localVarFp = AgencyHostingMetricsApiFp(configuration);
|
|
2300
|
+
return {
|
|
2301
|
+
/**
|
|
2302
|
+
* Returns aggregated disk and inode usage for the Agency Plan order over the selected time frame, plus the plan quotas. Figures cover the whole order account. Values may be up to one hour stale. CPU, memory, and process usage are on the resource-usage-metrics endpoint.
|
|
2303
|
+
* @summary List Agency Plan order disk usage metrics
|
|
2304
|
+
* @param {number} orderId Agency Plan order ID
|
|
2305
|
+
* @param {ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum} [timeFrameDays] Length of the window in days, ending now. Bucket size grows with the window.
|
|
2306
|
+
* @param {*} [options] Override http request option.
|
|
2307
|
+
* @throws {RequiredError}
|
|
2308
|
+
*/
|
|
2309
|
+
listAgencyPlanOrderDiskUsageMetricsV1(orderId, timeFrameDays, options) {
|
|
2310
|
+
return localVarFp.listAgencyPlanOrderDiskUsageMetricsV1(orderId, timeFrameDays, options).then((request) => request(axios, basePath));
|
|
2311
|
+
},
|
|
2312
|
+
/**
|
|
2313
|
+
* Returns aggregated CPU, memory, and process usage for the Agency Plan order over the selected time frame, plus the plan quotas and a per-website breakdown. Each website is identified by uid. Suspended and deleted websites are excluded from both the order totals and the per-website breakdown. Values may be up to one hour stale. Disk and inode usage are on the disk-usage-metrics endpoint.
|
|
2314
|
+
* @summary List order resource usage metrics
|
|
2315
|
+
* @param {number} orderId Agency Plan order ID
|
|
2316
|
+
* @param {ListOrderResourceUsageMetricsV1TimeFrameHoursEnum} [timeFrameHours] Length of the window in hours, ending now. Bucket size grows with the window.
|
|
2317
|
+
* @param {*} [options] Override http request option.
|
|
2318
|
+
* @throws {RequiredError}
|
|
2319
|
+
*/
|
|
2320
|
+
listOrderResourceUsageMetricsV1(orderId, timeFrameHours, options) {
|
|
2321
|
+
return localVarFp.listOrderResourceUsageMetricsV1(orderId, timeFrameHours, options).then((request) => request(axios, basePath));
|
|
2322
|
+
},
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
2325
|
+
/**
|
|
2326
|
+
* AgencyHostingMetricsApi - object-oriented interface
|
|
2327
|
+
* @export
|
|
2328
|
+
* @class AgencyHostingMetricsApi
|
|
2329
|
+
* @extends {BaseAPI}
|
|
2330
|
+
*/
|
|
2331
|
+
export class AgencyHostingMetricsApi extends BaseAPI {
|
|
2332
|
+
/**
|
|
2333
|
+
* Returns aggregated disk and inode usage for the Agency Plan order over the selected time frame, plus the plan quotas. Figures cover the whole order account. Values may be up to one hour stale. CPU, memory, and process usage are on the resource-usage-metrics endpoint.
|
|
2334
|
+
* @summary List Agency Plan order disk usage metrics
|
|
2335
|
+
* @param {number} orderId Agency Plan order ID
|
|
2336
|
+
* @param {ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum} [timeFrameDays] Length of the window in days, ending now. Bucket size grows with the window.
|
|
2337
|
+
* @param {*} [options] Override http request option.
|
|
2338
|
+
* @throws {RequiredError}
|
|
2339
|
+
* @memberof AgencyHostingMetricsApi
|
|
2340
|
+
*/
|
|
2341
|
+
listAgencyPlanOrderDiskUsageMetricsV1(orderId, timeFrameDays, options) {
|
|
2342
|
+
return AgencyHostingMetricsApiFp(this.configuration).listAgencyPlanOrderDiskUsageMetricsV1(orderId, timeFrameDays, options).then((request) => request(this.axios, this.basePath));
|
|
2343
|
+
}
|
|
2344
|
+
/**
|
|
2345
|
+
* Returns aggregated CPU, memory, and process usage for the Agency Plan order over the selected time frame, plus the plan quotas and a per-website breakdown. Each website is identified by uid. Suspended and deleted websites are excluded from both the order totals and the per-website breakdown. Values may be up to one hour stale. Disk and inode usage are on the disk-usage-metrics endpoint.
|
|
2346
|
+
* @summary List order resource usage metrics
|
|
2347
|
+
* @param {number} orderId Agency Plan order ID
|
|
2348
|
+
* @param {ListOrderResourceUsageMetricsV1TimeFrameHoursEnum} [timeFrameHours] Length of the window in hours, ending now. Bucket size grows with the window.
|
|
2349
|
+
* @param {*} [options] Override http request option.
|
|
2350
|
+
* @throws {RequiredError}
|
|
2351
|
+
* @memberof AgencyHostingMetricsApi
|
|
2352
|
+
*/
|
|
2353
|
+
listOrderResourceUsageMetricsV1(orderId, timeFrameHours, options) {
|
|
2354
|
+
return AgencyHostingMetricsApiFp(this.configuration).listOrderResourceUsageMetricsV1(orderId, timeFrameHours, options).then((request) => request(this.axios, this.basePath));
|
|
2355
|
+
}
|
|
2356
|
+
}
|
|
2357
|
+
/**
|
|
2358
|
+
* @export
|
|
2359
|
+
*/
|
|
2360
|
+
export const ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum = {
|
|
2361
|
+
NUMBER_1: 1,
|
|
2362
|
+
NUMBER_7: 7,
|
|
2363
|
+
NUMBER_14: 14,
|
|
2364
|
+
NUMBER_30: 30
|
|
2365
|
+
};
|
|
2366
|
+
/**
|
|
2367
|
+
* @export
|
|
2368
|
+
*/
|
|
2369
|
+
export const ListOrderResourceUsageMetricsV1TimeFrameHoursEnum = {
|
|
2370
|
+
NUMBER_1: 1,
|
|
2371
|
+
NUMBER_24: 24,
|
|
2372
|
+
NUMBER_168: 168,
|
|
2373
|
+
NUMBER_336: 336,
|
|
2374
|
+
NUMBER_720: 720
|
|
2375
|
+
};
|
|
2173
2376
|
/**
|
|
2174
2377
|
* AgencyHostingOrdersApi - axios parameter creator
|
|
2175
2378
|
* @export
|
|
@@ -12922,6 +13125,296 @@ export class HostingPHPApi extends BaseAPI {
|
|
|
12922
13125
|
return HostingPHPApiFp(this.configuration).updatePHPVersionV1(username, domain, hostingV1PhpUpdatePhpVersionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12923
13126
|
}
|
|
12924
13127
|
}
|
|
13128
|
+
/**
|
|
13129
|
+
* HostingRedirectsApi - axios parameter creator
|
|
13130
|
+
* @export
|
|
13131
|
+
*/
|
|
13132
|
+
export const HostingRedirectsApiAxiosParamCreator = function (configuration) {
|
|
13133
|
+
return {
|
|
13134
|
+
/**
|
|
13135
|
+
* Creates a redirect from a URL on the selected website to another URL or IP address.
|
|
13136
|
+
* @summary Create website redirect
|
|
13137
|
+
* @param {string} username
|
|
13138
|
+
* @param {string} domain Domain name
|
|
13139
|
+
* @param {HostingV1RedirectsCreateRedirectRequest} hostingV1RedirectsCreateRedirectRequest
|
|
13140
|
+
* @param {*} [options] Override http request option.
|
|
13141
|
+
* @throws {RequiredError}
|
|
13142
|
+
*/
|
|
13143
|
+
createWebsiteRedirectV1: (username_1, domain_1, hostingV1RedirectsCreateRedirectRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1RedirectsCreateRedirectRequest_1, ...args_1], void 0, function* (username, domain, hostingV1RedirectsCreateRedirectRequest, options = {}) {
|
|
13144
|
+
// verify required parameter 'username' is not null or undefined
|
|
13145
|
+
assertParamExists('createWebsiteRedirectV1', 'username', username);
|
|
13146
|
+
// verify required parameter 'domain' is not null or undefined
|
|
13147
|
+
assertParamExists('createWebsiteRedirectV1', 'domain', domain);
|
|
13148
|
+
// verify required parameter 'hostingV1RedirectsCreateRedirectRequest' is not null or undefined
|
|
13149
|
+
assertParamExists('createWebsiteRedirectV1', 'hostingV1RedirectsCreateRedirectRequest', hostingV1RedirectsCreateRedirectRequest);
|
|
13150
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/redirects`
|
|
13151
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
13152
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
13153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13155
|
+
let baseOptions;
|
|
13156
|
+
if (configuration) {
|
|
13157
|
+
baseOptions = configuration.baseOptions;
|
|
13158
|
+
}
|
|
13159
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13160
|
+
const localVarHeaderParameter = {};
|
|
13161
|
+
const localVarQueryParameter = {};
|
|
13162
|
+
// authentication apiToken required
|
|
13163
|
+
// http bearer authentication required
|
|
13164
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13165
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13168
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13169
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostingV1RedirectsCreateRedirectRequest, localVarRequestOptions, configuration);
|
|
13170
|
+
return {
|
|
13171
|
+
url: toPathString(localVarUrlObj),
|
|
13172
|
+
options: localVarRequestOptions,
|
|
13173
|
+
};
|
|
13174
|
+
}),
|
|
13175
|
+
/**
|
|
13176
|
+
* Permanently deletes the redirect identified by its source URL. Pass the `from` value exactly as returned by the list redirects endpoint.
|
|
13177
|
+
* @summary Delete website redirect
|
|
13178
|
+
* @param {string} username
|
|
13179
|
+
* @param {string} domain Domain name
|
|
13180
|
+
* @param {string} from Source URL returned by the list redirects endpoint.
|
|
13181
|
+
* @param {*} [options] Override http request option.
|
|
13182
|
+
* @throws {RequiredError}
|
|
13183
|
+
*/
|
|
13184
|
+
deleteWebsiteRedirectV1: (username_1, domain_1, from_1, ...args_1) => __awaiter(this, [username_1, domain_1, from_1, ...args_1], void 0, function* (username, domain, from, options = {}) {
|
|
13185
|
+
// verify required parameter 'username' is not null or undefined
|
|
13186
|
+
assertParamExists('deleteWebsiteRedirectV1', 'username', username);
|
|
13187
|
+
// verify required parameter 'domain' is not null or undefined
|
|
13188
|
+
assertParamExists('deleteWebsiteRedirectV1', 'domain', domain);
|
|
13189
|
+
// verify required parameter 'from' is not null or undefined
|
|
13190
|
+
assertParamExists('deleteWebsiteRedirectV1', 'from', from);
|
|
13191
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/redirects`
|
|
13192
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
13193
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
13194
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13195
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13196
|
+
let baseOptions;
|
|
13197
|
+
if (configuration) {
|
|
13198
|
+
baseOptions = configuration.baseOptions;
|
|
13199
|
+
}
|
|
13200
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
13201
|
+
const localVarHeaderParameter = {};
|
|
13202
|
+
const localVarQueryParameter = {};
|
|
13203
|
+
// authentication apiToken required
|
|
13204
|
+
// http bearer authentication required
|
|
13205
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13206
|
+
if (from !== undefined) {
|
|
13207
|
+
localVarQueryParameter['from'] = from;
|
|
13208
|
+
}
|
|
13209
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13211
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13212
|
+
return {
|
|
13213
|
+
url: toPathString(localVarUrlObj),
|
|
13214
|
+
options: localVarRequestOptions,
|
|
13215
|
+
};
|
|
13216
|
+
}),
|
|
13217
|
+
/**
|
|
13218
|
+
* Returns a paginated list of redirects configured for the selected website.
|
|
13219
|
+
* @summary List website redirects
|
|
13220
|
+
* @param {string} username
|
|
13221
|
+
* @param {string} domain Domain name
|
|
13222
|
+
* @param {number} [page] Page number
|
|
13223
|
+
* @param {number} [perPage] Number of items per page
|
|
13224
|
+
* @param {*} [options] Override http request option.
|
|
13225
|
+
* @throws {RequiredError}
|
|
13226
|
+
*/
|
|
13227
|
+
listWebsiteRedirectsV1: (username_1, domain_1, page_1, perPage_1, ...args_1) => __awaiter(this, [username_1, domain_1, page_1, perPage_1, ...args_1], void 0, function* (username, domain, page, perPage, options = {}) {
|
|
13228
|
+
// verify required parameter 'username' is not null or undefined
|
|
13229
|
+
assertParamExists('listWebsiteRedirectsV1', 'username', username);
|
|
13230
|
+
// verify required parameter 'domain' is not null or undefined
|
|
13231
|
+
assertParamExists('listWebsiteRedirectsV1', 'domain', domain);
|
|
13232
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/redirects`
|
|
13233
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
13234
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
13235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13236
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13237
|
+
let baseOptions;
|
|
13238
|
+
if (configuration) {
|
|
13239
|
+
baseOptions = configuration.baseOptions;
|
|
13240
|
+
}
|
|
13241
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13242
|
+
const localVarHeaderParameter = {};
|
|
13243
|
+
const localVarQueryParameter = {};
|
|
13244
|
+
// authentication apiToken required
|
|
13245
|
+
// http bearer authentication required
|
|
13246
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13247
|
+
if (page !== undefined) {
|
|
13248
|
+
localVarQueryParameter['page'] = page;
|
|
13249
|
+
}
|
|
13250
|
+
if (perPage !== undefined) {
|
|
13251
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
13252
|
+
}
|
|
13253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13255
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13256
|
+
return {
|
|
13257
|
+
url: toPathString(localVarUrlObj),
|
|
13258
|
+
options: localVarRequestOptions,
|
|
13259
|
+
};
|
|
13260
|
+
}),
|
|
13261
|
+
};
|
|
13262
|
+
};
|
|
13263
|
+
/**
|
|
13264
|
+
* HostingRedirectsApi - functional programming interface
|
|
13265
|
+
* @export
|
|
13266
|
+
*/
|
|
13267
|
+
export const HostingRedirectsApiFp = function (configuration) {
|
|
13268
|
+
const localVarAxiosParamCreator = HostingRedirectsApiAxiosParamCreator(configuration);
|
|
13269
|
+
return {
|
|
13270
|
+
/**
|
|
13271
|
+
* Creates a redirect from a URL on the selected website to another URL or IP address.
|
|
13272
|
+
* @summary Create website redirect
|
|
13273
|
+
* @param {string} username
|
|
13274
|
+
* @param {string} domain Domain name
|
|
13275
|
+
* @param {HostingV1RedirectsCreateRedirectRequest} hostingV1RedirectsCreateRedirectRequest
|
|
13276
|
+
* @param {*} [options] Override http request option.
|
|
13277
|
+
* @throws {RequiredError}
|
|
13278
|
+
*/
|
|
13279
|
+
createWebsiteRedirectV1(username, domain, hostingV1RedirectsCreateRedirectRequest, options) {
|
|
13280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13281
|
+
var _a, _b;
|
|
13282
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createWebsiteRedirectV1(username, domain, hostingV1RedirectsCreateRedirectRequest, options);
|
|
13283
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingRedirectsApi.createWebsiteRedirectV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
13284
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13285
|
+
});
|
|
13286
|
+
},
|
|
13287
|
+
/**
|
|
13288
|
+
* Permanently deletes the redirect identified by its source URL. Pass the `from` value exactly as returned by the list redirects endpoint.
|
|
13289
|
+
* @summary Delete website redirect
|
|
13290
|
+
* @param {string} username
|
|
13291
|
+
* @param {string} domain Domain name
|
|
13292
|
+
* @param {string} from Source URL returned by the list redirects endpoint.
|
|
13293
|
+
* @param {*} [options] Override http request option.
|
|
13294
|
+
* @throws {RequiredError}
|
|
13295
|
+
*/
|
|
13296
|
+
deleteWebsiteRedirectV1(username, domain, from, options) {
|
|
13297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13298
|
+
var _a, _b;
|
|
13299
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteWebsiteRedirectV1(username, domain, from, options);
|
|
13300
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingRedirectsApi.deleteWebsiteRedirectV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
13301
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13302
|
+
});
|
|
13303
|
+
},
|
|
13304
|
+
/**
|
|
13305
|
+
* Returns a paginated list of redirects configured for the selected website.
|
|
13306
|
+
* @summary List website redirects
|
|
13307
|
+
* @param {string} username
|
|
13308
|
+
* @param {string} domain Domain name
|
|
13309
|
+
* @param {number} [page] Page number
|
|
13310
|
+
* @param {number} [perPage] Number of items per page
|
|
13311
|
+
* @param {*} [options] Override http request option.
|
|
13312
|
+
* @throws {RequiredError}
|
|
13313
|
+
*/
|
|
13314
|
+
listWebsiteRedirectsV1(username, domain, page, perPage, options) {
|
|
13315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13316
|
+
var _a, _b;
|
|
13317
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsiteRedirectsV1(username, domain, page, perPage, options);
|
|
13318
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingRedirectsApi.listWebsiteRedirectsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
13319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13320
|
+
});
|
|
13321
|
+
},
|
|
13322
|
+
};
|
|
13323
|
+
};
|
|
13324
|
+
/**
|
|
13325
|
+
* HostingRedirectsApi - factory interface
|
|
13326
|
+
* @export
|
|
13327
|
+
*/
|
|
13328
|
+
export const HostingRedirectsApiFactory = function (configuration, basePath, axios) {
|
|
13329
|
+
const localVarFp = HostingRedirectsApiFp(configuration);
|
|
13330
|
+
return {
|
|
13331
|
+
/**
|
|
13332
|
+
* Creates a redirect from a URL on the selected website to another URL or IP address.
|
|
13333
|
+
* @summary Create website redirect
|
|
13334
|
+
* @param {string} username
|
|
13335
|
+
* @param {string} domain Domain name
|
|
13336
|
+
* @param {HostingV1RedirectsCreateRedirectRequest} hostingV1RedirectsCreateRedirectRequest
|
|
13337
|
+
* @param {*} [options] Override http request option.
|
|
13338
|
+
* @throws {RequiredError}
|
|
13339
|
+
*/
|
|
13340
|
+
createWebsiteRedirectV1(username, domain, hostingV1RedirectsCreateRedirectRequest, options) {
|
|
13341
|
+
return localVarFp.createWebsiteRedirectV1(username, domain, hostingV1RedirectsCreateRedirectRequest, options).then((request) => request(axios, basePath));
|
|
13342
|
+
},
|
|
13343
|
+
/**
|
|
13344
|
+
* Permanently deletes the redirect identified by its source URL. Pass the `from` value exactly as returned by the list redirects endpoint.
|
|
13345
|
+
* @summary Delete website redirect
|
|
13346
|
+
* @param {string} username
|
|
13347
|
+
* @param {string} domain Domain name
|
|
13348
|
+
* @param {string} from Source URL returned by the list redirects endpoint.
|
|
13349
|
+
* @param {*} [options] Override http request option.
|
|
13350
|
+
* @throws {RequiredError}
|
|
13351
|
+
*/
|
|
13352
|
+
deleteWebsiteRedirectV1(username, domain, from, options) {
|
|
13353
|
+
return localVarFp.deleteWebsiteRedirectV1(username, domain, from, options).then((request) => request(axios, basePath));
|
|
13354
|
+
},
|
|
13355
|
+
/**
|
|
13356
|
+
* Returns a paginated list of redirects configured for the selected website.
|
|
13357
|
+
* @summary List website redirects
|
|
13358
|
+
* @param {string} username
|
|
13359
|
+
* @param {string} domain Domain name
|
|
13360
|
+
* @param {number} [page] Page number
|
|
13361
|
+
* @param {number} [perPage] Number of items per page
|
|
13362
|
+
* @param {*} [options] Override http request option.
|
|
13363
|
+
* @throws {RequiredError}
|
|
13364
|
+
*/
|
|
13365
|
+
listWebsiteRedirectsV1(username, domain, page, perPage, options) {
|
|
13366
|
+
return localVarFp.listWebsiteRedirectsV1(username, domain, page, perPage, options).then((request) => request(axios, basePath));
|
|
13367
|
+
},
|
|
13368
|
+
};
|
|
13369
|
+
};
|
|
13370
|
+
/**
|
|
13371
|
+
* HostingRedirectsApi - object-oriented interface
|
|
13372
|
+
* @export
|
|
13373
|
+
* @class HostingRedirectsApi
|
|
13374
|
+
* @extends {BaseAPI}
|
|
13375
|
+
*/
|
|
13376
|
+
export class HostingRedirectsApi extends BaseAPI {
|
|
13377
|
+
/**
|
|
13378
|
+
* Creates a redirect from a URL on the selected website to another URL or IP address.
|
|
13379
|
+
* @summary Create website redirect
|
|
13380
|
+
* @param {string} username
|
|
13381
|
+
* @param {string} domain Domain name
|
|
13382
|
+
* @param {HostingV1RedirectsCreateRedirectRequest} hostingV1RedirectsCreateRedirectRequest
|
|
13383
|
+
* @param {*} [options] Override http request option.
|
|
13384
|
+
* @throws {RequiredError}
|
|
13385
|
+
* @memberof HostingRedirectsApi
|
|
13386
|
+
*/
|
|
13387
|
+
createWebsiteRedirectV1(username, domain, hostingV1RedirectsCreateRedirectRequest, options) {
|
|
13388
|
+
return HostingRedirectsApiFp(this.configuration).createWebsiteRedirectV1(username, domain, hostingV1RedirectsCreateRedirectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13389
|
+
}
|
|
13390
|
+
/**
|
|
13391
|
+
* Permanently deletes the redirect identified by its source URL. Pass the `from` value exactly as returned by the list redirects endpoint.
|
|
13392
|
+
* @summary Delete website redirect
|
|
13393
|
+
* @param {string} username
|
|
13394
|
+
* @param {string} domain Domain name
|
|
13395
|
+
* @param {string} from Source URL returned by the list redirects endpoint.
|
|
13396
|
+
* @param {*} [options] Override http request option.
|
|
13397
|
+
* @throws {RequiredError}
|
|
13398
|
+
* @memberof HostingRedirectsApi
|
|
13399
|
+
*/
|
|
13400
|
+
deleteWebsiteRedirectV1(username, domain, from, options) {
|
|
13401
|
+
return HostingRedirectsApiFp(this.configuration).deleteWebsiteRedirectV1(username, domain, from, options).then((request) => request(this.axios, this.basePath));
|
|
13402
|
+
}
|
|
13403
|
+
/**
|
|
13404
|
+
* Returns a paginated list of redirects configured for the selected website.
|
|
13405
|
+
* @summary List website redirects
|
|
13406
|
+
* @param {string} username
|
|
13407
|
+
* @param {string} domain Domain name
|
|
13408
|
+
* @param {number} [page] Page number
|
|
13409
|
+
* @param {number} [perPage] Number of items per page
|
|
13410
|
+
* @param {*} [options] Override http request option.
|
|
13411
|
+
* @throws {RequiredError}
|
|
13412
|
+
* @memberof HostingRedirectsApi
|
|
13413
|
+
*/
|
|
13414
|
+
listWebsiteRedirectsV1(username, domain, page, perPage, options) {
|
|
13415
|
+
return HostingRedirectsApiFp(this.configuration).listWebsiteRedirectsV1(username, domain, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
13416
|
+
}
|
|
13417
|
+
}
|
|
12925
13418
|
/**
|
|
12926
13419
|
* HostingWebsitesApi - axios parameter creator
|
|
12927
13420
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.38.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
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.38.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/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.38.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
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.38.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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.38.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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.38.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
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.36.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.38.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
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.38.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/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.38.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
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.38.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|