hostinger-api-sdk 1.39.0 → 1.40.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 +518 -28
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +440 -25
- package/dist/api.js +199 -38
- 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 +440 -25
- package/dist/esm/api.js +189 -28
- 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/AgencyHostingListAgencyPlanWebsitesV1200Response.md +22 -0
- package/docs/AgencyHostingV1WebsitesBuilderWebsiteDetailsResource.md +28 -0
- package/docs/AgencyHostingV1WebsitesH5gWebsiteDetailsResource.md +46 -0
- package/docs/AgencyHostingV1WebsitesPlanResource.md +25 -0
- package/docs/AgencyHostingV1WebsitesU4sWebsiteDetailsResource.md +36 -0
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResource.md +37 -0
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResourceDetails.md +59 -0
- package/docs/AgencyHostingWebsitesApi.md +69 -0
- package/docs/HostingDatabasesApi.md +2 -2
- package/docs/HostingWebsitesApi.md +7 -4
- package/docs/WordPressInstallationsApi.md +2 -2
- package/docs/WordPressPluginsApi.md +2 -2
- 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.42.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
|
|
@@ -40,6 +40,27 @@ export const AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = {
|
|
|
40
40
|
Running: 'running',
|
|
41
41
|
Completed: 'completed'
|
|
42
42
|
};
|
|
43
|
+
export const AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum = {
|
|
44
|
+
Wordpress: 'wordpress',
|
|
45
|
+
Builder: 'builder',
|
|
46
|
+
Horizons: 'horizons',
|
|
47
|
+
Nodejs: 'nodejs',
|
|
48
|
+
U4s: 'u4s',
|
|
49
|
+
Other: 'other'
|
|
50
|
+
};
|
|
51
|
+
export const AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum = {
|
|
52
|
+
Active: 'active',
|
|
53
|
+
Suspended: 'suspended'
|
|
54
|
+
};
|
|
55
|
+
export const AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum = {
|
|
56
|
+
U4s: 'u4s',
|
|
57
|
+
Horizons: 'horizons'
|
|
58
|
+
};
|
|
59
|
+
export const AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum = {
|
|
60
|
+
H5g: 'h5g',
|
|
61
|
+
Builder: 'builder',
|
|
62
|
+
U4s: 'u4s'
|
|
63
|
+
};
|
|
43
64
|
export const AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = {
|
|
44
65
|
Running: 'running',
|
|
45
66
|
Completed: 'completed',
|
|
@@ -3444,6 +3465,58 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
|
|
|
3444
3465
|
options: localVarRequestOptions,
|
|
3445
3466
|
};
|
|
3446
3467
|
}),
|
|
3468
|
+
/**
|
|
3469
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3470
|
+
* @summary List Agency Plan websites
|
|
3471
|
+
* @param {number} [page] Page number
|
|
3472
|
+
* @param {number} [perPage] Number of items per page
|
|
3473
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3474
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3475
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3476
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3477
|
+
* @param {*} [options] Override http request option.
|
|
3478
|
+
* @throws {RequiredError}
|
|
3479
|
+
*/
|
|
3480
|
+
listAgencyPlanWebsitesV1: (page_1, perPage_1, orderIds_1, states_1, websiteTypes_1, domain_1, ...args_1) => __awaiter(this, [page_1, perPage_1, orderIds_1, states_1, websiteTypes_1, domain_1, ...args_1], void 0, function* (page, perPage, orderIds, states, websiteTypes, domain, options = {}) {
|
|
3481
|
+
const localVarPath = `/api/agency-hosting/v1/websites`;
|
|
3482
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3483
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3484
|
+
let baseOptions;
|
|
3485
|
+
if (configuration) {
|
|
3486
|
+
baseOptions = configuration.baseOptions;
|
|
3487
|
+
}
|
|
3488
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3489
|
+
const localVarHeaderParameter = {};
|
|
3490
|
+
const localVarQueryParameter = {};
|
|
3491
|
+
// authentication apiToken required
|
|
3492
|
+
// http bearer authentication required
|
|
3493
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3494
|
+
if (page !== undefined) {
|
|
3495
|
+
localVarQueryParameter['page'] = page;
|
|
3496
|
+
}
|
|
3497
|
+
if (perPage !== undefined) {
|
|
3498
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
3499
|
+
}
|
|
3500
|
+
if (orderIds) {
|
|
3501
|
+
localVarQueryParameter['order_ids'] = orderIds.join(COLLECTION_FORMATS.csv);
|
|
3502
|
+
}
|
|
3503
|
+
if (states) {
|
|
3504
|
+
localVarQueryParameter['states'] = states.join(COLLECTION_FORMATS.csv);
|
|
3505
|
+
}
|
|
3506
|
+
if (websiteTypes) {
|
|
3507
|
+
localVarQueryParameter['website_types'] = websiteTypes.join(COLLECTION_FORMATS.csv);
|
|
3508
|
+
}
|
|
3509
|
+
if (domain !== undefined) {
|
|
3510
|
+
localVarQueryParameter['domain'] = domain;
|
|
3511
|
+
}
|
|
3512
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3513
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3514
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3515
|
+
return {
|
|
3516
|
+
url: toPathString(localVarUrlObj),
|
|
3517
|
+
options: localVarRequestOptions,
|
|
3518
|
+
};
|
|
3519
|
+
}),
|
|
3447
3520
|
/**
|
|
3448
3521
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3449
3522
|
* @summary List website processes
|
|
@@ -3531,6 +3604,26 @@ export const AgencyHostingWebsitesApiFp = function (configuration) {
|
|
|
3531
3604
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3532
3605
|
});
|
|
3533
3606
|
},
|
|
3607
|
+
/**
|
|
3608
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3609
|
+
* @summary List Agency Plan websites
|
|
3610
|
+
* @param {number} [page] Page number
|
|
3611
|
+
* @param {number} [perPage] Number of items per page
|
|
3612
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3613
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3614
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3615
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3616
|
+
* @param {*} [options] Override http request option.
|
|
3617
|
+
* @throws {RequiredError}
|
|
3618
|
+
*/
|
|
3619
|
+
listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options) {
|
|
3620
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3621
|
+
var _a, _b;
|
|
3622
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options);
|
|
3623
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.listAgencyPlanWebsitesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
3624
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3625
|
+
});
|
|
3626
|
+
},
|
|
3534
3627
|
/**
|
|
3535
3628
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3536
3629
|
* @summary List website processes
|
|
@@ -3586,6 +3679,21 @@ export const AgencyHostingWebsitesApiFactory = function (configuration, basePath
|
|
|
3586
3679
|
getWebsiteDetailsV1(websiteUid, options) {
|
|
3587
3680
|
return localVarFp.getWebsiteDetailsV1(websiteUid, options).then((request) => request(axios, basePath));
|
|
3588
3681
|
},
|
|
3682
|
+
/**
|
|
3683
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3684
|
+
* @summary List Agency Plan websites
|
|
3685
|
+
* @param {number} [page] Page number
|
|
3686
|
+
* @param {number} [perPage] Number of items per page
|
|
3687
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3688
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3689
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3690
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3691
|
+
* @param {*} [options] Override http request option.
|
|
3692
|
+
* @throws {RequiredError}
|
|
3693
|
+
*/
|
|
3694
|
+
listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options) {
|
|
3695
|
+
return localVarFp.listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options).then((request) => request(axios, basePath));
|
|
3696
|
+
},
|
|
3589
3697
|
/**
|
|
3590
3698
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3591
3699
|
* @summary List website processes
|
|
@@ -3639,6 +3747,22 @@ export class AgencyHostingWebsitesApi extends BaseAPI {
|
|
|
3639
3747
|
getWebsiteDetailsV1(websiteUid, options) {
|
|
3640
3748
|
return AgencyHostingWebsitesApiFp(this.configuration).getWebsiteDetailsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
|
|
3641
3749
|
}
|
|
3750
|
+
/**
|
|
3751
|
+
* Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
|
|
3752
|
+
* @summary List Agency Plan websites
|
|
3753
|
+
* @param {number} [page] Page number
|
|
3754
|
+
* @param {number} [perPage] Number of items per page
|
|
3755
|
+
* @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
|
|
3756
|
+
* @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
|
|
3757
|
+
* @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
3758
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
3759
|
+
* @param {*} [options] Override http request option.
|
|
3760
|
+
* @throws {RequiredError}
|
|
3761
|
+
* @memberof AgencyHostingWebsitesApi
|
|
3762
|
+
*/
|
|
3763
|
+
listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options) {
|
|
3764
|
+
return AgencyHostingWebsitesApiFp(this.configuration).listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options).then((request) => request(this.axios, this.basePath));
|
|
3765
|
+
}
|
|
3642
3766
|
/**
|
|
3643
3767
|
* Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
|
|
3644
3768
|
* @summary List website processes
|
|
@@ -3651,6 +3775,26 @@ export class AgencyHostingWebsitesApi extends BaseAPI {
|
|
|
3651
3775
|
return AgencyHostingWebsitesApiFp(this.configuration).listWebsiteProcessesV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
|
|
3652
3776
|
}
|
|
3653
3777
|
}
|
|
3778
|
+
/**
|
|
3779
|
+
* @export
|
|
3780
|
+
*/
|
|
3781
|
+
export const ListAgencyPlanWebsitesV1StatesEnum = {
|
|
3782
|
+
Active: 'active',
|
|
3783
|
+
Locked: 'locked',
|
|
3784
|
+
Suspended: 'suspended',
|
|
3785
|
+
Deleting: 'deleting',
|
|
3786
|
+
Deleted: 'deleted'
|
|
3787
|
+
};
|
|
3788
|
+
/**
|
|
3789
|
+
* @export
|
|
3790
|
+
*/
|
|
3791
|
+
export const ListAgencyPlanWebsitesV1WebsiteTypesEnum = {
|
|
3792
|
+
Wordpress: 'wordpress',
|
|
3793
|
+
Builder: 'builder',
|
|
3794
|
+
Horizons: 'horizons',
|
|
3795
|
+
Nodejs: 'nodejs',
|
|
3796
|
+
Other: 'other'
|
|
3797
|
+
};
|
|
3654
3798
|
/**
|
|
3655
3799
|
* AgencyHostingWordPressApi - axios parameter creator
|
|
3656
3800
|
* @export
|
|
@@ -10543,7 +10687,7 @@ export const HostingDatabasesApiAxiosParamCreator = function (configuration) {
|
|
|
10543
10687
|
* @param {string} username
|
|
10544
10688
|
* @param {number} [page] Page number
|
|
10545
10689
|
* @param {number} [perPage] Number of items per page
|
|
10546
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
10690
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
10547
10691
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
10548
10692
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
10549
10693
|
* @param {*} [options] Override http request option.
|
|
@@ -10775,7 +10919,7 @@ export const HostingDatabasesApiFp = function (configuration) {
|
|
|
10775
10919
|
* @param {string} username
|
|
10776
10920
|
* @param {number} [page] Page number
|
|
10777
10921
|
* @param {number} [perPage] Number of items per page
|
|
10778
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
10922
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
10779
10923
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
10780
10924
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
10781
10925
|
* @param {*} [options] Override http request option.
|
|
@@ -10905,7 +11049,7 @@ export const HostingDatabasesApiFactory = function (configuration, basePath, axi
|
|
|
10905
11049
|
* @param {string} username
|
|
10906
11050
|
* @param {number} [page] Page number
|
|
10907
11051
|
* @param {number} [perPage] Number of items per page
|
|
10908
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
11052
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
10909
11053
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
10910
11054
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
10911
11055
|
* @param {*} [options] Override http request option.
|
|
@@ -11026,7 +11170,7 @@ export class HostingDatabasesApi extends BaseAPI {
|
|
|
11026
11170
|
* @param {string} username
|
|
11027
11171
|
* @param {number} [page] Page number
|
|
11028
11172
|
* @param {number} [perPage] Number of items per page
|
|
11029
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
11173
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
11030
11174
|
* @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
|
|
11031
11175
|
* @param {string | null} [search] Search databases by name, user, or creation date.
|
|
11032
11176
|
* @param {*} [options] Override http request option.
|
|
@@ -13900,18 +14044,19 @@ export const HostingWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
13900
14044
|
};
|
|
13901
14045
|
}),
|
|
13902
14046
|
/**
|
|
13903
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14047
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
13904
14048
|
* @summary List websites
|
|
13905
14049
|
* @param {number} [page] Page number
|
|
13906
14050
|
* @param {number} [perPage] Number of items per page
|
|
13907
14051
|
* @param {string | null} [username] Filter by specific username
|
|
13908
14052
|
* @param {number | null} [orderId] Order ID
|
|
13909
14053
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
13910
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14054
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14055
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
13911
14056
|
* @param {*} [options] Override http request option.
|
|
13912
14057
|
* @throws {RequiredError}
|
|
13913
14058
|
*/
|
|
13914
|
-
listWebsitesV1: (page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, ...args_1) => __awaiter(this, [page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, ...args_1], void 0, function* (page, perPage, username, orderId, isEnabled, domain, options = {}) {
|
|
14059
|
+
listWebsitesV1: (page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, websiteTypes_1, ...args_1) => __awaiter(this, [page_1, perPage_1, username_1, orderId_1, isEnabled_1, domain_1, websiteTypes_1, ...args_1], void 0, function* (page, perPage, username, orderId, isEnabled, domain, websiteTypes, options = {}) {
|
|
13915
14060
|
const localVarPath = `/api/hosting/v1/websites`;
|
|
13916
14061
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13917
14062
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13943,6 +14088,9 @@ export const HostingWebsitesApiAxiosParamCreator = function (configuration) {
|
|
|
13943
14088
|
if (domain !== undefined) {
|
|
13944
14089
|
localVarQueryParameter['domain'] = domain;
|
|
13945
14090
|
}
|
|
14091
|
+
if (websiteTypes) {
|
|
14092
|
+
localVarQueryParameter['website_types'] = websiteTypes.join(COLLECTION_FORMATS.csv);
|
|
14093
|
+
}
|
|
13946
14094
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13947
14095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13948
14096
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -14008,21 +14156,22 @@ export const HostingWebsitesApiFp = function (configuration) {
|
|
|
14008
14156
|
});
|
|
14009
14157
|
},
|
|
14010
14158
|
/**
|
|
14011
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14159
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
14012
14160
|
* @summary List websites
|
|
14013
14161
|
* @param {number} [page] Page number
|
|
14014
14162
|
* @param {number} [perPage] Number of items per page
|
|
14015
14163
|
* @param {string | null} [username] Filter by specific username
|
|
14016
14164
|
* @param {number | null} [orderId] Order ID
|
|
14017
14165
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14018
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14166
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14167
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14019
14168
|
* @param {*} [options] Override http request option.
|
|
14020
14169
|
* @throws {RequiredError}
|
|
14021
14170
|
*/
|
|
14022
|
-
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options) {
|
|
14171
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14023
14172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14024
14173
|
var _a, _b;
|
|
14025
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options);
|
|
14174
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options);
|
|
14026
14175
|
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingWebsitesApi.listWebsitesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14027
14176
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14028
14177
|
});
|
|
@@ -14069,19 +14218,20 @@ export const HostingWebsitesApiFactory = function (configuration, basePath, axio
|
|
|
14069
14218
|
return localVarFp.deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(axios, basePath));
|
|
14070
14219
|
},
|
|
14071
14220
|
/**
|
|
14072
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14221
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
14073
14222
|
* @summary List websites
|
|
14074
14223
|
* @param {number} [page] Page number
|
|
14075
14224
|
* @param {number} [perPage] Number of items per page
|
|
14076
14225
|
* @param {string | null} [username] Filter by specific username
|
|
14077
14226
|
* @param {number | null} [orderId] Order ID
|
|
14078
14227
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14079
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14228
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14229
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14080
14230
|
* @param {*} [options] Override http request option.
|
|
14081
14231
|
* @throws {RequiredError}
|
|
14082
14232
|
*/
|
|
14083
|
-
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options) {
|
|
14084
|
-
return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options).then((request) => request(axios, basePath));
|
|
14233
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14234
|
+
return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(axios, basePath));
|
|
14085
14235
|
},
|
|
14086
14236
|
};
|
|
14087
14237
|
};
|
|
@@ -14128,22 +14278,33 @@ export class HostingWebsitesApi extends BaseAPI {
|
|
|
14128
14278
|
return HostingWebsitesApiFp(this.configuration).deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14129
14279
|
}
|
|
14130
14280
|
/**
|
|
14131
|
-
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter
|
|
14281
|
+
* Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
|
|
14132
14282
|
* @summary List websites
|
|
14133
14283
|
* @param {number} [page] Page number
|
|
14134
14284
|
* @param {number} [perPage] Number of items per page
|
|
14135
14285
|
* @param {string | null} [username] Filter by specific username
|
|
14136
14286
|
* @param {number | null} [orderId] Order ID
|
|
14137
14287
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
14138
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
14288
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
14289
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
14139
14290
|
* @param {*} [options] Override http request option.
|
|
14140
14291
|
* @throws {RequiredError}
|
|
14141
14292
|
* @memberof HostingWebsitesApi
|
|
14142
14293
|
*/
|
|
14143
|
-
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options) {
|
|
14144
|
-
return HostingWebsitesApiFp(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options).then((request) => request(this.axios, this.basePath));
|
|
14294
|
+
listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options) {
|
|
14295
|
+
return HostingWebsitesApiFp(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(this.axios, this.basePath));
|
|
14145
14296
|
}
|
|
14146
14297
|
}
|
|
14298
|
+
/**
|
|
14299
|
+
* @export
|
|
14300
|
+
*/
|
|
14301
|
+
export const ListWebsitesV1WebsiteTypesEnum = {
|
|
14302
|
+
Wordpress: 'wordpress',
|
|
14303
|
+
Builder: 'builder',
|
|
14304
|
+
Horizons: 'horizons',
|
|
14305
|
+
Nodejs: 'nodejs',
|
|
14306
|
+
Other: 'other'
|
|
14307
|
+
};
|
|
14147
14308
|
/**
|
|
14148
14309
|
* MailAPITokensApi - axios parameter creator
|
|
14149
14310
|
* @export
|
|
@@ -26919,7 +27080,7 @@ export const WordPressInstallationsApiAxiosParamCreator = function (configuratio
|
|
|
26919
27080
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
26920
27081
|
* @summary List WordPress installations
|
|
26921
27082
|
* @param {string | null} [username] Filter by specific username
|
|
26922
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27083
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
26923
27084
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
26924
27085
|
* @param {*} [options] Override http request option.
|
|
26925
27086
|
* @throws {RequiredError}
|
|
@@ -27158,7 +27319,7 @@ export const WordPressInstallationsApiFp = function (configuration) {
|
|
|
27158
27319
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
27159
27320
|
* @summary List WordPress installations
|
|
27160
27321
|
* @param {string | null} [username] Filter by specific username
|
|
27161
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27322
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27162
27323
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27163
27324
|
* @param {*} [options] Override http request option.
|
|
27164
27325
|
* @throws {RequiredError}
|
|
@@ -27295,7 +27456,7 @@ export const WordPressInstallationsApiFactory = function (configuration, basePat
|
|
|
27295
27456
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
27296
27457
|
* @summary List WordPress installations
|
|
27297
27458
|
* @param {string | null} [username] Filter by specific username
|
|
27298
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27459
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27299
27460
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27300
27461
|
* @param {*} [options] Override http request option.
|
|
27301
27462
|
* @throws {RequiredError}
|
|
@@ -27424,7 +27585,7 @@ export class WordPressInstallationsApi extends BaseAPI {
|
|
|
27424
27585
|
* List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
|
|
27425
27586
|
* @summary List WordPress installations
|
|
27426
27587
|
* @param {string | null} [username] Filter by specific username
|
|
27427
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27588
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27428
27589
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
27429
27590
|
* @param {*} [options] Override http request option.
|
|
27430
27591
|
* @throws {RequiredError}
|
|
@@ -28194,7 +28355,7 @@ export const WordPressPluginsApiAxiosParamCreator = function (configuration) {
|
|
|
28194
28355
|
/**
|
|
28195
28356
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28196
28357
|
* @summary Check if WooCommerce is installed
|
|
28197
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
28358
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28198
28359
|
* @param {*} [options] Override http request option.
|
|
28199
28360
|
* @throws {RequiredError}
|
|
28200
28361
|
*/
|
|
@@ -28640,7 +28801,7 @@ export const WordPressPluginsApiFp = function (configuration) {
|
|
|
28640
28801
|
/**
|
|
28641
28802
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28642
28803
|
* @summary Check if WooCommerce is installed
|
|
28643
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
28804
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28644
28805
|
* @param {*} [options] Override http request option.
|
|
28645
28806
|
* @throws {RequiredError}
|
|
28646
28807
|
*/
|
|
@@ -28841,7 +29002,7 @@ export const WordPressPluginsApiFactory = function (configuration, basePath, axi
|
|
|
28841
29002
|
/**
|
|
28842
29003
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28843
29004
|
* @summary Check if WooCommerce is installed
|
|
28844
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29005
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28845
29006
|
* @param {*} [options] Override http request option.
|
|
28846
29007
|
* @throws {RequiredError}
|
|
28847
29008
|
*/
|
|
@@ -28988,7 +29149,7 @@ export class WordPressPluginsApi extends BaseAPI {
|
|
|
28988
29149
|
/**
|
|
28989
29150
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
28990
29151
|
* @summary Check if WooCommerce is installed
|
|
28991
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
29152
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28992
29153
|
* @param {*} [options] Override http request option.
|
|
28993
29154
|
* @throws {RequiredError}
|
|
28994
29155
|
* @memberof WordPressPluginsApi
|
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.42.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.42.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.42.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.42.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.42.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.42.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.40.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.42.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.42.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.42.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.42.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
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AgencyHostingListAgencyPlanWebsitesV1200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<AgencyHostingV1WebsitesWebsiteListItemResource>**](AgencyHostingV1WebsitesWebsiteListItemResource.md) | Array of [`AgencyHosting.V1.Websites.WebsiteListItemResource`](#model/agencyhostingv1websiteswebsitelistitemresource) | [optional] [default to undefined]
|
|
9
|
+
**meta** | [**CommonSchemaPaginationMetaSchema**](CommonSchemaPaginationMetaSchema.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AgencyHostingListAgencyPlanWebsitesV1200Response } from 'hostinger-api-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: AgencyHostingListAgencyPlanWebsitesV1200Response = {
|
|
17
|
+
data,
|
|
18
|
+
meta,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# AgencyHostingV1WebsitesBuilderWebsiteDetailsResource
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Builder ID | [optional] [default to undefined]
|
|
9
|
+
**vhost** | **string** | Domain name | [optional] [default to undefined]
|
|
10
|
+
**type** | **string** | Detected website type | [optional] [default to undefined]
|
|
11
|
+
**username** | **string** | Account username | [optional] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { AgencyHostingV1WebsitesBuilderWebsiteDetailsResource } from 'hostinger-api-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: AgencyHostingV1WebsitesBuilderWebsiteDetailsResource = {
|
|
20
|
+
id,
|
|
21
|
+
vhost,
|
|
22
|
+
type,
|
|
23
|
+
username,
|
|
24
|
+
created_at,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|