hostinger-api-sdk 0.0.22 → 0.0.23

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/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.19.4
4
+ * API Version: 0.20.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
@@ -2198,6 +2198,44 @@ export interface HostingV1DatabasesPhpMyAdminLinkResource {
2198
2198
  */
2199
2199
  'link': string;
2200
2200
  }
2201
+ /**
2202
+ *
2203
+ * @export
2204
+ * @interface HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
2205
+ */
2206
+ export interface HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest {
2207
+ /**
2208
+ * Remote host to allow: an IPv4/IPv6 address, or \"%\" for any host.
2209
+ * @type {string}
2210
+ * @memberof HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
2211
+ */
2212
+ 'ip': string;
2213
+ }
2214
+ /**
2215
+ *
2216
+ * @export
2217
+ * @interface HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
2218
+ */
2219
+ export interface HostingV1DatabasesRemoteConnectionsRemoteConnectionResource {
2220
+ /**
2221
+ * Full name of the database the rule applies to.
2222
+ * @type {string}
2223
+ * @memberof HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
2224
+ */
2225
+ 'database_name': string;
2226
+ /**
2227
+ * Database user the rule applies to.
2228
+ * @type {string}
2229
+ * @memberof HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
2230
+ */
2231
+ 'database_user': string;
2232
+ /**
2233
+ * Allowed remote host: an IPv4/IPv6 address, or \"%\" for any host.
2234
+ * @type {string}
2235
+ * @memberof HostingV1DatabasesRemoteConnectionsRemoteConnectionResource
2236
+ */
2237
+ 'ip': string;
2238
+ }
2201
2239
  /**
2202
2240
  *
2203
2241
  * @export
@@ -6938,6 +6976,16 @@ export declare const HostingDatabasesApiAxiosParamCreator: (configuration?: Conf
6938
6976
  * @throws {RequiredError}
6939
6977
  */
