hostinger-api-sdk 1.1.1 → 1.2.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/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.1.1
6
+ * API Version: 1.2.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/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.1.1
6
+ * API Version: 1.2.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/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.1.1
6
+ * API Version: 1.2.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
@@ -48,7 +48,7 @@ export class Configuration {
48
48
  this.baseOptions = {
49
49
  ...param.baseOptions,
50
50
  headers: {
51
- 'User-Agent': "hostinger-typescript-sdk/1.1.1",
51
+ 'User-Agent': "hostinger-typescript-sdk/1.2.0",
52
52
  ...param.baseOptions?.headers,
53
53
  },
54
54
  };
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.1.1
4
+ * API Version: 1.2.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
@@ -3000,6 +3000,178 @@ export interface HostingV1OrdersPlanResource {
3000
3000
  */
3001
3001
  'name': string;
3002
3002
  }
3003
+ /**
3004
+ *
3005
+ * @export
3006
+ * @interface HostingV1PhpPhpDetailsResource
3007
+ */
3008
+ export interface HostingV1PhpPhpDetailsResource {
3009
+ /**
3010
+ * Current PHP version name
3011
+ * @type {string}
3012
+ * @memberof HostingV1PhpPhpDetailsResource
3013
+ */
3014
+ 'php_version': string;
3015
+ /**
3016
+ * Full PHP version name
3017
+ * @type {string}
3018
+ * @memberof HostingV1PhpPhpDetailsResource
3019
+ */
3020
+ 'php_version_full': string;
3021
+ /**
3022
+ *
3023
+ * @type {HostingV1PhpPhpVersionsResource}
3024
+ * @memberof HostingV1PhpPhpDetailsResource
3025
+ */
3026
+ 'php_versions': HostingV1PhpPhpVersionsResource;
3027
+ /**
3028
+ * PHP options keyed by option name
3029
+ * @type {{ [key: string]: HostingV1PhpPhpOptionResource; }}
3030
+ * @memberof HostingV1PhpPhpDetailsResource
3031
+ */
3032
+ 'options': {
3033
+ [key: string]: HostingV1PhpPhpOptionResource;
3034
+ };
3035
+ /**
3036
+ * PHP extensions keyed by extension name
3037
+ * @type {object}
3038
+ * @memberof HostingV1PhpPhpDetailsResource
3039
+ */
3040
+ 'extensions': object;
3041
+ /**
3042
+ * Groups of extensions that conflict with each other
3043
+ * @type {Array<Array<string>>}
3044
+ * @memberof HostingV1PhpPhpDetailsResource
3045
+ */
3046
+ 'conflicting_extensions': Array<Array<string>>;
3047
+ }
3048
+ /**
3049
+ *
3050
+ * @export
3051
+ * @interface HostingV1PhpPhpInfoResource
3052
+ */
3053
+ export interface HostingV1PhpPhpInfoResource {
3054
+ /**
3055
+ * HTML string containing the full phpinfo page
3056
+ * @type {string}
3057
+ * @memberof HostingV1PhpPhpInfoResource
3058
+ */
3059
+ 'info': string;
3060
+ }
3061
+ /**
3062
+ *
3063
+ * @export
3064
+ * @interface HostingV1PhpPhpOptionResource
3065
+ */
3066
+ export interface HostingV1PhpPhpOptionResource {
3067
+ /**
3068
+ * Declared option type (e.g. bool, string)
3069
+ * @type {string}
3070
+ * @memberof HostingV1PhpPhpOptionResource
3071
+ */
3072
+ 'type': string;
3073
+ /**
3074
+ * Current value for this website
3075
+ * @type {string}
3076
+ * @memberof HostingV1PhpPhpOptionResource
3077
+ */
3078
+ 'value': string;
3079
+ /**
3080
+ * Human-readable description
3081
+ * @type {string}
3082
+ * @memberof HostingV1PhpPhpOptionResource
3083
+ */
3084
+ 'comment': string;
3085
+ /**
3086
+ * Default value
3087
+ * @type {string}
3088
+ * @memberof HostingV1PhpPhpOptionResource
3089
+ */
3090
+ 'default': string;
3091
+ /**
3092
+ * Allowed value range or limits, when applicable
3093
+ * @type {string}
3094
+ * @memberof HostingV1PhpPhpOptionResource
3095
+ */
3096
+ 'range': string | null;
3097
+ /**
3098
+ * Maximum value allowed by the account hosting plan, when applicable
3099
+ * @type {string}
3100
+ * @memberof HostingV1PhpPhpOptionResource
3101
+ */
3102
+ 'max': string | null;
3103
+ }
3104
+ /**
3105
+ *
3106
+ * @export
3107
+ * @interface HostingV1PhpPhpVersionsResource
3108
+ */
3109
+ export interface HostingV1PhpPhpVersionsResource {
3110
+ /**
3111
+ * Key-value pairs of supported versions
3112
+ * @type {object}
3113
+ * @memberof HostingV1PhpPhpVersionsResource
3114
+ */
3115
+ 'supported': object;
3116
+ /**
3117
+ * Key-value pairs of unsupported versions
3118
+ * @type {object}
3119
+ * @memberof HostingV1PhpPhpVersionsResource
3120
+ */
3121
+ 'unsupported': object;
3122
+ }
3123
+ /**
3124
+ *
3125
+ * @export
3126
+ * @interface HostingV1PhpUpdatePhpExtensionsRequest
3127
+ */
3128
+ export interface HostingV1PhpUpdatePhpExtensionsRequest {
3129
+ /**
3130
+ * PHP extensions to enable.
3131
+ * @type {Array<string>}
3132
+ * @memberof HostingV1PhpUpdatePhpExtensionsRequest
3133
+ */
3134
+ 'enable': Array<string>;
3135
+ /**
3136
+ * PHP extensions to disable.
3137
+ * @type {Array<string>}
3138
+ * @memberof HostingV1PhpUpdatePhpExtensionsRequest
3139
+ */
3140
+ 'disable': Array<string>;
3141
+ }
3142
+ /**
3143
+ *
3144
+ * @export
3145
+ * @interface HostingV1PhpUpdatePhpOptionsRequest
3146
+ */
3147
+ export interface HostingV1PhpUpdatePhpOptionsRequest {
3148
+ /**
3149
+ * Map of PHP options to update, keyed by option name. Only include options you want to change.
3150
+ * @type {{ [key: string]: HostingV1PhpUpdatePhpOptionsRequestOptionsValue; }}
3151
+ * @memberof HostingV1PhpUpdatePhpOptionsRequest
3152
+ */
3153
+ 'options': {
3154
+ [key: string]: HostingV1PhpUpdatePhpOptionsRequestOptionsValue;
3155
+ };
3156
+ }
3157
+ /**
3158
+ * @type HostingV1PhpUpdatePhpOptionsRequestOptionsValue
3159
+ * @export
3160
+ */
3161
+ export type HostingV1PhpUpdatePhpOptionsRequestOptionsValue = number | string;
3162
+ /**
3163
+ *
3164
+ * @export
3165
+ * @interface HostingV1PhpUpdatePhpVersionRequest
3166
+ */
3167
+ export interface HostingV1PhpUpdatePhpVersionRequest {
3168
+ /**
3169
+ * PHP version to switch the website to.
3170
+ * @type {string}
3171
+ * @memberof HostingV1PhpUpdatePhpVersionRequest
3172
+ */
3173
+ 'version': string;
3174
+ }
3003
3175
  /**
3004
3176
  *
3005
3177
  * @export
@@ -9138,6 +9310,266 @@ export declare const ListOrdersV1StatusesEnum: {
9138
9310
  readonly Suspended: "suspended";
9139
9311
  };
9140
9312
  export type ListOrdersV1StatusesEnum = typeof ListOrdersV1StatusesEnum[keyof typeof ListOrdersV1StatusesEnum];
9313
+ /**
9314
+ * HostingPHPApi - axios parameter creator
9315
+ * @export
9316
+ */
9317
+ export declare const HostingPHPApiAxiosParamCreator: (configuration?: Configuration) => {
9318
+ /**
9319
+ * Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
9320
+ * @summary Get PHP details
9321
+ * @param {string} username
9322
+ * @param {string} domain Domain name
9323
+ * @param {*} [options] Override http request option.
9324
+ * @throws {RequiredError}
9325
+ */
9326
+ getPHPDetailsV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9327
+ /**
9328
+ * Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
9329
+ * @summary Get PHP info
9330
+ * @param {string} username
9331
+ * @param {string} domain Domain name
9332
+ * @param {*} [options] Override http request option.
9333
+ * @throws {RequiredError}
9334
+ */
9335
+ getPHPInfoV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9336
+ /**
9337
+ * Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
9338
+ * @summary Reset PHP extensions
9339
+ * @param {string} username
9340
+ * @param {string} domain Domain name
9341
+ * @param {*} [options] Override http request option.
9342
+ * @throws {RequiredError}
9343
+ */
9344
+ resetPHPExtensionsV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9345
+ /**
9346
+ * Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
9347
+ * @summary Update PHP extensions
9348
+ * @param {string} username
9349
+ * @param {string} domain Domain name
9350
+ * @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
9351
+ * @param {*} [options] Override http request option.
9352
+ * @throws {RequiredError}
9353
+ */
9354
+ updatePHPExtensionsV1: (username: string, domain: string, hostingV1PhpUpdatePhpExtensionsRequest: HostingV1PhpUpdatePhpExtensionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9355
+ /**
9356
+ * Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
9357
+ * @summary Update PHP options
9358
+ * @param {string} username
9359
+ * @param {string} domain Domain name
9360
+ * @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
9361
+ * @param {*} [options] Override http request option.
9362
+ * @throws {RequiredError}
9363
+ */
9364
+ updatePHPOptionsV1: (username: string, domain: string, hostingV1PhpUpdatePhpOptionsRequest: HostingV1PhpUpdatePhpOptionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9365
+ /**
9366
+ * Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
9367
+ * @summary Update PHP version
9368
+ * @param {string} username
9369
+ * @param {string} domain Domain name
9370
+ * @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
9371
+ * @param {*} [options] Override http request option.
9372
+ * @throws {RequiredError}
9373
+ */
9374
+ updatePHPVersionV1: (username: string, domain: string, hostingV1PhpUpdatePhpVersionRequest: HostingV1PhpUpdatePhpVersionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9375
+ };
9376
+ /**
9377
+ * HostingPHPApi - functional programming interface
9378
+ * @export
9379
+ */
9380
+ export declare const HostingPHPApiFp: (configuration?: Configuration) => {
9381
+ /**
9382
+ * Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
9383
+ * @summary Get PHP details
9384
+ * @param {string} username
9385
+ * @param {string} domain Domain name
9386
+ * @param {*} [options] Override http request option.
9387
+ * @throws {RequiredError}
9388
+ */
9389
+ getPHPDetailsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1PhpPhpDetailsResource>>;
9390
+ /**
9391
+ * Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
9392
+ * @summary Get PHP info
9393
+ * @param {string} username
9394
+ * @param {string} domain Domain name
9395
+ * @param {*} [options] Override http request option.
9396
+ * @throws {RequiredError}
9397
+ */
9398
+ getPHPInfoV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1PhpPhpInfoResource>>;
9399
+ /**
9400
+ * Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
9401
+ * @summary Reset PHP extensions
9402
+ * @param {string} username
9403
+ * @param {string} domain Domain name
9404
+ * @param {*} [options] Override http request option.
9405
+ * @throws {RequiredError}
9406
+ */
9407
+ resetPHPExtensionsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
9408
+ /**
9409
+ * Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
9410
+ * @summary Update PHP extensions
9411
+ * @param {string} username
9412
+ * @param {string} domain Domain name
9413
+ * @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
9414
+ * @param {*} [options] Override http request option.
9415
+ * @throws {RequiredError}
9416
+ */
9417
+ updatePHPExtensionsV1(username: string, domain: string, hostingV1PhpUpdatePhpExtensionsRequest: HostingV1PhpUpdatePhpExtensionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
9418
+ /**
9419
+ * Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
9420
+ * @summary Update PHP options
9421
+ * @param {string} username
9422
+ * @param {string} domain Domain name
9423
+ * @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
9424
+ * @param {*} [options] Override http request option.
9425
+ * @throws {RequiredError}
9426
+ */
9427
+ updatePHPOptionsV1(username: string, domain: string, hostingV1PhpUpdatePhpOptionsRequest: HostingV1PhpUpdatePhpOptionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
9428
+ /**
9429
+ * Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
9430
+ * @summary Update PHP version
9431
+ * @param {string} username
9432
+ * @param {string} domain Domain name
9433
+ * @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
9434
+ * @param {*} [options] Override http request option.
9435
+ * @throws {RequiredError}
9436
+ */
9437
+ updatePHPVersionV1(username: string, domain: string, hostingV1PhpUpdatePhpVersionRequest: HostingV1PhpUpdatePhpVersionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
9438
+ };
9439
+ /**
9440
+ * HostingPHPApi - factory interface
9441
+ * @export
9442
+ */
9443
+ export declare const HostingPHPApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9444
+ /**
9445
+ * Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
9446
+ * @summary Get PHP details
9447
+ * @param {string} username
9448
+ * @param {string} domain Domain name
9449
+ * @param {*} [options] Override http request option.
9450
+ * @throws {RequiredError}
9451
+ */
9452
+ getPHPDetailsV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1PhpPhpDetailsResource>;
9453
+ /**
9454
+ * Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
9455
+ * @summary Get PHP info
9456
+ * @param {string} username
9457
+ * @param {string} domain Domain name
9458
+ * @param {*} [options] Override http request option.
9459
+ * @throws {RequiredError}
9460
+ */
9461
+ getPHPInfoV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1PhpPhpInfoResource>;
9462
+ /**
9463
+ * Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
9464
+ * @summary Reset PHP extensions
9465
+ * @param {string} username
9466
+ * @param {string} domain Domain name
9467
+ * @param {*} [options] Override http request option.
9468
+ * @throws {RequiredError}
9469
+ */
9470
+ resetPHPExtensionsV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
9471
+ /**
9472
+ * Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
9473
+ * @summary Update PHP extensions
9474
+ * @param {string} username
9475
+ * @param {string} domain Domain name
9476
+ * @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
9477
+ * @param {*} [options] Override http request option.
9478
+ * @throws {RequiredError}
9479
+ */
9480
+ updatePHPExtensionsV1(username: string, domain: string, hostingV1PhpUpdatePhpExtensionsRequest: HostingV1PhpUpdatePhpExtensionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
9481
+ /**
9482
+ * Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
9483
+ * @summary Update PHP options
9484
+ * @param {string} username
9485
+ * @param {string} domain Domain name
9486
+ * @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
9487
+ * @param {*} [options] Override http request option.
9488
+ * @throws {RequiredError}
9489
+ */
9490
+ updatePHPOptionsV1(username: string, domain: string, hostingV1PhpUpdatePhpOptionsRequest: HostingV1PhpUpdatePhpOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
9491
+ /**
9492
+ * Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
9493
+ * @summary Update PHP version
9494
+ * @param {string} username
9495
+ * @param {string} domain Domain name
9496
+ * @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
9497
+ * @param {*} [options] Override http request option.
9498
+ * @throws {RequiredError}
9499
+ */
9500
+ updatePHPVersionV1(username: string, domain: string, hostingV1PhpUpdatePhpVersionRequest: HostingV1PhpUpdatePhpVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
9501
+ };
9502
+ /**
9503
+ * HostingPHPApi - object-oriented interface
9504
+ * @export
9505
+ * @class HostingPHPApi
9506
+ * @extends {BaseAPI}
9507
+ */
9508
+ export declare class HostingPHPApi extends BaseAPI {
9509
+ /**
9510
+ * Returns the full PHP configuration for the website: current version, available versions (supported and unsupported), enabled/disabled extensions, options with their current value, default, type and the plan limit (`max`), and conflicting extension groups. Use it to check the current PHP setup before updating the version, extensions or options.
9511
+ * @summary Get PHP details
9512
+ * @param {string} username
9513
+ * @param {string} domain Domain name
9514
+ * @param {*} [options] Override http request option.
9515
+ * @throws {RequiredError}
9516
+ * @memberof HostingPHPApi
9517
+ */
9518
+ getPHPDetailsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1PhpPhpDetailsResource, any, {}>>;
9519
+ /**
9520
+ * Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issues or inspect the complete PHP environment of the website.
9521
+ * @summary Get PHP info
9522
+ * @param {string} username
9523
+ * @param {string} domain Domain name
9524
+ * @param {*} [options] Override http request option.
9525
+ * @throws {RequiredError}
9526
+ * @memberof HostingPHPApi
9527
+ */
9528
+ getPHPInfoV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1PhpPhpInfoResource, any, {}>>;
9529
+ /**
9530
+ * Resets all PHP extensions of the website to their default state. Use it to recover from extension conflicts or restore the original configuration.
9531
+ * @summary Reset PHP extensions
9532
+ * @param {string} username
9533
+ * @param {string} domain Domain name
9534
+ * @param {*} [options] Override http request option.
9535
+ * @throws {RequiredError}
9536
+ * @memberof HostingPHPApi
9537
+ */
9538
+ resetPHPExtensionsV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
9539
+ /**
9540
+ * Enables or disables PHP extensions (modules) for the website. Use the Get PHP details endpoint to check the current extension states before changing them.
9541
+ * @summary Update PHP extensions
9542
+ * @param {string} username
9543
+ * @param {string} domain Domain name
9544
+ * @param {HostingV1PhpUpdatePhpExtensionsRequest} hostingV1PhpUpdatePhpExtensionsRequest
9545
+ * @param {*} [options] Override http request option.
9546
+ * @throws {RequiredError}
9547
+ * @memberof HostingPHPApi
9548
+ */
9549
+ updatePHPExtensionsV1(username: string, domain: string, hostingV1PhpUpdatePhpExtensionsRequest: HostingV1PhpUpdatePhpExtensionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
9550
+ /**
9551
+ * Updates PHP options for the website (e.g. `memory_limit`, `max_execution_time`, `upload_max_filesize`). Only provide the options you want to change, inside the `options` object. Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
9552
+ * @summary Update PHP options
9553
+ * @param {string} username
9554
+ * @param {string} domain Domain name
9555
+ * @param {HostingV1PhpUpdatePhpOptionsRequest} hostingV1PhpUpdatePhpOptionsRequest
9556
+ * @param {*} [options] Override http request option.
9557
+ * @throws {RequiredError}
9558
+ * @memberof HostingPHPApi
9559
+ */
9560
+ updatePHPOptionsV1(username: string, domain: string, hostingV1PhpUpdatePhpOptionsRequest: HostingV1PhpUpdatePhpOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
9561
+ /**
9562
+ * Changes the PHP version of the website. Use the Get PHP details endpoint to see the versions available for the website.
9563
+ * @summary Update PHP version
9564
+ * @param {string} username
9565
+ * @param {string} domain Domain name
9566
+ * @param {HostingV1PhpUpdatePhpVersionRequest} hostingV1PhpUpdatePhpVersionRequest
9567
+ * @param {*} [options] Override http request option.
9568
+ * @throws {RequiredError}
9569
+ * @memberof HostingPHPApi
9570
+ */
9571
+ updatePHPVersionV1(username: string, domain: string, hostingV1PhpUpdatePhpVersionRequest: HostingV1PhpUpdatePhpVersionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}>>;
9572
+ }
9141
9573
  /**
9142
9574
  * HostingWebsitesApi - axios parameter creator
9143
9575
  * @export