hostinger-api-sdk 1.39.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +2 -2
  2. package/api.ts +518 -28
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +440 -25
  7. package/dist/api.js +199 -38
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +440 -25
  15. package/dist/esm/api.js +189 -28
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/AgencyHostingListAgencyPlanWebsitesV1200Response.md +22 -0
  27. package/docs/AgencyHostingV1WebsitesBuilderWebsiteDetailsResource.md +28 -0
  28. package/docs/AgencyHostingV1WebsitesH5gWebsiteDetailsResource.md +46 -0
  29. package/docs/AgencyHostingV1WebsitesPlanResource.md +25 -0
  30. package/docs/AgencyHostingV1WebsitesU4sWebsiteDetailsResource.md +36 -0
  31. package/docs/AgencyHostingV1WebsitesWebsiteListItemResource.md +37 -0
  32. package/docs/AgencyHostingV1WebsitesWebsiteListItemResourceDetails.md +59 -0
  33. package/docs/AgencyHostingWebsitesApi.md +69 -0
  34. package/docs/HostingDatabasesApi.md +2 -2
  35. package/docs/HostingWebsitesApi.md +7 -4
  36. package/docs/WordPressInstallationsApi.md +2 -2
  37. package/docs/WordPressPluginsApi.md +2 -2
  38. package/index.ts +1 -1
  39. package/package.json +1 -1
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.41.0
6
+ * API Version: 1.42.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -20,6 +20,25 @@ import type { RequestArgs } from './base';
20
20
  // @ts-ignore
21
21
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
22
22
 
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface AgencyHostingListAgencyPlanWebsitesV1200Response
27
+ */
28
+ export interface AgencyHostingListAgencyPlanWebsitesV1200Response {
29
+ /**
30
+ * Array of [`AgencyHosting.V1.Websites.WebsiteListItemResource`](#model/agencyhostingv1websiteswebsitelistitemresource)
31
+ * @type {Array<AgencyHostingV1WebsitesWebsiteListItemResource>}
32
+ * @memberof AgencyHostingListAgencyPlanWebsitesV1200Response
33
+ */
34
+ 'data': Array<AgencyHostingV1WebsitesWebsiteListItemResource>;
35
+ /**
36
+ *
37
+ * @type {CommonSchemaPaginationMetaSchema}
38
+ * @memberof AgencyHostingListAgencyPlanWebsitesV1200Response
39
+ */
40
+ 'meta': CommonSchemaPaginationMetaSchema;
41
+ }
23
42
  /**
24
43
  *
25
44
  * @export
@@ -884,6 +903,43 @@ export interface AgencyHostingV1WebsitesBuildAssetsRequest {
884
903
  */
885
904
  'archive_path': string;
886
905
  }
906
+ /**
907
+ *
908
+ * @export
909
+ * @interface AgencyHostingV1WebsitesBuilderWebsiteDetailsResource
910
+ */
911
+ export interface AgencyHostingV1WebsitesBuilderWebsiteDetailsResource {
912
+ /**
913
+ * Builder ID
914
+ * @type {string}
915
+ * @memberof AgencyHostingV1WebsitesBuilderWebsiteDetailsResource
916
+ */
917
+ 'id': string | null;
918
+ /**
919
+ * Domain name
920
+ * @type {string}
921
+ * @memberof AgencyHostingV1WebsitesBuilderWebsiteDetailsResource
922
+ */
923
+ 'vhost': string;
924
+ /**
925
+ * Detected website type
926
+ * @type {string}
927
+ * @memberof AgencyHostingV1WebsitesBuilderWebsiteDetailsResource
928
+ */
929
+ 'type': string;
930
+ /**
931
+ * Account username
932
+ * @type {string}
933
+ * @memberof AgencyHostingV1WebsitesBuilderWebsiteDetailsResource
934
+ */
935
+ 'username': string;
936
+ /**
937
+ *
938
+ * @type {string}
939
+ * @memberof AgencyHostingV1WebsitesBuilderWebsiteDetailsResource
940
+ */
941
+ 'created_at': string;
942
+ }
887
943
  /**
888
944
  *
889
945
  * @export
@@ -1059,6 +1115,140 @@ export interface AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
1059
1115
  */
1060
1116
  'host': string | null;
1061
1117
  }