6940
6978
  changeDatabasePasswordV1: (username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6979
+ /**
6980
+ * 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.
6981
+ * @summary Create account database remote connection
6982
+ * @param {string} username
6983
+ * @param {string} name Full database name as returned by the list databases endpoint.
6984
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
6985
+ * @param {*} [options] Override http request option.
6986
+ * @throws {RequiredError}
6987
+ */
6988
+ createAccountDatabaseRemoteConnectionV1: (username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6941
6989
  /**
6942
6990
  * 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
6991
  * @summary Create account database
@@ -6947,6 +6995,16 @@ export declare const HostingDatabasesApiAxiosParamCreator: (configuration?: Conf
6947
6995
  * @throws {RequiredError}
6948
6996
  */
6949
6997
  createAccountDatabaseV1: (username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6998
+ /**
6999
+ * 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.
7000
+ * @summary Delete account database remote connection
7001
+ * @param {string} username
7002
+ * @param {string} name Full database name as returned by the list databases endpoint.
7003
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
7004
+ * @param {*} [options] Override http request option.
7005
+ * @throws {RequiredError}
7006
+ */
7007
+ deleteAccountDatabaseRemoteConnectionV1: (username: string, name: string, ip: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6950
7008
  /**
6951
7009
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
6952
7010
  * @summary Delete account database
@@ -6965,6 +7023,15 @@ export declare const HostingDatabasesApiAxiosParamCreator: (configuration?: Conf
6965
7023
  * @throws {RequiredError}
6966
7024
  */
6967
7025
  getPhpMyAdminLinkV1: (username: string, name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7026
+ /**
7027
+ * 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.
7028
+ * @summary List account database remote connections
7029
+ * @param {string} username
7030
+ * @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.
7031
+ * @param {*} [options] Override http request option.
7032
+ * @throws {RequiredError}
7033
+ */
7034
+ listAccountDatabaseRemoteConnectionsV1: (username: string, domain?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6968
7035
  /**
6969
7036
  * 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
7037
  * @summary List account databases
@@ -7003,6 +7070,16 @@ export declare const HostingDatabasesApiFp: (configuration?: Configuration) => {
7003
7070
  * @throws {RequiredError}
7004
7071
  */
7005
7072
  changeDatabasePasswordV1(username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
7073
+ /**
7074
+ * 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.
7075
+ * @summary Create account database remote connection
7076
+ * @param {string} username
7077
+ * @param {string} name Full database name as returned by the list databases endpoint.
7078
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
7079
+ * @param {*} [options] Override http request option.
7080
+ * @throws {RequiredError}
7081
+ */
7082
+ createAccountDatabaseRemoteConnectionV1(username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
7006
7083
  /**
7007
7084
  * 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
7085
  * @summary Create account database
@@ -7012,6 +7089,16 @@ export declare const HostingDatabasesApiFp: (configuration?: Configuration) => {
7012
7089
  * @throws {RequiredError}
7013
7090
  */
7014
7091
  createAccountDatabaseV1(username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
7092
+ /**
7093
+ * 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.
7094
+ * @summary Delete account database remote connection
7095
+ * @param {string} username
7096
+ * @param {string} name Full database name as returned by the list databases endpoint.
7097
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
7098
+ * @param {*} [options] Override http request option.
7099
+ * @throws {RequiredError}
7100
+ */
7101
+ deleteAccountDatabaseRemoteConnectionV1(username: string, name: string, ip: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
7015
7102
  /**
7016
7103
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
7017
7104
  * @summary Delete account database
@@ -7030,6 +7117,15 @@ export declare const HostingDatabasesApiFp: (configuration?: Configuration) => {
7030
7117
  * @throws {RequiredError}
7031
7118
  */
7032
7119
  getPhpMyAdminLinkV1(username: string, name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1DatabasesPhpMyAdminLinkResource>>;
7120
+ /**
7121
+ * 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.
7122
+ * @summary List account database remote connections
7123
+ * @param {string} username
7124
+ * @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.
7125
+ * @param {*} [options] Override http request option.
7126
+ * @throws {RequiredError}
7127
+ */
7128
+ listAccountDatabaseRemoteConnectionsV1(username: string, domain?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1DatabasesRemoteConnectionsRemoteConnectionResource>>>;
7033
7129
  /**
7034
7130
  * 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
7131
  * @summary List account databases
@@ -7068,6 +7164,16 @@ export declare const HostingDatabasesApiFactory: (configuration?: Configuration,
7068
7164
  * @throws {RequiredError}
7069
7165
  */
7070
7166
  changeDatabasePasswordV1(username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
7167
+ /**
7168
+ * 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.
7169
+ * @summary Create account database remote connection
7170
+ * @param {string} username
7171
+ * @param {string} name Full database name as returned by the list databases endpoint.
7172
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
7173
+ * @param {*} [options] Override http request option.
7174
+ * @throws {RequiredError}
7175
+ */
7176
+ createAccountDatabaseRemoteConnectionV1(username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
7071
7177
  /**
7072
7178
  * 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
7179
  * @summary Create account database
@@ -7077,6 +7183,16 @@ export declare const HostingDatabasesApiFactory: (configuration?: Configuration,
7077
7183
  * @throws {RequiredError}
7078
7184
  */
7079
7185
  createAccountDatabaseV1(username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
7186
+ /**
7187
+ * 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.
7188
+ * @summary Delete account database remote connection
7189
+ * @param {string} username
7190
+ * @param {string} name Full database name as returned by the list databases endpoint.
7191
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
7192
+ * @param {*} [options] Override http request option.
7193
+ * @throws {RequiredError}
7194
+ */
7195
+ deleteAccountDatabaseRemoteConnectionV1(username: string, name: string, ip: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
7080
7196
  /**
7081
7197
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
7082
7198
  * @summary Delete account database
@@ -7095,6 +7211,15 @@ export declare const HostingDatabasesApiFactory: (configuration?: Configuration,
7095
7211
  * @throws {RequiredError}
7096
7212
  */
7097
7213
  getPhpMyAdminLinkV1(username: string, name: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1DatabasesPhpMyAdminLinkResource>;
7214
+ /**
7215
+ * 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.
7216
+ * @summary List account database remote connections
7217
+ * @param {string} username
7218
+ * @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.
7219
+ * @param {*} [options] Override http request option.
7220
+ * @throws {RequiredError}
7221
+ */
7222
+ listAccountDatabaseRemoteConnectionsV1(username: string, domain?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1DatabasesRemoteConnectionsRemoteConnectionResource>>;
7098
7223
  /**
7099
7224
  * 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
7225
  * @summary List account databases
@@ -7136,6 +7261,17 @@ export declare class HostingDatabasesApi extends BaseAPI {
7136
7261
  * @memberof HostingDatabasesApi
7137
7262
  */
7138
7263
  changeDatabasePasswordV1(username: string, name: string, hostingV1DatabasesChangeDatabasePasswordRequest: HostingV1DatabasesChangeDatabasePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
7264
+ /**
7265
+ * 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.
7266
+ * @summary Create account database remote connection
7267
+ * @param {string} username
7268
+ * @param {string} name Full database name as returned by the list databases endpoint.
7269
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
7270
+ * @param {*} [options] Override http request option.
7271
+ * @throws {RequiredError}
7272
+ * @memberof HostingDatabasesApi
7273
+ */
7274
+ createAccountDatabaseRemoteConnectionV1(username: string, name: string, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
7139
7275
  /**
7140
7276
  * 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
7277
  * @summary Create account database
@@ -7146,6 +7282,17 @@ export declare class HostingDatabasesApi extends BaseAPI {
7146
7282
  * @memberof HostingDatabasesApi
7147
7283
  */
7148
7284
  createAccountDatabaseV1(username: string, hostingV1DatabasesCreateDatabaseRequest: HostingV1DatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
7285
+ /**
7286
+ * 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.
7287
+ * @summary Delete account database remote connection
7288
+ * @param {string} username
7289
+ * @param {string} name Full database name as returned by the list databases endpoint.
7290
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
7291
+ * @param {*} [options] Override http request option.
7292
+ * @throws {RequiredError}
7293
+ * @memberof HostingDatabasesApi
7294
+ */
7295
+ deleteAccountDatabaseRemoteConnectionV1(username: string, name: string, ip: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
7149
7296
  /**
7150
7297
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
7151
7298
  * @summary Delete account database
@@ -7166,6 +7313,16 @@ export declare class HostingDatabasesApi extends BaseAPI {
7166
7313
  * @memberof HostingDatabasesApi
7167
7314
  */
7168
7315
  getPhpMyAdminLinkV1(username: string, name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1DatabasesPhpMyAdminLinkResource, any, {}>>;
7316
+ /**
7317
+ * 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.
7318
+ * @summary List account database remote connections
7319
+ * @param {string} username
7320
+ * @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.
7321
+ * @param {*} [options] Override http request option.
7322
+ * @throws {RequiredError}
7323
+ * @memberof HostingDatabasesApi
7324
+ */
7325
+ listAccountDatabaseRemoteConnectionsV1(username: string, domain?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1DatabasesRemoteConnectionsRemoteConnectionResource[], any, {}>>;
7169
7326
  /**
7170
7327
  * 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
7328
  * @summary List account databases
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 0.19.4
7
+ * API Version: 0.20.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
@@ -3946,6 +3946,47 @@ const HostingDatabasesApiAxiosParamCreator = function (configuration) {
3946
3946
  options: localVarRequestOptions,
3947
3947
  };
3948
3948
  }),
3949
+ /**
3950
+ * 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.
3951
+ * @summary Create account database remote connection
3952
+ * @param {string} username
3953
+ * @param {string} name Full database name as returned by the list databases endpoint.
3954
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
3955
+ * @param {*} [options] Override http request option.
3956
+ * @throws {RequiredError}
3957
+ */
3958
+ createAccountDatabaseRemoteConnectionV1: (username_1, name_1, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest_1, ...args_1) => __awaiter(this, [username_1, name_1, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest_1, ...args_1], void 0, function* (username, name, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options = {}) {
3959
+ // verify required parameter 'username' is not null or undefined
3960
+ (0, common_1.assertParamExists)('createAccountDatabaseRemoteConnectionV1', 'username', username);
3961
+ // verify required parameter 'name' is not null or undefined
3962
+ (0, common_1.assertParamExists)('createAccountDatabaseRemoteConnectionV1', 'name', name);
3963
+ // verify required parameter 'hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest' is not null or undefined
3964
+ (0, common_1.assertParamExists)('createAccountDatabaseRemoteConnectionV1', 'hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest', hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest);
3965
+ const localVarPath = `/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections`
3966
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
3967
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
3968
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3969
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3970
+ let baseOptions;
3971
+ if (configuration) {
3972
+ baseOptions = configuration.baseOptions;
3973
+ }
3974
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3975
+ const localVarHeaderParameter = {};
3976
+ const localVarQueryParameter = {};
3977
+ // authentication apiToken required
3978
+ // http bearer authentication required
3979
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3980
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3981
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3982
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3983
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3984
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, localVarRequestOptions, configuration);
3985
+ return {
3986
+ url: (0, common_1.toPathString)(localVarUrlObj),
3987
+ options: localVarRequestOptions,
3988
+ };
3989
+ }),
3949
3990
  /**
3950
3991
  * 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.
3951
3992
  * @summary Create account database
@@ -3983,6 +4024,48 @@ const HostingDatabasesApiAxiosParamCreator = function (configuration) {
3983
4024
  options: localVarRequestOptions,
3984
4025
  };
3985
4026
  }),
4027
+ /**
4028
+ * 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.
4029
+ * @summary Delete account database remote connection
4030
+ * @param {string} username
4031
+ * @param {string} name Full database name as returned by the list databases endpoint.
4032
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
4033
+ * @param {*} [options] Override http request option.
4034
+ * @throws {RequiredError}
4035
+ */
4036
+ deleteAccountDatabaseRemoteConnectionV1: (username_1, name_1, ip_1, ...args_1) => __awaiter(this, [username_1, name_1, ip_1, ...args_1], void 0, function* (username, name, ip, options = {}) {
4037
+ // verify required parameter 'username' is not null or undefined
4038
+ (0, common_1.assertParamExists)('deleteAccountDatabaseRemoteConnectionV1', 'username', username);
4039
+ // verify required parameter 'name' is not null or undefined
4040
+ (0, common_1.assertParamExists)('deleteAccountDatabaseRemoteConnectionV1', 'name', name);
4041
+ // verify required parameter 'ip' is not null or undefined
4042
+ (0, common_1.assertParamExists)('deleteAccountDatabaseRemoteConnectionV1', 'ip', ip);
4043
+ const localVarPath = `/api/hosting/v1/accounts/{username}/databases/{name}/remote-connections`
4044
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
4045
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
4046
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4047
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4048
+ let baseOptions;
4049
+ if (configuration) {
4050
+ baseOptions = configuration.baseOptions;
4051
+ }
4052
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
4053
+ const localVarHeaderParameter = {};
4054
+ const localVarQueryParameter = {};
4055
+ // authentication apiToken required
4056
+ // http bearer authentication required
4057
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4058
+ if (ip !== undefined) {
4059
+ localVarQueryParameter['ip'] = ip;
4060
+ }
4061
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4062
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4063
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4064
+ return {
4065
+ url: (0, common_1.toPathString)(localVarUrlObj),
4066
+ options: localVarRequestOptions,
4067
+ };
4068
+ }),
3986
4069
  /**
3987
4070
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
3988
4071
  * @summary Delete account database
@@ -4055,6 +4138,42 @@ const HostingDatabasesApiAxiosParamCreator = function (configuration) {
4055
4138
  options: localVarRequestOptions,
4056
4139
  };
4057
4140
  }),
4141
+ /**
4142
+ * 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.
4143
+ * @summary List account database remote connections
4144
+ * @param {string} username
4145
+ * @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.
4146
+ * @param {*} [options] Override http request option.
4147
+ * @throws {RequiredError}
4148
+ */
4149
+ listAccountDatabaseRemoteConnectionsV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
4150
+ // verify required parameter 'username' is not null or undefined
4151
+ (0, common_1.assertParamExists)('listAccountDatabaseRemoteConnectionsV1', 'username', username);
4152
+ const localVarPath = `/api/hosting/v1/accounts/{username}/databases/remote-connections`
4153
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
4154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4155
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4156
+ let baseOptions;
4157
+ if (configuration) {
4158
+ baseOptions = configuration.baseOptions;
4159
+ }
4160
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4161
+ const localVarHeaderParameter = {};
4162
+ const localVarQueryParameter = {};
4163
+ // authentication apiToken required
4164
+ // http bearer authentication required
4165
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4166
+ if (domain !== undefined) {
4167
+ localVarQueryParameter['domain'] = domain;
4168
+ }
4169
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4171
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4172
+ return {
4173
+ url: (0, common_1.toPathString)(localVarUrlObj),
4174
+ options: localVarRequestOptions,
4175
+ };
4176
+ }),
4058
4177
  /**
4059
4178
  * 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.
4060
4179
  * @summary List account databases
@@ -4170,6 +4289,23 @@ const HostingDatabasesApiFp = function (configuration) {
4170
4289
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4171
4290
  });
4172
4291
  },
4292
+ /**
4293
+ * 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.
4294
+ * @summary Create account database remote connection
4295
+ * @param {string} username
4296
+ * @param {string} name Full database name as returned by the list databases endpoint.
4297
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
4298
+ * @param {*} [options] Override http request option.
4299
+ * @throws {RequiredError}
4300
+ */
4301
+ createAccountDatabaseRemoteConnectionV1(username, name, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options) {
4302
+ return __awaiter(this, void 0, void 0, function* () {
4303
+ var _a, _b;
4304
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createAccountDatabaseRemoteConnectionV1(username, name, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options);
4305
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingDatabasesApi.createAccountDatabaseRemoteConnectionV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
4306
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4307
+ });
4308
+ },
4173
4309
  /**
4174
4310
  * 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.
4175
4311
  * @summary Create account database
@@ -4186,6 +4322,23 @@ const HostingDatabasesApiFp = function (configuration) {
4186
4322
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4187
4323
  });
4188
4324
  },
4325
+ /**
4326
+ * 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.
4327
+ * @summary Delete account database remote connection
4328
+ * @param {string} username
4329
+ * @param {string} name Full database name as returned by the list databases endpoint.
4330
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
4331
+ * @param {*} [options] Override http request option.
4332
+ * @throws {RequiredError}
4333
+ */
4334
+ deleteAccountDatabaseRemoteConnectionV1(username, name, ip, options) {
4335
+ return __awaiter(this, void 0, void 0, function* () {
4336
+ var _a, _b;
4337
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAccountDatabaseRemoteConnectionV1(username, name, ip, options);
4338
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingDatabasesApi.deleteAccountDatabaseRemoteConnectionV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
4339
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4340
+ });
4341
+ },
4189
4342
  /**
4190
4343
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
4191
4344
  * @summary Delete account database
@@ -4218,6 +4371,22 @@ const HostingDatabasesApiFp = function (configuration) {
4218
4371
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4219
4372
  });
4220
4373
  },
4374
+ /**
4375
+ * 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.
4376
+ * @summary List account database remote connections
4377
+ * @param {string} username
4378
+ * @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.
4379
+ * @param {*} [options] Override http request option.
4380
+ * @throws {RequiredError}
4381
+ */
4382
+ listAccountDatabaseRemoteConnectionsV1(username, domain, options) {
4383
+ return __awaiter(this, void 0, void 0, function* () {
4384
+ var _a, _b;
4385
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAccountDatabaseRemoteConnectionsV1(username, domain, options);
4386
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingDatabasesApi.listAccountDatabaseRemoteConnectionsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
4387
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4388
+ });
4389
+ },
4221
4390
  /**
4222
4391
  * 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.
4223
4392
  * @summary List account databases
@@ -4276,6 +4445,18 @@ const HostingDatabasesApiFactory = function (configuration, basePath, axios) {
4276
4445
  changeDatabasePasswordV1(username, name, hostingV1DatabasesChangeDatabasePasswordRequest, options) {
4277
4446
  return localVarFp.changeDatabasePasswordV1(username, name, hostingV1DatabasesChangeDatabasePasswordRequest, options).then((request) => request(axios, basePath));
4278
4447
  },
4448
+ /**
4449
+ * 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.
4450
+ * @summary Create account database remote connection
4451
+ * @param {string} username
4452
+ * @param {string} name Full database name as returned by the list databases endpoint.
4453
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
4454
+ * @param {*} [options] Override http request option.
4455
+ * @throws {RequiredError}
4456
+ */
4457
+ createAccountDatabaseRemoteConnectionV1(username, name, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options) {
4458
+ return localVarFp.createAccountDatabaseRemoteConnectionV1(username, name, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options).then((request) => request(axios, basePath));
4459
+ },
4279
4460
  /**
4280
4461
  * 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.
4281
4462
  * @summary Create account database
@@ -4287,6 +4468,18 @@ const HostingDatabasesApiFactory = function (configuration, basePath, axios) {
4287
4468
  createAccountDatabaseV1(username, hostingV1DatabasesCreateDatabaseRequest, options) {
4288
4469
  return localVarFp.createAccountDatabaseV1(username, hostingV1DatabasesCreateDatabaseRequest, options).then((request) => request(axios, basePath));
4289
4470
  },
4471
+ /**
4472
+ * 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.
4473
+ * @summary Delete account database remote connection
4474
+ * @param {string} username
4475
+ * @param {string} name Full database name as returned by the list databases endpoint.
4476
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
4477
+ * @param {*} [options] Override http request option.
4478
+ * @throws {RequiredError}
4479
+ */
4480
+ deleteAccountDatabaseRemoteConnectionV1(username, name, ip, options) {
4481
+ return localVarFp.deleteAccountDatabaseRemoteConnectionV1(username, name, ip, options).then((request) => request(axios, basePath));
4482
+ },
4290
4483
  /**
4291
4484
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
4292
4485
  * @summary Delete account database
@@ -4309,6 +4502,17 @@ const HostingDatabasesApiFactory = function (configuration, basePath, axios) {
4309
4502
  getPhpMyAdminLinkV1(username, name, options) {
4310
4503
  return localVarFp.getPhpMyAdminLinkV1(username, name, options).then((request) => request(axios, basePath));
4311
4504
  },
4505
+ /**
4506
+ * 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.
4507
+ * @summary List account database remote connections
4508
+ * @param {string} username
4509
+ * @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.
4510
+ * @param {*} [options] Override http request option.
4511
+ * @throws {RequiredError}
4512
+ */
4513
+ listAccountDatabaseRemoteConnectionsV1(username, domain, options) {
4514
+ return localVarFp.listAccountDatabaseRemoteConnectionsV1(username, domain, options).then((request) => request(axios, basePath));
4515
+ },
4312
4516
  /**
4313
4517
  * 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.
4314
4518
  * @summary List account databases
@@ -4358,6 +4562,19 @@ class HostingDatabasesApi extends base_1.BaseAPI {
4358
4562
  changeDatabasePasswordV1(username, name, hostingV1DatabasesChangeDatabasePasswordRequest, options) {
4359
4563
  return (0, exports.HostingDatabasesApiFp)(this.configuration).changeDatabasePasswordV1(username, name, hostingV1DatabasesChangeDatabasePasswordRequest, options).then((request) => request(this.axios, this.basePath));
4360
4564
  }
4565
+ /**
4566
+ * 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.
4567
+ * @summary Create account database remote connection
4568
+ * @param {string} username
4569
+ * @param {string} name Full database name as returned by the list databases endpoint.
4570
+ * @param {HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest} hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest
4571
+ * @param {*} [options] Override http request option.
4572
+ * @throws {RequiredError}
4573
+ * @memberof HostingDatabasesApi
4574
+ */
4575
+ createAccountDatabaseRemoteConnectionV1(username, name, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options) {
4576
+ return (0, exports.HostingDatabasesApiFp)(this.configuration).createAccountDatabaseRemoteConnectionV1(username, name, hostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest, options).then((request) => request(this.axios, this.basePath));
4577
+ }
4361
4578
  /**
4362
4579
  * 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.
4363
4580
  * @summary Create account database
@@ -4370,6 +4587,19 @@ class HostingDatabasesApi extends base_1.BaseAPI {
4370
4587
  createAccountDatabaseV1(username, hostingV1DatabasesCreateDatabaseRequest, options) {
4371
4588
  return (0, exports.HostingDatabasesApiFp)(this.configuration).createAccountDatabaseV1(username, hostingV1DatabasesCreateDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
4372
4589
  }
4590
+ /**
4591
+ * 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.
4592
+ * @summary Delete account database remote connection
4593
+ * @param {string} username
4594
+ * @param {string} name Full database name as returned by the list databases endpoint.
4595
+ * @param {string} ip Remote host to revoke: the IPv4/IPv6 address, or \&quot;%\&quot;, exactly as returned by the list remote connections endpoint.
4596
+ * @param {*} [options] Override http request option.
4597
+ * @throws {RequiredError}
4598
+ * @memberof HostingDatabasesApi
4599
+ */
4600
+ deleteAccountDatabaseRemoteConnectionV1(username, name, ip, options) {
4601
+ return (0, exports.HostingDatabasesApiFp)(this.configuration).deleteAccountDatabaseRemoteConnectionV1(username, name, ip, options).then((request) => request(this.axios, this.basePath));
4602
+ }
4373
4603
  /**
4374
4604
  * Permanently deletes a database and its remote connections. The database name must be the full name returned by the list databases endpoint.
4375
4605
  * @summary Delete account database
@@ -4394,6 +4624,18 @@ class HostingDatabasesApi extends base_1.BaseAPI {
4394
4624
  getPhpMyAdminLinkV1(username, name, options) {
4395
4625
  return (0, exports.HostingDatabasesApiFp)(this.configuration).getPhpMyAdminLinkV1(username, name, options).then((request) => request(this.axios, this.basePath));
4396
4626
  }
4627
+ /**
4628
+ * 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.
4629
+ * @summary List account database remote connections
4630
+ * @param {string} username
4631
+ * @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.
4632
+ * @param {*} [options] Override http request option.
4633
+ * @throws {RequiredError}
4634
+ * @memberof HostingDatabasesApi
4635
+ */
4636
+ listAccountDatabaseRemoteConnectionsV1(username, domain, options) {
4637
+ return (0, exports.HostingDatabasesApiFp)(this.configuration).listAccountDatabaseRemoteConnectionsV1(username, domain, options).then((request) => request(this.axios, this.basePath));
4638
+ }
4397
4639
  /**
4398
4640
  * 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.
4399
4641
  * @summary List account databases
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.19.4
4
+ * API Version: 0.20.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.19.4
7
+ * API Version: 0.20.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.19.4
4
+ * API Version: 0.20.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.19.4
7
+ * API Version: 0.20.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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 0.19.4
4
+ * API Version: 0.20.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