@newfold/huapi-js 2.2038.0 → 2.2040.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +1 -1
- package/src/index.msw.js +2 -2
- package/src/index.schemas.d.ts +496 -409
- package/src/index.schemas.js +1 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.2040.0
|
|
7
7
|
*/
|
|
8
8
|
import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
|
|
9
9
|
import axios from 'axios';
|
package/src/index.msw.js
CHANGED
|
@@ -4,7 +4,7 @@ import { __awaiter } from "tslib";
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Hosting UAPI
|
|
6
6
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
7
|
-
* OpenAPI spec version: 1.
|
|
7
|
+
* OpenAPI spec version: 1.2040.0
|
|
8
8
|
*/
|
|
9
9
|
import { faker } from '@faker-js/faker';
|
|
10
10
|
import { HttpResponse, delay, http } from 'msw';
|
|
@@ -81,7 +81,7 @@ export const getDomainDnszoneResetResponseMock = (overrideResponse = {}) => (Obj
|
|
|
81
81
|
export const getDomainEmailDeliverabilityResponseMock = (overrideResponse = {}) => (Object.assign({ a_record_check: faker.helpers.arrayElement([{ a_match: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), box: faker.helpers.arrayElement([faker.word.sample(), undefined]), detected: faker.helpers.arrayElement([faker.word.sample(), undefined]), xns: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), dkim_check: faker.helpers.arrayElement([{ dkim_record: faker.helpers.arrayElement([faker.word.sample(), undefined]), private_key: faker.helpers.arrayElement([faker.word.sample(), undefined]), pubkeys_match: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), record_name: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), mx_check: faker.helpers.arrayElement([{ box_mx: faker.helpers.arrayElement([faker.word.sample(), undefined]), mx_match: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), xns_mx: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), ptr_check: faker.helpers.arrayElement([{ helo_hostname: faker.helpers.arrayElement([faker.word.sample(), undefined]), ptr_name: faker.helpers.arrayElement([faker.word.sample(), undefined]), ptr_value: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), spf_check: faker.helpers.arrayElement([{ box_spf: faker.helpers.arrayElement([faker.word.sample(), undefined]), spf_match: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), xns_spf: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), success: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, overrideResponse));
|
|
82
82
|
export const getDomainsSetEntriUsedResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
83
83
|
export const getDomainsUnsetEntriUsedResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
84
|
-
export const getDomainHealthResponseMock = (overrideResponse = {}) => (Object.assign({ alignment_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), cache: faker.helpers.arrayElement([{ cached_at: faker.helpers.arrayElement([faker.word.sample(), undefined]), expires_at: faker.helpers.arrayElement([faker.word.sample(), undefined]), hit: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), stale: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, undefined]), checks: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ cname_target: faker.helpers.arrayElement([faker.word.sample(), undefined]), code: faker.helpers.arrayElement([faker.word.sample(), undefined]), expected: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), explanation: faker.helpers.arrayElement([faker.word.sample(), undefined]), hostname: faker.helpers.arrayElement([faker.word.sample(), undefined]), layers_agree: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), observed: faker.helpers.arrayElement([{ cpanel: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), hosting_zone: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), internal_dns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), public: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), public_dns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), registrar: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), xns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]) }, undefined]), reason: faker.helpers.arrayElement([faker.word.sample(), undefined]), record_type: faker.helpers.arrayElement([faker.word.sample(), undefined]), severity: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), support_category: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), context: faker.helpers.arrayElement([{ account_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), back_reference: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), parent_zone_domain: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), execution_ms: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), expected_source_order: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), layers: faker.helpers.arrayElement([{ labels: faker.helpers.arrayElement([{}, undefined]), order: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]) }, undefined]), primary_issue_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), schema_version: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), severity: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), source_timings: faker.helpers.arrayElement([{ deliverability: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), dns_status: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), zone_box: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), zone_registrar: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), zone_xns: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, undefined]), sources: faker.helpers.arrayElement([{ deliverability: faker.helpers.arrayElement([{}, undefined]), dns_status: faker.helpers.arrayElement([{}, undefined]), zone_box: faker.helpers.arrayElement([{}, undefined]), zone_registrar: faker.helpers.arrayElement([{}, undefined]), zone_xns: faker.helpers.arrayElement([{}, undefined]) }, undefined]),
|
|
84
|
+
export const getDomainHealthResponseMock = (overrideResponse = {}) => (Object.assign({ alignment_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), cache: faker.helpers.arrayElement([{ cached_at: faker.helpers.arrayElement([faker.word.sample(), undefined]), expires_at: faker.helpers.arrayElement([faker.word.sample(), undefined]), hit: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), stale: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, undefined]), checks: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ cname_target: faker.helpers.arrayElement([faker.word.sample(), undefined]), code: faker.helpers.arrayElement([faker.word.sample(), undefined]), expected: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), explanation: faker.helpers.arrayElement([faker.word.sample(), undefined]), hostname: faker.helpers.arrayElement([faker.word.sample(), undefined]), layers_agree: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), observed: faker.helpers.arrayElement([{ cpanel: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), hosting_zone: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), internal_dns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), public: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), public_dns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), registrar: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), xns: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]) }, undefined]), reason: faker.helpers.arrayElement([faker.word.sample(), undefined]), record_type: faker.helpers.arrayElement([faker.word.sample(), undefined]), severity: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]), support_category: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), context: faker.helpers.arrayElement([{ account_id: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), back_reference: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain: faker.helpers.arrayElement([faker.word.sample(), undefined]), domain_id: faker.helpers.arrayElement([faker.word.sample(), undefined]), parent_zone_domain: faker.helpers.arrayElement([faker.word.sample(), undefined]) }, undefined]), execution_ms: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), expected_source_order: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]), layers: faker.helpers.arrayElement([{ labels: faker.helpers.arrayElement([{}, undefined]), order: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => (faker.word.sample())), undefined]) }, undefined]), primary_issue_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), schema_version: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), severity: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), source_timings: faker.helpers.arrayElement([{ deliverability: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), dns_status: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), zone_box: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), zone_registrar: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]), zone_xns: faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), undefined]) }, undefined]), sources: faker.helpers.arrayElement([{ deliverability: faker.helpers.arrayElement([{}, undefined]), dns_status: faker.helpers.arrayElement([{}, undefined]), zone_box: faker.helpers.arrayElement([{}, undefined]), zone_registrar: faker.helpers.arrayElement([{}, undefined]), zone_xns: faker.helpers.arrayElement([{}, undefined]) }, undefined]), ssl: faker.helpers.arrayElement([{ alignment_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), certificate: faker.helpers.arrayElement([{ issuer: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), not_after: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), present: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), ssl_type: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), checked: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), checks: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ code: faker.helpers.arrayElement([faker.word.sample(), undefined]), hostname: faker.helpers.arrayElement([faker.word.sample(), undefined]), name: faker.helpers.arrayElement([faker.word.sample(), undefined]), observed: faker.helpers.arrayElement([{ http_status: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), not_after: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) }, undefined]), severity: faker.helpers.arrayElement([faker.word.sample(), undefined]), status: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]), primary_issue_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), severity: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), skip_reason: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), skipped: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]) }, undefined]) }, overrideResponse));
|
|
85
85
|
export const getAccessLogsResponseMock = (overrideResponse = {}) => (Object.assign({ logs: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ date: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), device: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), host: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), ip: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), request: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), response_code: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.number.int({ min: undefined, max: undefined }), null]), undefined]), response_size: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]), server_ip: faker.helpers.arrayElement([faker.helpers.arrayElement([faker.word.sample(), null]), undefined]) })), undefined]) }, overrideResponse));
|
|
86
86
|
export const getDomainUnassignResponseMock = (overrideResponse = {}) => (Object.assign({}, overrideResponse));
|
|
87
87
|
export const getDomainZoneeditorUrlResponseMock = (overrideResponse = {}) => (Object.assign({ url: faker.word.sample() }, overrideResponse));
|
package/src/index.schemas.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.2040.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -207,13 +207,6 @@ export declare type BackupStatusV3Params = {
|
|
|
207
207
|
*/
|
|
208
208
|
client_tracking_id: string;
|
|
209
209
|
};
|
|
210
|
-
export declare type BackupListV3200 = {
|
|
211
|
-
has_more?: boolean;
|
|
212
|
-
items?: BackupListV3200ItemsItem[];
|
|
213
|
-
limit?: number;
|
|
214
|
-
offset?: number;
|
|
215
|
-
total?: number;
|
|
216
|
-
};
|
|
217
210
|
/**
|
|
218
211
|
* @nullable
|
|
219
212
|
*/
|
|
@@ -248,6 +241,13 @@ export declare type BackupListV3200ItemsItem = {
|
|
|
248
241
|
timezone?: string;
|
|
249
242
|
type?: string;
|
|
250
243
|
};
|
|
244
|
+
export declare type BackupListV3200 = {
|
|
245
|
+
has_more?: boolean;
|
|
246
|
+
items?: BackupListV3200ItemsItem[];
|
|
247
|
+
limit?: number;
|
|
248
|
+
offset?: number;
|
|
249
|
+
total?: number;
|
|
250
|
+
};
|
|
251
251
|
export declare type BackupListV3Params = {
|
|
252
252
|
page?: number;
|
|
253
253
|
limit?: number;
|
|
@@ -430,6 +430,76 @@ export declare type SiteMalwareStatusV2200 = {
|
|
|
430
430
|
*/
|
|
431
431
|
scanner_state?: string | null;
|
|
432
432
|
};
|
|
433
|
+
export declare type SitesDomainsV2200 = {
|
|
434
|
+
domains: SitesDomainsV2200DomainsItem[];
|
|
435
|
+
limit?: number;
|
|
436
|
+
page?: number;
|
|
437
|
+
total?: number;
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
441
|
+
* @nullable
|
|
442
|
+
*/
|
|
443
|
+
export declare type SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable = {
|
|
444
|
+
[key: string]: unknown;
|
|
445
|
+
} | null;
|
|
446
|
+
/**
|
|
447
|
+
* @nullable
|
|
448
|
+
*/
|
|
449
|
+
export declare type SitesDomainsV2200DomainsItemSetupProgress = {
|
|
450
|
+
/**
|
|
451
|
+
* Result of domain cdn validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
452
|
+
* @nullable
|
|
453
|
+
*/
|
|
454
|
+
validate_cdn?: number | null;
|
|
455
|
+
/**
|
|
456
|
+
* Most recent error logged during domain cdn validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
457
|
+
* @nullable
|
|
458
|
+
*/
|
|
459
|
+
validate_cdn_error?: string | null;
|
|
460
|
+
/**
|
|
461
|
+
* Result of domain dns validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
462
|
+
* @nullable
|
|
463
|
+
*/
|
|
464
|
+
validate_dns?: number | null;
|
|
465
|
+
/**
|
|
466
|
+
* Whether dns_auto_repair was run on this domain (1=true)
|
|
467
|
+
* @nullable
|
|
468
|
+
*/
|
|
469
|
+
validate_dns_auto_repair?: number | null;
|
|
470
|
+
/**
|
|
471
|
+
* Most recent error logged during domain dns validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
472
|
+
* @nullable
|
|
473
|
+
*/
|
|
474
|
+
validate_dns_error?: string | null;
|
|
475
|
+
/**
|
|
476
|
+
* Most recent error logged during domain validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
477
|
+
* @nullable
|
|
478
|
+
*/
|
|
479
|
+
validate_error?: string | null;
|
|
480
|
+
/**
|
|
481
|
+
* Result of domain ssl validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
482
|
+
* @nullable
|
|
483
|
+
*/
|
|
484
|
+
validate_ssl?: number | null;
|
|
485
|
+
/**
|
|
486
|
+
* Most recent error logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
487
|
+
* @nullable
|
|
488
|
+
*/
|
|
489
|
+
validate_ssl_error?: string | null;
|
|
490
|
+
/**
|
|
491
|
+
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
492
|
+
* @nullable
|
|
493
|
+
*/
|
|
494
|
+
validate_ssl_error_table?: SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable;
|
|
495
|
+
} | null;
|
|
496
|
+
/**
|
|
497
|
+
* Job ids and names currently running on the domain
|
|
498
|
+
* @nullable
|
|
499
|
+
*/
|
|
500
|
+
export declare type SitesDomainsV2200DomainsItemJobs = {
|
|
501
|
+
[key: string]: unknown;
|
|
502
|
+
} | null;
|
|
433
503
|
export declare type SitesDomainsV2200DomainsItem = {
|
|
434
504
|
/** @nullable */
|
|
435
505
|
account_back_ref?: string | null;
|
|
@@ -502,76 +572,6 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
502
572
|
*/
|
|
503
573
|
used_entri?: number | null;
|
|
504
574
|
};
|
|
505
|
-
export declare type SitesDomainsV2200 = {
|
|
506
|
-
domains: SitesDomainsV2200DomainsItem[];
|
|
507
|
-
limit?: number;
|
|
508
|
-
page?: number;
|
|
509
|
-
total?: number;
|
|
510
|
-
};
|
|
511
|
-
/**
|
|
512
|
-
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
513
|
-
* @nullable
|
|
514
|
-
*/
|
|
515
|
-
export declare type SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable = {
|
|
516
|
-
[key: string]: unknown;
|
|
517
|
-
} | null;
|
|
518
|
-
/**
|
|
519
|
-
* @nullable
|
|
520
|
-
*/
|
|
521
|
-
export declare type SitesDomainsV2200DomainsItemSetupProgress = {
|
|
522
|
-
/**
|
|
523
|
-
* Result of domain cdn validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
524
|
-
* @nullable
|
|
525
|
-
*/
|
|
526
|
-
validate_cdn?: number | null;
|
|
527
|
-
/**
|
|
528
|
-
* Most recent error logged during domain cdn validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
529
|
-
* @nullable
|
|
530
|
-
*/
|
|
531
|
-
validate_cdn_error?: string | null;
|
|
532
|
-
/**
|
|
533
|
-
* Result of domain dns validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
534
|
-
* @nullable
|
|
535
|
-
*/
|
|
536
|
-
validate_dns?: number | null;
|
|
537
|
-
/**
|
|
538
|
-
* Whether dns_auto_repair was run on this domain (1=true)
|
|
539
|
-
* @nullable
|
|
540
|
-
*/
|
|
541
|
-
validate_dns_auto_repair?: number | null;
|
|
542
|
-
/**
|
|
543
|
-
* Most recent error logged during domain dns validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
544
|
-
* @nullable
|
|
545
|
-
*/
|
|
546
|
-
validate_dns_error?: string | null;
|
|
547
|
-
/**
|
|
548
|
-
* Most recent error logged during domain validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
549
|
-
* @nullable
|
|
550
|
-
*/
|
|
551
|
-
validate_error?: string | null;
|
|
552
|
-
/**
|
|
553
|
-
* Result of domain ssl validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
554
|
-
* @nullable
|
|
555
|
-
*/
|
|
556
|
-
validate_ssl?: number | null;
|
|
557
|
-
/**
|
|
558
|
-
* Most recent error logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
559
|
-
* @nullable
|
|
560
|
-
*/
|
|
561
|
-
validate_ssl_error?: string | null;
|
|
562
|
-
/**
|
|
563
|
-
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
564
|
-
* @nullable
|
|
565
|
-
*/
|
|
566
|
-
validate_ssl_error_table?: SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable;
|
|
567
|
-
} | null;
|
|
568
|
-
/**
|
|
569
|
-
* Job ids and names currently running on the domain
|
|
570
|
-
* @nullable
|
|
571
|
-
*/
|
|
572
|
-
export declare type SitesDomainsV2200DomainsItemJobs = {
|
|
573
|
-
[key: string]: unknown;
|
|
574
|
-
} | null;
|
|
575
575
|
export declare type SitesDomainsV2Params = {
|
|
576
576
|
scan?: boolean;
|
|
577
577
|
};
|
|
@@ -748,6 +748,16 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
748
748
|
*/
|
|
749
749
|
version_ptr?: string | null;
|
|
750
750
|
};
|
|
751
|
+
export declare type PublicImagesV2200 = {
|
|
752
|
+
/** Limit the number of images returned */
|
|
753
|
+
limit?: PublicImagesV2200Limit;
|
|
754
|
+
/** Number of images returned */
|
|
755
|
+
n_rows?: PublicImagesV2200NRows;
|
|
756
|
+
/** Page number */
|
|
757
|
+
page?: PublicImagesV2200Page;
|
|
758
|
+
/** List of images */
|
|
759
|
+
rows?: PublicImagesV2200RowsItem[];
|
|
760
|
+
};
|
|
751
761
|
/**
|
|
752
762
|
* User image
|
|
753
763
|
* @nullable
|
|
@@ -908,16 +918,6 @@ export declare type PublicImagesV2200NRows = string | number;
|
|
|
908
918
|
* Limit the number of images returned
|
|
909
919
|
*/
|
|
910
920
|
export declare type PublicImagesV2200Limit = string | number;
|
|
911
|
-
export declare type PublicImagesV2200 = {
|
|
912
|
-
/** Limit the number of images returned */
|
|
913
|
-
limit?: PublicImagesV2200Limit;
|
|
914
|
-
/** Number of images returned */
|
|
915
|
-
n_rows?: PublicImagesV2200NRows;
|
|
916
|
-
/** Page number */
|
|
917
|
-
page?: PublicImagesV2200Page;
|
|
918
|
-
/** List of images */
|
|
919
|
-
rows?: PublicImagesV2200RowsItem[];
|
|
920
|
-
};
|
|
921
921
|
export declare type PublicImagesV2Params = {
|
|
922
922
|
/**
|
|
923
923
|
* Brand identifier (e.g. bluehost).
|
|
@@ -1034,97 +1034,6 @@ export declare type HostingSitesV2200UsedSitesDetails = {
|
|
|
1034
1034
|
/** Count of staging sites on specified hosting account */
|
|
1035
1035
|
staging_sites?: number;
|
|
1036
1036
|
};
|
|
1037
|
-
/**
|
|
1038
|
-
* @nullable
|
|
1039
|
-
*/
|
|
1040
|
-
export declare type HostingSitesV2200ItemsItemWpMultiSite = {
|
|
1041
|
-
canonicalize_aliases?: boolean;
|
|
1042
|
-
enable?: boolean;
|
|
1043
|
-
} | null;
|
|
1044
|
-
/**
|
|
1045
|
-
* @nullable
|
|
1046
|
-
*/
|
|
1047
|
-
export declare type HostingSitesV2200ItemsItemStaging = {
|
|
1048
|
-
/**
|
|
1049
|
-
* Applies to staging site only; The id of the current site's parent site
|
|
1050
|
-
* @nullable
|
|
1051
|
-
*/
|
|
1052
|
-
parent_site_id?: number | null;
|
|
1053
|
-
/**
|
|
1054
|
-
* Applies to parent site only; The id of the former parent site of the current site
|
|
1055
|
-
* @nullable
|
|
1056
|
-
*/
|
|
1057
|
-
promoted_from?: number | null;
|
|
1058
|
-
/**
|
|
1059
|
-
* Applies to staging site only; The id of the parent site of the current site that is being promoted
|
|
1060
|
-
* @nullable
|
|
1061
|
-
*/
|
|
1062
|
-
promoting_from?: number | null;
|
|
1063
|
-
/**
|
|
1064
|
-
* Applies to staging site only; The derived status based on promotion ids and jobs
|
|
1065
|
-
* @nullable
|
|
1066
|
-
*/
|
|
1067
|
-
promotion_status?: string | null;
|
|
1068
|
-
/** A list of staging sites of the current site */
|
|
1069
|
-
sites?: number[];
|
|
1070
|
-
} | null;
|
|
1071
|
-
export declare type HostingSitesV2200ItemsItemResourcesStorage = {
|
|
1072
|
-
/** @nullable */
|
|
1073
|
-
available?: number | null;
|
|
1074
|
-
/** @nullable */
|
|
1075
|
-
total?: number | null;
|
|
1076
|
-
unit?: string;
|
|
1077
|
-
/** @nullable */
|
|
1078
|
-
used?: number | null;
|
|
1079
|
-
};
|
|
1080
|
-
export declare type HostingSitesV2200ItemsItemResources = {
|
|
1081
|
-
storage?: HostingSitesV2200ItemsItemResourcesStorage;
|
|
1082
|
-
/** @nullable */
|
|
1083
|
-
workers?: number | null;
|
|
1084
|
-
};
|
|
1085
|
-
/**
|
|
1086
|
-
* @nullable
|
|
1087
|
-
*/
|
|
1088
|
-
export declare type HostingSitesV2200ItemsItemPendingUrlData = {
|
|
1089
|
-
/**
|
|
1090
|
-
* The root domain name
|
|
1091
|
-
* @nullable
|
|
1092
|
-
*/
|
|
1093
|
-
base_domain?: string | null;
|
|
1094
|
-
/**
|
|
1095
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
1096
|
-
* @nullable
|
|
1097
|
-
*/
|
|
1098
|
-
domain?: string | null;
|
|
1099
|
-
/**
|
|
1100
|
-
* The current pending_url's HAL Domain ID
|
|
1101
|
-
* @nullable
|
|
1102
|
-
*/
|
|
1103
|
-
domain_id?: number | null;
|
|
1104
|
-
/** @nullable */
|
|
1105
|
-
error?: string | null;
|
|
1106
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
1107
|
-
is_temp?: boolean;
|
|
1108
|
-
/**
|
|
1109
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
1110
|
-
* @nullable
|
|
1111
|
-
*/
|
|
1112
|
-
job_failed?: boolean | null;
|
|
1113
|
-
/** @nullable */
|
|
1114
|
-
stage?: string | null;
|
|
1115
|
-
/**
|
|
1116
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
1117
|
-
* @nullable
|
|
1118
|
-
*/
|
|
1119
|
-
wp_session?: string | null;
|
|
1120
|
-
} | null;
|
|
1121
|
-
/**
|
|
1122
|
-
* Job ids for the site
|
|
1123
|
-
* @nullable
|
|
1124
|
-
*/
|
|
1125
|
-
export declare type HostingSitesV2200ItemsItemJobs = {
|
|
1126
|
-
[key: string]: unknown;
|
|
1127
|
-
} | null;
|
|
1128
1037
|
export declare type HostingSitesV2200ItemsItem = {
|
|
1129
1038
|
/** @nullable */
|
|
1130
1039
|
account_back_ref?: string | null;
|
|
@@ -1244,6 +1153,97 @@ export declare type HostingSitesV2200 = {
|
|
|
1244
1153
|
used_sites?: number;
|
|
1245
1154
|
used_sites_details?: HostingSitesV2200UsedSitesDetails;
|
|
1246
1155
|
};
|
|
1156
|
+
/**
|
|
1157
|
+
* @nullable
|
|
1158
|
+
*/
|
|
1159
|
+
export declare type HostingSitesV2200ItemsItemWpMultiSite = {
|
|
1160
|
+
canonicalize_aliases?: boolean;
|
|
1161
|
+
enable?: boolean;
|
|
1162
|
+
} | null;
|
|
1163
|
+
/**
|
|
1164
|
+
* @nullable
|
|
1165
|
+
*/
|
|
1166
|
+
export declare type HostingSitesV2200ItemsItemStaging = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Applies to staging site only; The id of the current site's parent site
|
|
1169
|
+
* @nullable
|
|
1170
|
+
*/
|
|
1171
|
+
parent_site_id?: number | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Applies to parent site only; The id of the former parent site of the current site
|
|
1174
|
+
* @nullable
|
|
1175
|
+
*/
|
|
1176
|
+
promoted_from?: number | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* Applies to staging site only; The id of the parent site of the current site that is being promoted
|
|
1179
|
+
* @nullable
|
|
1180
|
+
*/
|
|
1181
|
+
promoting_from?: number | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Applies to staging site only; The derived status based on promotion ids and jobs
|
|
1184
|
+
* @nullable
|
|
1185
|
+
*/
|
|
1186
|
+
promotion_status?: string | null;
|
|
1187
|
+
/** A list of staging sites of the current site */
|
|
1188
|
+
sites?: number[];
|
|
1189
|
+
} | null;
|
|
1190
|
+
export declare type HostingSitesV2200ItemsItemResourcesStorage = {
|
|
1191
|
+
/** @nullable */
|
|
1192
|
+
available?: number | null;
|
|
1193
|
+
/** @nullable */
|
|
1194
|
+
total?: number | null;
|
|
1195
|
+
unit?: string;
|
|
1196
|
+
/** @nullable */
|
|
1197
|
+
used?: number | null;
|
|
1198
|
+
};
|
|
1199
|
+
export declare type HostingSitesV2200ItemsItemResources = {
|
|
1200
|
+
storage?: HostingSitesV2200ItemsItemResourcesStorage;
|
|
1201
|
+
/** @nullable */
|
|
1202
|
+
workers?: number | null;
|
|
1203
|
+
};
|
|
1204
|
+
/**
|
|
1205
|
+
* @nullable
|
|
1206
|
+
*/
|
|
1207
|
+
export declare type HostingSitesV2200ItemsItemPendingUrlData = {
|
|
1208
|
+
/**
|
|
1209
|
+
* The root domain name
|
|
1210
|
+
* @nullable
|
|
1211
|
+
*/
|
|
1212
|
+
base_domain?: string | null;
|
|
1213
|
+
/**
|
|
1214
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
1215
|
+
* @nullable
|
|
1216
|
+
*/
|
|
1217
|
+
domain?: string | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* The current pending_url's HAL Domain ID
|
|
1220
|
+
* @nullable
|
|
1221
|
+
*/
|
|
1222
|
+
domain_id?: number | null;
|
|
1223
|
+
/** @nullable */
|
|
1224
|
+
error?: string | null;
|
|
1225
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
1226
|
+
is_temp?: boolean;
|
|
1227
|
+
/**
|
|
1228
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
1229
|
+
* @nullable
|
|
1230
|
+
*/
|
|
1231
|
+
job_failed?: boolean | null;
|
|
1232
|
+
/** @nullable */
|
|
1233
|
+
stage?: string | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
1236
|
+
* @nullable
|
|
1237
|
+
*/
|
|
1238
|
+
wp_session?: string | null;
|
|
1239
|
+
} | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Job ids for the site
|
|
1242
|
+
* @nullable
|
|
1243
|
+
*/
|
|
1244
|
+
export declare type HostingSitesV2200ItemsItemJobs = {
|
|
1245
|
+
[key: string]: unknown;
|
|
1246
|
+
} | null;
|
|
1247
1247
|
export declare type HostingSitesV2Params = {
|
|
1248
1248
|
limit?: number;
|
|
1249
1249
|
page?: number;
|
|
@@ -1295,6 +1295,12 @@ export declare type HostingDomainsUnassignV2Body = {
|
|
|
1295
1295
|
/** The site id to be unassigned */
|
|
1296
1296
|
site_id: number;
|
|
1297
1297
|
};
|
|
1298
|
+
export declare type HostingDomainsV2200 = {
|
|
1299
|
+
domains: HostingDomainsV2200DomainsItem[];
|
|
1300
|
+
limit?: number;
|
|
1301
|
+
page?: number;
|
|
1302
|
+
total?: number;
|
|
1303
|
+
};
|
|
1298
1304
|
/**
|
|
1299
1305
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
1300
1306
|
* @nullable
|
|
@@ -1431,12 +1437,6 @@ export declare type HostingDomainsV2200DomainsItem = {
|
|
|
1431
1437
|
*/
|
|
1432
1438
|
used_entri?: number | null;
|
|
1433
1439
|
};
|
|
1434
|
-
export declare type HostingDomainsV2200 = {
|
|
1435
|
-
domains: HostingDomainsV2200DomainsItem[];
|
|
1436
|
-
limit?: number;
|
|
1437
|
-
page?: number;
|
|
1438
|
-
total?: number;
|
|
1439
|
-
};
|
|
1440
1440
|
export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
|
|
1441
1441
|
export declare const HostingDomainsV2TypesItem: {
|
|
1442
1442
|
readonly addon: "addon";
|
|
@@ -1853,6 +1853,12 @@ export declare type UserServersParams = {
|
|
|
1853
1853
|
*/
|
|
1854
1854
|
prod_inst_id?: string | null;
|
|
1855
1855
|
};
|
|
1856
|
+
export declare type UserProservices200 = {
|
|
1857
|
+
/** Pro-services products from FG */
|
|
1858
|
+
products?: UserProservices200ProductsItem[];
|
|
1859
|
+
/** Number of pro-services products returned */
|
|
1860
|
+
total?: number;
|
|
1861
|
+
};
|
|
1856
1862
|
export declare type UserProservices200ProductsItemProductProfileOptionsItem = {
|
|
1857
1863
|
/** @nullable */
|
|
1858
1864
|
profile_option?: number | null;
|
|
@@ -1911,12 +1917,6 @@ export declare type UserProservices200ProductsItem = {
|
|
|
1911
1917
|
/** Pro-services status: Active or Completed */
|
|
1912
1918
|
status?: string;
|
|
1913
1919
|
};
|
|
1914
|
-
export declare type UserProservices200 = {
|
|
1915
|
-
/** Pro-services products from FG */
|
|
1916
|
-
products?: UserProservices200ProductsItem[];
|
|
1917
|
-
/** Number of pro-services products returned */
|
|
1918
|
-
total?: number;
|
|
1919
|
-
};
|
|
1920
1920
|
export declare type UserProducts502 = {
|
|
1921
1921
|
/** Error code */
|
|
1922
1922
|
error?: string;
|
|
@@ -2233,6 +2233,78 @@ export declare type UserHosting200RowsItemBilling = {
|
|
|
2233
2233
|
*/
|
|
2234
2234
|
prod_name?: string | null;
|
|
2235
2235
|
} | null;
|
|
2236
|
+
export declare type UserHosting200RowsItem = {
|
|
2237
|
+
/** Additional information about the account */
|
|
2238
|
+
account_info?: UserHosting200RowsItemAccountInfo;
|
|
2239
|
+
/**
|
|
2240
|
+
* HAL Account back_reference, used to link to the product instance
|
|
2241
|
+
* @nullable
|
|
2242
|
+
*/
|
|
2243
|
+
back_reference?: string | null;
|
|
2244
|
+
/**
|
|
2245
|
+
* Information from the billing system about this hosting account
|
|
2246
|
+
* @nullable
|
|
2247
|
+
*/
|
|
2248
|
+
billing?: UserHosting200RowsItemBilling;
|
|
2249
|
+
/**
|
|
2250
|
+
* Capability sites associated with the account
|
|
2251
|
+
* @nullable
|
|
2252
|
+
*/
|
|
2253
|
+
capability_sites?: string | null;
|
|
2254
|
+
/**
|
|
2255
|
+
* Feature set name ex: hosting_40s
|
|
2256
|
+
* @nullable
|
|
2257
|
+
*/
|
|
2258
|
+
feature_set?: string | null;
|
|
2259
|
+
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
2260
|
+
has_panel_mail?: boolean;
|
|
2261
|
+
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
2262
|
+
is_upgradeable?: boolean;
|
|
2263
|
+
/**
|
|
2264
|
+
* Account limits
|
|
2265
|
+
* @nullable
|
|
2266
|
+
*/
|
|
2267
|
+
limit?: UserHosting200RowsItemLimit;
|
|
2268
|
+
/**
|
|
2269
|
+
* Remote limits for the account
|
|
2270
|
+
* @nullable
|
|
2271
|
+
*/
|
|
2272
|
+
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
2273
|
+
/**
|
|
2274
|
+
* Package name
|
|
2275
|
+
* @nullable
|
|
2276
|
+
*/
|
|
2277
|
+
package?: string | null;
|
|
2278
|
+
/**
|
|
2279
|
+
* Control panel type
|
|
2280
|
+
* @nullable
|
|
2281
|
+
*/
|
|
2282
|
+
panel?: string | null;
|
|
2283
|
+
/**
|
|
2284
|
+
* Active panelemail purchase on this hosting account, if any
|
|
2285
|
+
* @nullable
|
|
2286
|
+
*/
|
|
2287
|
+
panel_mail_addon?: UserHosting200RowsItemPanelMailAddon;
|
|
2288
|
+
/**
|
|
2289
|
+
* Number of sites
|
|
2290
|
+
* @nullable
|
|
2291
|
+
*/
|
|
2292
|
+
sites?: number | null;
|
|
2293
|
+
/**
|
|
2294
|
+
* Usage statistics for non-staging sites
|
|
2295
|
+
* @nullable
|
|
2296
|
+
*/
|
|
2297
|
+
used?: UserHosting200RowsItemUsed;
|
|
2298
|
+
/**
|
|
2299
|
+
* Usage statistics for staging sites
|
|
2300
|
+
* @nullable
|
|
2301
|
+
*/
|
|
2302
|
+
used_stage?: UserHosting200RowsItemUsedStage;
|
|
2303
|
+
};
|
|
2304
|
+
export declare type UserHosting200 = {
|
|
2305
|
+
/** Information for the paginated hosting accounts */
|
|
2306
|
+
rows?: UserHosting200RowsItem[];
|
|
2307
|
+
};
|
|
2236
2308
|
/**
|
|
2237
2309
|
* Region information for the account
|
|
2238
2310
|
* @nullable
|
|
@@ -2447,78 +2519,6 @@ export declare type UserHosting200RowsItemAccountInfo = {
|
|
|
2447
2519
|
*/
|
|
2448
2520
|
username?: string | null;
|
|
2449
2521
|
};
|
|
2450
|
-
export declare type UserHosting200RowsItem = {
|
|
2451
|
-
/** Additional information about the account */
|
|
2452
|
-
account_info?: UserHosting200RowsItemAccountInfo;
|
|
2453
|
-
/**
|
|
2454
|
-
* HAL Account back_reference, used to link to the product instance
|
|
2455
|
-
* @nullable
|
|
2456
|
-
*/
|
|
2457
|
-
back_reference?: string | null;
|
|
2458
|
-
/**
|
|
2459
|
-
* Information from the billing system about this hosting account
|
|
2460
|
-
* @nullable
|
|
2461
|
-
*/
|
|
2462
|
-
billing?: UserHosting200RowsItemBilling;
|
|
2463
|
-
/**
|
|
2464
|
-
* Capability sites associated with the account
|
|
2465
|
-
* @nullable
|
|
2466
|
-
*/
|
|
2467
|
-
capability_sites?: string | null;
|
|
2468
|
-
/**
|
|
2469
|
-
* Feature set name ex: hosting_40s
|
|
2470
|
-
* @nullable
|
|
2471
|
-
*/
|
|
2472
|
-
feature_set?: string | null;
|
|
2473
|
-
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
2474
|
-
has_panel_mail?: boolean;
|
|
2475
|
-
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
2476
|
-
is_upgradeable?: boolean;
|
|
2477
|
-
/**
|
|
2478
|
-
* Account limits
|
|
2479
|
-
* @nullable
|
|
2480
|
-
*/
|
|
2481
|
-
limit?: UserHosting200RowsItemLimit;
|
|
2482
|
-
/**
|
|
2483
|
-
* Remote limits for the account
|
|
2484
|
-
* @nullable
|
|
2485
|
-
*/
|
|
2486
|
-
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
2487
|
-
/**
|
|
2488
|
-
* Package name
|
|
2489
|
-
* @nullable
|
|
2490
|
-
*/
|
|
2491
|
-
package?: string | null;
|
|
2492
|
-
/**
|
|
2493
|
-
* Control panel type
|
|
2494
|
-
* @nullable
|
|
2495
|
-
*/
|
|
2496
|
-
panel?: string | null;
|
|
2497
|
-
/**
|
|
2498
|
-
* Active panelemail purchase on this hosting account, if any
|
|
2499
|
-
* @nullable
|
|
2500
|
-
*/
|
|
2501
|
-
panel_mail_addon?: UserHosting200RowsItemPanelMailAddon;
|
|
2502
|
-
/**
|
|
2503
|
-
* Number of sites
|
|
2504
|
-
* @nullable
|
|
2505
|
-
*/
|
|
2506
|
-
sites?: number | null;
|
|
2507
|
-
/**
|
|
2508
|
-
* Usage statistics for non-staging sites
|
|
2509
|
-
* @nullable
|
|
2510
|
-
*/
|
|
2511
|
-
used?: UserHosting200RowsItemUsed;
|
|
2512
|
-
/**
|
|
2513
|
-
* Usage statistics for staging sites
|
|
2514
|
-
* @nullable
|
|
2515
|
-
*/
|
|
2516
|
-
used_stage?: UserHosting200RowsItemUsedStage;
|
|
2517
|
-
};
|
|
2518
|
-
export declare type UserHosting200 = {
|
|
2519
|
-
/** Information for the paginated hosting accounts */
|
|
2520
|
-
rows?: UserHosting200RowsItem[];
|
|
2521
|
-
};
|
|
2522
2522
|
export declare type UserHostingParams = {
|
|
2523
2523
|
/**
|
|
2524
2524
|
* Starting page for pagination (default: 1)
|
|
@@ -2957,9 +2957,6 @@ export declare type SiteQualityMetrics200Audits = {
|
|
|
2957
2957
|
export declare type SiteQualityMetrics200AspectScores = {
|
|
2958
2958
|
performance?: number;
|
|
2959
2959
|
};
|
|
2960
|
-
export declare type SiteQualityMetrics200AspectDetails = {
|
|
2961
|
-
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
2962
|
-
};
|
|
2963
2960
|
export declare type SiteQualityMetrics200 = {
|
|
2964
2961
|
aspect_details: SiteQualityMetrics200AspectDetails;
|
|
2965
2962
|
aspect_scores: SiteQualityMetrics200AspectScores;
|
|
@@ -2990,6 +2987,9 @@ export declare type SiteQualityMetrics200AspectDetailsPerformance = {
|
|
|
2990
2987
|
'speed-index'?: SiteQualityMetrics200AspectDetailsPerformanceSpeedIndex;
|
|
2991
2988
|
'total-blocking-time'?: SiteQualityMetrics200AspectDetailsPerformanceTotalBlockingTime;
|
|
2992
2989
|
};
|
|
2990
|
+
export declare type SiteQualityMetrics200AspectDetails = {
|
|
2991
|
+
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
2992
|
+
};
|
|
2993
2993
|
export declare type SiteQualityMetricsStrategy = typeof SiteQualityMetricsStrategy[keyof typeof SiteQualityMetricsStrategy];
|
|
2994
2994
|
export declare const SiteQualityMetricsStrategy: {
|
|
2995
2995
|
readonly MOBILE: "MOBILE";
|
|
@@ -3698,6 +3698,10 @@ export declare type SitesAtomicMetrics200Views = {
|
|
|
3698
3698
|
last_n_days?: SitesAtomicMetrics200ViewsLastNDaysItem[];
|
|
3699
3699
|
total_hits?: number;
|
|
3700
3700
|
};
|
|
3701
|
+
export declare type SitesAtomicMetrics200 = {
|
|
3702
|
+
raw?: SitesAtomicMetrics200Raw;
|
|
3703
|
+
views?: SitesAtomicMetrics200Views;
|
|
3704
|
+
};
|
|
3701
3705
|
export declare type SitesAtomicMetrics200RawPeriodsItemDimension = {
|
|
3702
3706
|
[key: string]: string | number | number;
|
|
3703
3707
|
};
|
|
@@ -3715,10 +3719,6 @@ export declare type SitesAtomicMetrics200Raw = {
|
|
|
3715
3719
|
periods?: SitesAtomicMetrics200RawPeriodsItem[];
|
|
3716
3720
|
resolution?: number;
|
|
3717
3721
|
};
|
|
3718
|
-
export declare type SitesAtomicMetrics200 = {
|
|
3719
|
-
raw?: SitesAtomicMetrics200Raw;
|
|
3720
|
-
views?: SitesAtomicMetrics200Views;
|
|
3721
|
-
};
|
|
3722
3722
|
export declare type SitesAtomicMetricsParams = {
|
|
3723
3723
|
metric?: string[];
|
|
3724
3724
|
dimension?: string[];
|
|
@@ -3797,84 +3797,19 @@ export declare type SitesInfo200Staging = {
|
|
|
3797
3797
|
* Applies to parent site only; The id of the former parent site of the current site
|
|
3798
3798
|
* @nullable
|
|
3799
3799
|
*/
|
|
3800
|
-
promoted_from?: number | null;
|
|
3801
|
-
/**
|
|
3802
|
-
* Applies to staging site only; The id of the parent site of the current site that is being promoted
|
|
3803
|
-
* @nullable
|
|
3804
|
-
*/
|
|
3805
|
-
promoting_from?: number | null;
|
|
3806
|
-
/**
|
|
3807
|
-
* Applies to staging site only; The derived status based on promotion ids and jobs
|
|
3808
|
-
* @nullable
|
|
3809
|
-
*/
|
|
3810
|
-
promotion_status?: string | null;
|
|
3811
|
-
/** A list of staging sites of the current site */
|
|
3812
|
-
sites?: number[];
|
|
3813
|
-
} | null;
|
|
3814
|
-
export declare type SitesInfo200ResourcesStorage = {
|
|
3815
|
-
/** @nullable */
|
|
3816
|
-
available?: number | null;
|
|
3817
|
-
/** @nullable */
|
|
3818
|
-
total?: number | null;
|
|
3819
|
-
unit?: string;
|
|
3820
|
-
/** @nullable */
|
|
3821
|
-
used?: number | null;
|
|
3822
|
-
};
|
|
3823
|
-
export declare type SitesInfo200Resources = {
|
|
3824
|
-
storage?: SitesInfo200ResourcesStorage;
|
|
3825
|
-
/** @nullable */
|
|
3826
|
-
workers?: number | null;
|
|
3827
|
-
};
|
|
3828
|
-
/**
|
|
3829
|
-
* @nullable
|
|
3830
|
-
*/
|
|
3831
|
-
export declare type SitesInfo200PendingUrlData = {
|
|
3832
|
-
/**
|
|
3833
|
-
* The root domain name
|
|
3834
|
-
* @nullable
|
|
3835
|
-
*/
|
|
3836
|
-
base_domain?: string | null;
|
|
3837
|
-
/**
|
|
3838
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
3839
|
-
* @nullable
|
|
3840
|
-
*/
|
|
3841
|
-
domain?: string | null;
|
|
3842
|
-
/**
|
|
3843
|
-
* The current pending_url's HAL Domain ID
|
|
3844
|
-
* @nullable
|
|
3845
|
-
*/
|
|
3846
|
-
domain_id?: number | null;
|
|
3847
|
-
/** @nullable */
|
|
3848
|
-
error?: string | null;
|
|
3849
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
3850
|
-
is_temp?: boolean;
|
|
3851
|
-
/**
|
|
3852
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
3853
|
-
* @nullable
|
|
3854
|
-
*/
|
|
3855
|
-
job_failed?: boolean | null;
|
|
3856
|
-
/** @nullable */
|
|
3857
|
-
stage?: string | null;
|
|
3858
|
-
/**
|
|
3859
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
3860
|
-
* @nullable
|
|
3861
|
-
*/
|
|
3862
|
-
wp_session?: string | null;
|
|
3863
|
-
} | null;
|
|
3864
|
-
/**
|
|
3865
|
-
* @nullable
|
|
3866
|
-
*/
|
|
3867
|
-
export declare type SitesInfo200Pagespeed = {
|
|
3868
|
-
lastrun?: string;
|
|
3869
|
-
performance?: string;
|
|
3870
|
-
strategy?: string;
|
|
3871
|
-
} | null;
|
|
3872
|
-
/**
|
|
3873
|
-
* Job ids for the site
|
|
3874
|
-
* @nullable
|
|
3875
|
-
*/
|
|
3876
|
-
export declare type SitesInfo200Jobs = {
|
|
3877
|
-
[key: string]: unknown;
|
|
3800
|
+
promoted_from?: number | null;
|
|
3801
|
+
/**
|
|
3802
|
+
* Applies to staging site only; The id of the parent site of the current site that is being promoted
|
|
3803
|
+
* @nullable
|
|
3804
|
+
*/
|
|
3805
|
+
promoting_from?: number | null;
|
|
3806
|
+
/**
|
|
3807
|
+
* Applies to staging site only; The derived status based on promotion ids and jobs
|
|
3808
|
+
* @nullable
|
|
3809
|
+
*/
|
|
3810
|
+
promotion_status?: string | null;
|
|
3811
|
+
/** A list of staging sites of the current site */
|
|
3812
|
+
sites?: number[];
|
|
3878
3813
|
} | null;
|
|
3879
3814
|
export declare type SitesInfo200 = {
|
|
3880
3815
|
/** @nullable */
|
|
@@ -3974,6 +3909,71 @@ export declare type SitesInfo200 = {
|
|
|
3974
3909
|
/** @nullable */
|
|
3975
3910
|
wp_multi_site?: SitesInfo200WpMultiSite;
|
|
3976
3911
|
};
|
|
3912
|
+
export declare type SitesInfo200ResourcesStorage = {
|
|
3913
|
+
/** @nullable */
|
|
3914
|
+
available?: number | null;
|
|
3915
|
+
/** @nullable */
|
|
3916
|
+
total?: number | null;
|
|
3917
|
+
unit?: string;
|
|
3918
|
+
/** @nullable */
|
|
3919
|
+
used?: number | null;
|
|
3920
|
+
};
|
|
3921
|
+
export declare type SitesInfo200Resources = {
|
|
3922
|
+
storage?: SitesInfo200ResourcesStorage;
|
|
3923
|
+
/** @nullable */
|
|
3924
|
+
workers?: number | null;
|
|
3925
|
+
};
|
|
3926
|
+
/**
|
|
3927
|
+
* @nullable
|
|
3928
|
+
*/
|
|
3929
|
+
export declare type SitesInfo200PendingUrlData = {
|
|
3930
|
+
/**
|
|
3931
|
+
* The root domain name
|
|
3932
|
+
* @nullable
|
|
3933
|
+
*/
|
|
3934
|
+
base_domain?: string | null;
|
|
3935
|
+
/**
|
|
3936
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
3937
|
+
* @nullable
|
|
3938
|
+
*/
|
|
3939
|
+
domain?: string | null;
|
|
3940
|
+
/**
|
|
3941
|
+
* The current pending_url's HAL Domain ID
|
|
3942
|
+
* @nullable
|
|
3943
|
+
*/
|
|
3944
|
+
domain_id?: number | null;
|
|
3945
|
+
/** @nullable */
|
|
3946
|
+
error?: string | null;
|
|
3947
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
3948
|
+
is_temp?: boolean;
|
|
3949
|
+
/**
|
|
3950
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
3951
|
+
* @nullable
|
|
3952
|
+
*/
|
|
3953
|
+
job_failed?: boolean | null;
|
|
3954
|
+
/** @nullable */
|
|
3955
|
+
stage?: string | null;
|
|
3956
|
+
/**
|
|
3957
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
3958
|
+
* @nullable
|
|
3959
|
+
*/
|
|
3960
|
+
wp_session?: string | null;
|
|
3961
|
+
} | null;
|
|
3962
|
+
/**
|
|
3963
|
+
* @nullable
|
|
3964
|
+
*/
|
|
3965
|
+
export declare type SitesInfo200Pagespeed = {
|
|
3966
|
+
lastrun?: string;
|
|
3967
|
+
performance?: string;
|
|
3968
|
+
strategy?: string;
|
|
3969
|
+
} | null;
|
|
3970
|
+
/**
|
|
3971
|
+
* Job ids for the site
|
|
3972
|
+
* @nullable
|
|
3973
|
+
*/
|
|
3974
|
+
export declare type SitesInfo200Jobs = {
|
|
3975
|
+
[key: string]: unknown;
|
|
3976
|
+
} | null;
|
|
3977
3977
|
export declare type AccountPurchaseOrder404 = {
|
|
3978
3978
|
/** Customer error code */
|
|
3979
3979
|
error?: string;
|
|
@@ -4107,6 +4107,9 @@ export declare type AccountPurchaseProducts400 = {
|
|
|
4107
4107
|
/** Customer error code */
|
|
4108
4108
|
error?: string;
|
|
4109
4109
|
};
|
|
4110
|
+
export declare type AccountPurchaseProducts200 = {
|
|
4111
|
+
products?: AccountPurchaseProducts200ProductsItem[];
|
|
4112
|
+
};
|
|
4110
4113
|
export declare type AccountPurchaseProducts200ProductsItemTermsItem = {
|
|
4111
4114
|
base_price?: string;
|
|
4112
4115
|
final_price?: string;
|
|
@@ -4117,6 +4120,7 @@ export declare type AccountPurchaseProducts200ProductsItemTermsItem = {
|
|
|
4117
4120
|
tax_amount?: string | null;
|
|
4118
4121
|
term_quantity?: number;
|
|
4119
4122
|
term_unit?: number;
|
|
4123
|
+
/** Human-readable billing term unit (e.g. month, year) */
|
|
4120
4124
|
term_unit_description?: string;
|
|
4121
4125
|
/**
|
|
4122
4126
|
* Tax-inclusive total (discounted price + tax_amount), from live PG pricing
|
|
@@ -4124,6 +4128,14 @@ export declare type AccountPurchaseProducts200ProductsItemTermsItem = {
|
|
|
4124
4128
|
*/
|
|
4125
4129
|
total_price?: string | null;
|
|
4126
4130
|
};
|
|
4131
|
+
export declare type AccountPurchaseProducts200ProductsItemSpecs = {
|
|
4132
|
+
/** Bandwidth allocation (e.g. unmetered) */
|
|
4133
|
+
bandwidth?: string;
|
|
4134
|
+
nvme_storage_gb?: number;
|
|
4135
|
+
ram_gb?: number;
|
|
4136
|
+
ram_type?: string;
|
|
4137
|
+
vcpu_cores?: number;
|
|
4138
|
+
};
|
|
4127
4139
|
export declare type AccountPurchaseProducts200ProductsItem = {
|
|
4128
4140
|
currency_code?: string;
|
|
4129
4141
|
currency_symbol?: string;
|
|
@@ -4133,17 +4145,6 @@ export declare type AccountPurchaseProducts200ProductsItem = {
|
|
|
4133
4145
|
specs?: AccountPurchaseProducts200ProductsItemSpecs;
|
|
4134
4146
|
terms?: AccountPurchaseProducts200ProductsItemTermsItem[];
|
|
4135
4147
|
};
|
|
4136
|
-
export declare type AccountPurchaseProducts200 = {
|
|
4137
|
-
products?: AccountPurchaseProducts200ProductsItem[];
|
|
4138
|
-
};
|
|
4139
|
-
export declare type AccountPurchaseProducts200ProductsItemSpecs = {
|
|
4140
|
-
/** Bandwidth allocation (e.g. unmetered) */
|
|
4141
|
-
bandwidth?: string;
|
|
4142
|
-
nvme_storage_gb?: number;
|
|
4143
|
-
ram_gb?: number;
|
|
4144
|
-
ram_type?: string;
|
|
4145
|
-
vcpu_cores?: number;
|
|
4146
|
-
};
|
|
4147
4148
|
export declare type PublicRegions200RowsItem = {
|
|
4148
4149
|
/**
|
|
4149
4150
|
* Hosting region city
|
|
@@ -4210,6 +4211,16 @@ export declare type PublicRegions200 = {
|
|
|
4210
4211
|
/** List of regions */
|
|
4211
4212
|
rows?: PublicRegions200RowsItem[];
|
|
4212
4213
|
};
|
|
4214
|
+
export declare type PublicImages200 = {
|
|
4215
|
+
/** Limit the number of images returned */
|
|
4216
|
+
limit?: PublicImages200Limit;
|
|
4217
|
+
/** Number of images returned */
|
|
4218
|
+
n_rows?: PublicImages200NRows;
|
|
4219
|
+
/** Page number */
|
|
4220
|
+
page?: PublicImages200Page;
|
|
4221
|
+
/** List of images */
|
|
4222
|
+
rows?: PublicImages200RowsItem[];
|
|
4223
|
+
};
|
|
4213
4224
|
/**
|
|
4214
4225
|
* Links
|
|
4215
4226
|
* @nullable
|
|
@@ -4365,16 +4376,6 @@ export declare type PublicImages200NRows = string | number;
|
|
|
4365
4376
|
* Limit the number of images returned
|
|
4366
4377
|
*/
|
|
4367
4378
|
export declare type PublicImages200Limit = string | number;
|
|
4368
|
-
export declare type PublicImages200 = {
|
|
4369
|
-
/** Limit the number of images returned */
|
|
4370
|
-
limit?: PublicImages200Limit;
|
|
4371
|
-
/** Number of images returned */
|
|
4372
|
-
n_rows?: PublicImages200NRows;
|
|
4373
|
-
/** Page number */
|
|
4374
|
-
page?: PublicImages200Page;
|
|
4375
|
-
/** List of images */
|
|
4376
|
-
rows?: PublicImages200RowsItem[];
|
|
4377
|
-
};
|
|
4378
4379
|
export declare type PublicImagesParams = {
|
|
4379
4380
|
/**
|
|
4380
4381
|
* Brand identifier (e.g. bluehost).
|
|
@@ -4740,9 +4741,6 @@ export declare type HostingRedirects200Item = {
|
|
|
4740
4741
|
url?: string;
|
|
4741
4742
|
wildcard?: boolean;
|
|
4742
4743
|
};
|
|
4743
|
-
export declare type ProductLicenseDetails200 = {
|
|
4744
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4745
|
-
};
|
|
4746
4744
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
4747
4745
|
expirationDate?: string;
|
|
4748
4746
|
prodInstId?: string;
|
|
@@ -4756,6 +4754,9 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
4756
4754
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
4757
4755
|
total?: number;
|
|
4758
4756
|
};
|
|
4757
|
+
export declare type ProductLicenseDetails200 = {
|
|
4758
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4759
|
+
};
|
|
4759
4760
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
4760
4761
|
export declare const ProductLicenseDetailsProductName: {
|
|
4761
4762
|
readonly wpsolution: "wpsolution";
|
|
@@ -7025,28 +7026,6 @@ export declare type ActivityLog200 = {
|
|
|
7025
7026
|
export declare type ActivityLogParams = {
|
|
7026
7027
|
days?: number;
|
|
7027
7028
|
};
|
|
7028
|
-
export declare type HostingAccount200 = {
|
|
7029
|
-
account_id?: string;
|
|
7030
|
-
account_limits?: HostingAccount200AccountLimits;
|
|
7031
|
-
/** The timestamp that the hosting addon was created */
|
|
7032
|
-
addon_date_added?: string;
|
|
7033
|
-
advanced?: boolean;
|
|
7034
|
-
billing?: HostingAccount200Billing;
|
|
7035
|
-
brand?: string;
|
|
7036
|
-
id?: string;
|
|
7037
|
-
panel?: string;
|
|
7038
|
-
plan_key?: string;
|
|
7039
|
-
platform?: string;
|
|
7040
|
-
/** @nullable */
|
|
7041
|
-
resources?: HostingAccount200Resources;
|
|
7042
|
-
/** @nullable */
|
|
7043
|
-
server_status?: string | null;
|
|
7044
|
-
/** @nullable */
|
|
7045
|
-
ssh_hostname?: string | null;
|
|
7046
|
-
status?: string;
|
|
7047
|
-
type?: string;
|
|
7048
|
-
username?: string;
|
|
7049
|
-
};
|
|
7050
7029
|
export declare type HostingAccount200ResourcesWorkers = {
|
|
7051
7030
|
/** @nullable */
|
|
7052
7031
|
available?: number | null;
|
|
@@ -7080,6 +7059,41 @@ export declare type HostingAccount200ResourcesStorage = {
|
|
|
7080
7059
|
/** @nullable */
|
|
7081
7060
|
used?: number | null;
|
|
7082
7061
|
};
|
|
7062
|
+
/**
|
|
7063
|
+
* @nullable
|
|
7064
|
+
*/
|
|
7065
|
+
export declare type HostingAccount200Resources = {
|
|
7066
|
+
staging?: HostingAccount200ResourcesStaging;
|
|
7067
|
+
storage?: HostingAccount200ResourcesStorage;
|
|
7068
|
+
/**
|
|
7069
|
+
* Usage statistics for non-staging sites
|
|
7070
|
+
* @nullable
|
|
7071
|
+
*/
|
|
7072
|
+
used?: HostingAccount200ResourcesUsed;
|
|
7073
|
+
workers?: HostingAccount200ResourcesWorkers;
|
|
7074
|
+
} | null;
|
|
7075
|
+
export declare type HostingAccount200 = {
|
|
7076
|
+
account_id?: string;
|
|
7077
|
+
account_limits?: HostingAccount200AccountLimits;
|
|
7078
|
+
/** The timestamp that the hosting addon was created */
|
|
7079
|
+
addon_date_added?: string;
|
|
7080
|
+
advanced?: boolean;
|
|
7081
|
+
billing?: HostingAccount200Billing;
|
|
7082
|
+
brand?: string;
|
|
7083
|
+
id?: string;
|
|
7084
|
+
panel?: string;
|
|
7085
|
+
plan_key?: string;
|
|
7086
|
+
platform?: string;
|
|
7087
|
+
/** @nullable */
|
|
7088
|
+
resources?: HostingAccount200Resources;
|
|
7089
|
+
/** @nullable */
|
|
7090
|
+
server_status?: string | null;
|
|
7091
|
+
/** @nullable */
|
|
7092
|
+
ssh_hostname?: string | null;
|
|
7093
|
+
status?: string;
|
|
7094
|
+
type?: string;
|
|
7095
|
+
username?: string;
|
|
7096
|
+
};
|
|
7083
7097
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
7084
7098
|
/** @nullable */
|
|
7085
7099
|
available?: number | null;
|
|
@@ -7101,19 +7115,6 @@ export declare type HostingAccount200ResourcesStaging = {
|
|
|
7101
7115
|
storage?: HostingAccount200ResourcesStagingStorage;
|
|
7102
7116
|
workers?: HostingAccount200ResourcesStagingWorkers;
|
|
7103
7117
|
};
|
|
7104
|
-
/**
|
|
7105
|
-
* @nullable
|
|
7106
|
-
*/
|
|
7107
|
-
export declare type HostingAccount200Resources = {
|
|
7108
|
-
staging?: HostingAccount200ResourcesStaging;
|
|
7109
|
-
storage?: HostingAccount200ResourcesStorage;
|
|
7110
|
-
/**
|
|
7111
|
-
* Usage statistics for non-staging sites
|
|
7112
|
-
* @nullable
|
|
7113
|
-
*/
|
|
7114
|
-
used?: HostingAccount200ResourcesUsed;
|
|
7115
|
-
workers?: HostingAccount200ResourcesWorkers;
|
|
7116
|
-
} | null;
|
|
7117
7118
|
export declare type HostingAccount200Billing = {
|
|
7118
7119
|
prod_code?: string;
|
|
7119
7120
|
product_name?: string;
|
|
@@ -7214,12 +7215,97 @@ export declare type DomainHealth200 = {
|
|
|
7214
7215
|
source_timings?: DomainHealth200SourceTimings;
|
|
7215
7216
|
/** @nullable */
|
|
7216
7217
|
sources?: DomainHealth200Sources;
|
|
7218
|
+
/** @nullable */
|
|
7219
|
+
ssl?: DomainHealth200Ssl;
|
|
7220
|
+
};
|
|
7221
|
+
/**
|
|
7222
|
+
* @nullable
|
|
7223
|
+
*/
|
|
7224
|
+
export declare type DomainHealth200SslChecksItemObserved = {
|
|
7225
|
+
/**
|
|
7226
|
+
* HTTP status code observed during check
|
|
7227
|
+
* @nullable
|
|
7228
|
+
*/
|
|
7229
|
+
http_status?: string | null;
|
|
7217
7230
|
/**
|
|
7218
|
-
*
|
|
7231
|
+
* Certificate expiry datetime observed during check
|
|
7219
7232
|
* @nullable
|
|
7220
7233
|
*/
|
|
7221
|
-
|
|
7234
|
+
not_after?: string | null;
|
|
7235
|
+
} | null;
|
|
7236
|
+
export declare type DomainHealth200SslChecksItem = {
|
|
7237
|
+
code?: string;
|
|
7238
|
+
hostname?: string;
|
|
7239
|
+
name?: string;
|
|
7240
|
+
/** @nullable */
|
|
7241
|
+
observed?: DomainHealth200SslChecksItemObserved;
|
|
7242
|
+
severity?: string;
|
|
7243
|
+
status?: string;
|
|
7222
7244
|
};
|
|
7245
|
+
/**
|
|
7246
|
+
* @nullable
|
|
7247
|
+
*/
|
|
7248
|
+
export declare type DomainHealth200SslCertificate = {
|
|
7249
|
+
/**
|
|
7250
|
+
* SSL certificate issuer
|
|
7251
|
+
* @nullable
|
|
7252
|
+
*/
|
|
7253
|
+
issuer?: string | null;
|
|
7254
|
+
/**
|
|
7255
|
+
* SSL certificate expiry datetime
|
|
7256
|
+
* @nullable
|
|
7257
|
+
*/
|
|
7258
|
+
not_after?: string | null;
|
|
7259
|
+
/**
|
|
7260
|
+
* Whether an SSL certificate is present
|
|
7261
|
+
* @nullable
|
|
7262
|
+
*/
|
|
7263
|
+
present?: boolean | null;
|
|
7264
|
+
/**
|
|
7265
|
+
* SSL certificate type
|
|
7266
|
+
* @nullable
|
|
7267
|
+
*/
|
|
7268
|
+
ssl_type?: string | null;
|
|
7269
|
+
} | null;
|
|
7270
|
+
/**
|
|
7271
|
+
* @nullable
|
|
7272
|
+
*/
|
|
7273
|
+
export declare type DomainHealth200Ssl = {
|
|
7274
|
+
/**
|
|
7275
|
+
* SSL alignment status: aligned, misaligned, partial, propagating, unknown, error
|
|
7276
|
+
* @nullable
|
|
7277
|
+
*/
|
|
7278
|
+
alignment_status?: string | null;
|
|
7279
|
+
/** @nullable */
|
|
7280
|
+
certificate?: DomainHealth200SslCertificate;
|
|
7281
|
+
/**
|
|
7282
|
+
* Whether SSL was checked
|
|
7283
|
+
* @nullable
|
|
7284
|
+
*/
|
|
7285
|
+
checked?: boolean | null;
|
|
7286
|
+
/** @nullable */
|
|
7287
|
+
checks?: DomainHealth200SslChecksItem[] | null;
|
|
7288
|
+
/**
|
|
7289
|
+
* SSL primary issue code
|
|
7290
|
+
* @nullable
|
|
7291
|
+
*/
|
|
7292
|
+
primary_issue_code?: string | null;
|
|
7293
|
+
/**
|
|
7294
|
+
* SSL severity: critical, high, medium, low, info
|
|
7295
|
+
* @nullable
|
|
7296
|
+
*/
|
|
7297
|
+
severity?: string | null;
|
|
7298
|
+
/**
|
|
7299
|
+
* Reason SSL check was skipped
|
|
7300
|
+
* @nullable
|
|
7301
|
+
*/
|
|
7302
|
+
skip_reason?: string | null;
|
|
7303
|
+
/**
|
|
7304
|
+
* Whether SSL check was skipped
|
|
7305
|
+
* @nullable
|
|
7306
|
+
*/
|
|
7307
|
+
skipped?: boolean | null;
|
|
7308
|
+
} | null;
|
|
7223
7309
|
export declare type DomainHealth200SourcesZoneXns = {
|
|
7224
7310
|
[key: string]: unknown;
|
|
7225
7311
|
};
|
|
@@ -7327,6 +7413,7 @@ export declare const DomainHealthChecksItem: {
|
|
|
7327
7413
|
readonly email: "email";
|
|
7328
7414
|
readonly ssl_prereq: "ssl_prereq";
|
|
7329
7415
|
readonly cdn: "cdn";
|
|
7416
|
+
readonly ssl: "ssl";
|
|
7330
7417
|
};
|
|
7331
7418
|
export declare type DomainHealthParams = {
|
|
7332
7419
|
/**
|
package/src/index.schemas.js
CHANGED