1118
+ /**
1119
+ *
1120
+ * @export
1121
+ * @interface AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1122
+ */
1123
+ export interface AgencyHostingV1WebsitesH5gWebsiteDetailsResource {
1124
+ /**
1125
+ * Website UID
1126
+ * @type {string}
1127
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1128
+ */
1129
+ 'uid': string;
1130
+ /**
1131
+ * IPv4 address
1132
+ * @type {string}
1133
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1134
+ */
1135
+ 'ipv4': string;
1136
+ /**
1137
+ * Setup flavor
1138
+ * @type {string}
1139
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1140
+ */
1141
+ 'flavor': string;
1142
+ /**
1143
+ * Detected website type
1144
+ * @type {string}
1145
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1146
+ */
1147
+ 'type': AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum;
1148
+ /**
1149
+ * Username for this order
1150
+ * @type {string}
1151
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1152
+ */
1153
+ 'username': string;
1154
+ /**
1155
+ * Description
1156
+ * @type {string}
1157
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1158
+ */
1159
+ 'description': string | null;
1160
+ /**
1161
+ * Website state
1162
+ * @type {string}
1163
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1164
+ */
1165
+ 'state': AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum;
1166
+ /**
1167
+ *
1168
+ * @type {string}
1169
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1170
+ */
1171
+ 'created_at': string;
1172
+ /**
1173
+ * Website settings, e.g. PHP configuration
1174
+ * @type {object}
1175
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1176
+ */
1177
+ 'settings': object;
1178
+ /**
1179
+ * WordPress installation details
1180
+ * @type {object}
1181
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1182
+ */
1183
+ 'wordpress': object | null;
1184
+ /**
1185
+ * Website domains
1186
+ * @type {Array<object>}
1187
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1188
+ */
1189
+ 'domains': Array<object>;
1190
+ /**
1191
+ * Preview domain
1192
+ * @type {object}
1193
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1194
+ */
1195
+ 'preview_domain': object | null;
1196
+ /**
1197
+ * Ongoing website processes
1198
+ * @type {Array<object>}
1199
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1200
+ */
1201
+ 'processes': Array<object>;
1202
+ /**
1203
+ * Horizons UUID (only for horizons websites)
1204
+ * @type {string}
1205
+ * @memberof AgencyHostingV1WebsitesH5gWebsiteDetailsResource
1206
+ */
1207
+ 'horizons_uuid': string | null;
1208
+ }
1209
+
1210
+ export const AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum = {
1211
+ Wordpress: 'wordpress',
1212
+ Builder: 'builder',
1213
+ Horizons: 'horizons',
1214
+ Nodejs: 'nodejs',
1215
+ U4s: 'u4s',
1216
+ Other: 'other'
1217
+ } as const;
1218
+
1219
+ export type AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum = typeof AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum[keyof typeof AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum];
1220
+ export const AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum = {
1221
+ Active: 'active',
1222
+ Suspended: 'suspended'
1223
+ } as const;
1224
+
1225
+ export type AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum = typeof AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum[keyof typeof AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum];
1226
+
1227
+ /**
1228
+ * Website plan details
1229
+ * @export
1230
+ * @interface AgencyHostingV1WebsitesPlanResource
1231
+ */
1232
+ export interface AgencyHostingV1WebsitesPlanResource {
1233
+ /**
1234
+ *
1235
+ * @type {string}
1236
+ * @memberof AgencyHostingV1WebsitesPlanResource
1237
+ */
1238
+ 'name': string;
1239
+ /**
1240
+ *
1241
+ * @type {string}
1242
+ * @memberof AgencyHostingV1WebsitesPlanResource
1243
+ */
1244
+ 'display_name': string;
1245
+ /**
1246
+ *
1247
+ * @type {boolean}
1248
+ * @memberof AgencyHostingV1WebsitesPlanResource
1249
+ */
1250
+ 'has_cdn': boolean;
1251
+ }
1062
1252
  /**
1063
1253
  *
1064
1254
  * @export
@@ -1084,6 +1274,75 @@ export interface AgencyHostingV1WebsitesSslCertResource {
1084
1274
  */
1085
1275
  'created_at': string;
1086
1276
  }
