@newfold/huapi-js 1.946.0 → 1.949.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1163 @@
1
+ export declare const getAccountEventListMock: () => {
2
+ events: {
3
+ hosting_id: number | undefined;
4
+ addon_id: number | null | undefined;
5
+ count: number | undefined;
6
+ date_first: string | undefined;
7
+ date_last: string | undefined;
8
+ domain_id: number | null | undefined;
9
+ event: string | undefined;
10
+ site_id: number | null | undefined;
11
+ tenant_id: number | undefined;
12
+ }[] | undefined;
13
+ utc: string | undefined;
14
+ };
15
+ export declare const getAccountHostingListMock: () => {
16
+ accounts: {
17
+ prod_inst_id: string | undefined;
18
+ feature_set: string | undefined;
19
+ status: string | undefined;
20
+ hosting_id: string | undefined;
21
+ platform: string | undefined;
22
+ account_id: string | undefined;
23
+ current_sites: number | undefined;
24
+ max_sites: string | undefined;
25
+ }[] | undefined;
26
+ };
27
+ export declare const getCodeguardBackupListMock: () => {
28
+ backups: {
29
+ website_commit_id: string | undefined;
30
+ event_time: string | undefined;
31
+ database_backups: {
32
+ id: number | undefined;
33
+ commit_id: string | undefined;
34
+ event_time: string | undefined;
35
+ recommended: boolean | undefined;
36
+ }[] | undefined;
37
+ }[] | undefined;
38
+ };
39
+ export declare const getCodeguardBackupCreateMock: () => {
40
+ status: string | undefined;
41
+ };
42
+ export declare const getCodeguardBackupDownloadMock: () => {
43
+ status: string | undefined;
44
+ };
45
+ export declare const getCodeguardBackupRestoreMock: () => {
46
+ website_success: boolean | undefined;
47
+ database_success: boolean | undefined;
48
+ };
49
+ export declare const getCodeguardDatabaseListMock: () => {
50
+ status: number | undefined;
51
+ databases: {
52
+ database_backup: {
53
+ id: number | undefined;
54
+ account: string | undefined;
55
+ website_id: number | undefined;
56
+ commit_id: string | undefined;
57
+ } | undefined;
58
+ }[] | undefined;
59
+ };
60
+ export declare const getCodeguardDatabaseBackupListMock: () => {
61
+ backups: {
62
+ commit_id: string | undefined;
63
+ event_time: string | undefined;
64
+ }[] | undefined;
65
+ };
66
+ export declare const getCodeguardDatabaseBackupCreateMock: () => {
67
+ status: string | undefined;
68
+ };
69
+ export declare const getCodeguardDatabaseBackupRestoreMock: () => {
70
+ status: string | undefined;
71
+ };
72
+ export declare const getCodeguardLoginLinkMock: () => {
73
+ link: string | undefined;
74
+ };
75
+ export declare const getCodeguardPlanInfoMock: () => {
76
+ size: number | undefined;
77
+ size_limit: number | undefined;
78
+ seat_count: number | undefined;
79
+ seat_limit: number | undefined;
80
+ status: string | undefined;
81
+ back_reference: string | undefined;
82
+ can_upgrade: boolean | undefined;
83
+ plan_name: string | undefined;
84
+ seats: {
85
+ url: string | undefined;
86
+ activated: boolean | undefined;
87
+ website_id: number | undefined;
88
+ }[] | undefined;
89
+ };
90
+ export declare const getCodeguardWebsiteListMock: () => {
91
+ website_list: {
92
+ website: {
93
+ id: number | undefined;
94
+ activated: boolean | undefined;
95
+ url: string | undefined;
96
+ } | undefined;
97
+ }[] | undefined;
98
+ };
99
+ export declare const getCodeguardWebsiteBackupListMock: () => {
100
+ backups: {
101
+ commit_id: string | undefined;
102
+ event_time: string | undefined;
103
+ modifications: number | undefined;
104
+ new_content: boolean | undefined;
105
+ }[] | undefined;
106
+ };
107
+ export declare const getCodeguardWebsiteBackupCreateMock: () => {
108
+ status: string | undefined;
109
+ };
110
+ export declare const getCodeguardWebsiteBackupRestoreMock: () => {
111
+ status: string | undefined;
112
+ };
113
+ export declare const getAddonsSitelockSsoMock: () => {
114
+ site_url: string | undefined;
115
+ sitelock_id: string | undefined;
116
+ url: string | undefined;
117
+ };
118
+ export declare const getAddonsCloudflareMock: () => {
119
+ status: string | undefined;
120
+ };
121
+ export declare const getAddonsInfoMock: () => {
122
+ id: string | undefined;
123
+ };
124
+ export declare const getAddonsSpamexpertsSsoMock: () => {
125
+ url: string | undefined;
126
+ };
127
+ export declare const getWebzaiSsoMock: () => {
128
+ sso: string | undefined;
129
+ };
130
+ export declare const getWeeblySsoMock: () => {
131
+ sso: string | undefined;
132
+ };
133
+ export declare const getDomainInfoMock: () => {
134
+ id: number | undefined;
135
+ account_back_ref: string | null | undefined;
136
+ authoritative: boolean | undefined;
137
+ autogen_id: number | null | undefined;
138
+ back_reference: string | null | undefined;
139
+ base_domain: string | undefined;
140
+ date_added: string | undefined;
141
+ date_modified: string | undefined;
142
+ date_ssl_exp: string | null | undefined;
143
+ docroot: string | null | undefined;
144
+ dns_status: string | undefined;
145
+ domain: string | undefined;
146
+ homedir: string | null | undefined;
147
+ hosting_id: number | null | undefined;
148
+ setup_progress: {
149
+ validate_error: string | null | undefined;
150
+ validate_dns: number | null | undefined;
151
+ validate_ssl: number | null | undefined;
152
+ validate_cdn: number | null | undefined;
153
+ } | undefined;
154
+ ssl_issuer: string | null | undefined;
155
+ ssl_status: string | null | undefined;
156
+ ssl_type: string | null | undefined;
157
+ status: string | undefined;
158
+ type: string | undefined;
159
+ };
160
+ export declare const getDomainUnassignMock: () => {};
161
+ export declare const getHostingAccountMock: () => {
162
+ id: string | undefined;
163
+ account_id: string | undefined;
164
+ brand: string | undefined;
165
+ platform: string | undefined;
166
+ username: string | undefined;
167
+ status: string | undefined;
168
+ type: string | undefined;
169
+ advanced: boolean | undefined;
170
+ billing: {
171
+ product_name: string | undefined;
172
+ } | undefined;
173
+ panel: string | undefined;
174
+ plan_key: string | undefined;
175
+ resources: {
176
+ storage: {
177
+ available: number | null | undefined;
178
+ total: number | null | undefined;
179
+ unit: string | undefined;
180
+ used: number | null | undefined;
181
+ } | undefined;
182
+ workers: {
183
+ available: number | null | undefined;
184
+ total: number | null | undefined;
185
+ used: number | null | undefined;
186
+ } | undefined;
187
+ } | undefined;
188
+ };
189
+ export declare const getHostingAddonsMock: () => {
190
+ rows: {
191
+ id: string | undefined;
192
+ type: string | undefined;
193
+ subtype: string | undefined;
194
+ status: string | undefined;
195
+ status_user: string | undefined;
196
+ meta: {} | undefined;
197
+ }[] | undefined;
198
+ };
199
+ export declare const getHostingAdvancedServerMock: () => {
200
+ status: string | undefined;
201
+ hostname: string | undefined;
202
+ ips: {
203
+ primary_ip: string | undefined;
204
+ other_ips: string[] | undefined;
205
+ } | undefined;
206
+ os_name: string | undefined;
207
+ os_version: string | undefined;
208
+ uptime: string | undefined;
209
+ uptime_seconds: number | undefined;
210
+ actions: {} | undefined;
211
+ };
212
+ export declare const getHostingAdvancedServerStatusMock: () => {
213
+ status: string | undefined;
214
+ uptime: string | undefined;
215
+ uptime_seconds: number | undefined;
216
+ actions: {} | undefined;
217
+ };
218
+ export declare const getHostingAdvancedPasswordMock: () => {
219
+ success: boolean | undefined;
220
+ };
221
+ export declare const getHostingAdvancedSsoWhmMock: () => {
222
+ url: string | undefined;
223
+ };
224
+ export declare const getHostingAdvancedSystemConsoleMock: () => {
225
+ url: string | undefined;
226
+ };
227
+ export declare const getHostingCapabilitiesMock: () => {
228
+ server_controls: boolean | undefined;
229
+ sites: boolean | undefined;
230
+ cpanel: boolean | undefined;
231
+ whm: boolean | undefined;
232
+ advanced_hosting: boolean | undefined;
233
+ reset_password: boolean | undefined;
234
+ is_sitelock_migrated: boolean | undefined;
235
+ };
236
+ export declare const getAddonCloudflareMock: () => {
237
+ status: string | undefined;
238
+ addon_id: number | undefined;
239
+ };
240
+ export declare const getListCronsMock: () => {
241
+ rows: {
242
+ command: string | undefined;
243
+ day: string | undefined;
244
+ hour: string | undefined;
245
+ key: string | undefined;
246
+ line: string | undefined;
247
+ minute: string | undefined;
248
+ month: string | undefined;
249
+ type: string | undefined;
250
+ weekday: string | undefined;
251
+ email: string | undefined;
252
+ }[] | undefined;
253
+ };
254
+ export declare const getAddCronMock: () => {
255
+ key: string | undefined;
256
+ };
257
+ export declare const getUpdateCronMock: () => {
258
+ key: number | undefined;
259
+ };
260
+ export declare const getCronMock: () => {
261
+ success: boolean | undefined;
262
+ };
263
+ export declare const getDbAddMock: () => {
264
+ dbname: string | undefined;
265
+ status: number | undefined;
266
+ type: string | undefined;
267
+ };
268
+ export declare const getDbMock: () => {
269
+ dbname: string | undefined;
270
+ status: number | undefined;
271
+ type: string | undefined;
272
+ };
273
+ export declare const getDbListMock: () => {
274
+ status: boolean | undefined;
275
+ databases: {
276
+ db: string | undefined;
277
+ sitename: string | undefined;
278
+ size: string | undefined;
279
+ sizemeg: string | undefined;
280
+ usercount: number | undefined;
281
+ userlist: {
282
+ db: string | undefined;
283
+ user: string | undefined;
284
+ }[] | undefined;
285
+ }[] | undefined;
286
+ };
287
+ export declare const getDbUsageMock: () => {
288
+ db_limit: number | null | undefined;
289
+ db_count: number | undefined;
290
+ };
291
+ export declare const getDbUserPasswordSetMock: () => {
292
+ dbuser: string | undefined;
293
+ };
294
+ export declare const getDbUserPrivsGetMock: () => {
295
+ privileges: string[] | undefined;
296
+ };
297
+ export declare const getDbUserPrivsSetMock: () => {
298
+ status: number | undefined;
299
+ };
300
+ export declare const getDbUserAddMock: () => {
301
+ username: string | undefined;
302
+ password: string | undefined;
303
+ };
304
+ export declare const getDbUserDeleteMock: () => {
305
+ dbuser: string | undefined;
306
+ };
307
+ export declare const getDbUserListMock: () => {
308
+ users: {
309
+ dblist: string[] | undefined;
310
+ shortuser: string | undefined;
311
+ user: string | undefined;
312
+ }[] | undefined;
313
+ };
314
+ export declare const getDomainsMock: () => {
315
+ domains: {
316
+ docroot: string;
317
+ domain: string;
318
+ type: string;
319
+ id: number;
320
+ }[];
321
+ };
322
+ export declare const getHostingDomainsUnassignMock: () => {
323
+ queued: boolean | undefined;
324
+ };
325
+ export declare const getHostingEcommerceInfoMock: () => {
326
+ addon_id: number | undefined;
327
+ back_ref: string | undefined;
328
+ level: string | undefined;
329
+ name: string | undefined;
330
+ type: string | undefined;
331
+ status: string | undefined;
332
+ subtype: string | null | undefined;
333
+ };
334
+ export declare const getHostingFtpListMock: () => {
335
+ ftp_accounts: {
336
+ user: string | undefined;
337
+ homedir: string | undefined;
338
+ type: string | undefined;
339
+ account: string | undefined;
340
+ domain: string | undefined;
341
+ }[] | undefined;
342
+ special_ftp_accounts: {
343
+ user: string | undefined;
344
+ homedir: string | undefined;
345
+ type: string | undefined;
346
+ account: string | undefined;
347
+ domain: string | undefined;
348
+ }[] | undefined;
349
+ server_name: string | undefined;
350
+ };
351
+ export declare const getHostingFtpAddMock: () => {
352
+ user: string | undefined;
353
+ pass: string | undefined;
354
+ };
355
+ export declare const getHostingFtpUpdateMock: () => {
356
+ status: number | undefined;
357
+ };
358
+ export declare const getHostingFtpMock: () => {
359
+ status: number | undefined;
360
+ user: string | undefined;
361
+ };
362
+ export declare const getHostingInfoMock: () => {
363
+ ip: string | undefined;
364
+ };
365
+ export declare const getHostingInfoDiskUsageMock: () => {
366
+ diskused: string | undefined;
367
+ disklimit: string | undefined;
368
+ fileslimit: number | null | undefined;
369
+ filesused: number | null | undefined;
370
+ disklastupdated: string | null | undefined;
371
+ };
372
+ export declare const getHostingLeadMock: () => {
373
+ response: {
374
+ providerApplicationName: string | undefined;
375
+ clientRequestId: string | undefined;
376
+ status: string | undefined;
377
+ errors: string | undefined;
378
+ data: {
379
+ leadId: string | undefined;
380
+ message: string | undefined;
381
+ } | undefined;
382
+ messageId: string | undefined;
383
+ }[] | undefined;
384
+ };
385
+ export declare const getHostingMigrationStatusMock: () => {
386
+ rows: {
387
+ id: string | undefined;
388
+ type: string | undefined;
389
+ subtype: string | undefined;
390
+ status: string | undefined;
391
+ }[] | undefined;
392
+ };
393
+ export declare const getHostingMigrationsMock: () => {
394
+ success: boolean | undefined;
395
+ };
396
+ export declare const getHostingMigrationsCheckMock: () => {
397
+ transferable: boolean | undefined;
398
+ description: string | undefined;
399
+ };
400
+ export declare const getHostingMigrationsEventMock: () => {
401
+ success: boolean | undefined;
402
+ };
403
+ export declare const getHostingMigrationInfoMock: () => {
404
+ migration_id: string | undefined;
405
+ domain: string | undefined;
406
+ site_url: string | undefined;
407
+ hostname: string | undefined;
408
+ feasible: string | undefined;
409
+ incoming_domain: string | undefined;
410
+ is_valid_migration_id: boolean | undefined;
411
+ };
412
+ export declare const getHostingMigrationSiteScanStatusMock: () => {
413
+ transferable: boolean | undefined;
414
+ callback_url: string | undefined;
415
+ };
416
+ export declare const getHostingNameserversMock: () => {
417
+ nameservers: string[];
418
+ };
419
+ export declare const getHostingOnboardingDataMock: () => {
420
+ completed: boolean | undefined;
421
+ };
422
+ export declare const getHostingOnboardingDataUpdateMock: () => {
423
+ completed: boolean | undefined;
424
+ };
425
+ export declare const getHostingRedirectsMock: () => {
426
+ docroot: string | undefined;
427
+ domain: string | undefined;
428
+ http_status_code: number | undefined;
429
+ redirect_wwww: boolean | undefined;
430
+ wildcard: boolean | undefined;
431
+ src: string | undefined;
432
+ type: string | undefined;
433
+ url: string | undefined;
434
+ }[];
435
+ export declare const getHostingResellerSsoWhmMock: () => {
436
+ url: string | undefined;
437
+ };
438
+ export declare const getHostingShellToggleMock: () => {
439
+ enabled: boolean | undefined;
440
+ };
441
+ export declare const getHostingShellInfoMock: () => {
442
+ enabled: boolean | undefined;
443
+ };
444
+ export declare const getHostingSiteAddMock: () => {
445
+ id: number | undefined;
446
+ status: string | undefined;
447
+ success: boolean;
448
+ };
449
+ export declare const getSitesBatchMock: () => {
450
+ success: boolean | undefined;
451
+ };
452
+ export declare const getHostingSshInfoMock: () => {
453
+ credential: string | undefined;
454
+ status: string | undefined;
455
+ success: boolean | undefined;
456
+ };
457
+ export declare const getSshKeyFetchMock: () => {
458
+ key_name: string | undefined;
459
+ key: string | undefined;
460
+ type: string | undefined;
461
+ };
462
+ export declare const getSshKeyImportMock: () => {
463
+ key_name: string | undefined;
464
+ };
465
+ export declare const getSshKeyListMock: () => {
466
+ keys: {
467
+ file: string | undefined;
468
+ haspub: number | undefined;
469
+ key: string | undefined;
470
+ name: string | undefined;
471
+ }[] | undefined;
472
+ };
473
+ export declare const getSshKeyMock: () => {
474
+ deleted: number | undefined;
475
+ key_name: string | undefined;
476
+ };
477
+ export declare const getSshKeyGenerateMock: () => {
478
+ key_name: string | undefined;
479
+ private_key_path: string | undefined;
480
+ public_key_path: string | undefined;
481
+ };
482
+ export declare const getSsoMock: () => {
483
+ url: string;
484
+ };
485
+ export declare const getSitesListMock: () => {
486
+ items: {
487
+ id: string | undefined;
488
+ name: string | undefined;
489
+ url: string | undefined;
490
+ docroot: string | undefined;
491
+ status: string | undefined;
492
+ }[] | undefined;
493
+ };
494
+ export declare const getSitesInfoMock: () => {
495
+ id: number | undefined;
496
+ account_back_ref: string | null | undefined;
497
+ account_id: string | undefined;
498
+ confirmed: boolean | undefined;
499
+ datacenter: string | null | undefined;
500
+ date_added: string | undefined;
501
+ date_modified: string | undefined;
502
+ detected_type: string | undefined;
503
+ docroot: string | null | undefined;
504
+ edge_cache: boolean | undefined;
505
+ is_primary: boolean | undefined;
506
+ last_error: string | null | undefined;
507
+ path: string | undefined;
508
+ domain: string | null | undefined;
509
+ base_domain: string | null | undefined;
510
+ migration_id: string | null | undefined;
511
+ name: string | null | undefined;
512
+ pending_url: string | null | undefined;
513
+ php_version: string | null | undefined;
514
+ status: string | undefined;
515
+ subtype: string | undefined;
516
+ type: string | undefined;
517
+ url: string | null | undefined;
518
+ url_is_provisional: boolean | undefined;
519
+ version: string | null | undefined;
520
+ installed_id: string | null | undefined;
521
+ handler_404: string | null | undefined;
522
+ pending_url_data: {
523
+ error: string | null | undefined;
524
+ stage: string | null | undefined;
525
+ domain: string | null | undefined;
526
+ domain_id: number | null | undefined;
527
+ base_domain: string | null | undefined;
528
+ job_failed: boolean | undefined;
529
+ is_temp: boolean | undefined;
530
+ } | undefined;
531
+ version_ptr: string | null | undefined;
532
+ jobs: {} | undefined;
533
+ resources: {
534
+ storage: {
535
+ available: number | null | undefined;
536
+ total: number | null | undefined;
537
+ unit: string | undefined;
538
+ used: number | null | undefined;
539
+ } | undefined;
540
+ workers: number | null | undefined;
541
+ } | undefined;
542
+ };
543
+ export declare const getSiteUpdateMock: () => {
544
+ success: boolean;
545
+ };
546
+ export declare const getSiteMock: () => {
547
+ success: boolean;
548
+ };
549
+ export declare const getSitesAutoupdatesInfoMock: () => {
550
+ plugins: boolean | undefined;
551
+ core: boolean | undefined;
552
+ themes: boolean | undefined;
553
+ };
554
+ export declare const getSitesAutoupdatesUpdateMock: () => {
555
+ plugins: boolean | undefined;
556
+ core: boolean | undefined;
557
+ themes: boolean | undefined;
558
+ };
559
+ export declare const getSitesBackupsMock: () => {
560
+ has_backups: boolean | undefined;
561
+ };
562
+ export declare const getSitesHasBackupsMock: () => {
563
+ has_backups: boolean | undefined;
564
+ };
565
+ export declare const getSitesBackupsCodeguardMock: () => {
566
+ website_id: number | undefined;
567
+ database_id: number | undefined;
568
+ success: number | undefined;
569
+ };
570
+ export declare const getSitesBackupsDetailsMock: () => {
571
+ codeguard: {
572
+ addon_id: string | undefined;
573
+ status: boolean | undefined;
574
+ seats_available: number | undefined;
575
+ seats_count: number | undefined;
576
+ website_id: string | null | undefined;
577
+ database_id: string | null | undefined;
578
+ activated: boolean | undefined;
579
+ url: string | null | undefined;
580
+ } | undefined;
581
+ jetpack: {
582
+ plugin_exists: boolean | undefined;
583
+ addon_exists: boolean | undefined;
584
+ addon_id: string | null | undefined;
585
+ status: string | null | undefined;
586
+ plan_name: string | null | undefined;
587
+ can_upgrade: boolean | undefined;
588
+ has_active_plugin: boolean | undefined;
589
+ has_active_addon: boolean | undefined;
590
+ addon_back_reference: string | null | undefined;
591
+ pending_upgrade: boolean | undefined;
592
+ next_url: string | null | undefined;
593
+ last_backup_date: string | null | undefined;
594
+ } | undefined;
595
+ };
596
+ export declare const getJetpackBackupStatusMock: () => {
597
+ plugin_exists: boolean | undefined;
598
+ addon_exists: boolean | undefined;
599
+ addon_id: string | null | undefined;
600
+ status: string | null | undefined;
601
+ plan_name: string | null | undefined;
602
+ can_upgrade: boolean | undefined;
603
+ has_active_plugin: boolean | undefined;
604
+ has_active_addon: boolean | undefined;
605
+ addon_back_reference: string | null | undefined;
606
+ pending_upgrade: boolean | undefined;
607
+ next_url: string | null | undefined;
608
+ };
609
+ export declare const getBackupsJetpackBackupMock: () => {};
610
+ export declare const getSiteAddonCloudflareMock: () => {
611
+ addon_id: number | undefined;
612
+ };
613
+ export declare const getSitesDatabaseInfoMock: () => {
614
+ collation: string | null | undefined;
615
+ charset: string | null | undefined;
616
+ };
617
+ export declare const getSitesDatabasePasswordsyncMock: () => {};
618
+ export declare const getSitesDnsMock: () => {
619
+ success: boolean | undefined;
620
+ source: string | undefined;
621
+ records: {
622
+ name: string | undefined;
623
+ value: string | undefined;
624
+ type: string | undefined;
625
+ }[] | undefined;
626
+ };
627
+ export declare const getSitesDomainMock: () => {
628
+ connected: boolean | undefined;
629
+ a_match: boolean | undefined;
630
+ nameserver_match: boolean | undefined;
631
+ detected: {
632
+ a: string[] | undefined;
633
+ ns: string[] | undefined;
634
+ } | undefined;
635
+ wanted: {
636
+ a: string[] | undefined;
637
+ ns: string[] | undefined;
638
+ } | undefined;
639
+ };
640
+ export declare const getSitesDomainUrlMock: () => {
641
+ success: boolean | undefined;
642
+ };
643
+ export declare const getSitesDomainsCreateMock: () => {
644
+ id: number | undefined;
645
+ status: string | undefined;
646
+ };
647
+ export declare const getSitesAccessLogsMock: () => {
648
+ datetime_end: string | undefined;
649
+ datetime_start: string | undefined;
650
+ page_id: string | null | undefined;
651
+ total: number | undefined;
652
+ logs: {
653
+ body_bytes_sent: number | undefined;
654
+ cached: string | undefined;
655
+ datetime: string | undefined;
656
+ http_host: string | undefined;
657
+ http_referrer: string | undefined;
658
+ http_user_agent: string | undefined;
659
+ http_x_forwarded_for: string | undefined;
660
+ renderer: string | undefined;
661
+ request_completion: string | undefined;
662
+ request_time: number | undefined;
663
+ request_type: string | undefined;
664
+ request_url: string | undefined;
665
+ scheme: string | undefined;
666
+ status: number | undefined;
667
+ epoch: number | undefined;
668
+ type: string | undefined;
669
+ user_ip: string | undefined;
670
+ }[] | undefined;
671
+ };
672
+ export declare const getSitesErrorLogsMock: () => {
673
+ datetime_end: string | undefined;
674
+ datetime_start: string | undefined;
675
+ page_id: string | null | undefined;
676
+ total: number | undefined;
677
+ logs: {
678
+ datetime: string | undefined;
679
+ file: string | undefined;
680
+ kind: string | undefined;
681
+ line: number | undefined;
682
+ message: string | undefined;
683
+ name: string | undefined;
684
+ severity: string | undefined;
685
+ epoch: number | undefined;
686
+ }[] | undefined;
687
+ };
688
+ export declare const getSiteMalwareStatusMock: () => {
689
+ malware_status: string | null | undefined;
690
+ scanner_state: string | null | undefined;
691
+ };
692
+ export declare const getSitesMetricsDimensionAveragedMock: () => {
693
+ date_end: string | undefined;
694
+ date_start: string | undefined;
695
+ dimension: string | undefined;
696
+ elapsed: number | undefined;
697
+ unit: string | undefined;
698
+ metrics: {
699
+ requests_persec: number[] | undefined;
700
+ response_bytes_persec: number[] | undefined;
701
+ response_bytes_average: number[] | undefined;
702
+ response_time_average: number[] | undefined;
703
+ } | undefined;
704
+ };
705
+ export declare const getSitesMetricDimensionsMock: () => {
706
+ date_end: string | undefined;
707
+ date_start: string | undefined;
708
+ elapsed: number | undefined;
709
+ metric: string | undefined;
710
+ dimensions: {
711
+ http_version: {
712
+ dimension: {
713
+ clzsqlzrd00001rliahoch25k: number;
714
+ } | undefined;
715
+ timestamp: number | undefined;
716
+ }[] | undefined;
717
+ http_verb: {
718
+ dimension: {
719
+ clzsqlzrl00011rli28w6a5lv: number;
720
+ } | undefined;
721
+ timestamp: number | undefined;
722
+ }[] | undefined;
723
+ http_host: {
724
+ dimension: {
725
+ clzsqlzrl00021rliax004dh9: number;
726
+ } | undefined;
727
+ timestamp: number | undefined;
728
+ }[] | undefined;
729
+ http_status: {
730
+ dimension: {
731
+ clzsqlzrl00031rli92t46avp: number;
732
+ } | undefined;
733
+ timestamp: number | undefined;
734
+ }[] | undefined;
735
+ page_renderer: {
736
+ dimension: {
737
+ clzsqlzrl00041rlibc3h0f3m: number;
738
+ } | undefined;
739
+ timestamp: number | undefined;
740
+ }[] | undefined;
741
+ page_is_cached: {
742
+ dimension: {
743
+ clzsqlzrl00051rlihm5tapvc: number;
744
+ } | undefined;
745
+ timestamp: number | undefined;
746
+ }[] | undefined;
747
+ wp_admin_ajax_action: {
748
+ dimension: {
749
+ clzsqlzrl00061rli691fhrr3: number;
750
+ } | undefined;
751
+ timestamp: number | undefined;
752
+ }[] | undefined;
753
+ visitor_asn: {
754
+ dimension: {
755
+ clzsqlzrl00071rli3s50eg8l: number;
756
+ } | undefined;
757
+ timestamp: number | undefined;
758
+ }[] | undefined;
759
+ visitor_country_code: {
760
+ dimension: {
761
+ clzsqlzrm00081rlibpjkcuct: number;
762
+ } | undefined;
763
+ timestamp: number | undefined;
764
+ }[] | undefined;
765
+ visitor_is_crawler: {
766
+ dimension: {
767
+ clzsqlzrm00091rlig2vb0wxj: number;
768
+ } | undefined;
769
+ timestamp: number | undefined;
770
+ }[] | undefined;
771
+ } | undefined;
772
+ };
773
+ export declare const getSitePendingDomainDeleteMock: () => {};
774
+ export declare const getSitesPerformanceCachepurgeMock: () => {
775
+ success: boolean | undefined;
776
+ };
777
+ export declare const getSitesPerformanceEdgecacheMock: () => {};
778
+ export declare const getSitesPerformanceEnduranceCacheLevelStatusMock: () => {
779
+ endurance_cache_level: number | undefined;
780
+ };
781
+ export declare const getSitesPerformanceEnduranceCacheLevelMock: () => {
782
+ options: {} | undefined;
783
+ };
784
+ export declare const getSitesPerformanceEndurancePageCacheMock: () => {
785
+ result: string | undefined;
786
+ status: string | undefined;
787
+ };
788
+ export declare const getSitePluginsMock: () => {
789
+ subtype: string;
790
+ auto_update: boolean;
791
+ plugins: {
792
+ id: string;
793
+ status: string;
794
+ title: string;
795
+ update: boolean;
796
+ version: string | undefined;
797
+ }[];
798
+ };
799
+ export declare const getSitePluginUpdateMock: () => {
800
+ id: string;
801
+ status: string;
802
+ };
803
+ export declare const getSitePluginsAutoupdateMock: () => {
804
+ success: boolean;
805
+ };
806
+ export declare const getSitePluginsToggleMock: () => {
807
+ success: boolean;
808
+ };
809
+ export declare const getSitePluginsUpdateMock: () => {
810
+ success: boolean;
811
+ };
812
+ export declare const getResetSiteMock: () => {
813
+ previous_status: string;
814
+ status: string;
815
+ };
816
+ export declare const getSitesSecurityCheckCoreMock: () => {
817
+ results: string | undefined;
818
+ success: number | undefined;
819
+ };
820
+ export declare const getSitesSecurityResetCoreFilesMock: () => {
821
+ results: string | undefined;
822
+ success: number | undefined;
823
+ };
824
+ export declare const getSitesSecurityHttpsRedirectionStatusMock: () => {
825
+ success: number | undefined;
826
+ redirection_status: number | undefined;
827
+ message: string | undefined;
828
+ };
829
+ export declare const getSitesSecurityHttpsEnableDisableSslMock: () => {
830
+ success: number | undefined;
831
+ redirection_status: number | undefined;
832
+ message: string | undefined;
833
+ };
834
+ export declare const getSitesSecuritySitelockMock: () => {
835
+ addon_id: number | undefined;
836
+ plan: string | undefined;
837
+ billing_code: string | undefined;
838
+ success: number | undefined;
839
+ platform_id: string | undefined;
840
+ upgrade_levels: string[] | undefined;
841
+ message: string | undefined;
842
+ has_cdn: boolean | undefined;
843
+ scope: string | undefined;
844
+ };
845
+ export declare const getSitesSecuritySslAcmeMock: () => {
846
+ success: number | undefined;
847
+ message: string | undefined;
848
+ };
849
+ export declare const getSitesSecuritySslStatusMock: () => {
850
+ domain: string | undefined;
851
+ ssl_status: string | undefined;
852
+ message: string | undefined;
853
+ product: string | undefined;
854
+ provider: string | undefined;
855
+ upgradeable: boolean | undefined;
856
+ };
857
+ export declare const getSitesSettingsComingSoonMock: () => {
858
+ enable: boolean | undefined;
859
+ };
860
+ export declare const getSitesSettingsComingSoonToggleMock: () => {
861
+ success: number | undefined;
862
+ };
863
+ export declare const getSitesSettingsDebugMock: () => {
864
+ status: number | undefined;
865
+ };
866
+ export declare const getSitesSettingsDebugToggleMock: () => {
867
+ success: number | undefined;
868
+ };
869
+ export declare const getSitesSettingsPhpVersionUpdateMock: () => {
870
+ success: number | undefined;
871
+ };
872
+ export declare const getSitesSettingsPhpVersionsMock: () => {
873
+ default: string | undefined;
874
+ latest: string | undefined;
875
+ versions: string[] | undefined;
876
+ deprecated: string[] | undefined;
877
+ };
878
+ export declare const getSitesSshUserListMock: () => {
879
+ users: string[] | undefined;
880
+ };
881
+ export declare const getSitesSshUserCreateMock: () => {
882
+ public_key: string | null | undefined;
883
+ private_key: string | null | undefined;
884
+ };
885
+ export declare const getSitesSshUserDeleteMock: () => {};
886
+ export declare const getSitesSshUserUpdateMock: () => {};
887
+ export declare const getSitesSslMock: () => {
888
+ domain: string | undefined;
889
+ domain_dns_status: string | undefined;
890
+ expiration: string | null | undefined;
891
+ issuer: string | null | undefined;
892
+ product: string | null | undefined;
893
+ provider: string | null | undefined;
894
+ status: string | undefined;
895
+ type: string | null | undefined;
896
+ upgradeable: boolean | undefined;
897
+ };
898
+ export declare const getSitesSsoMock: () => {
899
+ sso: string | null | undefined;
900
+ type: string | null | undefined;
901
+ other: {
902
+ addon_id: number | undefined;
903
+ type: string | undefined;
904
+ subtype: string | undefined;
905
+ domain: string | undefined;
906
+ added: string | undefined;
907
+ }[] | undefined;
908
+ };
909
+ export declare const getSiteStatusMock: () => {
910
+ url: string | undefined;
911
+ pending_url: string | undefined;
912
+ cloudflare_ready: boolean | undefined;
913
+ };
914
+ export declare const getSiteUsersMock: () => {
915
+ users: {
916
+ display_name: string | undefined;
917
+ id: number;
918
+ meta: {
919
+ maestro_web_pro: string | undefined;
920
+ maestro_wpp_identifier: string | undefined;
921
+ } | undefined;
922
+ post_count: number | undefined;
923
+ role: string;
924
+ user_email: string;
925
+ user_id: number;
926
+ user_login: string;
927
+ user_nicename: string;
928
+ }[];
929
+ };
930
+ export declare const getSitesVersionMock: () => {
931
+ current: string | undefined;
932
+ latest: string | undefined;
933
+ update: boolean | undefined;
934
+ };
935
+ export declare const getAddonsSitelockSsoV2Mock: () => {
936
+ site_url: string | null | undefined;
937
+ sitelock_id: string | undefined;
938
+ url: string | undefined;
939
+ };
940
+ export declare const getHostingNameserversV2Mock: () => {
941
+ id: number;
942
+ is_default: string | undefined;
943
+ brand: string;
944
+ hosts: {
945
+ host: string | undefined;
946
+ ips: string[] | undefined;
947
+ }[];
948
+ };
949
+ export declare const getHostingSitesV2Mock: () => {
950
+ total: number | undefined;
951
+ page: number | undefined;
952
+ limit: number | undefined;
953
+ max_sites: number | null | undefined;
954
+ used_sites: number | undefined;
955
+ available_sites: number | null | undefined;
956
+ items: {
957
+ id: number | undefined;
958
+ account_back_ref: string | null | undefined;
959
+ account_id: string | undefined;
960
+ confirmed: boolean | undefined;
961
+ datacenter: string | null | undefined;
962
+ date_added: string | undefined;
963
+ date_modified: string | undefined;
964
+ detected_type: string | undefined;
965
+ docroot: string | null | undefined;
966
+ edge_cache: boolean | undefined;
967
+ is_primary: boolean | undefined;
968
+ path: string | undefined;
969
+ handler_404: string | undefined;
970
+ domain: string | null | undefined;
971
+ base_domain: string | null | undefined;
972
+ last_error: string | null | undefined;
973
+ migration_id: string | null | undefined;
974
+ name: string | null | undefined;
975
+ pending_url: string | null | undefined;
976
+ php_version: string | null | undefined;
977
+ status: string | undefined;
978
+ subtype: string | undefined;
979
+ type: string | undefined;
980
+ url: string | null | undefined;
981
+ url_is_provisional: boolean | undefined;
982
+ version: string | null | undefined;
983
+ installed_id: string | null | undefined;
984
+ pending_url_data: {
985
+ error: string | null | undefined;
986
+ stage: string | null | undefined;
987
+ domain: string | null | undefined;
988
+ domain_id: number | null | undefined;
989
+ base_domain: string | null | undefined;
990
+ job_failed: boolean | undefined;
991
+ is_temp: boolean | undefined;
992
+ } | undefined;
993
+ version_ptr: string | null | undefined;
994
+ jobs: {} | undefined;
995
+ resources: {
996
+ storage: {
997
+ available: number | null | undefined;
998
+ total: number | null | undefined;
999
+ unit: string | undefined;
1000
+ used: number | null | undefined;
1001
+ } | undefined;
1002
+ workers: number | null | undefined;
1003
+ } | undefined;
1004
+ }[] | undefined;
1005
+ };
1006
+ export declare const getSshKeyListV2Mock: () => {
1007
+ rows: {
1008
+ name: string | undefined;
1009
+ type: string | undefined;
1010
+ mtime: string | undefined;
1011
+ key: string | undefined;
1012
+ }[] | undefined;
1013
+ };
1014
+ export declare const getSitesListV2Mock: () => {
1015
+ total: number | undefined;
1016
+ page: number | undefined;
1017
+ limit: number | undefined;
1018
+ items: {
1019
+ id: number | undefined;
1020
+ account_back_ref: string | null | undefined;
1021
+ account_id: string | undefined;
1022
+ base_domain: string | null | undefined;
1023
+ confirmed: boolean | undefined;
1024
+ datacenter: string | null | undefined;
1025
+ date_added: string | undefined;
1026
+ date_modified: string | undefined;
1027
+ detected_type: string | undefined;
1028
+ docroot: string | null | undefined;
1029
+ domain: string | null | undefined;
1030
+ edge_cache: boolean | undefined;
1031
+ is_primary: boolean | undefined;
1032
+ last_error: string | null | undefined;
1033
+ path: string | undefined;
1034
+ handler_404: string | undefined;
1035
+ migration_id: string | null | undefined;
1036
+ name: string | null | undefined;
1037
+ pending_url: string | null | undefined;
1038
+ php_version: string | null | undefined;
1039
+ status: string | undefined;
1040
+ subtype: string | undefined;
1041
+ type: string | undefined;
1042
+ url: string | null | undefined;
1043
+ url_is_provisional: boolean | undefined;
1044
+ version: string | null | undefined;
1045
+ installed_id: string | null | undefined;
1046
+ pending_url_data: {
1047
+ error: string | null | undefined;
1048
+ stage: string | null | undefined;
1049
+ domain: string | null | undefined;
1050
+ domain_id: number | null | undefined;
1051
+ base_domain: string | null | undefined;
1052
+ job_failed: boolean | undefined;
1053
+ is_temp: boolean | undefined;
1054
+ } | undefined;
1055
+ version_ptr: string | null | undefined;
1056
+ jobs: {} | undefined;
1057
+ resources: {
1058
+ storage: {
1059
+ available: number | null | undefined;
1060
+ total: number | null | undefined;
1061
+ unit: string | undefined;
1062
+ used: number | null | undefined;
1063
+ } | undefined;
1064
+ workers: number | null | undefined;
1065
+ } | undefined;
1066
+ }[] | undefined;
1067
+ };
1068
+ export declare const getSitesDomainsV2Mock: () => {
1069
+ total: number | undefined;
1070
+ page: number | undefined;
1071
+ limit: number | undefined;
1072
+ domains: {
1073
+ id: number | undefined;
1074
+ account_back_ref: string | null | undefined;
1075
+ authoritative: boolean | undefined;
1076
+ autogen_id: number | null | undefined;
1077
+ back_reference: string | null | undefined;
1078
+ base_domain: string | undefined;
1079
+ date_added: string | undefined;
1080
+ date_modified: string | undefined;
1081
+ date_ssl_exp: string | null | undefined;
1082
+ docroot: string | null | undefined;
1083
+ dns_status: string | undefined;
1084
+ domain: string | undefined;
1085
+ homedir: string | null | undefined;
1086
+ hosting_id: number | null | undefined;
1087
+ setup_progress: {
1088
+ validate_error: string | null | undefined;
1089
+ validate_dns: number | null | undefined;
1090
+ validate_ssl: number | null | undefined;
1091
+ validate_cdn: number | null | undefined;
1092
+ } | undefined;
1093
+ ssl_issuer: string | null | undefined;
1094
+ ssl_status: string | null | undefined;
1095
+ ssl_type: string | null | undefined;
1096
+ status: string | undefined;
1097
+ type: string | undefined;
1098
+ }[] | undefined;
1099
+ };
1100
+ export declare const getSitesSecuritySitelockV2Mock: () => {
1101
+ addon_id: number | null | undefined;
1102
+ source: string | null | undefined;
1103
+ plan: string | null | undefined;
1104
+ billing_code: string | null | undefined;
1105
+ success: number | undefined;
1106
+ platform_id: string | null | undefined;
1107
+ upgrade_levels: string[] | undefined;
1108
+ domains: string[] | undefined;
1109
+ message: string | undefined;
1110
+ has_cdn: boolean | undefined;
1111
+ scope: string | null | undefined;
1112
+ };
1113
+ export declare const getSitesListV3Mock: () => {
1114
+ total: number | undefined;
1115
+ page: number | undefined;
1116
+ limit: number | undefined;
1117
+ items: {
1118
+ id: string | undefined;
1119
+ account_back_ref: string | null | undefined;
1120
+ account_id: string | undefined;
1121
+ base_domain: string | null | undefined;
1122
+ confirmed: boolean | undefined;
1123
+ datacenter: string | null | undefined;
1124
+ date_added: string | undefined;
1125
+ date_modified: string | undefined;
1126
+ detected_type: string | undefined;
1127
+ docroot: string | null | undefined;
1128
+ domain: string | null | undefined;
1129
+ edge_cache: boolean | undefined;
1130
+ is_primary: boolean | undefined;
1131
+ last_error: string | null | undefined;
1132
+ path: string | undefined;
1133
+ migration_id: string | null | undefined;
1134
+ name: string | null | undefined;
1135
+ pending_url: string | null | undefined;
1136
+ php_version: string | null | undefined;
1137
+ status: string | undefined;
1138
+ subtype: string | undefined;
1139
+ type: string | undefined;
1140
+ url: string | null | undefined;
1141
+ url_is_provisional: boolean | undefined;
1142
+ version: string | null | undefined;
1143
+ installed_id: string | null | undefined;
1144
+ pending_url_data: {
1145
+ error: string | null | undefined;
1146
+ stage: string | null | undefined;
1147
+ domain: string | null | undefined;
1148
+ base_domain: string | null | undefined;
1149
+ is_temp: boolean | undefined;
1150
+ } | undefined;
1151
+ version_ptr: string | null | undefined;
1152
+ resources: {
1153
+ storage: {
1154
+ available: number | null | undefined;
1155
+ total: number | null | undefined;
1156
+ unit: string | undefined;
1157
+ used: number | null | undefined;
1158
+ } | undefined;
1159
+ workers: number | null | undefined;
1160
+ } | undefined;
1161
+ }[] | undefined;
1162
+ };
1163
+ export declare const getHostingUAPIMSW: () => import("msw").RestHandler<import("msw/lib/glossary-58eca5a8").M<import("msw/lib/glossary-58eca5a8").c>>[];