hostinger-api-sdk 0.0.22 → 0.0.24
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 +709 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +391 -1
- package/dist/api.js +578 -4
- 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 +391 -1
- package/dist/esm/api.js +571 -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/HostingCronJobsApi.md +234 -0
- package/docs/HostingDatabasesApi.md +179 -0
- package/docs/HostingV1CronJobsCreateCronJobRequest.md +22 -0
- package/docs/HostingV1CronJobsCronJobOutputResource.md +20 -0
- package/docs/HostingV1CronJobsCronJobResource.md +26 -0
- package/docs/HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest.md +20 -0
- package/docs/HostingV1DatabasesRemoteConnectionsRemoteConnectionResource.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.
|
|
4
|
+
* API Version: 0.21.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/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 0.
|
|
7
|
+
* API Version: 0.21.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
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.
|
|
4
|
+
* API Version: 0.21.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/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 0.
|
|
7
|
+
* API Version: 0.21.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
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.
|
|
4
|
+
* API Version: 0.21.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/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 0.
|
|
7
|
+
* API Version: 0.21.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
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/0.0.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/0.0.24" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.
|
|
4
|
+
* API Version: 0.21.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
|
|
@@ -2086,6 +2086,69 @@ export interface HostingListWebsitesV1200Response {
|
|
|
2086
2086
|
*/
|
|
2087
2087
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
2088
2088
|
}
|
|
2089
|
+
/**
|
|
2090
|
+
*
|
|
2091
|
+
* @export
|
|
2092
|
+
* @interface HostingV1CronJobsCreateCronJobRequest
|
|
2093
|
+
*/
|
|
2094
|
+
export interface HostingV1CronJobsCreateCronJobRequest {
|
|
2095
|
+
/**
|
|
2096
|
+
* Cron schedule expression (for example \"0 2 * * *\" runs daily at 02:00).
|
|
2097
|
+
* @type {string}
|
|
2098
|
+
* @memberof HostingV1CronJobsCreateCronJobRequest
|
|
2099
|
+
*/
|
|
2100
|
+
'time': string;
|
|
2101
|
+
/**
|
|
2102
|
+
* Command to execute on the schedule.
|
|
2103
|
+
* @type {string}
|
|
2104
|
+
* @memberof HostingV1CronJobsCreateCronJobRequest
|
|
2105
|
+
*/
|
|
2106
|
+
'command': string;
|
|
2107
|
+
}
|
|
2108
|
+
/**
|
|
2109
|
+
*
|
|
2110
|
+
* @export
|
|
2111
|
+
* @interface HostingV1CronJobsCronJobOutputResource
|
|
2112
|
+
*/
|
|
2113
|
+
export interface HostingV1CronJobsCronJobOutputResource {
|
|
2114
|
+
/**
|
|
2115
|
+
* Output captured from the last cron job execution. Empty when the cron job has not run yet.
|
|
2116
|
+
* @type {string}
|
|
2117
|
+
* @memberof HostingV1CronJobsCronJobOutputResource
|
|
2118
|
+
*/
|
|
2119
|
+
'output': string;
|
|
2120
|
+
}
|
|
2121
|
+
/**
|
|
2122
|
+
*
|
|
2123
|
+
* @export
|
|
2124
|
+
* @interface HostingV1CronJobsCronJobResource
|
|
2125
|
+
*/
|
|
2126
|
+
export interface HostingV1CronJobsCronJobResource {
|
|
2127
|
+
/**
|
|
2128
|
+
* Unique identifier of the cron job. Use it to delete the cron job or fetch its output.
|
|
2129
|
+
* @type {string}
|
|
2130
|
+
* @memberof HostingV1CronJobsCronJobResource
|
|
2131
|
+
*/
|
|
2132
|
+
'uid': string;
|
|
2133
|
+
/**
|
|
2134
|
+
* Username of the account that owns the cron job.
|
|
2135
|
+
* @type {string}
|
|
2136
|
+
* @memberof HostingV1CronJobsCronJobResource
|
|
2137
|
+
*/
|
|
2138
|
+
'username': string;
|
|
2139
|
+
/**
|
|
2140
|
+
* Cron schedule expression.
|
|
2141
|
+
* @type {string}
|
|
2142
|
+
* @memberof HostingV1CronJobsCronJobResource
|
|
2143
|
+
*/
|
|
2144
|
+
'time': string;
|
|
2145
|
+
/**
|
|
2146
|
+
* Command executed on the schedule.
|
|
2147
|
+
* @type {string}
|
|
2148
|
+
* @memberof HostingV1CronJobsCronJobResource
|
|
2149
|
+
*/
|
|
2150
|
+
'command': string;
|
|
2151
|
+
}
|
|
2089
2152
|
/**
|
|
2090
2153
|
*
|
|
2091
2154
|
* @export
|
|
@@ -2198,6 +2261,44 @@ export interface HostingV1DatabasesPhpMyAdminLinkResource {
|
|
|
2198
2261
|
*/
|
|
2199
2262
|
'link': string;
|
|
2200
2263
|
}
|
|
2264
|
+
/**
|
|
2265
|
+
*
|
|
2266
|
+
* @export
|
|
2267
|
+
* @interface HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
|
|
2268
|
+
*/
|
|
2269
|
+
export interface HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest {
|
|
2270
|
+
/**
|
|
2271
|
+
* Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host.
|
|
2272
|
+
* @type {string}
|
|
2273
|
+
* @memberof HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
|
|
2274
|
+
*/
|
|
2275
|
+
'ip': string;
|
|
2276
|
+
}
|
|
2277
|
+
/**
|
|
2278
|
+
*
|
|
2279
|
+
* @export
|
|
2280
|
+
* @interface HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
|
|
2281
|
+
*/
|
|
2282
|
+
export interface HostingV1DatabasesRemoteConnectionsRemoteConnectionResource {
|
|
2283
|
+
/**
|
|
2284
|
+
* Full name of the database the rule applies to.
|
|
2285
|
+
* @type {string}
|
|
2286
|
+
* @memberof HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
|
|
2287
|
+
*/
|
|
2288
|
+
'database_name': string;
|
|
2289
|
+
/**
|
|
2290
|
+
* Database user the rule applies to.
|
|
2291
|
+
* @type {string}
|
|
2292
|
+
* @memberof HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
|
|
2293
|
+
*/
|
|
2294
|
+
'database_user': string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Allowed remote host: an IPv4/IPv6 address, or \"%\" for any host.
|
|
2297
|
+
* @type {string}
|
|
2298
|
+
* @memberof HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
|
|
2299
|
+
*/
|
|
2300
|
+
'ip': string;
|
|
2301
|
+
}
|
|
2201
2302
|
/**
|
|
2202
2303
|
*
|
|
2203
2304
|
* @export
|
|
@@ -6923,6 +7024,176 @@ export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
|
6923
7024
|
*/
|
|
6924
7025
|
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteUrlResource, any, {}>>;
|
|
6925
7026
|
}
|
|
7027
|
+
/**
|
|
7028
|
+
* HostingCronJobsApi - axios parameter creator
|
|
7029
|
+
* @export
|
|
7030
|
+
*/
|
|
7031
|
+
export declare const HostingCronJobsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7032
|
+
/**
|
|
7033
|
+
* Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
|
|
7034
|
+
* @summary Create account cron job
|
|
7035
|
+
* @param {string} username
|
|
7036
|
+
* @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
|
|
7037
|
+
* @param {*} [options] Override http request option.
|
|
7038
|
+
* @throws {RequiredError}
|
|
7039
|
+
*/
|
|
7040
|
+
createAccountCronJobV1: (username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7041
|
+
/**
|
|
7042
|
+
* Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7043
|
+
* @summary Delete account cron job
|
|
7044
|
+
* @param {string} username
|
|
7045
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7046
|
+
* @param {*} [options] Override http request option.
|
|
7047
|
+
* @throws {RequiredError}
|
|
7048
|
+
*/
|
|
7049
|
+
deleteAccountCronJobV1: (username: string, uid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7050
|
+
/**
|
|
7051
|
+
* Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7052
|
+
* @summary Get cron job output
|
|
7053
|
+
* @param {string} username
|
|
7054
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7055
|
+
* @param {*} [options] Override http request option.
|
|
7056
|
+
* @throws {RequiredError}
|
|
7057
|
+
*/
|
|
7058
|
+
getCronJobOutputV1: (username: string, uid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7059
|
+
/**
|
|
7060
|
+
* Returns the list of cron jobs configured for the specified account, including their schedule and command.
|
|
7061
|
+
* @summary List account cron jobs
|
|
7062
|
+
* @param {string} username
|
|
7063
|
+
* @param {*} [options] Override http request option.
|
|
7064
|
+
* @throws {RequiredError}
|
|
7065
|
+
*/
|
|
7066
|
+
listAccountCronJobsV1: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7067
|
+
};
|
|
7068
|
+
/**
|
|
7069
|
+
* HostingCronJobsApi - functional programming interface
|
|
7070
|
+
* @export
|
|
7071
|
+
*/
|
|
7072
|
+
export declare const HostingCronJobsApiFp: (configuration?: Configuration) => {
|
|
7073
|
+
/**
|
|
7074
|
+
* Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
|
|
7075
|
+
* @summary Create account cron job
|
|
7076
|
+
* @param {string} username
|
|
7077
|
+
* @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
|
|
7078
|
+
* @param {*} [options] Override http request option.
|
|
7079
|
+
* @throws {RequiredError}
|
|
7080
|
+
*/
|
|
7081
|
+
createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1CronJobsCronJobResource>>;
|
|
7082
|
+
/**
|
|
7083
|
+
* Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7084
|
+
* @summary Delete account cron job
|
|
7085
|
+
* @param {string} username
|
|
7086
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7087
|
+
* @param {*} [options] Override http request option.
|
|
7088
|
+
* @throws {RequiredError}
|
|
7089
|
+
*/
|
|
7090
|
+
deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
7091
|
+
/**
|
|
7092
|
+
* Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7093
|
+
* @summary Get cron job output
|
|
7094
|
+
* @param {string} username
|
|
7095
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7096
|
+
* @param {*} [options] Override http request option.
|
|
7097
|
+
* @throws {RequiredError}
|
|
7098
|
+
*/
|
|
7099
|
+
getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1CronJobsCronJobOutputResource>>;
|
|
7100
|
+
/**
|
|
7101
|
+
* Returns the list of cron jobs configured for the specified account, including their schedule and command.
|
|
7102
|
+
* @summary List account cron jobs
|
|
7103
|
+
* @param {string} username
|
|
7104
|
+
* @param {*} [options] Override http request option.
|
|
7105
|
+
* @throws {RequiredError}
|
|
7106
|
+
*/
|
|
7107
|
+
listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1CronJobsCronJobResource>>>;
|
|
7108
|
+
};
|
|
7109
|
+
/**
|
|
7110
|
+
* HostingCronJobsApi - factory interface
|
|
7111
|
+
* @export
|
|
7112
|
+
*/
|
|
7113
|
+
export declare const HostingCronJobsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7114
|
+
/**
|
|
7115
|
+
* Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
|
|
7116
|
+
* @summary Create account cron job
|
|
7117
|
+
* @param {string} username
|
|
7118
|
+
* @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
|
|
7119
|
+
* @param {*} [options] Override http request option.
|
|
7120
|
+
* @throws {RequiredError}
|
|
7121
|
+
*/
|
|
7122
|
+
createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1CronJobsCronJobResource>;
|
|
7123
|
+
/**
|
|
7124
|
+
* Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7125
|
+
* @summary Delete account cron job
|
|
7126
|
+
* @param {string} username
|
|
7127
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7128
|
+
* @param {*} [options] Override http request option.
|
|
7129
|
+
* @throws {RequiredError}
|
|
7130
|
+
*/
|
|
7131
|
+
deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
7132
|
+
/**
|
|
7133
|
+
* Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7134
|
+
* @summary Get cron job output
|
|
7135
|
+
* @param {string} username
|
|
7136
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7137
|
+
* @param {*} [options] Override http request option.
|
|
7138
|
+
* @throws {RequiredError}
|
|
7139
|
+
*/
|
|
7140
|
+
getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1CronJobsCronJobOutputResource>;
|
|
7141
|
+
/**
|
|
7142
|
+
* Returns the list of cron jobs configured for the specified account, including their schedule and command.
|
|
7143
|
+
* @summary List account cron jobs
|
|
7144
|
+
* @param {string} username
|
|
7145
|
+
* @param {*} [options] Override http request option.
|
|
7146
|
+
* @throws {RequiredError}
|
|
7147
|
+
*/
|
|
7148
|
+
listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1CronJobsCronJobResource>>;
|
|
7149
|
+
};
|
|
7150
|
+
/**
|
|
7151
|
+
* HostingCronJobsApi - object-oriented interface
|
|
7152
|
+
* @export
|
|
7153
|
+
* @class HostingCronJobsApi
|
|
7154
|
+
* @extends {BaseAPI}
|
|
7155
|
+
*/
|
|
7156
|
+
export declare class HostingCronJobsApi extends BaseAPI {
|
|
7157
|
+
/**
|
|
7158
|
+
* Creates a cron job for the specified account from a schedule expression and a command. Returns the created cron job, including its uid, which is required to delete the cron job or fetch its output.
|
|
7159
|
+
* @summary Create account cron job
|
|
7160
|
+
* @param {string} username
|
|
7161
|
+
* @param {HostingV1CronJobsCreateCronJobRequest} hostingV1CronJobsCreateCronJobRequest
|
|
7162
|
+
* @param {*} [options] Override http request option.
|
|
7163
|
+
* @throws {RequiredError}
|
|
7164
|
+
* @memberof HostingCronJobsApi
|
|
7165
|
+
*/
|
|
7166
|
+
createAccountCronJobV1(username: string, hostingV1CronJobsCreateCronJobRequest: HostingV1CronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobResource, any, {}>>;
|
|
7167
|
+
/**
|
|
7168
|
+
* Permanently deletes the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7169
|
+
* @summary Delete account cron job
|
|
7170
|
+
* @param {string} username
|
|
7171
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7172
|
+
* @param {*} [options] Override http request option.
|
|
7173
|
+
* @throws {RequiredError}
|
|
7174
|
+
* @memberof HostingCronJobsApi
|
|
7175
|
+
*/
|
|
7176
|
+
deleteAccountCronJobV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
7177
|
+
/**
|
|
7178
|
+
* Returns the output captured from the last execution of the cron job identified by its uid. The uid is returned by the list cron jobs endpoint.
|
|
7179
|
+
* @summary Get cron job output
|
|
7180
|
+
* @param {string} username
|
|
7181
|
+
* @param {string} uid Unique identifier of the cron job as returned by the list cron jobs endpoint.
|
|
7182
|
+
* @param {*} [options] Override http request option.
|
|
7183
|
+
* @throws {RequiredError}
|
|
7184
|
+
* @memberof HostingCronJobsApi
|
|
7185
|
+
*/
|
|
7186
|
+
getCronJobOutputV1(username: string, uid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobOutputResource, any, {}>>;
|
|
7187
|
+
/**
|
|
7188
|
+
* Returns the list of cron jobs configured for the specified account, including their schedule and command.
|
|
7189
|
+
* @summary List account cron jobs
|
|
7190
|
+
* @param {string} username
|
|
7191
|
+
* @param {*} [options] Override http request option.
|
|
7192
|
+
* @throws {RequiredError}
|
|
7193
|
+
* @memberof HostingCronJobsApi
|
|
7194
|
+
*/
|
|
7195
|
+
listAccountCronJobsV1(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1CronJobsCronJobResource[], any, {}>>;
|
|
7196
|
+
}
|
|
6926
7197
|
/**
|
|
6927
7198
|
* HostingDatabasesApi - axios parameter creator
|
|
6928
7199
|
* @export
|
|
@@ -6938,6 +7209,16 @@ export declare const HostingDatabasesApiAxiosParamCreator: (configuration?: Conf
|
|
|
6938
7209
|
* @throws {RequiredError}
|
|
6939
7210
|
*/
|
|
6940
7211
|
changeDatabasePasswordV1: (username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7212
|
+
/**
|
|
7213
|
+
* Allows a remote host to connect to the specified database. Provide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be the full name returned by the list databases endpoint.
|
|
7214
|
+
* @summary Create account database remote connection
|
|
7215
|
+
* @param {string} username
|
|
7216
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7217
|
+
* @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
|
|
7218
|
+
* @param {*} [options] Override http request option.
|
|
7219
|
+
* @throws {RequiredError}
|
|
7220
|
+
*/
|
|
7221
|
+
createAccountDatabaseRemoteConnectionV1: (username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6941
7222
|
/**
|
|
6942
7223
|
* Creates a database with a database user and password for the specified account. The database name and user are automatically prefixed with the account username when needed.
|
|
6943
7224
|
* @summary Create account database
|
|
@@ -6947,6 +7228,16 @@ export declare const HostingDatabasesApiAxiosParamCreator: (configuration?: Conf
|
|
|
6947
7228
|
* @throws {RequiredError}
|
|
6948
7229
|
*/
|
|
6949
7230
|
createAccountDatabaseV1: (username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7231
|
+
/**
|
|
7232
|
+
* Permanently removes a remote-access rule, revoking the given host\'s remote access to the database. Identify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint). The database name must be the full name returned by the list databases endpoint.
|
|
7233
|
+
* @summary Delete account database remote connection
|
|
7234
|
+
* @param {string} username
|
|
7235
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7236
|
+
* @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint.
|
|
7237
|
+
* @param {*} [options] Override http request option.
|
|
7238
|
+
* @throws {RequiredError}
|
|
7239
|
+
*/
|
|
7240
|
+
deleteAccountDatabaseRemoteConnectionV1: (username: string, name: string, ip: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6950
7241
|
/**
|
|
6951
7242
|
* Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
|
|
6952
7243
|
* @summary Delete account database
|
|
@@ -6965,6 +7256,15 @@ export declare const HostingDatabasesApiAxiosParamCreator: (configuration?: Conf
|
|
|
6965
7256
|
* @throws {RequiredError}
|
|
6966
7257
|
*/
|
|
6967
7258
|
getPhpMyAdminLinkV1: (username: string, name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7259
|
+
/**
|
|
7260
|
+
* Returns the remote-access rules for the specified account: the remote hosts (IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases. Use the domain filter to only return rules for databases assigned to a specific domain.
|
|
7261
|
+
* @summary List account database remote connections
|
|
7262
|
+
* @param {string} username
|
|
7263
|
+
* @param {string | null} [domain] Filter remote connections by the domain the database is assigned to. Rules for databases not assigned to any domain are always included.
|
|
7264
|
+
* @param {*} [options] Override http request option.
|
|
7265
|
+
* @throws {RequiredError}
|
|
7266
|
+
*/
|
|
7267
|
+
listAccountDatabaseRemoteConnectionsV1: (username: string, domain?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6968
7268
|
/**
|
|
6969
7269
|
* Returns a paginated list of databases for the specified account. Use the domain and is_assigned filters to find databases assigned to a specific domain.
|
|
6970
7270
|
* @summary List account databases
|
|
@@ -7003,6 +7303,16 @@ export declare const HostingDatabasesApiFp: (configuration?: Configuration) => {
|
|
|
7003
7303
|
* @throws {RequiredError}
|
|
7004
7304
|
*/
|
|
7005
7305
|
changeDatabasePasswordV1(username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
7306
|
+
/**
|
|
7307
|
+
* Allows a remote host to connect to the specified database. Provide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be the full name returned by the list databases endpoint.
|
|
7308
|
+
* @summary Create account database remote connection
|
|
7309
|
+
* @param {string} username
|
|
7310
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7311
|
+
* @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
|
|
7312
|
+
* @param {*} [options] Override http request option.
|
|
7313
|
+
* @throws {RequiredError}
|
|
7314
|
+
*/
|
|
7315
|
+
createAccountDatabaseRemoteConnectionV1(username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
7006
7316
|
/**
|
|
7007
7317
|
* Creates a database with a database user and password for the specified account. The database name and user are automatically prefixed with the account username when needed.
|
|
7008
7318
|
* @summary Create account database
|
|
@@ -7012,6 +7322,16 @@ export declare const HostingDatabasesApiFp: (configuration?: Configuration) => {
|
|
|
7012
7322
|
* @throws {RequiredError}
|
|
7013
7323
|
*/
|
|
7014
7324
|
createAccountDatabaseV1(username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
7325
|
+
/**
|
|
7326
|
+
* Permanently removes a remote-access rule, revoking the given host\'s remote access to the database. Identify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint). The database name must be the full name returned by the list databases endpoint.
|
|
7327
|
+
* @summary Delete account database remote connection
|
|
7328
|
+
* @param {string} username
|
|
7329
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7330
|
+
* @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint.
|
|
7331
|
+
* @param {*} [options] Override http request option.
|
|
7332
|
+
* @throws {RequiredError}
|
|
7333
|
+
*/
|
|
7334
|
+
deleteAccountDatabaseRemoteConnectionV1(username: string, name: string, ip: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
7015
7335
|
/**
|
|
7016
7336
|
* Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
|
|
7017
7337
|
* @summary Delete account database
|
|
@@ -7030,6 +7350,15 @@ export declare const HostingDatabasesApiFp: (configuration?: Configuration) => {
|
|
|
7030
7350
|
* @throws {RequiredError}
|
|
7031
7351
|
*/
|
|
7032
7352
|
getPhpMyAdminLinkV1(username: string, name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1DatabasesPhpMyAdminLinkResource>>;
|
|
7353
|
+
/**
|
|
7354
|
+
* Returns the remote-access rules for the specified account: the remote hosts (IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases. Use the domain filter to only return rules for databases assigned to a specific domain.
|
|
7355
|
+
* @summary List account database remote connections
|
|
7356
|
+
* @param {string} username
|
|
7357
|
+
* @param {string | null} [domain] Filter remote connections by the domain the database is assigned to. Rules for databases not assigned to any domain are always included.
|
|
7358
|
+
* @param {*} [options] Override http request option.
|
|
7359
|
+
* @throws {RequiredError}
|
|
7360
|
+
*/
|
|
7361
|
+
listAccountDatabaseRemoteConnectionsV1(username: string, domain?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1DatabasesRemoteConnectionsRemoteConnectionResource>>>;
|
|
7033
7362
|
/**
|
|
7034
7363
|
* Returns a paginated list of databases for the specified account. Use the domain and is_assigned filters to find databases assigned to a specific domain.
|
|
7035
7364
|
* @summary List account databases
|
|
@@ -7068,6 +7397,16 @@ export declare const HostingDatabasesApiFactory: (configuration?: Configuration,
|
|
|
7068
7397
|
* @throws {RequiredError}
|
|
7069
7398
|
*/
|
|
7070
7399
|
changeDatabasePasswordV1(username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
7400
|
+
/**
|
|
7401
|
+
* Allows a remote host to connect to the specified database. Provide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be the full name returned by the list databases endpoint.
|
|
7402
|
+
* @summary Create account database remote connection
|
|
7403
|
+
* @param {string} username
|
|
7404
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7405
|
+
* @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
|
|
7406
|
+
* @param {*} [options] Override http request option.
|
|
7407
|
+
* @throws {RequiredError}
|
|
7408
|
+
*/
|
|
7409
|
+
createAccountDatabaseRemoteConnectionV1(username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
7071
7410
|
/**
|
|
7072
7411
|
* Creates a database with a database user and password for the specified account. The database name and user are automatically prefixed with the account username when needed.
|
|
7073
7412
|
* @summary Create account database
|
|
@@ -7077,6 +7416,16 @@ export declare const HostingDatabasesApiFactory: (configuration?: Configuration,
|
|
|
7077
7416
|
* @throws {RequiredError}
|
|
7078
7417
|
*/
|
|
7079
7418
|
createAccountDatabaseV1(username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
7419
|
+
/**
|
|
7420
|
+
* Permanently removes a remote-access rule, revoking the given host\'s remote access to the database. Identify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint). The database name must be the full name returned by the list databases endpoint.
|
|
7421
|
+
* @summary Delete account database remote connection
|
|
7422
|
+
* @param {string} username
|
|
7423
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7424
|
+
* @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint.
|
|
7425
|
+
* @param {*} [options] Override http request option.
|
|
7426
|
+
* @throws {RequiredError}
|
|
7427
|
+
*/
|
|
7428
|
+
deleteAccountDatabaseRemoteConnectionV1(username: string, name: string, ip: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
7080
7429
|
/**
|
|
7081
7430
|
* Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
|
|
7082
7431
|
* @summary Delete account database
|
|
@@ -7095,6 +7444,15 @@ export declare const HostingDatabasesApiFactory: (configuration?: Configuration,
|
|
|
7095
7444
|
* @throws {RequiredError}
|
|
7096
7445
|
*/
|
|
7097
7446
|
getPhpMyAdminLinkV1(username: string, name: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1DatabasesPhpMyAdminLinkResource>;
|
|
7447
|
+
/**
|
|
7448
|
+
* Returns the remote-access rules for the specified account: the remote hosts (IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases. Use the domain filter to only return rules for databases assigned to a specific domain.
|
|
7449
|
+
* @summary List account database remote connections
|
|
7450
|
+
* @param {string} username
|
|
7451
|
+
* @param {string | null} [domain] Filter remote connections by the domain the database is assigned to. Rules for databases not assigned to any domain are always included.
|
|
7452
|
+
* @param {*} [options] Override http request option.
|
|
7453
|
+
* @throws {RequiredError}
|
|
7454
|
+
*/
|
|
7455
|
+
listAccountDatabaseRemoteConnectionsV1(username: string, domain?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1DatabasesRemoteConnectionsRemoteConnectionResource>>;
|
|
7098
7456
|
/**
|
|
7099
7457
|
* Returns a paginated list of databases for the specified account. Use the domain and is_assigned filters to find databases assigned to a specific domain.
|
|
7100
7458
|
* @summary List account databases
|
|
@@ -7136,6 +7494,17 @@ export declare class HostingDatabasesApi extends BaseAPI {
|
|
|
7136
7494
|
* @memberof HostingDatabasesApi
|
|
7137
7495
|
*/
|
|
7138
7496
|
changeDatabasePasswordV1(username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
7497
|
+
/**
|
|
7498
|
+
* Allows a remote host to connect to the specified database. Provide an IPv4/IPv6 address, or \"%\" to allow any host. The database name must be the full name returned by the list databases endpoint.
|
|
7499
|
+
* @summary Create account database remote connection
|
|
7500
|
+
* @param {string} username
|
|
7501
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7502
|
+
* @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
|
|
7503
|
+
* @param {*} [options] Override http request option.
|
|
7504
|
+
* @throws {RequiredError}
|
|
7505
|
+
* @memberof HostingDatabasesApi
|
|
7506
|
+
*/
|
|
7507
|
+
createAccountDatabaseRemoteConnectionV1(username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
7139
7508
|
/**
|
|
7140
7509
|
* Creates a database with a database user and password for the specified account. The database name and user are automatically prefixed with the account username when needed.
|
|
7141
7510
|
* @summary Create account database
|
|
@@ -7146,6 +7515,17 @@ export declare class HostingDatabasesApi extends BaseAPI {
|
|
|
7146
7515
|
* @memberof HostingDatabasesApi
|
|
7147
7516
|
*/
|
|
7148
7517
|
createAccountDatabaseV1(username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
7518
|
+
/**
|
|
7519
|
+
* Permanently removes a remote-access rule, revoking the given host\'s remote access to the database. Identify the rule with the required ip query parameter (the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint). The database name must be the full name returned by the list databases endpoint.
|
|
7520
|
+
* @summary Delete account database remote connection
|
|
7521
|
+
* @param {string} username
|
|
7522
|
+
* @param {string} name Full database name as returned by the list databases endpoint.
|
|
7523
|
+
* @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \"%\", exactly as returned by the list remote connections endpoint.
|
|
7524
|
+
* @param {*} [options] Override http request option.
|
|
7525
|
+
* @throws {RequiredError}
|
|
7526
|
+
* @memberof HostingDatabasesApi
|
|
7527
|
+
*/
|
|
7528
|
+
deleteAccountDatabaseRemoteConnectionV1(username: string, name: string, ip: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
|
|
7149
7529
|
/**
|
|
7150
7530
|
* Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
|
|
7151
7531
|
* @summary Delete account database
|
|
@@ -7166,6 +7546,16 @@ export declare class HostingDatabasesApi extends BaseAPI {
|
|
|
7166
7546
|
* @memberof HostingDatabasesApi
|
|
7167
7547
|
*/
|
|
7168
7548
|
getPhpMyAdminLinkV1(username: string, name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1DatabasesPhpMyAdminLinkResource, any, {}>>;
|
|
7549
|
+
/**
|
|
7550
|
+
* Returns the remote-access rules for the specified account: the remote hosts (IPv4/IPv6 addresses, or \"%\" for any host) allowed to connect to the account databases. Use the domain filter to only return rules for databases assigned to a specific domain.
|
|
7551
|
+
* @summary List account database remote connections
|
|
7552
|
+
* @param {string} username
|
|
7553
|
+
* @param {string | null} [domain] Filter remote connections by the domain the database is assigned to. Rules for databases not assigned to any domain are always included.
|
|
7554
|
+
* @param {*} [options] Override http request option.
|
|
7555
|
+
* @throws {RequiredError}
|
|
7556
|
+
* @memberof HostingDatabasesApi
|
|
7557
|
+
*/
|
|
7558
|
+
listAccountDatabaseRemoteConnectionsV1(username: string, domain?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1DatabasesRemoteConnectionsRemoteConnectionResource[], any, {}>>;
|
|
7169
7559
|
/**
|
|
7170
7560
|
* Returns a paginated list of databases for the specified account. Use the domain and is_assigned filters to find databases assigned to a specific domain.
|
|
7171
7561
|
* @summary List account databases
|