1277
+ /**
1278
+ *
1279
+ * @export
1280
+ * @interface AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1281
+ */
1282
+ export interface AgencyHostingV1WebsitesU4sWebsiteDetailsResource {
1283
+ /**
1284
+ * Application UUID
1285
+ * @type {string}
1286
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1287
+ */
1288
+ 'uuid': string;
1289
+ /**
1290
+ * Application title
1291
+ * @type {string}
1292
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1293
+ */
1294
+ 'title': string;
1295
+ /**
1296
+ * Application port
1297
+ * @type {number}
1298
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1299
+ */
1300
+ 'port': number;
1301
+ /**
1302
+ * Detected website type
1303
+ * @type {string}
1304
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1305
+ */
1306
+ 'type': AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum;
1307
+ /**
1308
+ * Application runtime
1309
+ * @type {string}
1310
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1311
+ */
1312
+ 'runtime': string;
1313
+ /**
1314
+ * Application state
1315
+ * @type {string}
1316
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1317
+ */
1318
+ 'state': string;
1319
+ /**
1320
+ * Application domains
1321
+ * @type {Array<object>}
1322
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1323
+ */
1324
+ 'domains': Array<object>;
1325
+ /**
1326
+ * Horizons UUID
1327
+ * @type {string}
1328
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1329
+ */
1330
+ 'horizons_uuid': string | null;
1331
+ /**
1332
+ * Preview domain
1333
+ * @type {object}
1334
+ * @memberof AgencyHostingV1WebsitesU4sWebsiteDetailsResource
1335
+ */
1336
+ 'preview_domain': object | null;
1337
+ }
1338
+
1339
+ export const AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum = {
1340
+ U4s: 'u4s',
1341
+ Horizons: 'horizons'
1342
+ } as const;
1343
+
1344
+ export type AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum = typeof AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum[keyof typeof AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum];
1345
+
1087
1346
  /**
1088
1347
  *
1089
1348
  * @export
@@ -1133,6 +1392,83 @@ export interface AgencyHostingV1WebsitesWebsiteDomainDetailsResource {
1133
1392
  */
1134
1393
  'custom_ssl_cert': AgencyHostingV1WebsitesCustomSslCertResource | null;
1135
1394
  }
