hostinger-api-sdk 1.39.0 → 1.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +518 -116
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +440 -66
- package/dist/api.js +199 -121
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +440 -66
- package/dist/esm/api.js +189 -111
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgencyHostingListAgencyPlanWebsitesV1200Response.md +22 -0
- package/docs/AgencyHostingV1WebsitesBuilderWebsiteDetailsResource.md +28 -0
- package/docs/AgencyHostingV1WebsitesH5gWebsiteDetailsResource.md +46 -0
- package/docs/AgencyHostingV1WebsitesPlanResource.md +25 -0
- package/docs/AgencyHostingV1WebsitesU4sWebsiteDetailsResource.md +36 -0
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResource.md +37 -0
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResourceDetails.md +59 -0
- package/docs/AgencyHostingWebsitesApi.md +69 -0
- package/docs/HostingDatabasesApi.md +2 -2
- package/docs/HostingNodeJSApi.md +0 -62
- package/docs/HostingWebsitesApi.md +7 -4
- package/docs/WordPressInstallationsApi.md +2 -2
- package/docs/WordPressPluginsApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.42.1
|
|
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 (
|
|
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 (
|
|
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 (
|
|
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 (
|
|
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.
|
|
@@ -25703,54 +26174,6 @@ export type ListWebsiteFilesAndDirectoriesV1FileTypesEnum = typeof ListWebsiteFi
|
|
|
25703
26174
|
*/
|
|
25704
26175
|
export const HostingNodeJSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
25705
26176
|
return {
|
|
25706
|
-
/**
|
|
25707
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
25708
|
-
* @summary Create NodeJS build from archive
|
|
25709
|
-
* @param {string} username
|
|
25710
|
-
* @param {string} domain Domain name
|
|
25711
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
25712
|
-
* @param {*} [options] Override http request option.
|
|
25713
|
-
* @throws {RequiredError}
|
|
25714
|
-
*/
|
|
25715
|
-
createNodeJSBuildFromArchiveV1: async (username: string, domain: string, hostingV1NodeJsCreateFromArchiveRequest: HostingV1NodeJsCreateFromArchiveRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25716
|
-
// verify required parameter 'username' is not null or undefined
|
|
25717
|
-
assertParamExists('createNodeJSBuildFromArchiveV1', 'username', username)
|
|
25718
|
-
// verify required parameter 'domain' is not null or undefined
|
|
25719
|
-
assertParamExists('createNodeJSBuildFromArchiveV1', 'domain', domain)
|
|
25720
|
-
// verify required parameter 'hostingV1NodeJsCreateFromArchiveRequest' is not null or undefined
|
|
25721
|
-
assertParamExists('createNodeJSBuildFromArchiveV1', 'hostingV1NodeJsCreateFromArchiveRequest', hostingV1NodeJsCreateFromArchiveRequest)
|
|
25722
|
-
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/from-archive`
|
|
25723
|
-
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
25724
|
-
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
25725
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25726
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25727
|
-
let baseOptions;
|
|
25728
|
-
if (configuration) {
|
|
25729
|
-
baseOptions = configuration.baseOptions;
|
|
25730
|
-
}
|
|
25731
|
-
|
|
25732
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25733
|
-
const localVarHeaderParameter = {} as any;
|
|
25734
|
-
const localVarQueryParameter = {} as any;
|
|
25735
|
-
|
|
25736
|
-
// authentication apiToken required
|
|
25737
|
-
// http bearer authentication required
|
|
25738
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25743
|
-
|
|
25744
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25745
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25746
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25747
|
-
localVarRequestOptions.data = serializeDataIfNeeded(hostingV1NodeJsCreateFromArchiveRequest, localVarRequestOptions, configuration)
|
|
25748
|
-
|
|
25749
|
-
return {
|
|
25750
|
-
url: toPathString(localVarUrlObj),
|
|
25751
|
-
options: localVarRequestOptions,
|
|
25752
|
-
};
|
|
25753
|
-
},
|
|
25754
26177
|
/**
|
|
25755
26178
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
25756
26179
|
* @summary Get NodeJS build logs
|
|
@@ -26103,20 +26526,6 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration?: Confi
|
|
|
26103
26526
|
export const HostingNodeJSApiFp = function(configuration?: Configuration) {
|
|
26104
26527
|
const localVarAxiosParamCreator = HostingNodeJSApiAxiosParamCreator(configuration)
|
|
26105
26528
|
return {
|
|
26106
|
-
/**
|
|
26107
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
26108
|
-
* @summary Create NodeJS build from archive
|
|
26109
|
-
* @param {string} username
|
|
26110
|
-
* @param {string} domain Domain name
|
|
26111
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
26112
|
-
* @param {*} [options] Override http request option.
|
|
26113
|
-
* @throws {RequiredError}
|
|
26114
|
-
*/
|
|
26115
|
-
async createNodeJSBuildFromArchiveV1(username: string, domain: string, hostingV1NodeJsCreateFromArchiveRequest: HostingV1NodeJsCreateFromArchiveRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsBuildResource>> {
|
|
26116
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options);
|
|
26117
|
-
const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.createNodeJSBuildFromArchiveV1']?.[0]?.url;
|
|
26118
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26119
|
-
},
|
|
26120
26529
|
/**
|
|
26121
26530
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
26122
26531
|
* @summary Get NodeJS build logs
|
|
@@ -26227,18 +26636,6 @@ export const HostingNodeJSApiFp = function(configuration?: Configuration) {
|
|
|
26227
26636
|
export const HostingNodeJSApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
26228
26637
|
const localVarFp = HostingNodeJSApiFp(configuration)
|
|
26229
26638
|
return {
|
|
26230
|
-
/**
|
|
26231
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
26232
|
-
* @summary Create NodeJS build from archive
|
|
26233
|
-
* @param {string} username
|
|
26234
|
-
* @param {string} domain Domain name
|
|
26235
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
26236
|
-
* @param {*} [options] Override http request option.
|
|
26237
|
-
* @throws {RequiredError}
|
|
26238
|
-
*/
|
|
26239
|
-
createNodeJSBuildFromArchiveV1(username: string, domain: string, hostingV1NodeJsCreateFromArchiveRequest: HostingV1NodeJsCreateFromArchiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildResource> {
|
|
26240
|
-
return localVarFp.createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options).then((request) => request(axios, basePath));
|
|
26241
|
-
},
|
|
26242
26639
|
/**
|
|
26243
26640
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
26244
26641
|
* @summary Get NodeJS build logs
|
|
@@ -26335,20 +26732,6 @@ export const HostingNodeJSApiFactory = function (configuration?: Configuration,
|
|
|
26335
26732
|
* @extends {BaseAPI}
|
|
26336
26733
|
*/
|
|
26337
26734
|
export class HostingNodeJSApi extends BaseAPI {
|
|
26338
|
-
/**
|
|
26339
|
-
* Upload a project archive, auto-detect build settings, and immediately start a Node.js build. WARNING: on success this overwrites the website\'s existing contents and cannot be undone — verify this is intended before calling this endpoint. This is the recommended single-step approach for deploying a Node.js application. The archive is uploaded to the website\'s file storage, build settings are auto-detected from the package.json inside the archive, and the build process starts automatically. Optional override fields take precedence over auto-detected values. Maximum archive size is 50MB. Before archiving, exclude `node_modules/` and any build output directories (e.g. `dist/`, `.next/`, `build/`) — they are not needed because the build process runs the install step automatically, and including them unnecessarily increases the archive size. This also helps keep the archive well under the 50MB limit. Example (zip): ``` zip -r archive.zip . --exclude \"node_modules/_*\" --exclude \"dist/_*\" ``` The returned build `uuid` can be used to poll progress and retrieve logs via the `Get Node.js Build Logs` endpoint.
|
|
26340
|
-
* @summary Create NodeJS build from archive
|
|
26341
|
-
* @param {string} username
|
|
26342
|
-
* @param {string} domain Domain name
|
|
26343
|
-
* @param {HostingV1NodeJsCreateFromArchiveRequest} hostingV1NodeJsCreateFromArchiveRequest
|
|
26344
|
-
* @param {*} [options] Override http request option.
|
|
26345
|
-
* @throws {RequiredError}
|
|
26346
|
-
* @memberof HostingNodeJSApi
|
|
26347
|
-
*/
|
|
26348
|
-
public createNodeJSBuildFromArchiveV1(username: string, domain: string, hostingV1NodeJsCreateFromArchiveRequest: HostingV1NodeJsCreateFromArchiveRequest, options?: RawAxiosRequestConfig) {
|
|
26349
|
-
return HostingNodeJSApiFp(this.configuration).createNodeJSBuildFromArchiveV1(username, domain, hostingV1NodeJsCreateFromArchiveRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26350
|
-
}
|
|
26351
|
-
|
|
26352
26735
|
/**
|
|
26353
26736
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
26354
26737
|
* @summary Get NodeJS build logs
|
|
@@ -27603,18 +27986,19 @@ export const HostingWebsitesApiAxiosParamCreator = function (configuration?: Con
|
|
|
27603
27986
|
};
|
|
27604
27987
|
},
|
|
27605
27988
|
/**
|
|
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
|
|
27989
|
+
* 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
27990
|
* @summary List websites
|
|
27608
27991
|
* @param {number} [page] Page number
|
|
27609
27992
|
* @param {number} [perPage] Number of items per page
|
|
27610
27993
|
* @param {string | null} [username] Filter by specific username
|
|
27611
27994
|
* @param {number | null} [orderId] Order ID
|
|
27612
27995
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
27613
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
27996
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
27997
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
27614
27998
|
* @param {*} [options] Override http request option.
|
|
27615
27999
|
* @throws {RequiredError}
|
|
27616
28000
|
*/
|
|
27617
|
-
listWebsitesV1: async (page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28001
|
+
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
28002
|
const localVarPath = `/api/hosting/v1/websites`;
|
|
27619
28003
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27620
28004
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -27655,6 +28039,10 @@ export const HostingWebsitesApiAxiosParamCreator = function (configuration?: Con
|
|
|
27655
28039
|
localVarQueryParameter['domain'] = domain;
|
|
27656
28040
|
}
|
|
27657
28041
|
|
|
28042
|
+
if (websiteTypes) {
|
|
28043
|
+
localVarQueryParameter['website_types'] = websiteTypes.join(COLLECTION_FORMATS.csv);
|
|
28044
|
+
}
|
|
28045
|
+
|
|
27658
28046
|
|
|
27659
28047
|
|
|
27660
28048
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27715,19 +28103,20 @@ export const HostingWebsitesApiFp = function(configuration?: Configuration) {
|
|
|
27715
28103
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27716
28104
|
},
|
|
27717
28105
|
/**
|
|
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
|
|
28106
|
+
* 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
28107
|
* @summary List websites
|
|
27720
28108
|
* @param {number} [page] Page number
|
|
27721
28109
|
* @param {number} [perPage] Number of items per page
|
|
27722
28110
|
* @param {string | null} [username] Filter by specific username
|
|
27723
28111
|
* @param {number | null} [orderId] Order ID
|
|
27724
28112
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
27725
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
28113
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28114
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
27726
28115
|
* @param {*} [options] Override http request option.
|
|
27727
28116
|
* @throws {RequiredError}
|
|
27728
28117
|
*/
|
|
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);
|
|
28118
|
+
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>> {
|
|
28119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options);
|
|
27731
28120
|
const localVarOperationServerBasePath = operationServerMap['HostingWebsitesApi.listWebsitesV1']?.[0]?.url;
|
|
27732
28121
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27733
28122
|
},
|
|
@@ -27774,19 +28163,20 @@ export const HostingWebsitesApiFactory = function (configuration?: Configuration
|
|
|
27774
28163
|
return localVarFp.deployStaticSiteArchiveV1(username, domain, hostingV1WebsitesDeployArchiveRequest, options).then((request) => request(axios, basePath));
|
|
27775
28164
|
},
|
|
27776
28165
|
/**
|
|
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
|
|
28166
|
+
* 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
28167
|
* @summary List websites
|
|
27779
28168
|
* @param {number} [page] Page number
|
|
27780
28169
|
* @param {number} [perPage] Number of items per page
|
|
27781
28170
|
* @param {string | null} [username] Filter by specific username
|
|
27782
28171
|
* @param {number | null} [orderId] Order ID
|
|
27783
28172
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
27784
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
28173
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28174
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
27785
28175
|
* @param {*} [options] Override http request option.
|
|
27786
28176
|
* @throws {RequiredError}
|
|
27787
28177
|
*/
|
|
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));
|
|
28178
|
+
listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListWebsitesV1200Response> {
|
|
28179
|
+
return localVarFp.listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(axios, basePath));
|
|
27790
28180
|
},
|
|
27791
28181
|
};
|
|
27792
28182
|
};
|
|
@@ -27837,23 +28227,35 @@ export class HostingWebsitesApi extends BaseAPI {
|
|
|
27837
28227
|
}
|
|
27838
28228
|
|
|
27839
28229
|
/**
|
|
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
|
|
28230
|
+
* 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
28231
|
* @summary List websites
|
|
27842
28232
|
* @param {number} [page] Page number
|
|
27843
28233
|
* @param {number} [perPage] Number of items per page
|
|
27844
28234
|
* @param {string | null} [username] Filter by specific username
|
|
27845
28235
|
* @param {number | null} [orderId] Order ID
|
|
27846
28236
|
* @param {boolean | null} [isEnabled] Filter by enabled status
|
|
27847
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
28237
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
28238
|
+
* @param {Array<ListWebsitesV1WebsiteTypesEnum>} [websiteTypes] Filter by detected website type, e.g. wordpress,nodejs. Accepts a comma-separated list.
|
|
27848
28239
|
* @param {*} [options] Override http request option.
|
|
27849
28240
|
* @throws {RequiredError}
|
|
27850
28241
|
* @memberof HostingWebsitesApi
|
|
27851
28242
|
*/
|
|
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));
|
|
28243
|
+
public listWebsitesV1(page?: number, perPage?: number, username?: string | null, orderId?: number | null, isEnabled?: boolean | null, domain?: string | null, websiteTypes?: Array<ListWebsitesV1WebsiteTypesEnum>, options?: RawAxiosRequestConfig) {
|
|
28244
|
+
return HostingWebsitesApiFp(this.configuration).listWebsitesV1(page, perPage, username, orderId, isEnabled, domain, websiteTypes, options).then((request) => request(this.axios, this.basePath));
|
|
27854
28245
|
}
|
|
27855
28246
|
}
|
|
27856
28247
|
|
|
28248
|
+
/**
|
|
28249
|
+
* @export
|
|
28250
|
+
*/
|
|
28251
|
+
export const ListWebsitesV1WebsiteTypesEnum = {
|
|
28252
|
+
Wordpress: 'wordpress',
|
|
28253
|
+
Builder: 'builder',
|
|
28254
|
+
Horizons: 'horizons',
|
|
28255
|
+
Nodejs: 'nodejs',
|
|
28256
|
+
Other: 'other'
|
|
28257
|
+
} as const;
|
|
28258
|
+
export type ListWebsitesV1WebsiteTypesEnum = typeof ListWebsitesV1WebsiteTypesEnum[keyof typeof ListWebsitesV1WebsiteTypesEnum];
|
|
27857
28259
|
|
|
27858
28260
|
|
|
27859
28261
|
/**
|
|
@@ -41584,7 +41986,7 @@ export const WordPressInstallationsApiAxiosParamCreator = function (configuratio
|
|
|
41584
41986
|
* 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
41987
|
* @summary List WordPress installations
|
|
41586
41988
|
* @param {string | null} [username] Filter by specific username
|
|
41587
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
41989
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
41588
41990
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
41589
41991
|
* @param {*} [options] Override http request option.
|
|
41590
41992
|
* @throws {RequiredError}
|
|
@@ -41825,7 +42227,7 @@ export const WordPressInstallationsApiFp = function(configuration?: Configuratio
|
|
|
41825
42227
|
* 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
42228
|
* @summary List WordPress installations
|
|
41827
42229
|
* @param {string | null} [username] Filter by specific username
|
|
41828
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
42230
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
41829
42231
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
41830
42232
|
* @param {*} [options] Override http request option.
|
|
41831
42233
|
* @throws {RequiredError}
|
|
@@ -41954,7 +42356,7 @@ export const WordPressInstallationsApiFactory = function (configuration?: Config
|
|
|
41954
42356
|
* 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
42357
|
* @summary List WordPress installations
|
|
41956
42358
|
* @param {string | null} [username] Filter by specific username
|
|
41957
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
42359
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
41958
42360
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
41959
42361
|
* @param {*} [options] Override http request option.
|
|
41960
42362
|
* @throws {RequiredError}
|
|
@@ -42091,7 +42493,7 @@ export class WordPressInstallationsApi extends BaseAPI {
|
|
|
42091
42493
|
* 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
42494
|
* @summary List WordPress installations
|
|
42093
42495
|
* @param {string | null} [username] Filter by specific username
|
|
42094
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
42496
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
42095
42497
|
* @param {ListWordPressInstallationsV1OwnershipEnum} [ownership] Filter by ownership type. Defaults to \"owned\". Use \"all\" to include both owned and managed installations.
|
|
42096
42498
|
* @param {*} [options] Override http request option.
|
|
42097
42499
|
* @throws {RequiredError}
|
|
@@ -42924,7 +43326,7 @@ export const WordPressPluginsApiAxiosParamCreator = function (configuration?: Co
|
|
|
42924
43326
|
/**
|
|
42925
43327
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
42926
43328
|
* @summary Check if WooCommerce is installed
|
|
42927
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
43329
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
42928
43330
|
* @param {*} [options] Override http request option.
|
|
42929
43331
|
* @throws {RequiredError}
|
|
42930
43332
|
*/
|
|
@@ -43444,7 +43846,7 @@ export const WordPressPluginsApiFp = function(configuration?: Configuration) {
|
|
|
43444
43846
|
/**
|
|
43445
43847
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
43446
43848
|
* @summary Check if WooCommerce is installed
|
|
43447
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
43849
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
43448
43850
|
* @param {*} [options] Override http request option.
|
|
43449
43851
|
* @throws {RequiredError}
|
|
43450
43852
|
*/
|
|
@@ -43613,7 +44015,7 @@ export const WordPressPluginsApiFactory = function (configuration?: Configuratio
|
|
|
43613
44015
|
/**
|
|
43614
44016
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
43615
44017
|
* @summary Check if WooCommerce is installed
|
|
43616
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
44018
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
43617
44019
|
* @param {*} [options] Override http request option.
|
|
43618
44020
|
* @throws {RequiredError}
|
|
43619
44021
|
*/
|
|
@@ -43762,7 +44164,7 @@ export class WordPressPluginsApi extends BaseAPI {
|
|
|
43762
44164
|
/**
|
|
43763
44165
|
* Check whether WooCommerce is installed on any WordPress installation of a domain. Optionally filter by domain to scope the check.
|
|
43764
44166
|
* @summary Check if WooCommerce is installed
|
|
43765
|
-
* @param {string | null} [domain] Filter by domain name (
|
|
44167
|
+
* @param {string | null} [domain] Filter by domain name (case-insensitive substring match)
|
|
43766
44168
|
* @param {*} [options] Override http request option.
|
|
43767
44169
|
* @throws {RequiredError}
|
|
43768
44170
|
* @memberof WordPressPluginsApi
|