@spacefast/wpcloud-sdk 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fake/router.d.ts.map +1 -1
- package/dist/fake/router.js +7 -5
- package/dist/fake/store.d.ts +4 -2
- package/dist/fake/store.d.ts.map +1 -1
- package/dist/fake/store.js +3 -3
- package/dist/generated/sdk.gen.d.ts +31 -31
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +53 -53
- package/dist/generated/types.gen.d.ts +749 -1465
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/runtime.d.ts +1 -3
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +17 -34
- package/package.json +1 -1
|
@@ -59,26 +59,17 @@ export type PostCustomCertificatesSiteCustomCertificateIdActivateErrors = {
|
|
|
59
59
|
export type PostCustomCertificatesSiteCustomCertificateIdActivateError = PostCustomCertificatesSiteCustomCertificateIdActivateErrors[keyof PostCustomCertificatesSiteCustomCertificateIdActivateErrors];
|
|
60
60
|
export type PostCustomCertificatesSiteCustomCertificateIdActivateResponses = {
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Activation result.
|
|
63
63
|
*/
|
|
64
64
|
200: {
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Whether the certificate was activated.
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
activated?: boolean;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Domains the certificate was activated for.
|
|
71
71
|
*/
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Whether the certificate was activated.
|
|
75
|
-
*/
|
|
76
|
-
activated?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Domains the certificate was activated for.
|
|
79
|
-
*/
|
|
80
|
-
domains?: Array<string>;
|
|
81
|
-
};
|
|
72
|
+
domains?: Array<string>;
|
|
82
73
|
};
|
|
83
74
|
};
|
|
84
75
|
export type PostCustomCertificatesSiteCustomCertificateIdActivateResponse = PostCustomCertificatesSiteCustomCertificateIdActivateResponses[keyof PostCustomCertificatesSiteCustomCertificateIdActivateResponses];
|
|
@@ -93,7 +84,7 @@ export type PostClientMetaClientKeyAddData = {
|
|
|
93
84
|
/**
|
|
94
85
|
* Client name or ID.
|
|
95
86
|
*/
|
|
96
|
-
client
|
|
87
|
+
client: string;
|
|
97
88
|
/**
|
|
98
89
|
* Meta key.
|
|
99
90
|
*/
|
|
@@ -212,22 +203,13 @@ export type PostCrontabSiteAddErrors = {
|
|
|
212
203
|
export type PostCrontabSiteAddError = PostCrontabSiteAddErrors[keyof PostCrontabSiteAddErrors];
|
|
213
204
|
export type PostCrontabSiteAddResponses = {
|
|
214
205
|
/**
|
|
215
|
-
*
|
|
206
|
+
* Response data.
|
|
216
207
|
*/
|
|
217
208
|
200: {
|
|
218
209
|
/**
|
|
219
|
-
*
|
|
210
|
+
* Created cron entry ID.
|
|
220
211
|
*/
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Response data.
|
|
224
|
-
*/
|
|
225
|
-
data?: {
|
|
226
|
-
/**
|
|
227
|
-
* Created cron entry ID.
|
|
228
|
-
*/
|
|
229
|
-
cron_id?: number;
|
|
230
|
-
};
|
|
212
|
+
cron_id?: number;
|
|
231
213
|
};
|
|
232
214
|
};
|
|
233
215
|
export type PostCrontabSiteAddResponse = PostCrontabSiteAddResponses[keyof PostCrontabSiteAddResponses];
|
|
@@ -313,42 +295,33 @@ export type PostFirewallRulesSiteAddErrors = {
|
|
|
313
295
|
export type PostFirewallRulesSiteAddError = PostFirewallRulesSiteAddErrors[keyof PostFirewallRulesSiteAddErrors];
|
|
314
296
|
export type PostFirewallRulesSiteAddResponses = {
|
|
315
297
|
/**
|
|
316
|
-
*
|
|
298
|
+
* Created firewall rule.
|
|
317
299
|
*/
|
|
318
300
|
200: {
|
|
319
301
|
/**
|
|
320
|
-
*
|
|
302
|
+
* Firewall rule ID.
|
|
321
303
|
*/
|
|
322
|
-
|
|
304
|
+
rule_id?: number;
|
|
323
305
|
/**
|
|
324
|
-
*
|
|
306
|
+
* Rule direction.
|
|
325
307
|
*/
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Port number.
|
|
345
|
-
*/
|
|
346
|
-
port?: number;
|
|
347
|
-
/**
|
|
348
|
-
* Destination IP address or CIDR range.
|
|
349
|
-
*/
|
|
350
|
-
destination?: string;
|
|
351
|
-
};
|
|
308
|
+
direction?: string;
|
|
309
|
+
/**
|
|
310
|
+
* Rule action.
|
|
311
|
+
*/
|
|
312
|
+
action?: string;
|
|
313
|
+
/**
|
|
314
|
+
* Protocol type.
|
|
315
|
+
*/
|
|
316
|
+
protocol?: string;
|
|
317
|
+
/**
|
|
318
|
+
* Port number.
|
|
319
|
+
*/
|
|
320
|
+
port?: number;
|
|
321
|
+
/**
|
|
322
|
+
* Destination IP address or CIDR range.
|
|
323
|
+
*/
|
|
324
|
+
destination?: string;
|
|
352
325
|
};
|
|
353
326
|
};
|
|
354
327
|
export type PostFirewallRulesSiteAddResponse = PostFirewallRulesSiteAddResponses[keyof PostFirewallRulesSiteAddResponses];
|
|
@@ -480,30 +453,21 @@ export type PostSshUserServiceIdentifierAddErrors = {
|
|
|
480
453
|
export type PostSshUserServiceIdentifierAddError = PostSshUserServiceIdentifierAddErrors[keyof PostSshUserServiceIdentifierAddErrors];
|
|
481
454
|
export type PostSshUserServiceIdentifierAddResponses = {
|
|
482
455
|
/**
|
|
483
|
-
*
|
|
456
|
+
* User credentials object.
|
|
484
457
|
*/
|
|
485
458
|
200: {
|
|
486
459
|
/**
|
|
487
|
-
*
|
|
460
|
+
* Username.
|
|
488
461
|
*/
|
|
489
|
-
|
|
462
|
+
user?: string;
|
|
490
463
|
/**
|
|
491
|
-
*
|
|
464
|
+
* Generated password (empty for key-only authentication).
|
|
492
465
|
*/
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Generated password (empty for key-only authentication).
|
|
500
|
-
*/
|
|
501
|
-
pass?: string;
|
|
502
|
-
/**
|
|
503
|
-
* Whether the SSH public key was stored successfully.
|
|
504
|
-
*/
|
|
505
|
-
pkey?: boolean;
|
|
506
|
-
};
|
|
466
|
+
pass?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Whether the SSH public key was stored successfully.
|
|
469
|
+
*/
|
|
470
|
+
pkey?: boolean;
|
|
507
471
|
};
|
|
508
472
|
};
|
|
509
473
|
export type PostSshUserServiceIdentifierAddResponse = PostSshUserServiceIdentifierAddResponses[keyof PostSshUserServiceIdentifierAddResponses];
|
|
@@ -550,18 +514,13 @@ export type PostSiteAllowSshMigrationSiteErrors = {
|
|
|
550
514
|
export type PostSiteAllowSshMigrationSiteError = PostSiteAllowSshMigrationSiteErrors[keyof PostSiteAllowSshMigrationSiteErrors];
|
|
551
515
|
export type PostSiteAllowSshMigrationSiteResponses = {
|
|
552
516
|
/**
|
|
553
|
-
*
|
|
517
|
+
* The response data.
|
|
554
518
|
*/
|
|
555
519
|
200: {
|
|
556
520
|
/**
|
|
557
|
-
*
|
|
521
|
+
* true if the site is now ready to have a migration created. false if the site already has a migration attached to it.
|
|
558
522
|
*/
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* true if the site is now ready to have a migration created. false if the site already has a migration attached to it.
|
|
562
|
-
*/
|
|
563
|
-
ready_for_migration?: boolean;
|
|
564
|
-
};
|
|
523
|
+
ready_for_migration?: boolean;
|
|
565
524
|
};
|
|
566
525
|
};
|
|
567
526
|
export type PostSiteAllowSshMigrationSiteResponse = PostSiteAllowSshMigrationSiteResponses[keyof PostSiteAllowSshMigrationSiteResponses];
|
|
@@ -617,22 +576,13 @@ export type GetEdgeCacheSiteDdosUntilErrors = {
|
|
|
617
576
|
export type GetEdgeCacheSiteDdosUntilError = GetEdgeCacheSiteDdosUntilErrors[keyof GetEdgeCacheSiteDdosUntilErrors];
|
|
618
577
|
export type GetEdgeCacheSiteDdosUntilResponses = {
|
|
619
578
|
/**
|
|
620
|
-
*
|
|
579
|
+
* Response data.
|
|
621
580
|
*/
|
|
622
581
|
200: {
|
|
623
582
|
/**
|
|
624
|
-
*
|
|
625
|
-
*/
|
|
626
|
-
message?: string;
|
|
627
|
-
/**
|
|
628
|
-
* Response data.
|
|
583
|
+
* 0 when Defensive Mode is not enabled. When enabled, a Unix timestamp indicating when it will deactivate, or -1 if enabled indefinitely.
|
|
629
584
|
*/
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* 0 when Defensive Mode is not enabled. When enabled, a Unix timestamp indicating when it will deactivate, or -1 if enabled indefinitely.
|
|
633
|
-
*/
|
|
634
|
-
ddos_until?: number;
|
|
635
|
-
};
|
|
585
|
+
ddos_until?: number;
|
|
636
586
|
};
|
|
637
587
|
};
|
|
638
588
|
export type GetEdgeCacheSiteDdosUntilResponse = GetEdgeCacheSiteDdosUntilResponses[keyof GetEdgeCacheSiteDdosUntilResponses];
|
|
@@ -693,18 +643,9 @@ export type PostEdgeCacheSiteDdosUntilErrors = {
|
|
|
693
643
|
export type PostEdgeCacheSiteDdosUntilError = PostEdgeCacheSiteDdosUntilErrors[keyof PostEdgeCacheSiteDdosUntilErrors];
|
|
694
644
|
export type PostEdgeCacheSiteDdosUntilResponses = {
|
|
695
645
|
/**
|
|
696
|
-
*
|
|
646
|
+
* Empty array.
|
|
697
647
|
*/
|
|
698
|
-
200:
|
|
699
|
-
/**
|
|
700
|
-
* Response status message.
|
|
701
|
-
*/
|
|
702
|
-
message?: string;
|
|
703
|
-
/**
|
|
704
|
-
* Empty array.
|
|
705
|
-
*/
|
|
706
|
-
data?: Array<unknown>;
|
|
707
|
-
};
|
|
648
|
+
200: Array<unknown>;
|
|
708
649
|
};
|
|
709
650
|
export type PostEdgeCacheSiteDdosUntilResponse = PostEdgeCacheSiteDdosUntilResponses[keyof PostEdgeCacheSiteDdosUntilResponses];
|
|
710
651
|
export type GetEdgeCacheSiteDdosUntilDomainData = {
|
|
@@ -834,18 +775,9 @@ export type PostEdgeCacheSiteDdosUntilDomainErrors = {
|
|
|
834
775
|
export type PostEdgeCacheSiteDdosUntilDomainError = PostEdgeCacheSiteDdosUntilDomainErrors[keyof PostEdgeCacheSiteDdosUntilDomainErrors];
|
|
835
776
|
export type PostEdgeCacheSiteDdosUntilDomainResponses = {
|
|
836
777
|
/**
|
|
837
|
-
*
|
|
778
|
+
* Empty array.
|
|
838
779
|
*/
|
|
839
|
-
200:
|
|
840
|
-
/**
|
|
841
|
-
* Response status message.
|
|
842
|
-
*/
|
|
843
|
-
message?: string;
|
|
844
|
-
/**
|
|
845
|
-
* Empty array.
|
|
846
|
-
*/
|
|
847
|
-
data?: Array<unknown>;
|
|
848
|
-
};
|
|
780
|
+
200: Array<unknown>;
|
|
849
781
|
};
|
|
850
782
|
export type PostEdgeCacheSiteDdosUntilDomainResponse = PostEdgeCacheSiteDdosUntilDomainResponses[keyof PostEdgeCacheSiteDdosUntilDomainResponses];
|
|
851
783
|
export type GetSiteConvertDbCharsetServiceIdentifierFromToData = {
|
|
@@ -912,30 +844,21 @@ export type GetSiteConvertDbCharsetServiceIdentifierFromToErrors = {
|
|
|
912
844
|
export type GetSiteConvertDbCharsetServiceIdentifierFromToError = GetSiteConvertDbCharsetServiceIdentifierFromToErrors[keyof GetSiteConvertDbCharsetServiceIdentifierFromToErrors];
|
|
913
845
|
export type GetSiteConvertDbCharsetServiceIdentifierFromToResponses = {
|
|
914
846
|
/**
|
|
915
|
-
*
|
|
847
|
+
* Response object.
|
|
916
848
|
*/
|
|
917
849
|
200: {
|
|
918
850
|
/**
|
|
919
|
-
*
|
|
851
|
+
* Site ID.
|
|
920
852
|
*/
|
|
921
|
-
|
|
853
|
+
atomic_site_id?: number;
|
|
922
854
|
/**
|
|
923
|
-
*
|
|
855
|
+
* Source encoding.
|
|
924
856
|
*/
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* Source encoding.
|
|
932
|
-
*/
|
|
933
|
-
from?: string;
|
|
934
|
-
/**
|
|
935
|
-
* Target encoding.
|
|
936
|
-
*/
|
|
937
|
-
to?: string;
|
|
938
|
-
};
|
|
857
|
+
from?: string;
|
|
858
|
+
/**
|
|
859
|
+
* Target encoding.
|
|
860
|
+
*/
|
|
861
|
+
to?: string;
|
|
939
862
|
};
|
|
940
863
|
};
|
|
941
864
|
export type GetSiteConvertDbCharsetServiceIdentifierFromToResponse = GetSiteConvertDbCharsetServiceIdentifierFromToResponses[keyof GetSiteConvertDbCharsetServiceIdentifierFromToResponses];
|
|
@@ -995,38 +918,29 @@ export type PostAliasPkeySetClientCategoryNameErrors = {
|
|
|
995
918
|
export type PostAliasPkeySetClientCategoryNameError = PostAliasPkeySetClientCategoryNameErrors[keyof PostAliasPkeySetClientCategoryNameErrors];
|
|
996
919
|
export type PostAliasPkeySetClientCategoryNameResponses = {
|
|
997
920
|
/**
|
|
998
|
-
*
|
|
921
|
+
* Created or updated public key.
|
|
999
922
|
*/
|
|
1000
923
|
200: {
|
|
1001
924
|
/**
|
|
1002
|
-
*
|
|
925
|
+
* Public key ID.
|
|
1003
926
|
*/
|
|
1004
|
-
|
|
927
|
+
id?: number;
|
|
1005
928
|
/**
|
|
1006
|
-
*
|
|
929
|
+
* Key name.
|
|
1007
930
|
*/
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* Public key URI (pub://client/category?name).
|
|
1023
|
-
*/
|
|
1024
|
-
url?: string;
|
|
1025
|
-
/**
|
|
1026
|
-
* SHA256 fingerprint.
|
|
1027
|
-
*/
|
|
1028
|
-
fingerprint?: string;
|
|
1029
|
-
};
|
|
931
|
+
name?: string;
|
|
932
|
+
/**
|
|
933
|
+
* Category name.
|
|
934
|
+
*/
|
|
935
|
+
category?: string;
|
|
936
|
+
/**
|
|
937
|
+
* Public key URI (pub://client/category?name).
|
|
938
|
+
*/
|
|
939
|
+
url?: string;
|
|
940
|
+
/**
|
|
941
|
+
* SHA256 fingerprint.
|
|
942
|
+
*/
|
|
943
|
+
fingerprint?: string;
|
|
1030
944
|
};
|
|
1031
945
|
};
|
|
1032
946
|
export type PostAliasPkeySetClientCategoryNameResponse = PostAliasPkeySetClientCategoryNameResponses[keyof PostAliasPkeySetClientCategoryNameResponses];
|
|
@@ -1124,11 +1038,11 @@ export type PostCreateSiteClientData = {
|
|
|
1124
1038
|
"meta.value"?: string;
|
|
1125
1039
|
site_type?: string;
|
|
1126
1040
|
};
|
|
1127
|
-
path
|
|
1041
|
+
path: {
|
|
1128
1042
|
/**
|
|
1129
1043
|
* Client identifier.
|
|
1130
1044
|
*/
|
|
1131
|
-
client
|
|
1045
|
+
client: string;
|
|
1132
1046
|
};
|
|
1133
1047
|
query?: never;
|
|
1134
1048
|
url: "/create-site/{client}";
|
|
@@ -1310,38 +1224,29 @@ export type PostTaskCreateClientTypeErrors = {
|
|
|
1310
1224
|
export type PostTaskCreateClientTypeError = PostTaskCreateClientTypeErrors[keyof PostTaskCreateClientTypeErrors];
|
|
1311
1225
|
export type PostTaskCreateClientTypeResponses = {
|
|
1312
1226
|
/**
|
|
1313
|
-
*
|
|
1227
|
+
* Response data.
|
|
1314
1228
|
*/
|
|
1315
1229
|
200: {
|
|
1316
1230
|
/**
|
|
1317
|
-
*
|
|
1231
|
+
* The new task ID.
|
|
1318
1232
|
*/
|
|
1319
|
-
|
|
1233
|
+
task_id?: number;
|
|
1320
1234
|
/**
|
|
1321
|
-
*
|
|
1235
|
+
* The initial task manager job ID.
|
|
1322
1236
|
*/
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1237
|
+
initial_task_manager_id?: number;
|
|
1238
|
+
/**
|
|
1239
|
+
* Task metadata.
|
|
1240
|
+
*/
|
|
1241
|
+
meta?: {
|
|
1328
1242
|
/**
|
|
1329
|
-
* The
|
|
1243
|
+
* The maximum number of concurrent sites the task will be performed on at any given time.
|
|
1330
1244
|
*/
|
|
1331
|
-
|
|
1245
|
+
concurrency?: number;
|
|
1332
1246
|
/**
|
|
1333
|
-
*
|
|
1247
|
+
* Condition under which webhooks are sent.
|
|
1334
1248
|
*/
|
|
1335
|
-
|
|
1336
|
-
/**
|
|
1337
|
-
* The maximum number of concurrent sites the task will be performed on at any given time.
|
|
1338
|
-
*/
|
|
1339
|
-
concurrency?: number;
|
|
1340
|
-
/**
|
|
1341
|
-
* Condition under which webhooks are sent.
|
|
1342
|
-
*/
|
|
1343
|
-
send_webhook_for?: string;
|
|
1344
|
-
};
|
|
1249
|
+
send_webhook_for?: string;
|
|
1345
1250
|
};
|
|
1346
1251
|
};
|
|
1347
1252
|
};
|
|
@@ -1402,22 +1307,13 @@ export type PostCustomCertificatesSiteIdDeactivateErrors = {
|
|
|
1402
1307
|
export type PostCustomCertificatesSiteIdDeactivateError = PostCustomCertificatesSiteIdDeactivateErrors[keyof PostCustomCertificatesSiteIdDeactivateErrors];
|
|
1403
1308
|
export type PostCustomCertificatesSiteIdDeactivateResponses = {
|
|
1404
1309
|
/**
|
|
1405
|
-
*
|
|
1310
|
+
* Deactivation result.
|
|
1406
1311
|
*/
|
|
1407
1312
|
200: {
|
|
1408
1313
|
/**
|
|
1409
|
-
*
|
|
1410
|
-
*/
|
|
1411
|
-
message?: string;
|
|
1412
|
-
/**
|
|
1413
|
-
* Deactivation result.
|
|
1314
|
+
* Deactivation status (e.g. "deactivated").
|
|
1414
1315
|
*/
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* Deactivation status (e.g. "deactivated").
|
|
1418
|
-
*/
|
|
1419
|
-
status?: string;
|
|
1420
|
-
};
|
|
1316
|
+
status?: string;
|
|
1421
1317
|
};
|
|
1422
1318
|
};
|
|
1423
1319
|
export type PostCustomCertificatesSiteIdDeactivateResponse = PostCustomCertificatesSiteIdDeactivateResponses[keyof PostCustomCertificatesSiteIdDeactivateResponses];
|
|
@@ -1477,26 +1373,17 @@ export type PostCustomCertificatesSiteIdDeleteErrors = {
|
|
|
1477
1373
|
export type PostCustomCertificatesSiteIdDeleteError = PostCustomCertificatesSiteIdDeleteErrors[keyof PostCustomCertificatesSiteIdDeleteErrors];
|
|
1478
1374
|
export type PostCustomCertificatesSiteIdDeleteResponses = {
|
|
1479
1375
|
/**
|
|
1480
|
-
*
|
|
1376
|
+
* Deletion result.
|
|
1481
1377
|
*/
|
|
1482
1378
|
200: {
|
|
1483
1379
|
/**
|
|
1484
|
-
*
|
|
1380
|
+
* Deleted certificate identifier.
|
|
1485
1381
|
*/
|
|
1486
|
-
|
|
1487
|
-
/**
|
|
1488
|
-
* Deletion result.
|
|
1489
|
-
*/
|
|
1490
|
-
data?: {
|
|
1382
|
+
deleted?: {
|
|
1491
1383
|
/**
|
|
1492
|
-
*
|
|
1384
|
+
* ID of the deleted certificate.
|
|
1493
1385
|
*/
|
|
1494
|
-
|
|
1495
|
-
/**
|
|
1496
|
-
* ID of the deleted certificate.
|
|
1497
|
-
*/
|
|
1498
|
-
ssl_custom_certificate_id?: number;
|
|
1499
|
-
};
|
|
1386
|
+
ssl_custom_certificate_id?: number;
|
|
1500
1387
|
};
|
|
1501
1388
|
};
|
|
1502
1389
|
};
|
|
@@ -1507,7 +1394,7 @@ export type PostDeleteSiteServiceIdentifierData = {
|
|
|
1507
1394
|
/**
|
|
1508
1395
|
* Service type; may be client name or "domain". Used to determine site lookup method; use "domain" to look up a site by domain, otherwise use the client identifier to look up a site by site ID
|
|
1509
1396
|
*/
|
|
1510
|
-
service
|
|
1397
|
+
service: string;
|
|
1511
1398
|
/**
|
|
1512
1399
|
* Site identifier; domain name for "domain" lookups,. otherwise the site ID. For "wpcom" service, use the WordPress.com blog ID
|
|
1513
1400
|
*/
|
|
@@ -1637,19 +1524,10 @@ export type PostSslHstsPreloadDomainFalseErrors = {
|
|
|
1637
1524
|
export type PostSslHstsPreloadDomainFalseError = PostSslHstsPreloadDomainFalseErrors[keyof PostSslHstsPreloadDomainFalseErrors];
|
|
1638
1525
|
export type PostSslHstsPreloadDomainFalseResponses = {
|
|
1639
1526
|
/**
|
|
1640
|
-
*
|
|
1527
|
+
* Empty object.
|
|
1641
1528
|
*/
|
|
1642
1529
|
200: {
|
|
1643
|
-
|
|
1644
|
-
* Response status message.
|
|
1645
|
-
*/
|
|
1646
|
-
message?: string;
|
|
1647
|
-
/**
|
|
1648
|
-
* Empty object.
|
|
1649
|
-
*/
|
|
1650
|
-
data?: {
|
|
1651
|
-
[key: string]: unknown;
|
|
1652
|
-
};
|
|
1530
|
+
[key: string]: unknown;
|
|
1653
1531
|
};
|
|
1654
1532
|
};
|
|
1655
1533
|
export type PostSslHstsPreloadDomainFalseResponse = PostSslHstsPreloadDomainFalseResponses[keyof PostSslHstsPreloadDomainFalseResponses];
|
|
@@ -1710,11 +1588,11 @@ export type PostSslInfoDomainResponses = {
|
|
|
1710
1588
|
export type PostSslInfoDomainResponse = PostSslInfoDomainResponses[keyof PostSslInfoDomainResponses];
|
|
1711
1589
|
export type GetGetAvailableDatacentersClientData = {
|
|
1712
1590
|
body?: never;
|
|
1713
|
-
path
|
|
1591
|
+
path: {
|
|
1714
1592
|
/**
|
|
1715
1593
|
* Client identifier.
|
|
1716
1594
|
*/
|
|
1717
|
-
client
|
|
1595
|
+
client: string;
|
|
1718
1596
|
};
|
|
1719
1597
|
query?: never;
|
|
1720
1598
|
url: "/get-available-datacenters/{client}";
|
|
@@ -1763,22 +1641,17 @@ export type GetGetIpsClientErrors = {
|
|
|
1763
1641
|
export type GetGetIpsClientError = GetGetIpsClientErrors[keyof GetGetIpsClientErrors];
|
|
1764
1642
|
export type GetGetIpsClientResponses = {
|
|
1765
1643
|
/**
|
|
1766
|
-
*
|
|
1644
|
+
* Response data.
|
|
1767
1645
|
*/
|
|
1768
1646
|
200: {
|
|
1769
1647
|
/**
|
|
1770
|
-
*
|
|
1648
|
+
* Array of IP addresses or CIDR blocks.
|
|
1771
1649
|
*/
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
/**
|
|
1778
|
-
* Array of suggested IP addresses (only present when a domain is supplied).
|
|
1779
|
-
*/
|
|
1780
|
-
suggested?: Array<string>;
|
|
1781
|
-
};
|
|
1650
|
+
ips?: Array<string>;
|
|
1651
|
+
/**
|
|
1652
|
+
* Array of suggested IP addresses (only present when a domain is supplied).
|
|
1653
|
+
*/
|
|
1654
|
+
suggested?: Array<string>;
|
|
1782
1655
|
};
|
|
1783
1656
|
};
|
|
1784
1657
|
export type GetGetIpsClientResponse = GetGetIpsClientResponses[keyof GetGetIpsClientResponses];
|
|
@@ -1788,7 +1661,7 @@ export type GetGetIpsClientDomainData = {
|
|
|
1788
1661
|
/**
|
|
1789
1662
|
* Client ID or client name.
|
|
1790
1663
|
*/
|
|
1791
|
-
client
|
|
1664
|
+
client: string;
|
|
1792
1665
|
/**
|
|
1793
1666
|
* Domain name.
|
|
1794
1667
|
*/
|
|
@@ -1817,11 +1690,11 @@ export type GetGetIpsClientDomainResponses = {
|
|
|
1817
1690
|
/**
|
|
1818
1691
|
* Array of IP addresses or CIDR blocks.
|
|
1819
1692
|
*/
|
|
1820
|
-
ips
|
|
1693
|
+
ips: Array<string>;
|
|
1821
1694
|
/**
|
|
1822
1695
|
* Array of suggested IP addresses (only present when a domain is supplied).
|
|
1823
1696
|
*/
|
|
1824
|
-
suggested
|
|
1697
|
+
suggested: Array<string>;
|
|
1825
1698
|
};
|
|
1826
1699
|
};
|
|
1827
1700
|
export type GetGetIpsClientDomainResponse = GetGetIpsClientDomainResponses[keyof GetGetIpsClientDomainResponses];
|
|
@@ -1831,7 +1704,7 @@ export type GetClientMetaClientKeyGetData = {
|
|
|
1831
1704
|
/**
|
|
1832
1705
|
* Client name or ID.
|
|
1833
1706
|
*/
|
|
1834
|
-
client
|
|
1707
|
+
client: string;
|
|
1835
1708
|
/**
|
|
1836
1709
|
* Meta key.
|
|
1837
1710
|
*/
|
|
@@ -1938,62 +1811,53 @@ export type GetCustomCertificatesSiteErrors = {
|
|
|
1938
1811
|
export type GetCustomCertificatesSiteError = GetCustomCertificatesSiteErrors[keyof GetCustomCertificatesSiteErrors];
|
|
1939
1812
|
export type GetCustomCertificatesSiteResponses = {
|
|
1940
1813
|
/**
|
|
1941
|
-
*
|
|
1814
|
+
* Certificate details.
|
|
1942
1815
|
*/
|
|
1943
1816
|
200: {
|
|
1944
1817
|
/**
|
|
1945
|
-
*
|
|
1818
|
+
* Certificate ID.
|
|
1946
1819
|
*/
|
|
1947
|
-
|
|
1820
|
+
ssl_custom_certificate_id?: number;
|
|
1948
1821
|
/**
|
|
1949
|
-
*
|
|
1822
|
+
* Domains covered by the certificate.
|
|
1950
1823
|
*/
|
|
1951
|
-
|
|
1824
|
+
domains?: Array<string>;
|
|
1825
|
+
/**
|
|
1826
|
+
* Whether the certificate is currently active.
|
|
1827
|
+
*/
|
|
1828
|
+
is_active?: boolean;
|
|
1829
|
+
/**
|
|
1830
|
+
* Certificate metadata.
|
|
1831
|
+
*/
|
|
1832
|
+
certificate_info?: {
|
|
1952
1833
|
/**
|
|
1953
|
-
* Certificate
|
|
1834
|
+
* Certificate issuer.
|
|
1954
1835
|
*/
|
|
1955
|
-
|
|
1836
|
+
issuer?: string;
|
|
1956
1837
|
/**
|
|
1957
|
-
*
|
|
1838
|
+
* Certificate subject.
|
|
1958
1839
|
*/
|
|
1959
|
-
|
|
1840
|
+
subject?: string;
|
|
1960
1841
|
/**
|
|
1961
|
-
*
|
|
1842
|
+
* Certificate serial number.
|
|
1962
1843
|
*/
|
|
1963
|
-
|
|
1844
|
+
serial?: string;
|
|
1964
1845
|
/**
|
|
1965
|
-
* Certificate
|
|
1846
|
+
* Certificate validity start (UTC).
|
|
1966
1847
|
*/
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
/**
|
|
1981
|
-
* Certificate validity start (UTC).
|
|
1982
|
-
*/
|
|
1983
|
-
valid_from?: string;
|
|
1984
|
-
/**
|
|
1985
|
-
* Certificate validity end (UTC).
|
|
1986
|
-
*/
|
|
1987
|
-
valid_to?: string;
|
|
1988
|
-
/**
|
|
1989
|
-
* Certificate signature algorithm.
|
|
1990
|
-
*/
|
|
1991
|
-
signature_algorithm?: string;
|
|
1992
|
-
/**
|
|
1993
|
-
* Days until certificate expiry.
|
|
1994
|
-
*/
|
|
1995
|
-
days_until_expiry?: number;
|
|
1996
|
-
};
|
|
1848
|
+
valid_from?: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* Certificate validity end (UTC).
|
|
1851
|
+
*/
|
|
1852
|
+
valid_to?: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* Certificate signature algorithm.
|
|
1855
|
+
*/
|
|
1856
|
+
signature_algorithm?: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* Days until certificate expiry.
|
|
1859
|
+
*/
|
|
1860
|
+
days_until_expiry?: number;
|
|
1997
1861
|
};
|
|
1998
1862
|
};
|
|
1999
1863
|
};
|
|
@@ -2054,65 +1918,56 @@ export type GetCustomCertificatesSiteIdErrors = {
|
|
|
2054
1918
|
export type GetCustomCertificatesSiteIdError = GetCustomCertificatesSiteIdErrors[keyof GetCustomCertificatesSiteIdErrors];
|
|
2055
1919
|
export type GetCustomCertificatesSiteIdResponses = {
|
|
2056
1920
|
/**
|
|
2057
|
-
*
|
|
1921
|
+
* Certificate details.
|
|
2058
1922
|
*/
|
|
2059
1923
|
200: {
|
|
2060
1924
|
/**
|
|
2061
|
-
*
|
|
1925
|
+
* Certificate ID.
|
|
2062
1926
|
*/
|
|
2063
|
-
|
|
1927
|
+
ssl_custom_certificate_id?: number;
|
|
2064
1928
|
/**
|
|
2065
|
-
*
|
|
1929
|
+
* Domains covered by the certificate.
|
|
2066
1930
|
*/
|
|
2067
|
-
|
|
1931
|
+
domains?: Array<string>;
|
|
1932
|
+
/**
|
|
1933
|
+
* Whether the certificate is currently active.
|
|
1934
|
+
*/
|
|
1935
|
+
is_active?: boolean;
|
|
1936
|
+
/**
|
|
1937
|
+
* Certificate metadata.
|
|
1938
|
+
*/
|
|
1939
|
+
certificate_info?: {
|
|
2068
1940
|
/**
|
|
2069
|
-
* Certificate
|
|
1941
|
+
* Certificate issuer.
|
|
2070
1942
|
*/
|
|
2071
|
-
|
|
1943
|
+
issuer?: string;
|
|
2072
1944
|
/**
|
|
2073
|
-
*
|
|
1945
|
+
* Certificate subject.
|
|
2074
1946
|
*/
|
|
2075
|
-
|
|
1947
|
+
subject?: string;
|
|
2076
1948
|
/**
|
|
2077
|
-
*
|
|
1949
|
+
* Certificate serial number.
|
|
2078
1950
|
*/
|
|
2079
|
-
|
|
1951
|
+
serial?: string;
|
|
2080
1952
|
/**
|
|
2081
|
-
* Certificate
|
|
1953
|
+
* Certificate validity start (UTC).
|
|
2082
1954
|
*/
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
valid_from?: string;
|
|
2100
|
-
/**
|
|
2101
|
-
* Certificate validity end (UTC).
|
|
2102
|
-
*/
|
|
2103
|
-
valid_to?: string;
|
|
2104
|
-
/**
|
|
2105
|
-
* Certificate signature algorithm.
|
|
2106
|
-
*/
|
|
2107
|
-
signature_algorithm?: string;
|
|
2108
|
-
/**
|
|
2109
|
-
* Days until certificate expiry.
|
|
2110
|
-
*/
|
|
2111
|
-
days_until_expiry?: number;
|
|
2112
|
-
};
|
|
2113
|
-
};
|
|
2114
|
-
};
|
|
2115
|
-
};
|
|
1955
|
+
valid_from?: string;
|
|
1956
|
+
/**
|
|
1957
|
+
* Certificate validity end (UTC).
|
|
1958
|
+
*/
|
|
1959
|
+
valid_to?: string;
|
|
1960
|
+
/**
|
|
1961
|
+
* Certificate signature algorithm.
|
|
1962
|
+
*/
|
|
1963
|
+
signature_algorithm?: string;
|
|
1964
|
+
/**
|
|
1965
|
+
* Days until certificate expiry.
|
|
1966
|
+
*/
|
|
1967
|
+
days_until_expiry?: number;
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1970
|
+
};
|
|
2116
1971
|
export type GetCustomCertificatesSiteIdResponse = GetCustomCertificatesSiteIdResponses[keyof GetCustomCertificatesSiteIdResponses];
|
|
2117
1972
|
export type GetGetDomainVerificationCodeClientDomainData = {
|
|
2118
1973
|
body?: never;
|
|
@@ -2120,7 +1975,7 @@ export type GetGetDomainVerificationCodeClientDomainData = {
|
|
|
2120
1975
|
/**
|
|
2121
1976
|
* Client ID or client name.
|
|
2122
1977
|
*/
|
|
2123
|
-
client
|
|
1978
|
+
client: string;
|
|
2124
1979
|
/**
|
|
2125
1980
|
* Domain name in question.
|
|
2126
1981
|
*/
|
|
@@ -2200,30 +2055,21 @@ export type GetEdgeCacheSiteErrors = {
|
|
|
2200
2055
|
export type GetEdgeCacheSiteError = GetEdgeCacheSiteErrors[keyof GetEdgeCacheSiteErrors];
|
|
2201
2056
|
export type GetEdgeCacheSiteResponses = {
|
|
2202
2057
|
/**
|
|
2203
|
-
*
|
|
2058
|
+
* Response data.
|
|
2204
2059
|
*/
|
|
2205
2060
|
200: {
|
|
2206
2061
|
/**
|
|
2207
|
-
*
|
|
2062
|
+
* Edge cache status code; one of 0 (Disabled), 1 (Enabled), or 2 (DDoS).
|
|
2208
2063
|
*/
|
|
2209
|
-
|
|
2064
|
+
status?: number;
|
|
2065
|
+
/**
|
|
2066
|
+
* Edge cache status name; one of "Disabled", "Enabled", or "DDoS".
|
|
2067
|
+
*/
|
|
2068
|
+
status_name?: string;
|
|
2210
2069
|
/**
|
|
2211
|
-
*
|
|
2070
|
+
* Timestamp when defensive mode expires (Unix time); 0 if not enabled, -1 if enabled indefinitely.
|
|
2212
2071
|
*/
|
|
2213
|
-
|
|
2214
|
-
/**
|
|
2215
|
-
* Edge cache status code; one of 0 (Disabled), 1 (Enabled), or 2 (DDoS).
|
|
2216
|
-
*/
|
|
2217
|
-
status?: number;
|
|
2218
|
-
/**
|
|
2219
|
-
* Edge cache status name; one of "Disabled", "Enabled", or "DDoS".
|
|
2220
|
-
*/
|
|
2221
|
-
status_name?: string;
|
|
2222
|
-
/**
|
|
2223
|
-
* Timestamp when defensive mode expires (Unix time); 0 if not enabled, -1 if enabled indefinitely.
|
|
2224
|
-
*/
|
|
2225
|
-
ddos_until?: number;
|
|
2226
|
-
};
|
|
2072
|
+
ddos_until?: number;
|
|
2227
2073
|
};
|
|
2228
2074
|
};
|
|
2229
2075
|
export type GetEdgeCacheSiteResponse = GetEdgeCacheSiteResponses[keyof GetEdgeCacheSiteResponses];
|
|
@@ -2283,30 +2129,21 @@ export type GetEdgeCacheSiteActionErrors = {
|
|
|
2283
2129
|
export type GetEdgeCacheSiteActionError = GetEdgeCacheSiteActionErrors[keyof GetEdgeCacheSiteActionErrors];
|
|
2284
2130
|
export type GetEdgeCacheSiteActionResponses = {
|
|
2285
2131
|
/**
|
|
2286
|
-
*
|
|
2132
|
+
* Response data.
|
|
2287
2133
|
*/
|
|
2288
2134
|
200: {
|
|
2289
2135
|
/**
|
|
2290
|
-
*
|
|
2136
|
+
* Edge cache status code; one of 0 (Disabled), 1 (Enabled), or 2 (DDoS).
|
|
2137
|
+
*/
|
|
2138
|
+
status?: number;
|
|
2139
|
+
/**
|
|
2140
|
+
* Edge cache status name; one of "Disabled", "Enabled", or "DDoS".
|
|
2291
2141
|
*/
|
|
2292
|
-
|
|
2142
|
+
status_name?: string;
|
|
2293
2143
|
/**
|
|
2294
|
-
*
|
|
2144
|
+
* Timestamp when defensive mode expires (Unix time); 0 if not enabled, -1 if enabled indefinitely.
|
|
2295
2145
|
*/
|
|
2296
|
-
|
|
2297
|
-
/**
|
|
2298
|
-
* Edge cache status code; one of 0 (Disabled), 1 (Enabled), or 2 (DDoS).
|
|
2299
|
-
*/
|
|
2300
|
-
status?: number;
|
|
2301
|
-
/**
|
|
2302
|
-
* Edge cache status name; one of "Disabled", "Enabled", or "DDoS".
|
|
2303
|
-
*/
|
|
2304
|
-
status_name?: string;
|
|
2305
|
-
/**
|
|
2306
|
-
* Timestamp when defensive mode expires (Unix time); 0 if not enabled, -1 if enabled indefinitely.
|
|
2307
|
-
*/
|
|
2308
|
-
ddos_until?: number;
|
|
2309
|
-
};
|
|
2146
|
+
ddos_until?: number;
|
|
2310
2147
|
};
|
|
2311
2148
|
};
|
|
2312
2149
|
export type GetEdgeCacheSiteActionResponse = GetEdgeCacheSiteActionResponses[keyof GetEdgeCacheSiteActionResponses];
|
|
@@ -2384,18 +2221,9 @@ export type PostEdgeCacheSiteActionErrors = {
|
|
|
2384
2221
|
export type PostEdgeCacheSiteActionError = PostEdgeCacheSiteActionErrors[keyof PostEdgeCacheSiteActionErrors];
|
|
2385
2222
|
export type PostEdgeCacheSiteActionResponses = {
|
|
2386
2223
|
/**
|
|
2387
|
-
*
|
|
2224
|
+
* Empty array.
|
|
2388
2225
|
*/
|
|
2389
|
-
200:
|
|
2390
|
-
/**
|
|
2391
|
-
* Response status message.
|
|
2392
|
-
*/
|
|
2393
|
-
message?: string;
|
|
2394
|
-
/**
|
|
2395
|
-
* Empty array.
|
|
2396
|
-
*/
|
|
2397
|
-
data?: Array<unknown>;
|
|
2398
|
-
};
|
|
2226
|
+
200: Array<unknown>;
|
|
2399
2227
|
};
|
|
2400
2228
|
export type PostEdgeCacheSiteActionResponse = PostEdgeCacheSiteActionResponses[keyof PostEdgeCacheSiteActionResponses];
|
|
2401
2229
|
export type GetEdgeCacheSiteActionDomainData = {
|
|
@@ -2554,18 +2382,9 @@ export type PostEdgeCacheSiteActionDomainErrors = {
|
|
|
2554
2382
|
export type PostEdgeCacheSiteActionDomainError = PostEdgeCacheSiteActionDomainErrors[keyof PostEdgeCacheSiteActionDomainErrors];
|
|
2555
2383
|
export type PostEdgeCacheSiteActionDomainResponses = {
|
|
2556
2384
|
/**
|
|
2557
|
-
*
|
|
2385
|
+
* Empty array.
|
|
2558
2386
|
*/
|
|
2559
|
-
200:
|
|
2560
|
-
/**
|
|
2561
|
-
* Response status message.
|
|
2562
|
-
*/
|
|
2563
|
-
message?: string;
|
|
2564
|
-
/**
|
|
2565
|
-
* Empty array.
|
|
2566
|
-
*/
|
|
2567
|
-
data?: Array<unknown>;
|
|
2568
|
-
};
|
|
2387
|
+
200: Array<unknown>;
|
|
2569
2388
|
};
|
|
2570
2389
|
export type PostEdgeCacheSiteActionDomainResponse = PostEdgeCacheSiteActionDomainResponses[keyof PostEdgeCacheSiteActionDomainResponses];
|
|
2571
2390
|
export type GetJobCompletionIdData = {
|
|
@@ -2646,19 +2465,10 @@ export type PostJobCompletionIdErrors = {
|
|
|
2646
2465
|
export type PostJobCompletionIdError = PostJobCompletionIdErrors[keyof PostJobCompletionIdErrors];
|
|
2647
2466
|
export type PostJobCompletionIdResponses = {
|
|
2648
2467
|
/**
|
|
2649
|
-
*
|
|
2468
|
+
* (POST) Object mapping each requested job ID to its status string.
|
|
2650
2469
|
*/
|
|
2651
2470
|
200: {
|
|
2652
|
-
|
|
2653
|
-
* Response status message.
|
|
2654
|
-
*/
|
|
2655
|
-
message?: string;
|
|
2656
|
-
/**
|
|
2657
|
-
* (POST) Object mapping each requested job ID to its status string.
|
|
2658
|
-
*/
|
|
2659
|
-
data?: {
|
|
2660
|
-
[key: string]: unknown;
|
|
2661
|
-
};
|
|
2471
|
+
[key: string]: unknown;
|
|
2662
2472
|
};
|
|
2663
2473
|
};
|
|
2664
2474
|
export type PostJobCompletionIdResponse = PostJobCompletionIdResponses[keyof PostJobCompletionIdResponses];
|
|
@@ -2691,19 +2501,10 @@ export type GetJobStatusErrors = {
|
|
|
2691
2501
|
export type GetJobStatusError = GetJobStatusErrors[keyof GetJobStatusErrors];
|
|
2692
2502
|
export type GetJobStatusResponses = {
|
|
2693
2503
|
/**
|
|
2694
|
-
*
|
|
2504
|
+
* (POST) Object mapping each requested job ID to its full job object.
|
|
2695
2505
|
*/
|
|
2696
2506
|
200: {
|
|
2697
|
-
|
|
2698
|
-
* Response status message.
|
|
2699
|
-
*/
|
|
2700
|
-
message?: string;
|
|
2701
|
-
/**
|
|
2702
|
-
* (POST) Object mapping each requested job ID to its full job object.
|
|
2703
|
-
*/
|
|
2704
|
-
data?: {
|
|
2705
|
-
[key: string]: unknown;
|
|
2706
|
-
};
|
|
2507
|
+
[key: string]: unknown;
|
|
2707
2508
|
};
|
|
2708
2509
|
};
|
|
2709
2510
|
export type GetJobStatusResponse = GetJobStatusResponses[keyof GetJobStatusResponses];
|
|
@@ -2741,19 +2542,10 @@ export type PostJobStatusErrors = {
|
|
|
2741
2542
|
export type PostJobStatusError = PostJobStatusErrors[keyof PostJobStatusErrors];
|
|
2742
2543
|
export type PostJobStatusResponses = {
|
|
2743
2544
|
/**
|
|
2744
|
-
*
|
|
2545
|
+
* (POST) Object mapping each requested job ID to its full job object.
|
|
2745
2546
|
*/
|
|
2746
2547
|
200: {
|
|
2747
|
-
|
|
2748
|
-
* Response status message.
|
|
2749
|
-
*/
|
|
2750
|
-
message?: string;
|
|
2751
|
-
/**
|
|
2752
|
-
* (POST) Object mapping each requested job ID to its full job object.
|
|
2753
|
-
*/
|
|
2754
|
-
data?: {
|
|
2755
|
-
[key: string]: unknown;
|
|
2756
|
-
};
|
|
2548
|
+
[key: string]: unknown;
|
|
2757
2549
|
};
|
|
2758
2550
|
};
|
|
2759
2551
|
export type PostJobStatusResponse = PostJobStatusResponses[keyof PostJobStatusResponses];
|
|
@@ -2851,19 +2643,10 @@ export type PostJobStatusIdErrors = {
|
|
|
2851
2643
|
export type PostJobStatusIdError = PostJobStatusIdErrors[keyof PostJobStatusIdErrors];
|
|
2852
2644
|
export type PostJobStatusIdResponses = {
|
|
2853
2645
|
/**
|
|
2854
|
-
*
|
|
2646
|
+
* (POST) Object mapping each requested job ID to its full job object.
|
|
2855
2647
|
*/
|
|
2856
2648
|
200: {
|
|
2857
|
-
|
|
2858
|
-
* Response status message.
|
|
2859
|
-
*/
|
|
2860
|
-
message?: string;
|
|
2861
|
-
/**
|
|
2862
|
-
* (POST) Object mapping each requested job ID to its full job object.
|
|
2863
|
-
*/
|
|
2864
|
-
data?: {
|
|
2865
|
-
[key: string]: unknown;
|
|
2866
|
-
};
|
|
2649
|
+
[key: string]: unknown;
|
|
2867
2650
|
};
|
|
2868
2651
|
};
|
|
2869
2652
|
export type PostJobStatusIdResponse = PostJobStatusIdResponses[keyof PostJobStatusIdResponses];
|
|
@@ -2892,64 +2675,18 @@ export type PostResponseTicketMultiStatusErrors = {
|
|
|
2892
2675
|
export type PostResponseTicketMultiStatusError = PostResponseTicketMultiStatusErrors[keyof PostResponseTicketMultiStatusErrors];
|
|
2893
2676
|
export type PostResponseTicketMultiStatusResponses = {
|
|
2894
2677
|
/**
|
|
2895
|
-
*
|
|
2678
|
+
* Result object.
|
|
2896
2679
|
*/
|
|
2897
2680
|
200: {
|
|
2898
2681
|
/**
|
|
2899
|
-
*
|
|
2900
|
-
*/
|
|
2901
|
-
message?: string;
|
|
2902
|
-
/**
|
|
2903
|
-
* Result object.
|
|
2682
|
+
* Object mapping each requested ticket ID to its status string ("success", "failure", "running", or "unknown").
|
|
2904
2683
|
*/
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
* Object mapping each requested ticket ID to its status string ("success", "failure", "running", or "unknown").
|
|
2908
|
-
*/
|
|
2909
|
-
status?: {
|
|
2910
|
-
[key: string]: unknown;
|
|
2911
|
-
};
|
|
2684
|
+
status?: {
|
|
2685
|
+
[key: string]: unknown;
|
|
2912
2686
|
};
|
|
2913
2687
|
};
|
|
2914
2688
|
};
|
|
2915
2689
|
export type PostResponseTicketMultiStatusResponse = PostResponseTicketMultiStatusResponses[keyof PostResponseTicketMultiStatusResponses];
|
|
2916
|
-
export type GetGetPhpVersionsClientVerboseData = {
|
|
2917
|
-
body?: never;
|
|
2918
|
-
path?: {
|
|
2919
|
-
/**
|
|
2920
|
-
* Client identifier.
|
|
2921
|
-
*/
|
|
2922
|
-
client?: string;
|
|
2923
|
-
};
|
|
2924
|
-
query?: {
|
|
2925
|
-
/**
|
|
2926
|
-
* If "verbose", returns detailed version metadata instead of a simple list.
|
|
2927
|
-
*/
|
|
2928
|
-
verbose?: string;
|
|
2929
|
-
};
|
|
2930
|
-
url: "/get-php-versions/{client}[/verbose]";
|
|
2931
|
-
};
|
|
2932
|
-
export type GetGetPhpVersionsClientVerboseErrors = {
|
|
2933
|
-
/**
|
|
2934
|
-
* Invalid or unauthorized client.
|
|
2935
|
-
*/
|
|
2936
|
-
400: {
|
|
2937
|
-
/**
|
|
2938
|
-
* Invalid or unauthorized client.
|
|
2939
|
-
*/
|
|
2940
|
-
BadRequest?: string;
|
|
2941
|
-
};
|
|
2942
|
-
};
|
|
2943
|
-
export type GetGetPhpVersionsClientVerboseError = GetGetPhpVersionsClientVerboseErrors[keyof GetGetPhpVersionsClientVerboseErrors];
|
|
2944
|
-
export type GetGetPhpVersionsClientVerboseResponses = {
|
|
2945
|
-
/**
|
|
2946
|
-
* (verbose) Object with "default" string and "available" object mapping version strings to metadata.
|
|
2947
|
-
*/
|
|
2948
|
-
200: {
|
|
2949
|
-
[key: string]: unknown;
|
|
2950
|
-
};
|
|
2951
|
-
};
|
|
2952
|
-
export type GetGetPhpVersionsClientVerboseResponse = GetGetPhpVersionsClientVerboseResponses[keyof GetGetPhpVersionsClientVerboseResponses];
|
|
2953
2690
|
export type GetAliasPkeyGetClientCategoryNameData = {
|
|
2954
2691
|
body?: never;
|
|
2955
2692
|
path: {
|
|
@@ -2983,30 +2720,21 @@ export type GetAliasPkeyGetClientCategoryNameErrors = {
|
|
|
2983
2720
|
export type GetAliasPkeyGetClientCategoryNameError = GetAliasPkeyGetClientCategoryNameErrors[keyof GetAliasPkeyGetClientCategoryNameErrors];
|
|
2984
2721
|
export type GetAliasPkeyGetClientCategoryNameResponses = {
|
|
2985
2722
|
/**
|
|
2986
|
-
*
|
|
2723
|
+
* Public key details, or null if not found.
|
|
2987
2724
|
*/
|
|
2988
2725
|
200: {
|
|
2989
2726
|
/**
|
|
2990
|
-
*
|
|
2727
|
+
* Public key ID.
|
|
2991
2728
|
*/
|
|
2992
|
-
|
|
2729
|
+
id?: number;
|
|
2993
2730
|
/**
|
|
2994
|
-
*
|
|
2731
|
+
* Key name.
|
|
2995
2732
|
*/
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
/**
|
|
3002
|
-
* Key name.
|
|
3003
|
-
*/
|
|
3004
|
-
name?: string;
|
|
3005
|
-
/**
|
|
3006
|
-
* SHA256 fingerprint.
|
|
3007
|
-
*/
|
|
3008
|
-
fingerprint?: string;
|
|
3009
|
-
};
|
|
2733
|
+
name?: string;
|
|
2734
|
+
/**
|
|
2735
|
+
* SHA256 fingerprint.
|
|
2736
|
+
*/
|
|
2737
|
+
fingerprint?: string;
|
|
3010
2738
|
};
|
|
3011
2739
|
};
|
|
3012
2740
|
export type GetAliasPkeyGetClientCategoryNameResponse = GetAliasPkeyGetClientCategoryNameResponses[keyof GetAliasPkeyGetClientCategoryNameResponses];
|
|
@@ -3044,40 +2772,31 @@ export type PostResponseTicketGetFullErrors = {
|
|
|
3044
2772
|
export type PostResponseTicketGetFullError = PostResponseTicketGetFullErrors[keyof PostResponseTicketGetFullErrors];
|
|
3045
2773
|
export type PostResponseTicketGetFullResponses = {
|
|
3046
2774
|
/**
|
|
3047
|
-
*
|
|
2775
|
+
* Ticket details.
|
|
3048
2776
|
*/
|
|
3049
2777
|
200: {
|
|
3050
2778
|
/**
|
|
3051
|
-
*
|
|
2779
|
+
* Creation timestamp.
|
|
3052
2780
|
*/
|
|
3053
|
-
|
|
2781
|
+
created?: string;
|
|
3054
2782
|
/**
|
|
3055
|
-
*
|
|
2783
|
+
* Creation timestamp (Unix).
|
|
3056
2784
|
*/
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
*/
|
|
3073
|
-
status?: string;
|
|
3074
|
-
/**
|
|
3075
|
-
* Array of response messages.
|
|
3076
|
-
*/
|
|
3077
|
-
responses?: Array<{
|
|
3078
|
-
[key: string]: unknown;
|
|
3079
|
-
}>;
|
|
3080
|
-
};
|
|
2785
|
+
created_ts?: number;
|
|
2786
|
+
/**
|
|
2787
|
+
* Number of responses in the ticket.
|
|
2788
|
+
*/
|
|
2789
|
+
response_count?: number;
|
|
2790
|
+
/**
|
|
2791
|
+
* Ticket status, or null if not yet set.
|
|
2792
|
+
*/
|
|
2793
|
+
status?: string;
|
|
2794
|
+
/**
|
|
2795
|
+
* Array of response messages.
|
|
2796
|
+
*/
|
|
2797
|
+
responses?: Array<{
|
|
2798
|
+
[key: string]: unknown;
|
|
2799
|
+
}>;
|
|
3081
2800
|
};
|
|
3082
2801
|
/**
|
|
3083
2802
|
* Ticket has not yet received a response; retry after 1 second.
|
|
@@ -3124,34 +2843,25 @@ export type PostResponseTicketGetSummaryErrors = {
|
|
|
3124
2843
|
export type PostResponseTicketGetSummaryError = PostResponseTicketGetSummaryErrors[keyof PostResponseTicketGetSummaryErrors];
|
|
3125
2844
|
export type PostResponseTicketGetSummaryResponses = {
|
|
3126
2845
|
/**
|
|
3127
|
-
*
|
|
2846
|
+
* Ticket metadata.
|
|
3128
2847
|
*/
|
|
3129
2848
|
200: {
|
|
3130
2849
|
/**
|
|
3131
|
-
*
|
|
2850
|
+
* Creation timestamp.
|
|
3132
2851
|
*/
|
|
3133
|
-
|
|
2852
|
+
created?: string;
|
|
3134
2853
|
/**
|
|
3135
|
-
*
|
|
2854
|
+
* Creation timestamp (Unix).
|
|
3136
2855
|
*/
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
/**
|
|
3147
|
-
* Number of responses in the ticket.
|
|
3148
|
-
*/
|
|
3149
|
-
response_count?: number;
|
|
3150
|
-
/**
|
|
3151
|
-
* Ticket status, or null if not yet set.
|
|
3152
|
-
*/
|
|
3153
|
-
status?: string;
|
|
3154
|
-
};
|
|
2856
|
+
created_ts?: number;
|
|
2857
|
+
/**
|
|
2858
|
+
* Number of responses in the ticket.
|
|
2859
|
+
*/
|
|
2860
|
+
response_count?: number;
|
|
2861
|
+
/**
|
|
2862
|
+
* Ticket status, or null if not yet set.
|
|
2863
|
+
*/
|
|
2864
|
+
status?: string;
|
|
3155
2865
|
};
|
|
3156
2866
|
/**
|
|
3157
2867
|
* Ticket has not yet received a response; retry after 1 second.
|
|
@@ -3261,38 +2971,29 @@ export type GetSiteBackupInfoServiceIdentifierBackupIdErrors = {
|
|
|
3261
2971
|
export type GetSiteBackupInfoServiceIdentifierBackupIdError = GetSiteBackupInfoServiceIdentifierBackupIdErrors[keyof GetSiteBackupInfoServiceIdentifierBackupIdErrors];
|
|
3262
2972
|
export type GetSiteBackupInfoServiceIdentifierBackupIdResponses = {
|
|
3263
2973
|
/**
|
|
3264
|
-
*
|
|
2974
|
+
* Backup details.
|
|
3265
2975
|
*/
|
|
3266
2976
|
200: {
|
|
3267
2977
|
/**
|
|
3268
|
-
*
|
|
2978
|
+
* Backup ID.
|
|
3269
2979
|
*/
|
|
3270
|
-
|
|
2980
|
+
atomic_backup_id?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* Site ID.
|
|
2983
|
+
*/
|
|
2984
|
+
atomic_site_id?: string;
|
|
3271
2985
|
/**
|
|
3272
|
-
* Backup
|
|
2986
|
+
* Backup timestamp in MySQL timestamp format.
|
|
3273
2987
|
*/
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
/**
|
|
3284
|
-
* Backup timestamp in MySQL timestamp format.
|
|
3285
|
-
*/
|
|
3286
|
-
backup_timestamp?: string;
|
|
3287
|
-
/**
|
|
3288
|
-
* Backup type; determines the response format from `site-backup-get`.
|
|
3289
|
-
*/
|
|
3290
|
-
type?: "fs" | "db" | "ondemand" | "ondemand-fs" | "ondemand-db";
|
|
3291
|
-
/**
|
|
3292
|
-
* Backup size in bytes (if available).
|
|
3293
|
-
*/
|
|
3294
|
-
bytes?: number;
|
|
3295
|
-
};
|
|
2988
|
+
backup_timestamp?: string;
|
|
2989
|
+
/**
|
|
2990
|
+
* Backup type; determines the response format from `site-backup-get`.
|
|
2991
|
+
*/
|
|
2992
|
+
type?: "fs" | "db" | "ondemand" | "ondemand-fs" | "ondemand-db";
|
|
2993
|
+
/**
|
|
2994
|
+
* Backup size in bytes (if available).
|
|
2995
|
+
*/
|
|
2996
|
+
bytes?: number;
|
|
3296
2997
|
};
|
|
3297
2998
|
};
|
|
3298
2999
|
export type GetSiteBackupInfoServiceIdentifierBackupIdResponse = GetSiteBackupInfoServiceIdentifierBackupIdResponses[keyof GetSiteBackupInfoServiceIdentifierBackupIdResponses];
|
|
@@ -3452,19 +3153,10 @@ export type PostSiteMetricsSiteSummarizeErrors = {
|
|
|
3452
3153
|
export type PostSiteMetricsSiteSummarizeError = PostSiteMetricsSiteSummarizeErrors[keyof PostSiteMetricsSiteSummarizeErrors];
|
|
3453
3154
|
export type PostSiteMetricsSiteSummarizeResponses = {
|
|
3454
3155
|
/**
|
|
3455
|
-
*
|
|
3156
|
+
* Response data.
|
|
3456
3157
|
*/
|
|
3457
3158
|
200: {
|
|
3458
|
-
|
|
3459
|
-
* Response status message.
|
|
3460
|
-
*/
|
|
3461
|
-
message?: string;
|
|
3462
|
-
/**
|
|
3463
|
-
* Response data.
|
|
3464
|
-
*/
|
|
3465
|
-
data?: {
|
|
3466
|
-
[key: string]: unknown;
|
|
3467
|
-
};
|
|
3159
|
+
[key: string]: unknown;
|
|
3468
3160
|
};
|
|
3469
3161
|
};
|
|
3470
3162
|
export type PostSiteMetricsSiteSummarizeResponse = PostSiteMetricsSiteSummarizeResponses[keyof PostSiteMetricsSiteSummarizeResponses];
|
|
@@ -3604,22 +3296,13 @@ export type PostSitePhpmyadminSiteErrors = {
|
|
|
3604
3296
|
export type PostSitePhpmyadminSiteError = PostSitePhpmyadminSiteErrors[keyof PostSitePhpmyadminSiteErrors];
|
|
3605
3297
|
export type PostSitePhpmyadminSiteResponses = {
|
|
3606
3298
|
/**
|
|
3607
|
-
*
|
|
3299
|
+
* The response data.
|
|
3608
3300
|
*/
|
|
3609
3301
|
200: {
|
|
3610
3302
|
/**
|
|
3611
|
-
*
|
|
3612
|
-
*/
|
|
3613
|
-
message?: string;
|
|
3614
|
-
/**
|
|
3615
|
-
* The response data.
|
|
3303
|
+
* A time-limited phpMyAdmin login URL.
|
|
3616
3304
|
*/
|
|
3617
|
-
|
|
3618
|
-
/**
|
|
3619
|
-
* A time-limited phpMyAdmin login URL.
|
|
3620
|
-
*/
|
|
3621
|
-
url?: string;
|
|
3622
|
-
};
|
|
3305
|
+
url?: string;
|
|
3623
3306
|
};
|
|
3624
3307
|
};
|
|
3625
3308
|
export type PostSitePhpmyadminSiteResponse = PostSitePhpmyadminSiteResponses[keyof PostSitePhpmyadminSiteResponses];
|
|
@@ -3657,34 +3340,25 @@ export type GetGetSshUserUsernameErrors = {
|
|
|
3657
3340
|
export type GetGetSshUserUsernameError = GetGetSshUserUsernameErrors[keyof GetGetSshUserUsernameErrors];
|
|
3658
3341
|
export type GetGetSshUserUsernameResponses = {
|
|
3659
3342
|
/**
|
|
3660
|
-
*
|
|
3343
|
+
* User details object.
|
|
3661
3344
|
*/
|
|
3662
3345
|
200: {
|
|
3663
3346
|
/**
|
|
3664
|
-
*
|
|
3347
|
+
* Site ID.
|
|
3665
3348
|
*/
|
|
3666
|
-
|
|
3349
|
+
atomic_site_id?: number;
|
|
3667
3350
|
/**
|
|
3668
|
-
*
|
|
3351
|
+
* Creation timestamp.
|
|
3669
3352
|
*/
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
/**
|
|
3680
|
-
* Last update timestamp.
|
|
3681
|
-
*/
|
|
3682
|
-
last_updated?: string;
|
|
3683
|
-
/**
|
|
3684
|
-
* Username.
|
|
3685
|
-
*/
|
|
3686
|
-
user?: string;
|
|
3687
|
-
};
|
|
3353
|
+
created?: string;
|
|
3354
|
+
/**
|
|
3355
|
+
* Last update timestamp.
|
|
3356
|
+
*/
|
|
3357
|
+
last_updated?: string;
|
|
3358
|
+
/**
|
|
3359
|
+
* Username.
|
|
3360
|
+
*/
|
|
3361
|
+
user?: string;
|
|
3688
3362
|
};
|
|
3689
3363
|
};
|
|
3690
3364
|
export type GetGetSshUserUsernameResponse = GetGetSshUserUsernameResponses[keyof GetGetSshUserUsernameResponses];
|
|
@@ -3713,62 +3387,53 @@ export type PostTaskGetAtomicTaskIdErrors = {
|
|
|
3713
3387
|
export type PostTaskGetAtomicTaskIdError = PostTaskGetAtomicTaskIdErrors[keyof PostTaskGetAtomicTaskIdErrors];
|
|
3714
3388
|
export type PostTaskGetAtomicTaskIdResponses = {
|
|
3715
3389
|
/**
|
|
3716
|
-
*
|
|
3390
|
+
* Response data.
|
|
3717
3391
|
*/
|
|
3718
3392
|
200: {
|
|
3719
3393
|
/**
|
|
3720
|
-
*
|
|
3394
|
+
* The task ID.
|
|
3721
3395
|
*/
|
|
3722
|
-
|
|
3396
|
+
task_id?: number;
|
|
3723
3397
|
/**
|
|
3724
|
-
*
|
|
3398
|
+
* Client ID the task was performed for.
|
|
3725
3399
|
*/
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3400
|
+
client_id?: number;
|
|
3401
|
+
/**
|
|
3402
|
+
* The task type.
|
|
3403
|
+
*/
|
|
3404
|
+
type?: string;
|
|
3405
|
+
/**
|
|
3406
|
+
* Datetime when the task was created.
|
|
3407
|
+
*/
|
|
3408
|
+
created?: string;
|
|
3409
|
+
/**
|
|
3410
|
+
* Datetime when the task completed, or null if still in progress.
|
|
3411
|
+
*/
|
|
3412
|
+
complete?: string;
|
|
3413
|
+
/**
|
|
3414
|
+
* Task metadata.
|
|
3415
|
+
*/
|
|
3416
|
+
meta?: {
|
|
3731
3417
|
/**
|
|
3732
|
-
*
|
|
3418
|
+
* The number of jobs that returned a non-zero exit code.
|
|
3733
3419
|
*/
|
|
3734
|
-
|
|
3420
|
+
failure_count?: number;
|
|
3735
3421
|
/**
|
|
3736
|
-
* The
|
|
3422
|
+
* The number of jobs that returned with a zero exit code.
|
|
3737
3423
|
*/
|
|
3738
|
-
|
|
3424
|
+
success_count?: number;
|
|
3739
3425
|
/**
|
|
3740
|
-
*
|
|
3426
|
+
* The total milliseconds it took all sites to perform the task.
|
|
3741
3427
|
*/
|
|
3742
|
-
|
|
3428
|
+
took?: number;
|
|
3743
3429
|
/**
|
|
3744
|
-
*
|
|
3430
|
+
* The total milliseconds it took for failed jobs.
|
|
3745
3431
|
*/
|
|
3746
|
-
|
|
3432
|
+
took_failure?: number;
|
|
3747
3433
|
/**
|
|
3748
|
-
*
|
|
3434
|
+
* The total milliseconds it took for successful jobs.
|
|
3749
3435
|
*/
|
|
3750
|
-
|
|
3751
|
-
/**
|
|
3752
|
-
* The number of jobs that returned a non-zero exit code.
|
|
3753
|
-
*/
|
|
3754
|
-
failure_count?: number;
|
|
3755
|
-
/**
|
|
3756
|
-
* The number of jobs that returned with a zero exit code.
|
|
3757
|
-
*/
|
|
3758
|
-
success_count?: number;
|
|
3759
|
-
/**
|
|
3760
|
-
* The total milliseconds it took all sites to perform the task.
|
|
3761
|
-
*/
|
|
3762
|
-
took?: number;
|
|
3763
|
-
/**
|
|
3764
|
-
* The total milliseconds it took for failed jobs.
|
|
3765
|
-
*/
|
|
3766
|
-
took_failure?: number;
|
|
3767
|
-
/**
|
|
3768
|
-
* The total milliseconds it took for successful jobs.
|
|
3769
|
-
*/
|
|
3770
|
-
took_success?: number;
|
|
3771
|
-
};
|
|
3436
|
+
took_success?: number;
|
|
3772
3437
|
};
|
|
3773
3438
|
};
|
|
3774
3439
|
};
|
|
@@ -3910,7 +3575,7 @@ export type PostMetricsTypeKeySummarizeResponses = {
|
|
|
3910
3575
|
/**
|
|
3911
3576
|
* Array of time period objects that span the timeseries response.
|
|
3912
3577
|
*/
|
|
3913
|
-
periods
|
|
3578
|
+
periods: Array<{
|
|
3914
3579
|
[key: string]: unknown;
|
|
3915
3580
|
}>;
|
|
3916
3581
|
};
|
|
@@ -3976,92 +3641,83 @@ export type PostUsageSiteErrors = {
|
|
|
3976
3641
|
export type PostUsageSiteError = PostUsageSiteErrors[keyof PostUsageSiteErrors];
|
|
3977
3642
|
export type PostUsageSiteResponses = {
|
|
3978
3643
|
/**
|
|
3979
|
-
*
|
|
3644
|
+
* Response data.
|
|
3980
3645
|
*/
|
|
3981
3646
|
200: {
|
|
3982
3647
|
/**
|
|
3983
|
-
* Response
|
|
3648
|
+
* Response metadata.
|
|
3984
3649
|
*/
|
|
3985
|
-
|
|
3986
|
-
/**
|
|
3987
|
-
* Response data.
|
|
3988
|
-
*/
|
|
3989
|
-
data?: {
|
|
3650
|
+
_meta?: {
|
|
3990
3651
|
/**
|
|
3991
|
-
*
|
|
3652
|
+
* Backend response time in seconds.
|
|
3992
3653
|
*/
|
|
3993
|
-
|
|
3994
|
-
/**
|
|
3995
|
-
* Backend response time in seconds.
|
|
3996
|
-
*/
|
|
3997
|
-
took?: number;
|
|
3998
|
-
/**
|
|
3999
|
-
* Units for each usage type.
|
|
4000
|
-
*/
|
|
4001
|
-
units?: {
|
|
4002
|
-
/**
|
|
4003
|
-
* Unit for storage (e.g., "bytes seconds").
|
|
4004
|
-
*/
|
|
4005
|
-
storage?: string;
|
|
4006
|
-
/**
|
|
4007
|
-
* Unit for compute (e.g., "seconds").
|
|
4008
|
-
*/
|
|
4009
|
-
compute?: string;
|
|
4010
|
-
/**
|
|
4011
|
-
* Unit for bandwidth (e.g., "bytes").
|
|
4012
|
-
*/
|
|
4013
|
-
bandwidth?: string;
|
|
4014
|
-
/**
|
|
4015
|
-
* Unit for email count (e.g., "#").
|
|
4016
|
-
*/
|
|
4017
|
-
email?: string;
|
|
4018
|
-
};
|
|
4019
|
-
/**
|
|
4020
|
-
* Present and set to "true" when a forecast is included.
|
|
4021
|
-
*/
|
|
4022
|
-
forecast?: string;
|
|
4023
|
-
/**
|
|
4024
|
-
* Start datetime of the response (Y-m-d H:i:s).
|
|
4025
|
-
*/
|
|
4026
|
-
start?: string;
|
|
4027
|
-
/**
|
|
4028
|
-
* End datetime of the response (Y-m-d H:i:s).
|
|
4029
|
-
*/
|
|
4030
|
-
end?: string;
|
|
4031
|
-
/**
|
|
4032
|
-
* Resolution of the data ("hour", "day", or "month").
|
|
4033
|
-
*/
|
|
4034
|
-
resolution?: string;
|
|
4035
|
-
};
|
|
3654
|
+
took?: number;
|
|
4036
3655
|
/**
|
|
4037
|
-
*
|
|
3656
|
+
* Units for each usage type.
|
|
4038
3657
|
*/
|
|
4039
|
-
|
|
3658
|
+
units?: {
|
|
4040
3659
|
/**
|
|
4041
|
-
*
|
|
3660
|
+
* Unit for storage (e.g., "bytes seconds").
|
|
4042
3661
|
*/
|
|
4043
|
-
storage?:
|
|
4044
|
-
[key: string]: unknown;
|
|
4045
|
-
}>;
|
|
3662
|
+
storage?: string;
|
|
4046
3663
|
/**
|
|
4047
|
-
*
|
|
3664
|
+
* Unit for compute (e.g., "seconds").
|
|
4048
3665
|
*/
|
|
4049
|
-
compute?:
|
|
4050
|
-
[key: string]: unknown;
|
|
4051
|
-
}>;
|
|
3666
|
+
compute?: string;
|
|
4052
3667
|
/**
|
|
4053
|
-
*
|
|
3668
|
+
* Unit for bandwidth (e.g., "bytes").
|
|
4054
3669
|
*/
|
|
4055
|
-
bandwidth?:
|
|
4056
|
-
[key: string]: unknown;
|
|
4057
|
-
}>;
|
|
3670
|
+
bandwidth?: string;
|
|
4058
3671
|
/**
|
|
4059
|
-
*
|
|
3672
|
+
* Unit for email count (e.g., "#").
|
|
4060
3673
|
*/
|
|
4061
|
-
email?:
|
|
4062
|
-
[key: string]: unknown;
|
|
4063
|
-
}>;
|
|
3674
|
+
email?: string;
|
|
4064
3675
|
};
|
|
3676
|
+
/**
|
|
3677
|
+
* Present and set to "true" when a forecast is included.
|
|
3678
|
+
*/
|
|
3679
|
+
forecast?: string;
|
|
3680
|
+
/**
|
|
3681
|
+
* Start datetime of the response (Y-m-d H:i:s).
|
|
3682
|
+
*/
|
|
3683
|
+
start?: string;
|
|
3684
|
+
/**
|
|
3685
|
+
* End datetime of the response (Y-m-d H:i:s).
|
|
3686
|
+
*/
|
|
3687
|
+
end?: string;
|
|
3688
|
+
/**
|
|
3689
|
+
* Resolution of the data ("hour", "day", or "month").
|
|
3690
|
+
*/
|
|
3691
|
+
resolution?: string;
|
|
3692
|
+
};
|
|
3693
|
+
/**
|
|
3694
|
+
* Usage data arrays keyed by meter type.
|
|
3695
|
+
*/
|
|
3696
|
+
data?: {
|
|
3697
|
+
/**
|
|
3698
|
+
* Storage usage time series.
|
|
3699
|
+
*/
|
|
3700
|
+
storage?: Array<{
|
|
3701
|
+
[key: string]: unknown;
|
|
3702
|
+
}>;
|
|
3703
|
+
/**
|
|
3704
|
+
* Compute usage time series.
|
|
3705
|
+
*/
|
|
3706
|
+
compute?: Array<{
|
|
3707
|
+
[key: string]: unknown;
|
|
3708
|
+
}>;
|
|
3709
|
+
/**
|
|
3710
|
+
* Bandwidth usage time series.
|
|
3711
|
+
*/
|
|
3712
|
+
bandwidth?: Array<{
|
|
3713
|
+
[key: string]: unknown;
|
|
3714
|
+
}>;
|
|
3715
|
+
/**
|
|
3716
|
+
* Email usage time series.
|
|
3717
|
+
*/
|
|
3718
|
+
email?: Array<{
|
|
3719
|
+
[key: string]: unknown;
|
|
3720
|
+
}>;
|
|
4065
3721
|
};
|
|
4066
3722
|
};
|
|
4067
3723
|
};
|
|
@@ -4174,7 +3830,7 @@ export type PostSiteLogsSiteResponses = {
|
|
|
4174
3830
|
/**
|
|
4175
3831
|
* Array of log entry objects.
|
|
4176
3832
|
*/
|
|
4177
|
-
logs
|
|
3833
|
+
logs: Array<{
|
|
4178
3834
|
[key: string]: unknown;
|
|
4179
3835
|
}>;
|
|
4180
3836
|
/**
|
|
@@ -4327,40 +3983,38 @@ export type PostLogsSiteSiteResponses = {
|
|
|
4327
3983
|
* Successful operation
|
|
4328
3984
|
*/
|
|
4329
3985
|
200: {
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
}>;
|
|
4363
|
-
};
|
|
3986
|
+
/**
|
|
3987
|
+
* Total number of matching log entries; may be null if unavailable.
|
|
3988
|
+
*/
|
|
3989
|
+
total_results?: number;
|
|
3990
|
+
/**
|
|
3991
|
+
* Array of log entry objects. Each entry includes atomic_site_id identifying the source site.
|
|
3992
|
+
*/
|
|
3993
|
+
logs?: Array<{
|
|
3994
|
+
[key: string]: unknown;
|
|
3995
|
+
}>;
|
|
3996
|
+
/**
|
|
3997
|
+
* Opaque cursor to pass as scroll_id to retrieve the next page; null when no more results are available.
|
|
3998
|
+
*/
|
|
3999
|
+
scroll_id?: string;
|
|
4000
|
+
/**
|
|
4001
|
+
* Time-bucketed error counts. Each bucket has timestamp (Unix seconds), count, and severities object.
|
|
4002
|
+
*/
|
|
4003
|
+
error_rate?: Array<{
|
|
4004
|
+
[key: string]: unknown;
|
|
4005
|
+
}>;
|
|
4006
|
+
/**
|
|
4007
|
+
* Top 10 plugins/themes by error count.
|
|
4008
|
+
*/
|
|
4009
|
+
top_plugins_by_errors?: Array<{
|
|
4010
|
+
[key: string]: unknown;
|
|
4011
|
+
}>;
|
|
4012
|
+
/**
|
|
4013
|
+
* Top 10 sites by error count.
|
|
4014
|
+
*/
|
|
4015
|
+
top_sites_by_errors?: Array<{
|
|
4016
|
+
[key: string]: unknown;
|
|
4017
|
+
}>;
|
|
4364
4018
|
};
|
|
4365
4019
|
};
|
|
4366
4020
|
export type PostLogsSiteSiteResponse = PostLogsSiteSiteResponses[keyof PostLogsSiteSiteResponses];
|
|
@@ -4398,18 +4052,9 @@ export type PostTaskInterruptTaskIdErrors = {
|
|
|
4398
4052
|
export type PostTaskInterruptTaskIdError = PostTaskInterruptTaskIdErrors[keyof PostTaskInterruptTaskIdErrors];
|
|
4399
4053
|
export type PostTaskInterruptTaskIdResponses = {
|
|
4400
4054
|
/**
|
|
4401
|
-
*
|
|
4055
|
+
* Empty array.
|
|
4402
4056
|
*/
|
|
4403
|
-
200:
|
|
4404
|
-
/**
|
|
4405
|
-
* Response status message.
|
|
4406
|
-
*/
|
|
4407
|
-
message?: string;
|
|
4408
|
-
/**
|
|
4409
|
-
* Empty array.
|
|
4410
|
-
*/
|
|
4411
|
-
data?: Array<unknown>;
|
|
4412
|
-
};
|
|
4057
|
+
200: Array<unknown>;
|
|
4413
4058
|
};
|
|
4414
4059
|
export type PostTaskInterruptTaskIdResponse = PostTaskInterruptTaskIdResponses[keyof PostTaskInterruptTaskIdResponses];
|
|
4415
4060
|
export type GetGetSitesClientData = {
|
|
@@ -4446,68 +4091,13 @@ export type GetGetSitesClientErrors = {
|
|
|
4446
4091
|
export type GetGetSitesClientError = GetGetSitesClientErrors[keyof GetGetSitesClientErrors];
|
|
4447
4092
|
export type GetGetSitesClientResponses = {
|
|
4448
4093
|
/**
|
|
4449
|
-
*
|
|
4450
|
-
*/
|
|
4451
|
-
200: {
|
|
4452
|
-
/**
|
|
4453
|
-
* Array of site objects.
|
|
4454
|
-
*/
|
|
4455
|
-
data?: Array<{
|
|
4456
|
-
[key: string]: unknown;
|
|
4457
|
-
}>;
|
|
4458
|
-
};
|
|
4459
|
-
};
|
|
4460
|
-
export type GetGetSitesClientResponse = GetGetSitesClientResponses[keyof GetGetSitesClientResponses];
|
|
4461
|
-
export type GetGetSitesClientMetaData = {
|
|
4462
|
-
body?: never;
|
|
4463
|
-
path: {
|
|
4464
|
-
/**
|
|
4465
|
-
* Client ID or client name.
|
|
4466
|
-
*/
|
|
4467
|
-
client?: string;
|
|
4468
|
-
/**
|
|
4469
|
-
* Path parameter
|
|
4470
|
-
*/
|
|
4471
|
-
meta: string;
|
|
4472
|
-
};
|
|
4473
|
-
query?: never;
|
|
4474
|
-
url: "/get-sites/{client}/+{meta}/";
|
|
4475
|
-
};
|
|
4476
|
-
export type GetGetSitesClientMetaErrors = {
|
|
4477
|
-
/**
|
|
4478
|
-
* Invalid or unauthorized client.
|
|
4479
|
-
*/
|
|
4480
|
-
400: {
|
|
4481
|
-
/**
|
|
4482
|
-
* Invalid or unauthorized client.
|
|
4483
|
-
*/
|
|
4484
|
-
BadRequest?: string;
|
|
4485
|
-
};
|
|
4486
|
-
/**
|
|
4487
|
-
* Database error.
|
|
4488
|
-
*/
|
|
4489
|
-
500: {
|
|
4490
|
-
/**
|
|
4491
|
-
* Database error.
|
|
4492
|
-
*/
|
|
4493
|
-
InternalServerError?: string;
|
|
4494
|
-
};
|
|
4495
|
-
};
|
|
4496
|
-
export type GetGetSitesClientMetaError = GetGetSitesClientMetaErrors[keyof GetGetSitesClientMetaErrors];
|
|
4497
|
-
export type GetGetSitesClientMetaResponses = {
|
|
4498
|
-
/**
|
|
4499
|
-
* Successful operation
|
|
4094
|
+
* Array of site objects.
|
|
4500
4095
|
*/
|
|
4501
4096
|
200: Array<{
|
|
4502
|
-
|
|
4503
|
-
atomic_site_id?: number | string;
|
|
4504
|
-
created?: string;
|
|
4505
|
-
domain_name?: string;
|
|
4506
|
-
space_used?: number;
|
|
4507
|
-
[key: string]: unknown | string | (number | string) | number | undefined;
|
|
4097
|
+
[key: string]: unknown;
|
|
4508
4098
|
}>;
|
|
4509
4099
|
};
|
|
4510
|
-
export type
|
|
4100
|
+
export type GetGetSitesClientResponse = GetGetSitesClientResponses[keyof GetGetSitesClientResponses];
|
|
4511
4101
|
export type GetCrontabSiteListData = {
|
|
4512
4102
|
body?: never;
|
|
4513
4103
|
path: {
|
|
@@ -4542,20 +4132,11 @@ export type GetCrontabSiteListErrors = {
|
|
|
4542
4132
|
export type GetCrontabSiteListError = GetCrontabSiteListErrors[keyof GetCrontabSiteListErrors];
|
|
4543
4133
|
export type GetCrontabSiteListResponses = {
|
|
4544
4134
|
/**
|
|
4545
|
-
*
|
|
4135
|
+
* Array of cron entries.
|
|
4546
4136
|
*/
|
|
4547
|
-
200: {
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
*/
|
|
4551
|
-
message?: string;
|
|
4552
|
-
/**
|
|
4553
|
-
* Array of cron entries.
|
|
4554
|
-
*/
|
|
4555
|
-
data?: Array<{
|
|
4556
|
-
[key: string]: unknown;
|
|
4557
|
-
}>;
|
|
4558
|
-
};
|
|
4137
|
+
200: Array<{
|
|
4138
|
+
[key: string]: unknown;
|
|
4139
|
+
}>;
|
|
4559
4140
|
};
|
|
4560
4141
|
export type GetCrontabSiteListResponse = GetCrontabSiteListResponses[keyof GetCrontabSiteListResponses];
|
|
4561
4142
|
export type GetCustomCertificatesSiteListData = {
|
|
@@ -4622,44 +4203,35 @@ export type GetCustomCertificatesSiteListErrors = {
|
|
|
4622
4203
|
export type GetCustomCertificatesSiteListError = GetCustomCertificatesSiteListErrors[keyof GetCustomCertificatesSiteListErrors];
|
|
4623
4204
|
export type GetCustomCertificatesSiteListResponses = {
|
|
4624
4205
|
/**
|
|
4625
|
-
*
|
|
4206
|
+
* Response data.
|
|
4626
4207
|
*/
|
|
4627
4208
|
200: {
|
|
4628
4209
|
/**
|
|
4629
|
-
*
|
|
4210
|
+
* List of certificates.
|
|
4630
4211
|
*/
|
|
4631
|
-
|
|
4212
|
+
certificates?: Array<{
|
|
4213
|
+
[key: string]: unknown;
|
|
4214
|
+
}>;
|
|
4632
4215
|
/**
|
|
4633
|
-
*
|
|
4216
|
+
* Pagination metadata.
|
|
4634
4217
|
*/
|
|
4635
|
-
|
|
4218
|
+
pagination?: {
|
|
4636
4219
|
/**
|
|
4637
|
-
*
|
|
4220
|
+
* Total number of matching certificates.
|
|
4638
4221
|
*/
|
|
4639
|
-
|
|
4640
|
-
[key: string]: unknown;
|
|
4641
|
-
}>;
|
|
4222
|
+
total_items?: number;
|
|
4642
4223
|
/**
|
|
4643
|
-
*
|
|
4224
|
+
* Records per page.
|
|
4644
4225
|
*/
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
/**
|
|
4655
|
-
* Current page offset.
|
|
4656
|
-
*/
|
|
4657
|
-
offset?: number;
|
|
4658
|
-
/**
|
|
4659
|
-
* Whether more results are available.
|
|
4660
|
-
*/
|
|
4661
|
-
has_more?: boolean;
|
|
4662
|
-
};
|
|
4226
|
+
limit?: number;
|
|
4227
|
+
/**
|
|
4228
|
+
* Current page offset.
|
|
4229
|
+
*/
|
|
4230
|
+
offset?: number;
|
|
4231
|
+
/**
|
|
4232
|
+
* Whether more results are available.
|
|
4233
|
+
*/
|
|
4234
|
+
has_more?: boolean;
|
|
4663
4235
|
};
|
|
4664
4236
|
};
|
|
4665
4237
|
};
|
|
@@ -4734,52 +4306,13 @@ export type GetWebhookFailuresClientErrors = {
|
|
|
4734
4306
|
export type GetWebhookFailuresClientError = GetWebhookFailuresClientErrors[keyof GetWebhookFailuresClientErrors];
|
|
4735
4307
|
export type GetWebhookFailuresClientResponses = {
|
|
4736
4308
|
/**
|
|
4737
|
-
*
|
|
4309
|
+
* Result.
|
|
4738
4310
|
*/
|
|
4739
4311
|
200: {
|
|
4740
4312
|
/**
|
|
4741
|
-
*
|
|
4313
|
+
* New job ID for the re-queued webhook.
|
|
4742
4314
|
*/
|
|
4743
|
-
|
|
4744
|
-
/**
|
|
4745
|
-
* Result.
|
|
4746
|
-
*/
|
|
4747
|
-
data?: {
|
|
4748
|
-
/**
|
|
4749
|
-
* New job ID for the re-queued webhook.
|
|
4750
|
-
*/
|
|
4751
|
-
job_id?: number;
|
|
4752
|
-
};
|
|
4753
|
-
"data[]"?: {
|
|
4754
|
-
/**
|
|
4755
|
-
* Job ID.
|
|
4756
|
-
*/
|
|
4757
|
-
id?: number;
|
|
4758
|
-
/**
|
|
4759
|
-
* Job creation timestamp.
|
|
4760
|
-
*/
|
|
4761
|
-
created?: string;
|
|
4762
|
-
/**
|
|
4763
|
-
* Webhook event name.
|
|
4764
|
-
*/
|
|
4765
|
-
event?: string;
|
|
4766
|
-
/**
|
|
4767
|
-
* Client ID.
|
|
4768
|
-
*/
|
|
4769
|
-
atomic_client_id?: number;
|
|
4770
|
-
/**
|
|
4771
|
-
* Site ID, or null if client-level.
|
|
4772
|
-
*/
|
|
4773
|
-
atomic_site_id?: number | string;
|
|
4774
|
-
/**
|
|
4775
|
-
* ID of the original job this was requeued from, or null. A non-null value means this job cannot be requeued again.
|
|
4776
|
-
*/
|
|
4777
|
-
requeued_from_job_id?: number | string;
|
|
4778
|
-
/**
|
|
4779
|
-
* Number of times this job has been requeued (max 3).
|
|
4780
|
-
*/
|
|
4781
|
-
requeue_count?: number;
|
|
4782
|
-
};
|
|
4315
|
+
job_id?: number;
|
|
4783
4316
|
};
|
|
4784
4317
|
};
|
|
4785
4318
|
export type GetWebhookFailuresClientResponse = GetWebhookFailuresClientResponses[keyof GetWebhookFailuresClientResponses];
|
|
@@ -4826,20 +4359,11 @@ export type GetFirewallRulesSiteListErrors = {
|
|
|
4826
4359
|
export type GetFirewallRulesSiteListError = GetFirewallRulesSiteListErrors[keyof GetFirewallRulesSiteListErrors];
|
|
4827
4360
|
export type GetFirewallRulesSiteListResponses = {
|
|
4828
4361
|
/**
|
|
4829
|
-
*
|
|
4362
|
+
* Array of firewall rules.
|
|
4830
4363
|
*/
|
|
4831
|
-
200: {
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
*/
|
|
4835
|
-
message?: string;
|
|
4836
|
-
/**
|
|
4837
|
-
* Array of firewall rules.
|
|
4838
|
-
*/
|
|
4839
|
-
data?: Array<{
|
|
4840
|
-
[key: string]: unknown;
|
|
4841
|
-
}>;
|
|
4842
|
-
};
|
|
4364
|
+
200: Array<{
|
|
4365
|
+
[key: string]: unknown;
|
|
4366
|
+
}>;
|
|
4843
4367
|
};
|
|
4844
4368
|
export type GetFirewallRulesSiteListResponse = GetFirewallRulesSiteListResponses[keyof GetFirewallRulesSiteListResponses];
|
|
4845
4369
|
export type GetAliasPkeyCategoriesClientData = {
|
|
@@ -4867,18 +4391,9 @@ export type GetAliasPkeyCategoriesClientErrors = {
|
|
|
4867
4391
|
export type GetAliasPkeyCategoriesClientError = GetAliasPkeyCategoriesClientErrors[keyof GetAliasPkeyCategoriesClientErrors];
|
|
4868
4392
|
export type GetAliasPkeyCategoriesClientResponses = {
|
|
4869
4393
|
/**
|
|
4870
|
-
*
|
|
4394
|
+
* Array of category names.
|
|
4871
4395
|
*/
|
|
4872
|
-
200:
|
|
4873
|
-
/**
|
|
4874
|
-
* Response status message.
|
|
4875
|
-
*/
|
|
4876
|
-
message?: string;
|
|
4877
|
-
/**
|
|
4878
|
-
* Array of category names.
|
|
4879
|
-
*/
|
|
4880
|
-
data?: Array<string>;
|
|
4881
|
-
};
|
|
4396
|
+
200: Array<string>;
|
|
4882
4397
|
};
|
|
4883
4398
|
export type GetAliasPkeyCategoriesClientResponse = GetAliasPkeyCategoriesClientResponses[keyof GetAliasPkeyCategoriesClientResponses];
|
|
4884
4399
|
export type PostAliasPkeyListClientCategoryData = {
|
|
@@ -4915,20 +4430,11 @@ export type PostAliasPkeyListClientCategoryErrors = {
|
|
|
4915
4430
|
export type PostAliasPkeyListClientCategoryError = PostAliasPkeyListClientCategoryErrors[keyof PostAliasPkeyListClientCategoryErrors];
|
|
4916
4431
|
export type PostAliasPkeyListClientCategoryResponses = {
|
|
4917
4432
|
/**
|
|
4918
|
-
*
|
|
4433
|
+
* Array of public keys.
|
|
4919
4434
|
*/
|
|
4920
|
-
200: {
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
*/
|
|
4924
|
-
message?: string;
|
|
4925
|
-
/**
|
|
4926
|
-
* Array of public keys.
|
|
4927
|
-
*/
|
|
4928
|
-
data?: Array<{
|
|
4929
|
-
[key: string]: unknown;
|
|
4930
|
-
}>;
|
|
4931
|
-
};
|
|
4435
|
+
200: Array<{
|
|
4436
|
+
[key: string]: unknown;
|
|
4437
|
+
}>;
|
|
4932
4438
|
};
|
|
4933
4439
|
export type PostAliasPkeyListClientCategoryResponse = PostAliasPkeyListClientCategoryResponses[keyof PostAliasPkeyListClientCategoryResponses];
|
|
4934
4440
|
export type GetSiteBackupsListServiceIdentifierData = {
|
|
@@ -4960,20 +4466,11 @@ export type GetSiteBackupsListServiceIdentifierErrors = {
|
|
|
4960
4466
|
export type GetSiteBackupsListServiceIdentifierError = GetSiteBackupsListServiceIdentifierErrors[keyof GetSiteBackupsListServiceIdentifierErrors];
|
|
4961
4467
|
export type GetSiteBackupsListServiceIdentifierResponses = {
|
|
4962
4468
|
/**
|
|
4963
|
-
*
|
|
4469
|
+
* List of backups.
|
|
4964
4470
|
*/
|
|
4965
|
-
200: {
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
*/
|
|
4969
|
-
message?: string;
|
|
4970
|
-
/**
|
|
4971
|
-
* List of backups.
|
|
4972
|
-
*/
|
|
4973
|
-
data?: Array<{
|
|
4974
|
-
[key: string]: unknown;
|
|
4975
|
-
}>;
|
|
4976
|
-
};
|
|
4471
|
+
200: Array<{
|
|
4472
|
+
[key: string]: unknown;
|
|
4473
|
+
}>;
|
|
4977
4474
|
};
|
|
4978
4475
|
export type GetSiteBackupsListServiceIdentifierResponse = GetSiteBackupsListServiceIdentifierResponses[keyof GetSiteBackupsListServiceIdentifierResponses];
|
|
4979
4476
|
export type GetSiteBackupsListServiceIdentifierBackupTypeData = {
|
|
@@ -5009,20 +4506,11 @@ export type GetSiteBackupsListServiceIdentifierBackupTypeErrors = {
|
|
|
5009
4506
|
export type GetSiteBackupsListServiceIdentifierBackupTypeError = GetSiteBackupsListServiceIdentifierBackupTypeErrors[keyof GetSiteBackupsListServiceIdentifierBackupTypeErrors];
|
|
5010
4507
|
export type GetSiteBackupsListServiceIdentifierBackupTypeResponses = {
|
|
5011
4508
|
/**
|
|
5012
|
-
*
|
|
4509
|
+
* List of backups.
|
|
5013
4510
|
*/
|
|
5014
|
-
200: {
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
*/
|
|
5018
|
-
message?: string;
|
|
5019
|
-
/**
|
|
5020
|
-
* List of backups.
|
|
5021
|
-
*/
|
|
5022
|
-
data?: Array<{
|
|
5023
|
-
[key: string]: unknown;
|
|
5024
|
-
}>;
|
|
5025
|
-
};
|
|
4511
|
+
200: Array<{
|
|
4512
|
+
[key: string]: unknown;
|
|
4513
|
+
}>;
|
|
5026
4514
|
};
|
|
5027
4515
|
export type GetSiteBackupsListServiceIdentifierBackupTypeResponse = GetSiteBackupsListServiceIdentifierBackupTypeResponses[keyof GetSiteBackupsListServiceIdentifierBackupTypeResponses];
|
|
5028
4516
|
export type GetSshUserServiceIdentifierListData = {
|
|
@@ -5054,18 +4542,9 @@ export type GetSshUserServiceIdentifierListErrors = {
|
|
|
5054
4542
|
export type GetSshUserServiceIdentifierListError = GetSshUserServiceIdentifierListErrors[keyof GetSshUserServiceIdentifierListErrors];
|
|
5055
4543
|
export type GetSshUserServiceIdentifierListResponses = {
|
|
5056
4544
|
/**
|
|
5057
|
-
*
|
|
4545
|
+
* Array of usernames.
|
|
5058
4546
|
*/
|
|
5059
|
-
200:
|
|
5060
|
-
/**
|
|
5061
|
-
* Response status message.
|
|
5062
|
-
*/
|
|
5063
|
-
message?: string;
|
|
5064
|
-
/**
|
|
5065
|
-
* Array of usernames.
|
|
5066
|
-
*/
|
|
5067
|
-
data?: Array<string>;
|
|
5068
|
-
};
|
|
4547
|
+
200: Array<string>;
|
|
5069
4548
|
};
|
|
5070
4549
|
export type GetSshUserServiceIdentifierListResponse = GetSshUserServiceIdentifierListResponses[keyof GetSshUserServiceIdentifierListResponses];
|
|
5071
4550
|
export type GetEmailBlockClientActionTypeData = {
|
|
@@ -5119,20 +4598,11 @@ export type GetEmailBlockClientActionTypeErrors = {
|
|
|
5119
4598
|
export type GetEmailBlockClientActionTypeError = GetEmailBlockClientActionTypeErrors[keyof GetEmailBlockClientActionTypeErrors];
|
|
5120
4599
|
export type GetEmailBlockClientActionTypeResponses = {
|
|
5121
4600
|
/**
|
|
5122
|
-
*
|
|
4601
|
+
* Array of blocked domain records.
|
|
5123
4602
|
*/
|
|
5124
|
-
200: {
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
*/
|
|
5128
|
-
message?: string;
|
|
5129
|
-
/**
|
|
5130
|
-
* Array of blocked domain records.
|
|
5131
|
-
*/
|
|
5132
|
-
data?: Array<{
|
|
5133
|
-
[key: string]: unknown;
|
|
5134
|
-
}>;
|
|
5135
|
-
};
|
|
4603
|
+
200: Array<{
|
|
4604
|
+
[key: string]: unknown;
|
|
4605
|
+
}>;
|
|
5136
4606
|
};
|
|
5137
4607
|
export type GetEmailBlockClientActionTypeResponse = GetEmailBlockClientActionTypeResponses[keyof GetEmailBlockClientActionTypeResponses];
|
|
5138
4608
|
export type GetClientAuthorizedKeysClientActionData = {
|
|
@@ -5182,51 +4652,42 @@ export type GetClientAuthorizedKeysClientActionErrors = {
|
|
|
5182
4652
|
export type GetClientAuthorizedKeysClientActionError = GetClientAuthorizedKeysClientActionErrors[keyof GetClientAuthorizedKeysClientActionErrors];
|
|
5183
4653
|
export type GetClientAuthorizedKeysClientActionResponses = {
|
|
5184
4654
|
/**
|
|
5185
|
-
*
|
|
4655
|
+
* Response payload; shape depends on action. For "list": object keyed by atomic_client_ssh_id, each entry has the fields below. For "add": object with only the new key "id". For "remove": Number of rows deleted (1 on success).
|
|
5186
4656
|
*/
|
|
5187
4657
|
200: {
|
|
5188
4658
|
/**
|
|
5189
|
-
*
|
|
4659
|
+
* (list, add) Key ID.
|
|
5190
4660
|
*/
|
|
5191
|
-
|
|
4661
|
+
id?: number;
|
|
5192
4662
|
/**
|
|
5193
|
-
*
|
|
4663
|
+
* (list) Whether this key is an alias.
|
|
5194
4664
|
*/
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
* (list) Last-seen Unix timestamp.
|
|
5222
|
-
*/
|
|
5223
|
-
seen_ts?: number;
|
|
5224
|
-
/**
|
|
5225
|
-
* (list) Applied SSH options (restrict, agent-forwarding, pty, from, command).
|
|
5226
|
-
*/
|
|
5227
|
-
effective_options?: {
|
|
5228
|
-
[key: string]: unknown;
|
|
5229
|
-
};
|
|
4665
|
+
is_alias?: boolean;
|
|
4666
|
+
/**
|
|
4667
|
+
* (list) Alias URI if is_alias is true, otherwise empty string.
|
|
4668
|
+
*/
|
|
4669
|
+
alias?: string;
|
|
4670
|
+
/**
|
|
4671
|
+
* (list) Key name.
|
|
4672
|
+
*/
|
|
4673
|
+
name?: string;
|
|
4674
|
+
/**
|
|
4675
|
+
* (list) SHA-256 fingerprint of the key.
|
|
4676
|
+
*/
|
|
4677
|
+
fingerprint?: string;
|
|
4678
|
+
/**
|
|
4679
|
+
* (list) Last-seen datetime.
|
|
4680
|
+
*/
|
|
4681
|
+
seen_dt?: string;
|
|
4682
|
+
/**
|
|
4683
|
+
* (list) Last-seen Unix timestamp.
|
|
4684
|
+
*/
|
|
4685
|
+
seen_ts?: number;
|
|
4686
|
+
/**
|
|
4687
|
+
* (list) Applied SSH options (restrict, agent-forwarding, pty, from, command).
|
|
4688
|
+
*/
|
|
4689
|
+
effective_options?: {
|
|
4690
|
+
[key: string]: unknown;
|
|
5230
4691
|
};
|
|
5231
4692
|
};
|
|
5232
4693
|
};
|
|
@@ -5287,51 +4748,42 @@ export type PostClientAuthorizedKeysClientActionErrors = {
|
|
|
5287
4748
|
export type PostClientAuthorizedKeysClientActionError = PostClientAuthorizedKeysClientActionErrors[keyof PostClientAuthorizedKeysClientActionErrors];
|
|
5288
4749
|
export type PostClientAuthorizedKeysClientActionResponses = {
|
|
5289
4750
|
/**
|
|
5290
|
-
*
|
|
4751
|
+
* Response payload; shape depends on action. For "list": object keyed by atomic_client_ssh_id, each entry has the fields below. For "add": object with only the new key "id". For "remove": Number of rows deleted (1 on success).
|
|
5291
4752
|
*/
|
|
5292
4753
|
200: {
|
|
5293
4754
|
/**
|
|
5294
|
-
*
|
|
4755
|
+
* (list, add) Key ID.
|
|
5295
4756
|
*/
|
|
5296
|
-
|
|
4757
|
+
id?: number;
|
|
5297
4758
|
/**
|
|
5298
|
-
*
|
|
4759
|
+
* (list) Whether this key is an alias.
|
|
5299
4760
|
*/
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
* (list) Last-seen Unix timestamp.
|
|
5327
|
-
*/
|
|
5328
|
-
seen_ts?: number;
|
|
5329
|
-
/**
|
|
5330
|
-
* (list) Applied SSH options (restrict, agent-forwarding, pty, from, command).
|
|
5331
|
-
*/
|
|
5332
|
-
effective_options?: {
|
|
5333
|
-
[key: string]: unknown;
|
|
5334
|
-
};
|
|
4761
|
+
is_alias?: boolean;
|
|
4762
|
+
/**
|
|
4763
|
+
* (list) Alias URI if is_alias is true, otherwise empty string.
|
|
4764
|
+
*/
|
|
4765
|
+
alias?: string;
|
|
4766
|
+
/**
|
|
4767
|
+
* (list) Key name.
|
|
4768
|
+
*/
|
|
4769
|
+
name?: string;
|
|
4770
|
+
/**
|
|
4771
|
+
* (list) SHA-256 fingerprint of the key.
|
|
4772
|
+
*/
|
|
4773
|
+
fingerprint?: string;
|
|
4774
|
+
/**
|
|
4775
|
+
* (list) Last-seen datetime.
|
|
4776
|
+
*/
|
|
4777
|
+
seen_dt?: string;
|
|
4778
|
+
/**
|
|
4779
|
+
* (list) Last-seen Unix timestamp.
|
|
4780
|
+
*/
|
|
4781
|
+
seen_ts?: number;
|
|
4782
|
+
/**
|
|
4783
|
+
* (list) Applied SSH options (restrict, agent-forwarding, pty, from, command).
|
|
4784
|
+
*/
|
|
4785
|
+
effective_options?: {
|
|
4786
|
+
[key: string]: unknown;
|
|
5335
4787
|
};
|
|
5336
4788
|
};
|
|
5337
4789
|
};
|
|
@@ -5342,7 +4794,7 @@ export type GetClientAuthorizedKeysClientActionIdData = {
|
|
|
5342
4794
|
/**
|
|
5343
4795
|
* Client name or ID.
|
|
5344
4796
|
*/
|
|
5345
|
-
client
|
|
4797
|
+
client: string;
|
|
5346
4798
|
/**
|
|
5347
4799
|
* Action to perform.
|
|
5348
4800
|
*/
|
|
@@ -5411,7 +4863,7 @@ export type PostClientAuthorizedKeysClientActionIdData = {
|
|
|
5411
4863
|
/**
|
|
5412
4864
|
* Client name or ID.
|
|
5413
4865
|
*/
|
|
5414
|
-
client
|
|
4866
|
+
client: string;
|
|
5415
4867
|
/**
|
|
5416
4868
|
* Action to perform.
|
|
5417
4869
|
*/
|
|
@@ -5525,22 +4977,13 @@ export type GetSiteAliasServiceIdentifierActionErrors = {
|
|
|
5525
4977
|
export type GetSiteAliasServiceIdentifierActionError = GetSiteAliasServiceIdentifierActionErrors[keyof GetSiteAliasServiceIdentifierActionErrors];
|
|
5526
4978
|
export type GetSiteAliasServiceIdentifierActionResponses = {
|
|
5527
4979
|
/**
|
|
5528
|
-
*
|
|
4980
|
+
* Response data.
|
|
5529
4981
|
*/
|
|
5530
4982
|
200: {
|
|
5531
4983
|
/**
|
|
5532
|
-
*
|
|
5533
|
-
*/
|
|
5534
|
-
message?: string;
|
|
5535
|
-
/**
|
|
5536
|
-
* Response data.
|
|
4984
|
+
* Domain names added or listed (absent for "remove" action).
|
|
5537
4985
|
*/
|
|
5538
|
-
|
|
5539
|
-
/**
|
|
5540
|
-
* Domain names added or listed (absent for "remove" action).
|
|
5541
|
-
*/
|
|
5542
|
-
domains?: Array<string>;
|
|
5543
|
-
};
|
|
4986
|
+
domains?: Array<string>;
|
|
5544
4987
|
};
|
|
5545
4988
|
};
|
|
5546
4989
|
export type GetSiteAliasServiceIdentifierActionResponse = GetSiteAliasServiceIdentifierActionResponses[keyof GetSiteAliasServiceIdentifierActionResponses];
|
|
@@ -5615,11 +5058,8 @@ export type GetSiteMetaSiteKeyActionResponses = {
|
|
|
5615
5058
|
/**
|
|
5616
5059
|
* Successful operation
|
|
5617
5060
|
*/
|
|
5618
|
-
200:
|
|
5619
|
-
[key: string]: unknown;
|
|
5620
|
-
};
|
|
5061
|
+
200: unknown;
|
|
5621
5062
|
};
|
|
5622
|
-
export type GetSiteMetaSiteKeyActionResponse = GetSiteMetaSiteKeyActionResponses[keyof GetSiteMetaSiteKeyActionResponses];
|
|
5623
5063
|
export type PostSiteMetaSiteKeyActionData = {
|
|
5624
5064
|
body?: {
|
|
5625
5065
|
/**
|
|
@@ -5696,11 +5136,8 @@ export type PostSiteMetaSiteKeyActionResponses = {
|
|
|
5696
5136
|
/**
|
|
5697
5137
|
* Successful operation
|
|
5698
5138
|
*/
|
|
5699
|
-
200:
|
|
5700
|
-
[key: string]: unknown;
|
|
5701
|
-
};
|
|
5139
|
+
200: unknown;
|
|
5702
5140
|
};
|
|
5703
|
-
export type PostSiteMetaSiteKeyActionResponse = PostSiteMetaSiteKeyActionResponses[keyof PostSiteMetaSiteKeyActionResponses];
|
|
5704
5141
|
export type PostSiteManageSoftwareTypeSiteData = {
|
|
5705
5142
|
body?: {
|
|
5706
5143
|
/**
|
|
@@ -5772,26 +5209,17 @@ export type PostSiteManageSoftwareTypeSiteErrors = {
|
|
|
5772
5209
|
export type PostSiteManageSoftwareTypeSiteError = PostSiteManageSoftwareTypeSiteErrors[keyof PostSiteManageSoftwareTypeSiteErrors];
|
|
5773
5210
|
export type PostSiteManageSoftwareTypeSiteResponses = {
|
|
5774
5211
|
/**
|
|
5775
|
-
*
|
|
5212
|
+
* Response object.
|
|
5776
5213
|
*/
|
|
5777
5214
|
200: {
|
|
5778
5215
|
/**
|
|
5779
|
-
*
|
|
5216
|
+
* Job ID of the queued job.
|
|
5780
5217
|
*/
|
|
5781
|
-
|
|
5218
|
+
job_id?: number;
|
|
5782
5219
|
/**
|
|
5783
|
-
* Response
|
|
5220
|
+
* Response ticket ID which can be used to check on the status of the request.
|
|
5784
5221
|
*/
|
|
5785
|
-
|
|
5786
|
-
/**
|
|
5787
|
-
* Job ID of the queued job.
|
|
5788
|
-
*/
|
|
5789
|
-
job_id?: number;
|
|
5790
|
-
/**
|
|
5791
|
-
* Response ticket ID which can be used to check on the status of the request.
|
|
5792
|
-
*/
|
|
5793
|
-
response_ticket_id?: string;
|
|
5794
|
-
};
|
|
5222
|
+
response_ticket_id?: string;
|
|
5795
5223
|
};
|
|
5796
5224
|
};
|
|
5797
5225
|
export type PostSiteManageSoftwareTypeSiteResponse = PostSiteManageSoftwareTypeSiteResponses[keyof PostSiteManageSoftwareTypeSiteResponses];
|
|
@@ -5833,22 +5261,13 @@ export type GetSshDisconnectAllUsersServiceIdentifierErrors = {
|
|
|
5833
5261
|
export type GetSshDisconnectAllUsersServiceIdentifierError = GetSshDisconnectAllUsersServiceIdentifierErrors[keyof GetSshDisconnectAllUsersServiceIdentifierErrors];
|
|
5834
5262
|
export type GetSshDisconnectAllUsersServiceIdentifierResponses = {
|
|
5835
5263
|
/**
|
|
5836
|
-
*
|
|
5264
|
+
* Job details object.
|
|
5837
5265
|
*/
|
|
5838
5266
|
200: {
|
|
5839
5267
|
/**
|
|
5840
|
-
*
|
|
5841
|
-
*/
|
|
5842
|
-
message?: string;
|
|
5843
|
-
/**
|
|
5844
|
-
* Job details object.
|
|
5268
|
+
* Queued job ID.
|
|
5845
5269
|
*/
|
|
5846
|
-
|
|
5847
|
-
/**
|
|
5848
|
-
* Queued job ID.
|
|
5849
|
-
*/
|
|
5850
|
-
job_id?: number;
|
|
5851
|
-
};
|
|
5270
|
+
job_id?: number;
|
|
5852
5271
|
};
|
|
5853
5272
|
};
|
|
5854
5273
|
export type GetSshDisconnectAllUsersServiceIdentifierResponse = GetSshDisconnectAllUsersServiceIdentifierResponses[keyof GetSshDisconnectAllUsersServiceIdentifierResponses];
|
|
@@ -5899,18 +5318,9 @@ export type GetClientMetaClientKeyRemoveErrors = {
|
|
|
5899
5318
|
export type GetClientMetaClientKeyRemoveError = GetClientMetaClientKeyRemoveErrors[keyof GetClientMetaClientKeyRemoveErrors];
|
|
5900
5319
|
export type GetClientMetaClientKeyRemoveResponses = {
|
|
5901
5320
|
/**
|
|
5902
|
-
*
|
|
5321
|
+
* Empty array.
|
|
5903
5322
|
*/
|
|
5904
|
-
200:
|
|
5905
|
-
/**
|
|
5906
|
-
* Response status message.
|
|
5907
|
-
*/
|
|
5908
|
-
message?: string;
|
|
5909
|
-
/**
|
|
5910
|
-
* Empty array.
|
|
5911
|
-
*/
|
|
5912
|
-
data?: Array<unknown>;
|
|
5913
|
-
};
|
|
5323
|
+
200: Array<unknown>;
|
|
5914
5324
|
};
|
|
5915
5325
|
export type GetClientMetaClientKeyRemoveResponse = GetClientMetaClientKeyRemoveResponses[keyof GetClientMetaClientKeyRemoveResponses];
|
|
5916
5326
|
export type PostCrontabSiteRemoveData = {
|
|
@@ -5961,18 +5371,9 @@ export type PostCrontabSiteRemoveErrors = {
|
|
|
5961
5371
|
export type PostCrontabSiteRemoveError = PostCrontabSiteRemoveErrors[keyof PostCrontabSiteRemoveErrors];
|
|
5962
5372
|
export type PostCrontabSiteRemoveResponses = {
|
|
5963
5373
|
/**
|
|
5964
|
-
*
|
|
5374
|
+
* Empty array.
|
|
5965
5375
|
*/
|
|
5966
|
-
200:
|
|
5967
|
-
/**
|
|
5968
|
-
* Response status message.
|
|
5969
|
-
*/
|
|
5970
|
-
message?: string;
|
|
5971
|
-
/**
|
|
5972
|
-
* Empty array.
|
|
5973
|
-
*/
|
|
5974
|
-
data?: Array<unknown>;
|
|
5975
|
-
};
|
|
5376
|
+
200: Array<unknown>;
|
|
5976
5377
|
};
|
|
5977
5378
|
export type PostCrontabSiteRemoveResponse = PostCrontabSiteRemoveResponses[keyof PostCrontabSiteRemoveResponses];
|
|
5978
5379
|
export type PostFirewallRulesSiteRemoveData = {
|
|
@@ -6032,18 +5433,9 @@ export type PostFirewallRulesSiteRemoveErrors = {
|
|
|
6032
5433
|
export type PostFirewallRulesSiteRemoveError = PostFirewallRulesSiteRemoveErrors[keyof PostFirewallRulesSiteRemoveErrors];
|
|
6033
5434
|
export type PostFirewallRulesSiteRemoveResponses = {
|
|
6034
5435
|
/**
|
|
6035
|
-
*
|
|
5436
|
+
* Empty array.
|
|
6036
5437
|
*/
|
|
6037
|
-
200:
|
|
6038
|
-
/**
|
|
6039
|
-
* Response status message.
|
|
6040
|
-
*/
|
|
6041
|
-
message?: string;
|
|
6042
|
-
/**
|
|
6043
|
-
* Empty array.
|
|
6044
|
-
*/
|
|
6045
|
-
data?: Array<unknown>;
|
|
6046
|
-
};
|
|
5438
|
+
200: Array<unknown>;
|
|
6047
5439
|
};
|
|
6048
5440
|
export type PostFirewallRulesSiteRemoveResponse = PostFirewallRulesSiteRemoveResponses[keyof PostFirewallRulesSiteRemoveResponses];
|
|
6049
5441
|
export type PostAliasPkeyRemoveClientCategoryNameData = {
|
|
@@ -6097,18 +5489,9 @@ export type PostAliasPkeyRemoveClientCategoryNameErrors = {
|
|
|
6097
5489
|
export type PostAliasPkeyRemoveClientCategoryNameError = PostAliasPkeyRemoveClientCategoryNameErrors[keyof PostAliasPkeyRemoveClientCategoryNameErrors];
|
|
6098
5490
|
export type PostAliasPkeyRemoveClientCategoryNameResponses = {
|
|
6099
5491
|
/**
|
|
6100
|
-
*
|
|
5492
|
+
* True on success (also true when key was already absent).
|
|
6101
5493
|
*/
|
|
6102
|
-
200:
|
|
6103
|
-
/**
|
|
6104
|
-
* Response status message.
|
|
6105
|
-
*/
|
|
6106
|
-
message?: string;
|
|
6107
|
-
/**
|
|
6108
|
-
* True on success (also true when key was already absent).
|
|
6109
|
-
*/
|
|
6110
|
-
data?: boolean;
|
|
6111
|
-
};
|
|
5494
|
+
200: boolean;
|
|
6112
5495
|
};
|
|
6113
5496
|
export type PostAliasPkeyRemoveClientCategoryNameResponse = PostAliasPkeyRemoveClientCategoryNameResponses[keyof PostAliasPkeyRemoveClientCategoryNameResponses];
|
|
6114
5497
|
export type GetSshUserServiceIdentifierRemoveUsernameData = {
|
|
@@ -6162,18 +5545,9 @@ export type GetSshUserServiceIdentifierRemoveUsernameErrors = {
|
|
|
6162
5545
|
export type GetSshUserServiceIdentifierRemoveUsernameError = GetSshUserServiceIdentifierRemoveUsernameErrors[keyof GetSshUserServiceIdentifierRemoveUsernameErrors];
|
|
6163
5546
|
export type GetSshUserServiceIdentifierRemoveUsernameResponses = {
|
|
6164
5547
|
/**
|
|
6165
|
-
*
|
|
5548
|
+
* Empty array.
|
|
6166
5549
|
*/
|
|
6167
|
-
200:
|
|
6168
|
-
/**
|
|
6169
|
-
* Response status message.
|
|
6170
|
-
*/
|
|
6171
|
-
message?: string;
|
|
6172
|
-
/**
|
|
6173
|
-
* Empty array.
|
|
6174
|
-
*/
|
|
6175
|
-
data?: Array<unknown>;
|
|
6176
|
-
};
|
|
5550
|
+
200: Array<unknown>;
|
|
6177
5551
|
};
|
|
6178
5552
|
export type GetSshUserServiceIdentifierRemoveUsernameResponse = GetSshUserServiceIdentifierRemoveUsernameResponses[keyof GetSshUserServiceIdentifierRemoveUsernameResponses];
|
|
6179
5553
|
export type PostSshUserServiceIdentifierRemoveUsernameData = {
|
|
@@ -6227,18 +5601,9 @@ export type PostSshUserServiceIdentifierRemoveUsernameErrors = {
|
|
|
6227
5601
|
export type PostSshUserServiceIdentifierRemoveUsernameError = PostSshUserServiceIdentifierRemoveUsernameErrors[keyof PostSshUserServiceIdentifierRemoveUsernameErrors];
|
|
6228
5602
|
export type PostSshUserServiceIdentifierRemoveUsernameResponses = {
|
|
6229
5603
|
/**
|
|
6230
|
-
*
|
|
5604
|
+
* Empty array.
|
|
6231
5605
|
*/
|
|
6232
|
-
200:
|
|
6233
|
-
/**
|
|
6234
|
-
* Response status message.
|
|
6235
|
-
*/
|
|
6236
|
-
message?: string;
|
|
6237
|
-
/**
|
|
6238
|
-
* Empty array.
|
|
6239
|
-
*/
|
|
6240
|
-
data?: Array<unknown>;
|
|
6241
|
-
};
|
|
5606
|
+
200: Array<unknown>;
|
|
6242
5607
|
};
|
|
6243
5608
|
export type PostSshUserServiceIdentifierRemoveUsernameResponse = PostSshUserServiceIdentifierRemoveUsernameResponses[keyof PostSshUserServiceIdentifierRemoveUsernameResponses];
|
|
6244
5609
|
export type PostOnDemandBackupCreateSiteTypeData = {
|
|
@@ -6288,22 +5653,13 @@ export type PostOnDemandBackupCreateSiteTypeErrors = {
|
|
|
6288
5653
|
export type PostOnDemandBackupCreateSiteTypeError = PostOnDemandBackupCreateSiteTypeErrors[keyof PostOnDemandBackupCreateSiteTypeErrors];
|
|
6289
5654
|
export type PostOnDemandBackupCreateSiteTypeResponses = {
|
|
6290
5655
|
/**
|
|
6291
|
-
*
|
|
5656
|
+
* Created backup request.
|
|
6292
5657
|
*/
|
|
6293
5658
|
200: {
|
|
6294
5659
|
/**
|
|
6295
|
-
*
|
|
6296
|
-
*/
|
|
6297
|
-
message?: string;
|
|
6298
|
-
/**
|
|
6299
|
-
* Created backup request.
|
|
5660
|
+
* ID of the created backup request.
|
|
6300
5661
|
*/
|
|
6301
|
-
|
|
6302
|
-
/**
|
|
6303
|
-
* ID of the created backup request.
|
|
6304
|
-
*/
|
|
6305
|
-
atomic_backup_request_id?: number;
|
|
6306
|
-
};
|
|
5662
|
+
atomic_backup_request_id?: number;
|
|
6307
5663
|
};
|
|
6308
5664
|
};
|
|
6309
5665
|
export type PostOnDemandBackupCreateSiteTypeResponse = PostOnDemandBackupCreateSiteTypeResponses[keyof PostOnDemandBackupCreateSiteTypeResponses];
|
|
@@ -6345,22 +5701,13 @@ export type PostOnDemandBackupDeleteSiteBackupIdErrors = {
|
|
|
6345
5701
|
export type PostOnDemandBackupDeleteSiteBackupIdError = PostOnDemandBackupDeleteSiteBackupIdErrors[keyof PostOnDemandBackupDeleteSiteBackupIdErrors];
|
|
6346
5702
|
export type PostOnDemandBackupDeleteSiteBackupIdResponses = {
|
|
6347
5703
|
/**
|
|
6348
|
-
*
|
|
5704
|
+
* Created deletion request.
|
|
6349
5705
|
*/
|
|
6350
5706
|
200: {
|
|
6351
5707
|
/**
|
|
6352
|
-
*
|
|
6353
|
-
*/
|
|
6354
|
-
message?: string;
|
|
6355
|
-
/**
|
|
6356
|
-
* Created deletion request.
|
|
5708
|
+
* ID of the created deletion request.
|
|
6357
5709
|
*/
|
|
6358
|
-
|
|
6359
|
-
/**
|
|
6360
|
-
* ID of the created deletion request.
|
|
6361
|
-
*/
|
|
6362
|
-
atomic_backup_request_id?: number;
|
|
6363
|
-
};
|
|
5710
|
+
atomic_backup_request_id?: number;
|
|
6364
5711
|
};
|
|
6365
5712
|
};
|
|
6366
5713
|
export type PostOnDemandBackupDeleteSiteBackupIdResponse = PostOnDemandBackupDeleteSiteBackupIdResponses[keyof PostOnDemandBackupDeleteSiteBackupIdResponses];
|
|
@@ -6411,22 +5758,13 @@ export type PostResetDbPasswordTypeSiteErrors = {
|
|
|
6411
5758
|
export type PostResetDbPasswordTypeSiteError = PostResetDbPasswordTypeSiteErrors[keyof PostResetDbPasswordTypeSiteErrors];
|
|
6412
5759
|
export type PostResetDbPasswordTypeSiteResponses = {
|
|
6413
5760
|
/**
|
|
6414
|
-
*
|
|
5761
|
+
* Response object.
|
|
6415
5762
|
*/
|
|
6416
5763
|
200: {
|
|
6417
5764
|
/**
|
|
6418
|
-
*
|
|
6419
|
-
*/
|
|
6420
|
-
message?: string;
|
|
6421
|
-
/**
|
|
6422
|
-
* Response object.
|
|
5765
|
+
* Job ID of the queued job.
|
|
6423
5766
|
*/
|
|
6424
|
-
|
|
6425
|
-
/**
|
|
6426
|
-
* Job ID of the queued job.
|
|
6427
|
-
*/
|
|
6428
|
-
job_id?: number;
|
|
6429
|
-
};
|
|
5767
|
+
job_id?: number;
|
|
6430
5768
|
};
|
|
6431
5769
|
};
|
|
6432
5770
|
export type PostResetDbPasswordTypeSiteResponse = PostResetDbPasswordTypeSiteResponses[keyof PostResetDbPasswordTypeSiteResponses];
|
|
@@ -6481,22 +5819,13 @@ export type PostResetDbPasswordTypeSiteNewErrors = {
|
|
|
6481
5819
|
export type PostResetDbPasswordTypeSiteNewError = PostResetDbPasswordTypeSiteNewErrors[keyof PostResetDbPasswordTypeSiteNewErrors];
|
|
6482
5820
|
export type PostResetDbPasswordTypeSiteNewResponses = {
|
|
6483
5821
|
/**
|
|
6484
|
-
*
|
|
5822
|
+
* Response object.
|
|
6485
5823
|
*/
|
|
6486
5824
|
200: {
|
|
6487
5825
|
/**
|
|
6488
|
-
*
|
|
6489
|
-
*/
|
|
6490
|
-
message?: string;
|
|
6491
|
-
/**
|
|
6492
|
-
* Response object.
|
|
5826
|
+
* Job ID of the queued job.
|
|
6493
5827
|
*/
|
|
6494
|
-
|
|
6495
|
-
/**
|
|
6496
|
-
* Job ID of the queued job.
|
|
6497
|
-
*/
|
|
6498
|
-
job_id?: number;
|
|
6499
|
-
};
|
|
5828
|
+
job_id?: number;
|
|
6500
5829
|
};
|
|
6501
5830
|
};
|
|
6502
5831
|
export type PostResetDbPasswordTypeSiteNewResponse = PostResetDbPasswordTypeSiteNewResponses[keyof PostResetDbPasswordTypeSiteNewResponses];
|
|
@@ -6557,26 +5886,17 @@ export type PostRestoreSiteSiteErrors = {
|
|
|
6557
5886
|
export type PostRestoreSiteSiteError = PostRestoreSiteSiteErrors[keyof PostRestoreSiteSiteErrors];
|
|
6558
5887
|
export type PostRestoreSiteSiteResponses = {
|
|
6559
5888
|
/**
|
|
6560
|
-
*
|
|
5889
|
+
* Restore information
|
|
6561
5890
|
*/
|
|
6562
5891
|
200: {
|
|
6563
5892
|
/**
|
|
6564
|
-
*
|
|
5893
|
+
* Job ID of the queued restore job
|
|
6565
5894
|
*/
|
|
6566
|
-
|
|
5895
|
+
atomic_job_id?: number;
|
|
6567
5896
|
/**
|
|
6568
|
-
*
|
|
5897
|
+
* Response ticket ID to check on the status of this request.
|
|
6569
5898
|
*/
|
|
6570
|
-
|
|
6571
|
-
/**
|
|
6572
|
-
* Job ID of the queued restore job
|
|
6573
|
-
*/
|
|
6574
|
-
atomic_job_id?: number;
|
|
6575
|
-
/**
|
|
6576
|
-
* Response ticket ID to check on the status of this request.
|
|
6577
|
-
*/
|
|
6578
|
-
response_ticket_id?: string;
|
|
6579
|
-
};
|
|
5899
|
+
response_ticket_id?: string;
|
|
6580
5900
|
};
|
|
6581
5901
|
};
|
|
6582
5902
|
export type PostRestoreSiteSiteResponse = PostRestoreSiteSiteResponses[keyof PostRestoreSiteSiteResponses];
|
|
@@ -6696,22 +6016,13 @@ export type PostMalwareScanSiteErrors = {
|
|
|
6696
6016
|
export type PostMalwareScanSiteError = PostMalwareScanSiteErrors[keyof PostMalwareScanSiteErrors];
|
|
6697
6017
|
export type PostMalwareScanSiteResponses = {
|
|
6698
6018
|
/**
|
|
6699
|
-
*
|
|
6019
|
+
* Response data.
|
|
6700
6020
|
*/
|
|
6701
6021
|
200: {
|
|
6702
6022
|
/**
|
|
6703
|
-
*
|
|
6023
|
+
* Ticket ID for tracking scan progress.
|
|
6704
6024
|
*/
|
|
6705
|
-
|
|
6706
|
-
/**
|
|
6707
|
-
* Response data.
|
|
6708
|
-
*/
|
|
6709
|
-
data?: {
|
|
6710
|
-
/**
|
|
6711
|
-
* Ticket ID for tracking scan progress.
|
|
6712
|
-
*/
|
|
6713
|
-
response_ticket_id?: string;
|
|
6714
|
-
};
|
|
6025
|
+
response_ticket_id?: string;
|
|
6715
6026
|
};
|
|
6716
6027
|
};
|
|
6717
6028
|
export type PostMalwareScanSiteResponse = PostMalwareScanSiteResponses[keyof PostMalwareScanSiteResponses];
|
|
@@ -6783,30 +6094,21 @@ export type PostCustomCertificatesSiteStageErrors = {
|
|
|
6783
6094
|
export type PostCustomCertificatesSiteStageError = PostCustomCertificatesSiteStageErrors[keyof PostCustomCertificatesSiteStageErrors];
|
|
6784
6095
|
export type PostCustomCertificatesSiteStageResponses = {
|
|
6785
6096
|
/**
|
|
6786
|
-
*
|
|
6097
|
+
* Staged certificate.
|
|
6787
6098
|
*/
|
|
6788
6099
|
200: {
|
|
6789
6100
|
/**
|
|
6790
|
-
*
|
|
6101
|
+
* Certificate ID.
|
|
6791
6102
|
*/
|
|
6792
|
-
|
|
6103
|
+
ssl_custom_certificate_id?: number;
|
|
6793
6104
|
/**
|
|
6794
|
-
*
|
|
6105
|
+
* Domains covered by the certificate.
|
|
6795
6106
|
*/
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
/**
|
|
6802
|
-
* Domains covered by the certificate.
|
|
6803
|
-
*/
|
|
6804
|
-
domains?: Array<string>;
|
|
6805
|
-
/**
|
|
6806
|
-
* Whether the certificate is active (false for newly staged certificates).
|
|
6807
|
-
*/
|
|
6808
|
-
is_active?: boolean;
|
|
6809
|
-
};
|
|
6107
|
+
domains?: Array<string>;
|
|
6108
|
+
/**
|
|
6109
|
+
* Whether the certificate is active (false for newly staged certificates).
|
|
6110
|
+
*/
|
|
6111
|
+
is_active?: boolean;
|
|
6810
6112
|
};
|
|
6811
6113
|
};
|
|
6812
6114
|
export type PostCustomCertificatesSiteStageResponse = PostCustomCertificatesSiteStageResponses[keyof PostCustomCertificatesSiteStageResponses];
|
|
@@ -6857,19 +6159,10 @@ export type PostSslAndroidCompatDomainEnableErrors = {
|
|
|
6857
6159
|
export type PostSslAndroidCompatDomainEnableError = PostSslAndroidCompatDomainEnableErrors[keyof PostSslAndroidCompatDomainEnableErrors];
|
|
6858
6160
|
export type PostSslAndroidCompatDomainEnableResponses = {
|
|
6859
6161
|
/**
|
|
6860
|
-
*
|
|
6162
|
+
* Empty object.
|
|
6861
6163
|
*/
|
|
6862
6164
|
200: {
|
|
6863
|
-
|
|
6864
|
-
* Response status message.
|
|
6865
|
-
*/
|
|
6866
|
-
message?: string;
|
|
6867
|
-
/**
|
|
6868
|
-
* Empty object.
|
|
6869
|
-
*/
|
|
6870
|
-
data?: {
|
|
6871
|
-
[key: string]: unknown;
|
|
6872
|
-
};
|
|
6165
|
+
[key: string]: unknown;
|
|
6873
6166
|
};
|
|
6874
6167
|
};
|
|
6875
6168
|
export type PostSslAndroidCompatDomainEnableResponse = PostSslAndroidCompatDomainEnableResponses[keyof PostSslAndroidCompatDomainEnableResponses];
|
|
@@ -6920,19 +6213,10 @@ export type PostSslHstsSubdomainDomainEnableErrors = {
|
|
|
6920
6213
|
export type PostSslHstsSubdomainDomainEnableError = PostSslHstsSubdomainDomainEnableErrors[keyof PostSslHstsSubdomainDomainEnableErrors];
|
|
6921
6214
|
export type PostSslHstsSubdomainDomainEnableResponses = {
|
|
6922
6215
|
/**
|
|
6923
|
-
*
|
|
6216
|
+
* Empty object.
|
|
6924
6217
|
*/
|
|
6925
6218
|
200: {
|
|
6926
|
-
|
|
6927
|
-
* Response status message.
|
|
6928
|
-
*/
|
|
6929
|
-
message?: string;
|
|
6930
|
-
/**
|
|
6931
|
-
* Empty object.
|
|
6932
|
-
*/
|
|
6933
|
-
data?: {
|
|
6934
|
-
[key: string]: unknown;
|
|
6935
|
-
};
|
|
6219
|
+
[key: string]: unknown;
|
|
6936
6220
|
};
|
|
6937
6221
|
};
|
|
6938
6222
|
export type PostSslHstsSubdomainDomainEnableResponse = PostSslHstsSubdomainDomainEnableResponses[keyof PostSslHstsSubdomainDomainEnableResponses];
|
|
@@ -6983,19 +6267,10 @@ export type PostSslSocialCrawlerRedirectDomainEnableErrors = {
|
|
|
6983
6267
|
export type PostSslSocialCrawlerRedirectDomainEnableError = PostSslSocialCrawlerRedirectDomainEnableErrors[keyof PostSslSocialCrawlerRedirectDomainEnableErrors];
|
|
6984
6268
|
export type PostSslSocialCrawlerRedirectDomainEnableResponses = {
|
|
6985
6269
|
/**
|
|
6986
|
-
*
|
|
6270
|
+
* Empty object.
|
|
6987
6271
|
*/
|
|
6988
6272
|
200: {
|
|
6989
|
-
|
|
6990
|
-
* Response status message.
|
|
6991
|
-
*/
|
|
6992
|
-
message?: string;
|
|
6993
|
-
/**
|
|
6994
|
-
* Empty object.
|
|
6995
|
-
*/
|
|
6996
|
-
data?: {
|
|
6997
|
-
[key: string]: unknown;
|
|
6998
|
-
};
|
|
6273
|
+
[key: string]: unknown;
|
|
6999
6274
|
};
|
|
7000
6275
|
};
|
|
7001
6276
|
export type PostSslSocialCrawlerRedirectDomainEnableResponse = PostSslSocialCrawlerRedirectDomainEnableResponses[keyof PostSslSocialCrawlerRedirectDomainEnableResponses];
|
|
@@ -7080,34 +6355,25 @@ export type PostCustomCertificatesSiteIdUpdateErrors = {
|
|
|
7080
6355
|
export type PostCustomCertificatesSiteIdUpdateError = PostCustomCertificatesSiteIdUpdateErrors[keyof PostCustomCertificatesSiteIdUpdateErrors];
|
|
7081
6356
|
export type PostCustomCertificatesSiteIdUpdateResponses = {
|
|
7082
6357
|
/**
|
|
7083
|
-
*
|
|
6358
|
+
* Update result.
|
|
7084
6359
|
*/
|
|
7085
6360
|
200: {
|
|
7086
6361
|
/**
|
|
7087
|
-
*
|
|
6362
|
+
* Whether the certificate was updated.
|
|
7088
6363
|
*/
|
|
7089
|
-
|
|
6364
|
+
updated?: boolean;
|
|
7090
6365
|
/**
|
|
7091
|
-
*
|
|
6366
|
+
* Certificate ID.
|
|
7092
6367
|
*/
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
/**
|
|
7103
|
-
* Certificate expiration datetime (UTC).
|
|
7104
|
-
*/
|
|
7105
|
-
certificate_expiration?: string;
|
|
7106
|
-
/**
|
|
7107
|
-
* Domains the certificate is active for.
|
|
7108
|
-
*/
|
|
7109
|
-
active_domains?: Array<string>;
|
|
7110
|
-
};
|
|
6368
|
+
ssl_custom_certificate_id?: number;
|
|
6369
|
+
/**
|
|
6370
|
+
* Certificate expiration datetime (UTC).
|
|
6371
|
+
*/
|
|
6372
|
+
certificate_expiration?: string;
|
|
6373
|
+
/**
|
|
6374
|
+
* Domains the certificate is active for.
|
|
6375
|
+
*/
|
|
6376
|
+
active_domains?: Array<string>;
|
|
7111
6377
|
};
|
|
7112
6378
|
};
|
|
7113
6379
|
export type PostCustomCertificatesSiteIdUpdateResponse = PostCustomCertificatesSiteIdUpdateResponses[keyof PostCustomCertificatesSiteIdUpdateResponses];
|
|
@@ -7122,7 +6388,7 @@ export type PostClientMetaClientKeyUpdateData = {
|
|
|
7122
6388
|
/**
|
|
7123
6389
|
* Client name or ID.
|
|
7124
6390
|
*/
|
|
7125
|
-
client
|
|
6391
|
+
client: string;
|
|
7126
6392
|
/**
|
|
7127
6393
|
* Meta key.
|
|
7128
6394
|
*/
|
|
@@ -7241,22 +6507,13 @@ export type PostCrontabSiteUpdateCronIdErrors = {
|
|
|
7241
6507
|
export type PostCrontabSiteUpdateCronIdError = PostCrontabSiteUpdateCronIdErrors[keyof PostCrontabSiteUpdateCronIdErrors];
|
|
7242
6508
|
export type PostCrontabSiteUpdateCronIdResponses = {
|
|
7243
6509
|
/**
|
|
7244
|
-
*
|
|
6510
|
+
* Response data.
|
|
7245
6511
|
*/
|
|
7246
6512
|
200: {
|
|
7247
6513
|
/**
|
|
7248
|
-
*
|
|
7249
|
-
*/
|
|
7250
|
-
message?: string;
|
|
7251
|
-
/**
|
|
7252
|
-
* Response data.
|
|
6514
|
+
* Updated cron entry ID.
|
|
7253
6515
|
*/
|
|
7254
|
-
|
|
7255
|
-
/**
|
|
7256
|
-
* Updated cron entry ID.
|
|
7257
|
-
*/
|
|
7258
|
-
cron_id?: number;
|
|
7259
|
-
};
|
|
6516
|
+
cron_id?: number;
|
|
7260
6517
|
};
|
|
7261
6518
|
};
|
|
7262
6519
|
export type PostCrontabSiteUpdateCronIdResponse = PostCrontabSiteUpdateCronIdResponses[keyof PostCrontabSiteUpdateCronIdResponses];
|
|
@@ -7316,18 +6573,13 @@ export type PostSiteSetChrootSiteDesiredErrors = {
|
|
|
7316
6573
|
export type PostSiteSetChrootSiteDesiredError = PostSiteSetChrootSiteDesiredErrors[keyof PostSiteSetChrootSiteDesiredErrors];
|
|
7317
6574
|
export type PostSiteSetChrootSiteDesiredResponses = {
|
|
7318
6575
|
/**
|
|
7319
|
-
*
|
|
6576
|
+
* Response data.
|
|
7320
6577
|
*/
|
|
7321
6578
|
200: {
|
|
7322
6579
|
/**
|
|
7323
|
-
*
|
|
6580
|
+
* Queued job ID. When the site is already using the requested chroot, data is the string "no-op" instead of an object.
|
|
7324
6581
|
*/
|
|
7325
|
-
|
|
7326
|
-
/**
|
|
7327
|
-
* Queued job ID. When the site is already using the requested chroot, data is the string "no-op" instead of an object.
|
|
7328
|
-
*/
|
|
7329
|
-
job_id?: number;
|
|
7330
|
-
};
|
|
6582
|
+
job_id?: number;
|
|
7331
6583
|
};
|
|
7332
6584
|
};
|
|
7333
6585
|
export type PostSiteSetChrootSiteDesiredResponse = PostSiteSetChrootSiteDesiredResponses[keyof PostSiteSetChrootSiteDesiredResponses];
|
|
@@ -7382,38 +6634,29 @@ export type PostUpdateSiteDomainServiceIdentifierDomainErrors = {
|
|
|
7382
6634
|
export type PostUpdateSiteDomainServiceIdentifierDomainError = PostUpdateSiteDomainServiceIdentifierDomainErrors[keyof PostUpdateSiteDomainServiceIdentifierDomainErrors];
|
|
7383
6635
|
export type PostUpdateSiteDomainServiceIdentifierDomainResponses = {
|
|
7384
6636
|
/**
|
|
7385
|
-
*
|
|
6637
|
+
* Response data. Absent when the domain is unchanged.
|
|
7386
6638
|
*/
|
|
7387
6639
|
200: {
|
|
7388
6640
|
/**
|
|
7389
|
-
*
|
|
6641
|
+
* Job ID of the queued domain-update job.
|
|
6642
|
+
*/
|
|
6643
|
+
job_id?: number;
|
|
6644
|
+
/**
|
|
6645
|
+
* Site's WordPress.com blog ID (only present for WordPress.com sites).
|
|
7390
6646
|
*/
|
|
7391
|
-
|
|
6647
|
+
wpcom_blog_id?: number;
|
|
7392
6648
|
/**
|
|
7393
|
-
*
|
|
6649
|
+
* Site ID.
|
|
7394
6650
|
*/
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
/**
|
|
7405
|
-
* Site ID.
|
|
7406
|
-
*/
|
|
7407
|
-
atomic_site_id?: number;
|
|
7408
|
-
/**
|
|
7409
|
-
* New primary domain name.
|
|
7410
|
-
*/
|
|
7411
|
-
domain_name?: string;
|
|
7412
|
-
/**
|
|
7413
|
-
* Previous primary domain name.
|
|
7414
|
-
*/
|
|
7415
|
-
old_domain_name?: string;
|
|
7416
|
-
};
|
|
6651
|
+
atomic_site_id?: number;
|
|
6652
|
+
/**
|
|
6653
|
+
* New primary domain name.
|
|
6654
|
+
*/
|
|
6655
|
+
domain_name?: string;
|
|
6656
|
+
/**
|
|
6657
|
+
* Previous primary domain name.
|
|
6658
|
+
*/
|
|
6659
|
+
old_domain_name?: string;
|
|
7417
6660
|
};
|
|
7418
6661
|
};
|
|
7419
6662
|
export type PostUpdateSiteDomainServiceIdentifierDomainResponse = PostUpdateSiteDomainServiceIdentifierDomainResponses[keyof PostUpdateSiteDomainServiceIdentifierDomainResponses];
|
|
@@ -7423,7 +6666,7 @@ export type PostUpdateSiteDomainServiceIdentifierDomainKeepData = {
|
|
|
7423
6666
|
/**
|
|
7424
6667
|
* Service type; may be client name or "domain". Used to determine site lookup method; use "domain" to look up a site by domain, otherwise use the client identifier to look up a site by site ID.
|
|
7425
6668
|
*/
|
|
7426
|
-
service
|
|
6669
|
+
service: string;
|
|
7427
6670
|
/**
|
|
7428
6671
|
* Site identifier; domain name for "domain" lookups,. otherwise the site ID.
|
|
7429
6672
|
*/
|
|
@@ -7561,26 +6804,17 @@ export type PostUpdateSiteOptionsTypeSiteErrors = {
|
|
|
7561
6804
|
export type PostUpdateSiteOptionsTypeSiteError = PostUpdateSiteOptionsTypeSiteErrors[keyof PostUpdateSiteOptionsTypeSiteErrors];
|
|
7562
6805
|
export type PostUpdateSiteOptionsTypeSiteResponses = {
|
|
7563
6806
|
/**
|
|
7564
|
-
*
|
|
6807
|
+
* Response object.
|
|
7565
6808
|
*/
|
|
7566
6809
|
200: {
|
|
7567
6810
|
/**
|
|
7568
|
-
*
|
|
6811
|
+
* WordPress.com job ID for updating site options.
|
|
7569
6812
|
*/
|
|
7570
|
-
|
|
6813
|
+
job_id?: number;
|
|
7571
6814
|
/**
|
|
7572
|
-
*
|
|
6815
|
+
* Site ID.
|
|
7573
6816
|
*/
|
|
7574
|
-
|
|
7575
|
-
/**
|
|
7576
|
-
* WordPress.com job ID for updating site options.
|
|
7577
|
-
*/
|
|
7578
|
-
job_id?: number;
|
|
7579
|
-
/**
|
|
7580
|
-
* Site ID.
|
|
7581
|
-
*/
|
|
7582
|
-
atomic_site_id?: number;
|
|
7583
|
-
};
|
|
6817
|
+
atomic_site_id?: number;
|
|
7584
6818
|
};
|
|
7585
6819
|
};
|
|
7586
6820
|
export type PostUpdateSiteOptionsTypeSiteResponse = PostUpdateSiteOptionsTypeSiteResponses[keyof PostUpdateSiteOptionsTypeSiteResponses];
|
|
@@ -7648,30 +6882,21 @@ export type PostSshUserServiceIdentifierUpdateUsernameErrors = {
|
|
|
7648
6882
|
export type PostSshUserServiceIdentifierUpdateUsernameError = PostSshUserServiceIdentifierUpdateUsernameErrors[keyof PostSshUserServiceIdentifierUpdateUsernameErrors];
|
|
7649
6883
|
export type PostSshUserServiceIdentifierUpdateUsernameResponses = {
|
|
7650
6884
|
/**
|
|
7651
|
-
*
|
|
6885
|
+
* Updated credential summary.
|
|
7652
6886
|
*/
|
|
7653
6887
|
200: {
|
|
7654
6888
|
/**
|
|
7655
|
-
*
|
|
6889
|
+
* Username.
|
|
7656
6890
|
*/
|
|
7657
|
-
|
|
6891
|
+
user?: string;
|
|
7658
6892
|
/**
|
|
7659
|
-
*
|
|
6893
|
+
* New plaintext password (only present when a password was updated).
|
|
7660
6894
|
*/
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
/**
|
|
7667
|
-
* New plaintext password (only present when a password was updated).
|
|
7668
|
-
*/
|
|
7669
|
-
pass?: string;
|
|
7670
|
-
/**
|
|
7671
|
-
* Whether the SSH public key was stored successfully (only present when a key was updated).
|
|
7672
|
-
*/
|
|
7673
|
-
pkey?: boolean;
|
|
7674
|
-
};
|
|
6895
|
+
pass?: string;
|
|
6896
|
+
/**
|
|
6897
|
+
* Whether the SSH public key was stored successfully (only present when a key was updated).
|
|
6898
|
+
*/
|
|
6899
|
+
pkey?: boolean;
|
|
7675
6900
|
};
|
|
7676
6901
|
};
|
|
7677
6902
|
export type PostSshUserServiceIdentifierUpdateUsernameResponse = PostSshUserServiceIdentifierUpdateUsernameResponses[keyof PostSshUserServiceIdentifierUpdateUsernameResponses];
|
|
@@ -7734,12 +6959,10 @@ export type PostSiteWordpressVersionSiteVersionResponses = {
|
|
|
7734
6959
|
* Successful operation
|
|
7735
6960
|
*/
|
|
7736
6961
|
200: {
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
job_id?: number;
|
|
7742
|
-
};
|
|
6962
|
+
/**
|
|
6963
|
+
* Queued job ID.
|
|
6964
|
+
*/
|
|
6965
|
+
job_id?: number;
|
|
7743
6966
|
};
|
|
7744
6967
|
};
|
|
7745
6968
|
export type PostSiteWordpressVersionSiteVersionResponse = PostSiteWordpressVersionSiteVersionResponses[keyof PostSiteWordpressVersionSiteVersionResponses];
|
|
@@ -7811,35 +7034,26 @@ export type PostCustomCertificatesSiteValidateErrors = {
|
|
|
7811
7034
|
export type PostCustomCertificatesSiteValidateError = PostCustomCertificatesSiteValidateErrors[keyof PostCustomCertificatesSiteValidateErrors];
|
|
7812
7035
|
export type PostCustomCertificatesSiteValidateResponses = {
|
|
7813
7036
|
/**
|
|
7814
|
-
*
|
|
7037
|
+
* Validation result.
|
|
7815
7038
|
*/
|
|
7816
7039
|
200: {
|
|
7817
7040
|
/**
|
|
7818
|
-
*
|
|
7041
|
+
* Whether the certificate passed all validations.
|
|
7819
7042
|
*/
|
|
7820
|
-
|
|
7043
|
+
valid?: boolean;
|
|
7821
7044
|
/**
|
|
7822
|
-
* Validation
|
|
7045
|
+
* Validation error messages, if any.
|
|
7823
7046
|
*/
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
* Validation warning messages, if any.
|
|
7835
|
-
*/
|
|
7836
|
-
warnings?: Array<string>;
|
|
7837
|
-
/**
|
|
7838
|
-
* Per-check validation results, keyed by check name.
|
|
7839
|
-
*/
|
|
7840
|
-
validations?: {
|
|
7841
|
-
[key: string]: unknown;
|
|
7842
|
-
};
|
|
7047
|
+
errors?: Array<string>;
|
|
7048
|
+
/**
|
|
7049
|
+
* Validation warning messages, if any.
|
|
7050
|
+
*/
|
|
7051
|
+
warnings?: Array<string>;
|
|
7052
|
+
/**
|
|
7053
|
+
* Per-check validation results, keyed by check name.
|
|
7054
|
+
*/
|
|
7055
|
+
validations?: {
|
|
7056
|
+
[key: string]: unknown;
|
|
7843
7057
|
};
|
|
7844
7058
|
};
|
|
7845
7059
|
};
|
|
@@ -7873,32 +7087,102 @@ export type GetCheckCanHostDomainClientDomainErrors = {
|
|
|
7873
7087
|
export type GetCheckCanHostDomainClientDomainError = GetCheckCanHostDomainClientDomainErrors[keyof GetCheckCanHostDomainClientDomainErrors];
|
|
7874
7088
|
export type GetCheckCanHostDomainClientDomainResponses = {
|
|
7875
7089
|
/**
|
|
7876
|
-
*
|
|
7090
|
+
* Response object.
|
|
7877
7091
|
*/
|
|
7878
7092
|
200: {
|
|
7879
7093
|
/**
|
|
7880
|
-
*
|
|
7094
|
+
* Whether the domain can be hosted.
|
|
7881
7095
|
*/
|
|
7882
|
-
|
|
7096
|
+
allowed?: boolean;
|
|
7097
|
+
};
|
|
7098
|
+
};
|
|
7099
|
+
export type GetCheckCanHostDomainClientDomainResponse = GetCheckCanHostDomainClientDomainResponses[keyof GetCheckCanHostDomainClientDomainResponses];
|
|
7100
|
+
export type GetGetPhpVersionsClientData = {
|
|
7101
|
+
body?: never;
|
|
7102
|
+
path: {
|
|
7883
7103
|
/**
|
|
7884
|
-
*
|
|
7104
|
+
* Client identifier.
|
|
7885
7105
|
*/
|
|
7886
|
-
|
|
7887
|
-
/**
|
|
7888
|
-
* Whether the domain can be hosted.
|
|
7889
|
-
*/
|
|
7890
|
-
allowed?: boolean;
|
|
7891
|
-
};
|
|
7106
|
+
client: string;
|
|
7892
7107
|
};
|
|
7108
|
+
query?: never;
|
|
7109
|
+
url: "/get-php-versions/{client}";
|
|
7893
7110
|
};
|
|
7894
|
-
export type
|
|
7111
|
+
export type GetGetPhpVersionsClientErrors = {
|
|
7112
|
+
/**
|
|
7113
|
+
* Invalid or unauthorized client.
|
|
7114
|
+
*/
|
|
7115
|
+
400: {
|
|
7116
|
+
/**
|
|
7117
|
+
* Invalid or unauthorized client.
|
|
7118
|
+
*/
|
|
7119
|
+
BadRequest?: string;
|
|
7120
|
+
};
|
|
7121
|
+
};
|
|
7122
|
+
export type GetGetPhpVersionsClientError = GetGetPhpVersionsClientErrors[keyof GetGetPhpVersionsClientErrors];
|
|
7123
|
+
export type GetGetPhpVersionsClientResponses = {
|
|
7124
|
+
/**
|
|
7125
|
+
* Successful operation
|
|
7126
|
+
*/
|
|
7127
|
+
200: Array<string>;
|
|
7128
|
+
};
|
|
7129
|
+
export type GetGetPhpVersionsClientResponse = GetGetPhpVersionsClientResponses[keyof GetGetPhpVersionsClientResponses];
|
|
7130
|
+
export type GetGetSitesClientMetaData = {
|
|
7131
|
+
body?: never;
|
|
7132
|
+
path: {
|
|
7133
|
+
/**
|
|
7134
|
+
* Client ID or client name.
|
|
7135
|
+
*/
|
|
7136
|
+
client: string;
|
|
7137
|
+
};
|
|
7138
|
+
query?: {
|
|
7139
|
+
limit?: number;
|
|
7140
|
+
after?: number;
|
|
7141
|
+
};
|
|
7142
|
+
url: "/get-sites/{client}/_data/";
|
|
7143
|
+
};
|
|
7144
|
+
export type GetGetSitesClientMetaErrors = {
|
|
7145
|
+
/**
|
|
7146
|
+
* Invalid or unauthorized client.
|
|
7147
|
+
*/
|
|
7148
|
+
400: {
|
|
7149
|
+
/**
|
|
7150
|
+
* Invalid or unauthorized client.
|
|
7151
|
+
*/
|
|
7152
|
+
BadRequest?: string;
|
|
7153
|
+
};
|
|
7154
|
+
/**
|
|
7155
|
+
* Database error.
|
|
7156
|
+
*/
|
|
7157
|
+
500: {
|
|
7158
|
+
/**
|
|
7159
|
+
* Database error.
|
|
7160
|
+
*/
|
|
7161
|
+
InternalServerError?: string;
|
|
7162
|
+
};
|
|
7163
|
+
};
|
|
7164
|
+
export type GetGetSitesClientMetaError = GetGetSitesClientMetaErrors[keyof GetGetSitesClientMetaErrors];
|
|
7165
|
+
export type GetGetSitesClientMetaResponses = {
|
|
7166
|
+
/**
|
|
7167
|
+
* Successful operation
|
|
7168
|
+
*/
|
|
7169
|
+
200: Array<{
|
|
7170
|
+
_data?: string;
|
|
7171
|
+
atomic_site_id?: number | string;
|
|
7172
|
+
created?: string;
|
|
7173
|
+
domain_name?: string;
|
|
7174
|
+
space_used?: number;
|
|
7175
|
+
[key: string]: unknown | string | (number | string) | number | undefined;
|
|
7176
|
+
}>;
|
|
7177
|
+
};
|
|
7178
|
+
export type GetGetSitesClientMetaResponse = GetGetSitesClientMetaResponses[keyof GetGetSitesClientMetaResponses];
|
|
7895
7179
|
export type GetSiteAliasServiceIdentifierActionDomainData = {
|
|
7896
7180
|
body?: never;
|
|
7897
7181
|
path: {
|
|
7898
7182
|
/**
|
|
7899
7183
|
* Service type; may be client name or "domain". Used to determine site lookup method; use "domain" to look up a site by domain, otherwise use the client identifier to look up a site by site ID.
|
|
7900
7184
|
*/
|
|
7901
|
-
service
|
|
7185
|
+
service: string;
|
|
7902
7186
|
/**
|
|
7903
7187
|
* Site identifier; domain name for "domain" lookups,. otherwise the site ID.
|
|
7904
7188
|
*/
|
|
@@ -7960,7 +7244,7 @@ export type GetSiteAliasServiceIdentifierActionDomainResponses = {
|
|
|
7960
7244
|
*/
|
|
7961
7245
|
200: {
|
|
7962
7246
|
atomic_site_id?: number;
|
|
7963
|
-
domains
|
|
7247
|
+
domains: Array<string>;
|
|
7964
7248
|
};
|
|
7965
7249
|
};
|
|
7966
7250
|
export type GetSiteAliasServiceIdentifierActionDomainResponse = GetSiteAliasServiceIdentifierActionDomainResponses[keyof GetSiteAliasServiceIdentifierActionDomainResponses];
|