1395
+ /**
1396
+ * Website item. The `details` shape differs per platform — see the `platform` field.
1397
+ * @export
1398
+ * @interface AgencyHostingV1WebsitesWebsiteListItemResource
1399
+ */
1400
+ export interface AgencyHostingV1WebsitesWebsiteListItemResource {
1401
+ /**
1402
+ *
1403
+ * @type {string}
1404
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1405
+ */
1406
+ 'id': string;
1407
+ /**
1408
+ *
1409
+ * @type {number}
1410
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1411
+ */
1412
+ 'client_id': number;
1413
+ /**
1414
+ *
1415
+ * @type {number}
1416
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1417
+ */
1418
+ 'order_id': number;
1419
+ /**
1420
+ * Website platform
1421
+ * @type {string}
1422
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1423
+ */
1424
+ 'platform': AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum;
1425
+ /**
1426
+ * Website state
1427
+ * @type {string}
1428
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1429
+ */
1430
+ 'state': string;
1431
+ /**
1432
+ *
1433
+ * @type {string}
1434
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1435
+ */
1436
+ 'created_at': string;
1437
+ /**
1438
+ *
1439
+ * @type {AgencyHostingV1WebsitesPlanResource}
1440
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1441
+ */
1442
+ 'plan': AgencyHostingV1WebsitesPlanResource;
1443
+ /**
1444
+ *
1445
+ * @type {AgencyHostingV1WebsitesWebsiteListItemResourceDetails}
1446
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1447
+ */
1448
+ 'details': AgencyHostingV1WebsitesWebsiteListItemResourceDetails;
1449
+ /**
1450
+ * Reason for suspension, only populated for payment related suspensions
1451
+ * @type {string}
1452
+ * @memberof AgencyHostingV1WebsitesWebsiteListItemResource
1453
+ */
1454
+ 'suspension_reason': string | null;
1455
+ }
1456
+
1457
+ export const AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum = {
1458
+ H5g: 'h5g',
1459
+ Builder: 'builder',
1460
+ U4s: 'u4s'
1461
+ } as const;
1462
+
1463
+ export type AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum = typeof AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum[keyof typeof AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum];
1464
+
1465
+ /**
1466
+ * @type AgencyHostingV1WebsitesWebsiteListItemResourceDetails
1467
+ * Platform-specific website details. Shape depends on `platform`.
1468
+ * @export
1469
+ */
1470
+ export type AgencyHostingV1WebsitesWebsiteListItemResourceDetails = AgencyHostingV1WebsitesBuilderWebsiteDetailsResource | AgencyHostingV1WebsitesH5gWebsiteDetailsResource | AgencyHostingV1WebsitesU4sWebsiteDetailsResource;
1471
+
1136
1472
  /**
1137
1473
  *
1138
1474
  * @export
@@ -16385,6 +16721,70 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
16385
16721
 
16386
16722
 
16387
16723
 
16724
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16725
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16726
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16727
+
16728
+ return {
16729
+ url: toPathString(localVarUrlObj),
16730
+ options: localVarRequestOptions,
16731
+ };
16732
+ },
16733
+ /**
16734
+ * Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
16735
+ * @summary List Agency Plan websites
16736
+ * @param {number} [page] Page number
16737
+ * @param {number} [perPage] Number of items per page
16738
+ * @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
16739
+ * @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
16740
+ * @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
16741
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
16742
+ * @param {*} [options] Override http request option.
16743
+ * @throws {RequiredError}
16744
+ */
16745
+ listAgencyPlanWebsitesV1: async (page?: number, perPage?: number, orderIds?: Array<number> | null, states?: Array<ListAgencyPlanWebsitesV1StatesEnum>, websiteTypes?: Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>, domain?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16746
+ const localVarPath = `/api/agency-hosting/v1/websites`;
16747
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16748
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16749
+ let baseOptions;
16750
+ if (configuration) {
16751
+ baseOptions = configuration.baseOptions;
16752
+ }
16753
+
16754
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16755
+ const localVarHeaderParameter = {} as any;
16756
+ const localVarQueryParameter = {} as any;
16757
+
16758
+ // authentication apiToken required
16759
+ // http bearer authentication required
16760
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16761
+
16762
+ if (page !== undefined) {
16763
+ localVarQueryParameter['page'] = page;
16764
+ }
16765
+
16766
+ if (perPage !== undefined) {
16767
+ localVarQueryParameter['per_page'] = perPage;
16768
+ }
16769
+
16770
+ if (orderIds) {
16771
+ localVarQueryParameter['order_ids'] = orderIds.join(COLLECTION_FORMATS.csv);
16772
+ }
16773
+
16774
+ if (states) {
16775
+ localVarQueryParameter['states'] = states.join(COLLECTION_FORMATS.csv);
16776
+ }
16777
+
16778
+ if (websiteTypes) {
16779
+ localVarQueryParameter['website_types'] = websiteTypes.join(COLLECTION_FORMATS.csv);
16780
+ }
16781
+
16782
+ if (domain !== undefined) {
16783
+ localVarQueryParameter['domain'] = domain;
16784
+ }
16785
+
16786
+
16787
+
16388
16788
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16389
16789
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16390
16790
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16479,6 +16879,23 @@ export const AgencyHostingWebsitesApiFp = function(configuration?: Configuration
16479
16879
  const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.getWebsiteDetailsV1']?.[0]?.url;
16480
16880
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16481
16881
  },
16882
+ /**
16883
+ * Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
16884
+ * @summary List Agency Plan websites
16885
+ * @param {number} [page] Page number
16886
+ * @param {number} [perPage] Number of items per page
16887
+ * @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
16888
+ * @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
16889
+ * @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
16890
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
16891
+ * @param {*} [options] Override http request option.
16892
+ * @throws {RequiredError}
16893
+ */
16894
+ async listAgencyPlanWebsitesV1(page?: number, perPage?: number, orderIds?: Array<number> | null, states?: Array<ListAgencyPlanWebsitesV1StatesEnum>, websiteTypes?: Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>, domain?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanWebsitesV1200Response>> {
16895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options);
16896
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.listAgencyPlanWebsitesV1']?.[0]?.url;
16897
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16898
+ },
16482
16899
  /**
16483
16900
  * Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
16484
16901
  * @summary List website processes
@@ -16532,6 +16949,21 @@ export const AgencyHostingWebsitesApiFactory = function (configuration?: Configu
16532
16949
  getWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesWebsiteResource> {
16533
16950
  return localVarFp.getWebsiteDetailsV1(websiteUid, options).then((request) => request(axios, basePath));
16534
16951
  },
16952
+ /**
16953
+ * Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
16954
+ * @summary List Agency Plan websites
16955
+ * @param {number} [page] Page number
16956
+ * @param {number} [perPage] Number of items per page
16957
+ * @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
16958
+ * @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
16959
+ * @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
16960
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
16961
+ * @param {*} [options] Override http request option.
16962
+ * @throws {RequiredError}
16963
+ */
16964
+ listAgencyPlanWebsitesV1(page?: number, perPage?: number, orderIds?: Array<number> | null, states?: Array<ListAgencyPlanWebsitesV1StatesEnum>, websiteTypes?: Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>, domain?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanWebsitesV1200Response> {
16965
+ return localVarFp.listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options).then((request) => request(axios, basePath));
16966
+ },
16535
16967
  /**
16536
16968
  * Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
16537
16969
  * @summary List website processes
@@ -16589,6 +17021,23 @@ export class AgencyHostingWebsitesApi extends BaseAPI {
16589
17021
  return AgencyHostingWebsitesApiFp(this.configuration).getWebsiteDetailsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
16590
17022
  }
16591
17023
 
17024
+ /**
17025
+ * Retrieve a paginated list of Agency Plan websites (H5G, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. The response shape differs per platform — see the `platform` field on each item. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with `order_ids`, `states`, or `domain` for more targeted results.
17026
+ * @summary List Agency Plan websites
17027
+ * @param {number} [page] Page number
17028
+ * @param {number} [perPage] Number of items per page
17029
+ * @param {Array<number> | null} [orderIds] Filter by order IDs. Accepts a comma-separated list.
17030
+ * @param {Array<ListAgencyPlanWebsitesV1StatesEnum>} [states] Filter by website state. Accepts a comma-separated list.
17031
+ * @param {Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
17032
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
17033
+ * @param {*} [options] Override http request option.
17034
+ * @throws {RequiredError}
17035
+ * @memberof AgencyHostingWebsitesApi
17036
+ */
17037
+ public listAgencyPlanWebsitesV1(page?: number, perPage?: number, orderIds?: Array<number> | null, states?: Array<ListAgencyPlanWebsitesV1StatesEnum>, websiteTypes?: Array<ListAgencyPlanWebsitesV1WebsiteTypesEnum>, domain?: string | null, options?: RawAxiosRequestConfig) {
17038
+ return AgencyHostingWebsitesApiFp(this.configuration).listAgencyPlanWebsitesV1(page, perPage, orderIds, states, websiteTypes, domain, options).then((request) => request(this.axios, this.basePath));
17039
+ }
17040
+
16592
17041
  /**
16593
17042
  * Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
16594
17043
  * @summary List website processes
@@ -16602,6 +17051,28 @@ export class AgencyHostingWebsitesApi extends BaseAPI {
16602
17051
  }
16603
17052
  }
16604
17053
 
17054
+ /**
17055
+ * @export
17056
+ */
17057
+ export const ListAgencyPlanWebsitesV1StatesEnum = {
17058
+ Active: 'active',
17059
+ Locked: 'locked',
17060
+ Suspended: 'suspended',
17061
+ Deleting: 'deleting',
17062
+ Deleted: 'deleted'
17063
+ } as const;
17064
+ export type ListAgencyPlanWebsitesV1StatesEnum = typeof ListAgencyPlanWebsitesV1StatesEnum[keyof typeof ListAgencyPlanWebsitesV1StatesEnum];
17065
+ /**
17066
+ * @export
17067
+ */
17068
+ export const ListAgencyPlanWebsitesV1WebsiteTypesEnum = {
17069
+ Wordpress: 'wordpress',
17070
+ Builder: 'builder',
17071
+ Horizons: 'horizons',
17072
+ Nodejs: 'nodejs',
17073
+ Other: 'other'
17074
+ } as const;
17075
+ export type ListAgencyPlanWebsitesV1WebsiteTypesEnum = typeof ListAgencyPlanWebsitesV1WebsiteTypesEnum[keyof typeof ListAgencyPlanWebsitesV1WebsiteTypesEnum];
16605
17076
 
16606
17077
 
16607
17078
  /**
@@ -24023,7 +24494,7 @@ export const HostingDatabasesApiAxiosParamCreator = function (configuration?: Co
24023
24494
  * @param {string} username
24024
24495
  * @param {number} [page] Page number
24025
24496
  * @param {number} [perPage] Number of items per page
24026
- * @param {string | null} [domain] Filter by domain name (exact match)
24497
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
24027
24498
  * @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
24028
24499
  * @param {string | null} [search] Search databases by name, user, or creation date.
24029
24500
  * @param {*} [options] Override http request option.
@@ -24262,7 +24733,7 @@ export const HostingDatabasesApiFp = function(configuration?: Configuration) {
24262
24733
  * @param {string} username
24263
24734
  * @param {number} [page] Page number
24264
24735
  * @param {number} [perPage] Number of items per page
24265
- * @param {string | null} [domain] Filter by domain name (exact match)
24736
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
24266
24737
  * @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
24267
24738
  * @param {string | null} [search] Search databases by name, user, or creation date.
24268
24739
  * @param {*} [options] Override http request option.
@@ -24384,7 +24855,7 @@ export const HostingDatabasesApiFactory = function (configuration?: Configuratio
24384
24855
  * @param {string} username
24385
24856
  * @param {number} [page] Page number
24386
24857
  * @param {number} [perPage] Number of items per page
24387
- * @param {string | null} [domain] Filter by domain name (exact match)
24858
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
24388
24859
  * @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
24389
24860
  * @param {string | null} [search] Search databases by name, user, or creation date.
24390
24861
  * @param {*} [options] Override http request option.
@@ -24512,7 +24983,7 @@ export class HostingDatabasesApi extends BaseAPI {
24512
24983
  * @param {string} username
24513
24984
  * @param {number} [page] Page number
24514
24985
  * @param {number} [perPage] Number of items per page
24515
- * @param {string | null} [domain] Filter by domain name (exact match)
24986
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
24516
24987
  * @param {boolean | null} [isAssigned] When used with domain, return only databases assigned to that domain.
24517
24988
  * @param {string | null} [search] Search databases by name, user, or creation date.
24518
24989
  * @param {*} [options] Override http request option.
@@ -27603,18 +28074,19 @@ export const HostingWebsitesApiAxiosParamCreator = function (configuration?: Con
27603
28074
  };
27604
28075
  },
27605
28076
  /**
27606
- * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
28077
+ * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
27607
28078
  * @summary List websites
27608
28079
  * @param {number} [page] Page number
27609
28080
  * @param {number} [perPage] Number of items per page
27610
28081
  * @param {string | null} [username] Filter by specific username
27611
28082
  * @param {number | null} [orderId] Order ID
27612
28083
  * @param {boolean | null} [isEnabled] Filter by enabled status
27613
- * @param {string | null} [domain] Filter by domain name (exact match)
28084
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
28085
+ * @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
27614
28086
  * @param {*} [options] Override http request option.
27615
28087
  * @throws {RequiredError}
27616
28088
  */
27617
- listWebsitesV1: async (page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28089
+ listWebsitesV1: async (page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27618
28090
  const localVarPath = `/api/hosting/v1/websites`;
27619
28091
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27620
28092
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27655,6 +28127,10 @@ export const HostingWebsitesApiAxiosParamCreator = function (configuration?: Con
27655
28127
  localVarQueryParameter['domain'] = domain;
27656
28128
  }
27657
28129
 
28130
+ if (websiteTypes) {
28131
+ localVarQueryParameter['website_types'] = websiteTypes.join(COLLECTION_FORMATS.csv);
28132
+ }
28133
+
27658
28134
 
27659
28135
 
27660
28136
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -27715,19 +28191,20 @@ export const HostingWebsitesApiFp = function(configuration?: Configuration) {
27715
28191
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27716
28192
  },
27717
28193
  /**
27718
- * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
28194
+ * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
27719
28195
  * @summary List websites
27720
28196
  * @param {number} [page] Page number
27721
28197
  * @param {number} [perPage] Number of items per page
27722
28198
  * @param {string | null} [username] Filter by specific username
27723
28199
  * @param {number | null} [orderId] Order ID
27724
28200
  * @param {boolean | null} [isEnabled] Filter by enabled status
27725
- * @param {string | null} [domain] Filter by domain name (exact match)
28201
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
28202
+ * @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
27726
28203
  * @param {*} [options] Override http request option.
27727
28204
  * @throws {RequiredError}
27728
28205
  */
27729
- async listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingListWebsitesV1200Response>> {
27730
- const localVarAxiosArgs = await localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options);
28206
+ async listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingListWebsitesV1200Response>> {
28207
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options);
27731
28208
  const localVarOperationServerBasePath = operationServerMap['HostingWebsitesApi.listWebsitesV1']?.[0]?.url;
27732
28209
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27733
28210
  },
@@ -27774,19 +28251,20 @@ export const HostingWebsitesApiFactory = function (configuration?: Configuration
27774
28251
  return localVarFp.deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(axios, basePath));
27775
28252
  },
27776
28253
  /**
27777
- * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
28254
+ * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
27778
28255
  * @summary List websites
27779
28256
  * @param {number} [page] Page number
27780
28257
  * @param {number} [perPage] Number of items per page
27781
28258
  * @param {string | null} [username] Filter by specific username
27782
28259
  * @param {number | null} [orderId] Order ID
27783
28260
  * @param {boolean | null} [isEnabled] Filter by enabled status
27784
- * @param {string | null} [domain] Filter by domain name (exact match)
28261
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
28262
+ * @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
27785
28263
  * @param {*} [options] Override http request option.
27786
28264
  * @throws {RequiredError}
27787
28265
  */
27788
- listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<HostingListWebsitesV1200Response> {
27789
- return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options).then((request) => request(axios, basePath));
28266
+ listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListWebsitesV1200Response> {
28267
+ return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(axios, basePath));
27790
28268
  },
27791
28269
  };
27792
28270
  };
@@ -27837,23 +28315,35 @@ export class HostingWebsitesApi extends BaseAPI {
27837
28315
  }
27838
28316
 
27839
28317
  /**
27840
- * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use the available query parameters to filter results by username, order ID, enabled status, or domain name for more targeted results.
28318
+ * Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the authenticated client. This endpoint returns websites from your hosting accounts as well as websites from other client hosting accounts that have shared access with you. Each website includes a `website_type` field describing the type of website detected on the underlying platform (`wordpress`, `builder`, `horizons`, `nodejs`, or `other`). Some fields, such as `vhost_type`, `username`, and `root_directory`, only apply to CloudLinux websites and are null for other platforms. Use `website_types` to list only websites of a given detected type, e.g. only WordPress websites (`website_types=wordpress`) or only Node.js websites (`website_types=nodejs`). Combine with the other available query parameters to filter by username, order ID, enabled status, or domain name for more targeted results.
27841
28319
  * @summary List websites
27842
28320
  * @param {number} [page] Page number
27843
28321
  * @param {number} [perPage] Number of items per page
27844
28322
  * @param {string | null} [username] Filter by specific username
27845
28323
  * @param {number | null} [orderId] Order ID
27846
28324
  * @param {boolean | null} [isEnabled] Filter by enabled status
27847
- * @param {string | null} [domain] Filter by domain name (exact match)
28325
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
28326
+ * @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
27848
28327
  * @param {*} [options] Override http request option.
27849
28328
  * @throws {RequiredError}
27850
28329
  * @memberof HostingWebsitesApi
27851
28330
  */
27852
- public listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, options?: RawAxiosRequestConfig) {
27853
- return HostingWebsitesApiFp(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, options).then((request) => request(this.axios, this.basePath));
28331
+ public listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig) {
28332
+ return HostingWebsitesApiFp(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(this.axios, this.basePath));
27854
28333
  }
27855
28334
  }
27856
28335
 
28336
+ /**
28337
+ * @export
28338
+ */
28339
+ export const ListWebsitesV1WebsiteTypesEnum = {
28340
+ Wordpress: 'wordpress',
28341
+ Builder: 'builder',
28342
+ Horizons: 'horizons',
28343
+ Nodejs: 'nodejs',
28344
+ Other: 'other'
28345
+ } as const;
28346
+ export type ListWebsitesV1WebsiteTypesEnum = typeof ListWebsitesV1WebsiteTypesEnum[keyof typeof ListWebsitesV1WebsiteTypesEnum];
27857
28347
 
27858
28348
 
27859
28349
  /**
@@ -41584,7 +42074,7 @@ export const WordPressInstallationsApiAxiosParamCreator = function (configuratio
41584
42074
  * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
41585
42075
  * @summary List WordPress installations
41586
42076
  * @param {string | null} [username] Filter by specific username
41587
- * @param {string | null} [domain] Filter by domain name (exact match)
42077
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
41588
42078
  * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
41589
42079
  * @param {*} [options] Override http request option.
41590
42080
  * @throws {RequiredError}
@@ -41825,7 +42315,7 @@ export const WordPressInstallationsApiFp = function(configuration?: Configuratio
41825
42315
  * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
41826
42316
  * @summary List WordPress installations
41827
42317
  * @param {string | null} [username] Filter by specific username
41828
- * @param {string | null} [domain] Filter by domain name (exact match)
42318
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
41829
42319
  * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
41830
42320
  * @param {*} [options] Override http request option.
41831
42321
  * @throws {RequiredError}
@@ -41954,7 +42444,7 @@ export const WordPressInstallationsApiFactory = function (configuration?: Config
41954
42444
  * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
41955
42445
  * @summary List WordPress installations
41956
42446
  * @param {string | null} [username] Filter by specific username
41957
- * @param {string | null} [domain] Filter by domain name (exact match)
42447
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
41958
42448
  * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
41959
42449
  * @param {*} [options] Override http request option.
41960
42450
  * @throws {RequiredError}
@@ -42091,7 +42581,7 @@ export class WordPressInstallationsApi extends BaseAPI {
42091
42581
  * List WordPress installations accessible to the authenticated client. Use this endpoint to discover existing WordPress installations and to poll for installation status after calling the install endpoint. When a newly requested installation appears in this list, WordPress is ready. Filter by username and domain to narrow results to a specific website. Each installation includes a `valid` flag and, when invalid, a `validationError` describing why.
42092
42582
  * @summary List WordPress installations
42093
42583
  * @param {string | null} [username] Filter by specific username
42094
- * @param {string | null} [domain] Filter by domain name (exact match)
42584
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
42095
42585
  * @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \&quot;owned\&quot;. Use \&quot;all\&quot; to include both owned and managed installations.
42096
42586
  * @param {*} [options] Override http request option.
42097
42587
  * @throws {RequiredError}
@@ -42924,7 +43414,7 @@ export const WordPressPluginsApiAxiosParamCreator = function (configuration?: Co
42924
43414
  /**
42925
43415
  * Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
42926
43416
  * @summary Check if WooCommerce is installed
42927
- * @param {string | null} [domain] Filter by domain name (exact match)
43417
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
42928
43418
  * @param {*} [options] Override http request option.
42929
43419
  * @throws {RequiredError}
42930
43420
  */
@@ -43444,7 +43934,7 @@ export const WordPressPluginsApiFp = function(configuration?: Configuration) {
43444
43934
  /**
43445
43935
  * Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
43446
43936
  * @summary Check if WooCommerce is installed
43447
- * @param {string | null} [domain] Filter by domain name (exact match)
43937
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
43448
43938
  * @param {*} [options] Override http request option.
43449
43939
  * @throws {RequiredError}
43450
43940
  */
@@ -43613,7 +44103,7 @@ export const WordPressPluginsApiFactory = function (configuration?: Configuratio
43613
44103
  /**
43614
44104
  * Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
43615
44105
  * @summary Check if WooCommerce is installed
43616
- * @param {string | null} [domain] Filter by domain name (exact match)
44106
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
43617
44107
  * @param {*} [options] Override http request option.
43618
44108
  * @throws {RequiredError}
43619
44109
  */
@@ -43762,7 +44252,7 @@ export class WordPressPluginsApi extends BaseAPI {
43762
44252
  /**
43763
44253
  * Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
43764
44254
  * @summary Check if WooCommerce is installed
43765
- * @param {string | null} [domain] Filter by domain name (exact match)
44255
+ * @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
43766
44256
  * @param {*} [options] Override http request option.
43767
44257
  * @throws {RequiredError}
43768
44258
  * @memberof WordPressPluginsApi