hostinger-api-sdk 1.65.0 → 1.67.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/README.md +2 -2
- package/api.ts +918 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +707 -1
- package/dist/api.js +421 -13
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +707 -1
- package/dist/esm/api.js +397 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentReadinessChecksApi.md +54 -0
- package/docs/AgentReadinessScansApi.md +117 -0
- package/docs/AgentReadinessV1ChecksCheckResource.md +28 -0
- package/docs/AgentReadinessV1ScansCategoriesResource.md +32 -0
- package/docs/AgentReadinessV1ScansCategoryScoreResource.md +26 -0
- package/docs/AgentReadinessV1ScansCheckResultResource.md +32 -0
- package/docs/AgentReadinessV1ScansRunScanRequest.md +20 -0
- package/docs/AgentReadinessV1ScansScanResource.md +40 -0
- package/docs/HostingHeadlessApi.md +63 -0
- package/docs/HostingV1HeadlessAgentReportResource.md +24 -0
- package/docs/HostingV1HeadlessStoreAgentReportRequest.md +45 -0
- package/docs/HostingV1HeadlessStoreAgentReportRequestConsent.md +23 -0
- package/docs/HostingV1HeadlessStoreAgentReportRequestInfo.md +25 -0
- package/docs/HostingV1HeadlessStoreAgentReportRequestRun.md +27 -0
- package/docs/HostingV1HeadlessStoreAgentReportRequestTiming.md +27 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.67.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1950,6 +1950,272 @@ export interface AgencyHostingV1WordPressVersionResource {
|
|
|
1950
1950
|
*/
|
|
1951
1951
|
'version': string;
|
|
1952
1952
|
}
|
|
1953
|
+
/**
|
|
1954
|
+
*
|
|
1955
|
+
* @export
|
|
1956
|
+
* @interface AgentReadinessV1ChecksCheckResource
|
|
1957
|
+
*/
|
|
1958
|
+
export interface AgentReadinessV1ChecksCheckResource {
|
|
1959
|
+
/**
|
|
1960
|
+
* Check ID, as used by `check_id` in scan results
|
|
1961
|
+
* @type {string}
|
|
1962
|
+
* @memberof AgentReadinessV1ChecksCheckResource
|
|
1963
|
+
*/
|
|
1964
|
+
'id': string;
|
|
1965
|
+
/**
|
|
1966
|
+
* Human-readable check name
|
|
1967
|
+
* @type {string}
|
|
1968
|
+
* @memberof AgentReadinessV1ChecksCheckResource
|
|
1969
|
+
*/
|
|
1970
|
+
'name': string;
|
|
1971
|
+
/**
|
|
1972
|
+
* Category the check belongs to
|
|
1973
|
+
* @type {string}
|
|
1974
|
+
* @memberof AgentReadinessV1ChecksCheckResource
|
|
1975
|
+
*/
|
|
1976
|
+
'category': string;
|
|
1977
|
+
/**
|
|
1978
|
+
* Human-readable category name
|
|
1979
|
+
* @type {string}
|
|
1980
|
+
* @memberof AgentReadinessV1ChecksCheckResource
|
|
1981
|
+
*/
|
|
1982
|
+
'category_label': string;
|
|
1983
|
+
/**
|
|
1984
|
+
* Points this check can earn
|
|
1985
|
+
* @type {number}
|
|
1986
|
+
* @memberof AgentReadinessV1ChecksCheckResource
|
|
1987
|
+
*/
|
|
1988
|
+
'weight': number;
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
*
|
|
1992
|
+
* @export
|
|
1993
|
+
* @interface AgentReadinessV1ScansCategoriesResource
|
|
1994
|
+
*/
|
|
1995
|
+
export interface AgentReadinessV1ScansCategoriesResource {
|
|
1996
|
+
/**
|
|
1997
|
+
*
|
|
1998
|
+
* @type {AgentReadinessV1ScansCategoryScoreResource}
|
|
1999
|
+
* @memberof AgentReadinessV1ScansCategoriesResource
|
|
2000
|
+
*/
|
|
2001
|
+
'crawl_permission': AgentReadinessV1ScansCategoryScoreResource;
|
|
2002
|
+
/**
|
|
2003
|
+
*
|
|
2004
|
+
* @type {AgentReadinessV1ScansCategoryScoreResource}
|
|
2005
|
+
* @memberof AgentReadinessV1ScansCategoriesResource
|
|
2006
|
+
*/
|
|
2007
|
+
'findability': AgentReadinessV1ScansCategoryScoreResource;
|
|
2008
|
+
/**
|
|
2009
|
+
*
|
|
2010
|
+
* @type {AgentReadinessV1ScansCategoryScoreResource}
|
|
2011
|
+
* @memberof AgentReadinessV1ScansCategoriesResource
|
|
2012
|
+
*/
|
|
2013
|
+
'readability': AgentReadinessV1ScansCategoryScoreResource;
|
|
2014
|
+
/**
|
|
2015
|
+
*
|
|
2016
|
+
* @type {AgentReadinessV1ScansCategoryScoreResource}
|
|
2017
|
+
* @memberof AgentReadinessV1ScansCategoriesResource
|
|
2018
|
+
*/
|
|
2019
|
+
'structured_meaning': AgentReadinessV1ScansCategoryScoreResource;
|
|
2020
|
+
/**
|
|
2021
|
+
*
|
|
2022
|
+
* @type {AgentReadinessV1ScansCategoryScoreResource}
|
|
2023
|
+
* @memberof AgentReadinessV1ScansCategoriesResource
|
|
2024
|
+
*/
|
|
2025
|
+
'commercial_legibility': AgentReadinessV1ScansCategoryScoreResource;
|
|
2026
|
+
/**
|
|
2027
|
+
*
|
|
2028
|
+
* @type {AgentReadinessV1ScansCategoryScoreResource}
|
|
2029
|
+
* @memberof AgentReadinessV1ScansCategoriesResource
|
|
2030
|
+
*/
|
|
2031
|
+
'agent_native_content': AgentReadinessV1ScansCategoryScoreResource;
|
|
2032
|
+
/**
|
|
2033
|
+
*
|
|
2034
|
+
* @type {AgentReadinessV1ScansCategoryScoreResource}
|
|
2035
|
+
* @memberof AgentReadinessV1ScansCategoriesResource
|
|
2036
|
+
*/
|
|
2037
|
+
'agent_interaction': AgentReadinessV1ScansCategoryScoreResource;
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
*
|
|
2041
|
+
* @export
|
|
2042
|
+
* @interface AgentReadinessV1ScansCategoryScoreResource
|
|
2043
|
+
*/
|
|
2044
|
+
export interface AgentReadinessV1ScansCategoryScoreResource {
|
|
2045
|
+
/**
|
|
2046
|
+
* Points this category contributes to the 0-100 total score
|
|
2047
|
+
* @type {number}
|
|
2048
|
+
* @memberof AgentReadinessV1ScansCategoryScoreResource
|
|
2049
|
+
*/
|
|
2050
|
+
'score': number;
|
|
2051
|
+
/**
|
|
2052
|
+
* Maximum points this category can contribute
|
|
2053
|
+
* @type {number}
|
|
2054
|
+
* @memberof AgentReadinessV1ScansCategoryScoreResource
|
|
2055
|
+
*/
|
|
2056
|
+
'weight': number;
|
|
2057
|
+
/**
|
|
2058
|
+
* Points earned by the counted checks in this category
|
|
2059
|
+
* @type {number}
|
|
2060
|
+
* @memberof AgentReadinessV1ScansCategoryScoreResource
|
|
2061
|
+
*/
|
|
2062
|
+
'earned': number;
|
|
2063
|
+
/**
|
|
2064
|
+
* Points possible for the counted checks in this category
|
|
2065
|
+
* @type {number}
|
|
2066
|
+
* @memberof AgentReadinessV1ScansCategoryScoreResource
|
|
2067
|
+
*/
|
|
2068
|
+
'possible': number;
|
|
2069
|
+
}
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @export
|
|
2073
|
+
* @interface AgentReadinessV1ScansCheckResultResource
|
|
2074
|
+
*/
|
|
2075
|
+
export interface AgentReadinessV1ScansCheckResultResource {
|
|
2076
|
+
/**
|
|
2077
|
+
* Check ID, as listed by the `List checks` operation
|
|
2078
|
+
* @type {string}
|
|
2079
|
+
* @memberof AgentReadinessV1ScansCheckResultResource
|
|
2080
|
+
*/
|
|
2081
|
+
'check_id': string;
|
|
2082
|
+
/**
|
|
2083
|
+
* Category the check belongs to
|
|
2084
|
+
* @type {string}
|
|
2085
|
+
* @memberof AgentReadinessV1ScansCheckResultResource
|
|
2086
|
+
*/
|
|
2087
|
+
'category': string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Check outcome. `not_applicable` and `error` checks do not count towards the category score.
|
|
2090
|
+
* @type {string}
|
|
2091
|
+
* @memberof AgentReadinessV1ScansCheckResultResource
|
|
2092
|
+
*/
|
|
2093
|
+
'status': AgentReadinessV1ScansCheckResultResourceStatusEnum;
|
|
2094
|
+
/**
|
|
2095
|
+
* Points earned by this check
|
|
2096
|
+
* @type {number}
|
|
2097
|
+
* @memberof AgentReadinessV1ScansCheckResultResource
|
|
2098
|
+
*/
|
|
2099
|
+
'earned': number;
|
|
2100
|
+
/**
|
|
2101
|
+
* Points this check can earn
|
|
2102
|
+
* @type {number}
|
|
2103
|
+
* @memberof AgentReadinessV1ScansCheckResultResource
|
|
2104
|
+
*/
|
|
2105
|
+
'possible': number;
|
|
2106
|
+
/**
|
|
2107
|
+
* What the scanner observed
|
|
2108
|
+
* @type {string}
|
|
2109
|
+
* @memberof AgentReadinessV1ScansCheckResultResource
|
|
2110
|
+
*/
|
|
2111
|
+
'evidence': string;
|
|
2112
|
+
/**
|
|
2113
|
+
* How to improve the result, or null when there is nothing to fix
|
|
2114
|
+
* @type {string}
|
|
2115
|
+
* @memberof AgentReadinessV1ScansCheckResultResource
|
|
2116
|
+
*/
|
|
2117
|
+
'fix': string | null;
|
|
2118
|
+
}
|
|
2119
|
+
export declare const AgentReadinessV1ScansCheckResultResourceStatusEnum: {
|
|
2120
|
+
readonly Pass: "pass";
|
|
2121
|
+
readonly Partial: "partial";
|
|
2122
|
+
readonly Fail: "fail";
|
|
2123
|
+
readonly NotApplicable: "not_applicable";
|
|
2124
|
+
readonly Error: "error";
|
|
2125
|
+
};
|
|
2126
|
+
export type AgentReadinessV1ScansCheckResultResourceStatusEnum = typeof AgentReadinessV1ScansCheckResultResourceStatusEnum[keyof typeof AgentReadinessV1ScansCheckResultResourceStatusEnum];
|
|
2127
|
+
/**
|
|
2128
|
+
*
|
|
2129
|
+
* @export
|
|
2130
|
+
* @interface AgentReadinessV1ScansRunScanRequest
|
|
2131
|
+
*/
|
|
2132
|
+
export interface AgentReadinessV1ScansRunScanRequest {
|
|
2133
|
+
/**
|
|
2134
|
+
* Domain name or full URL of the website to scan. Only the host is used.
|
|
2135
|
+
* @type {string}
|
|
2136
|
+
* @memberof AgentReadinessV1ScansRunScanRequest
|
|
2137
|
+
*/
|
|
2138
|
+
'domain': string;
|
|
2139
|
+
}
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @export
|
|
2143
|
+
* @interface AgentReadinessV1ScansScanResource
|
|
2144
|
+
*/
|
|
2145
|
+
export interface AgentReadinessV1ScansScanResource {
|
|
2146
|
+
/**
|
|
2147
|
+
* Domain name that was scanned
|
|
2148
|
+
* @type {string}
|
|
2149
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2150
|
+
*/
|
|
2151
|
+
'domain': string;
|
|
2152
|
+
/**
|
|
2153
|
+
* Scan status. Result fields are null until the status is `completed`.
|
|
2154
|
+
* @type {string}
|
|
2155
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2156
|
+
*/
|
|
2157
|
+
'status': AgentReadinessV1ScansScanResourceStatusEnum;
|
|
2158
|
+
/**
|
|
2159
|
+
* Agent readiness score from 0 to 100. Null unless completed, and null when unreachable.
|
|
2160
|
+
* @type {number}
|
|
2161
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2162
|
+
*/
|
|
2163
|
+
'score': number | null;
|
|
2164
|
+
/**
|
|
2165
|
+
* Letter grade for the score, from `A` to `F`. Null unless completed, and null when unreachable.
|
|
2166
|
+
* @type {string}
|
|
2167
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2168
|
+
*/
|
|
2169
|
+
'grade': string | null;
|
|
2170
|
+
/**
|
|
2171
|
+
* Whether the website homepage could not be fetched
|
|
2172
|
+
* @type {boolean}
|
|
2173
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2174
|
+
*/
|
|
2175
|
+
'is_unreachable': boolean;
|
|
2176
|
+
/**
|
|
2177
|
+
* Version of the scoring method that produced this scan
|
|
2178
|
+
* @type {number}
|
|
2179
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2180
|
+
*/
|
|
2181
|
+
'scanner_version': number;
|
|
2182
|
+
/**
|
|
2183
|
+
* Whether the scan was produced by an older scoring method than the current one
|
|
2184
|
+
* @type {boolean}
|
|
2185
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2186
|
+
*/
|
|
2187
|
+
'is_outdated': boolean;
|
|
2188
|
+
/**
|
|
2189
|
+
* When the scan finished. Null unless completed.
|
|
2190
|
+
* @type {string}
|
|
2191
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2192
|
+
*/
|
|
2193
|
+
'scanned_at': string | null;
|
|
2194
|
+
/**
|
|
2195
|
+
*
|
|
2196
|
+
* @type {AgentReadinessV1ScansCategoriesResource}
|
|
2197
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2198
|
+
*/
|
|
2199
|
+
'categories': AgentReadinessV1ScansCategoriesResource | null;
|
|
2200
|
+
/**
|
|
2201
|
+
* Categories where no check could be counted. They still cost their full weight. Null unless completed.
|
|
2202
|
+
* @type {Array<string>}
|
|
2203
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2204
|
+
*/
|
|
2205
|
+
'unassessed_categories': Array<string> | null;
|
|
2206
|
+
/**
|
|
2207
|
+
* Result of every check. Null unless completed.
|
|
2208
|
+
* @type {Array<AgentReadinessV1ScansCheckResultResource>}
|
|
2209
|
+
* @memberof AgentReadinessV1ScansScanResource
|
|
2210
|
+
*/
|
|
2211
|
+
'results': Array<AgentReadinessV1ScansCheckResultResource> | null;
|
|
2212
|
+
}
|
|
2213
|
+
export declare const AgentReadinessV1ScansScanResourceStatusEnum: {
|
|
2214
|
+
readonly Pending: "pending";
|
|
2215
|
+
readonly Completed: "completed";
|
|
2216
|
+
readonly Failed: "failed";
|
|
2217
|
+
};
|
|
2218
|
+
export type AgentReadinessV1ScansScanResourceStatusEnum = typeof AgentReadinessV1ScansScanResourceStatusEnum[keyof typeof AgentReadinessV1ScansScanResourceStatusEnum];
|
|
1953
2219
|
/**
|
|
1954
2220
|
*
|
|
1955
2221
|
* @export
|
|
@@ -7761,6 +8027,240 @@ export interface HostingV1GitWebsiteGitRepositoryWebhookResource {
|
|
|
7761
8027
|
*/
|
|
7762
8028
|
'tutorial_url': string | null;
|
|
7763
8029
|
}
|
|
8030
|
+
/**
|
|
8031
|
+
*
|
|
8032
|
+
* @export
|
|
8033
|
+
* @interface HostingV1HeadlessAgentReportResource
|
|
8034
|
+
*/
|
|
8035
|
+
export interface HostingV1HeadlessAgentReportResource {
|
|
8036
|
+
/**
|
|
8037
|
+
* Stored report ID
|
|
8038
|
+
* @type {number}
|
|
8039
|
+
* @memberof HostingV1HeadlessAgentReportResource
|
|
8040
|
+
*/
|
|
8041
|
+
'id': number;
|
|
8042
|
+
/**
|
|
8043
|
+
* ID of the run the report is for
|
|
8044
|
+
* @type {string}
|
|
8045
|
+
* @memberof HostingV1HeadlessAgentReportResource
|
|
8046
|
+
*/
|
|
8047
|
+
'run_id': string;
|
|
8048
|
+
/**
|
|
8049
|
+
* When the report was received
|
|
8050
|
+
* @type {string}
|
|
8051
|
+
* @memberof HostingV1HeadlessAgentReportResource
|
|
8052
|
+
*/
|
|
8053
|
+
'created_at': string;
|
|
8054
|
+
}
|
|
8055
|
+
/**
|
|
8056
|
+
* Headless build report (report.schema.json v1), as written by the headless skill at the end of a run. Send the report unchanged.
|
|
8057
|
+
* @export
|
|
8058
|
+
* @interface HostingV1HeadlessStoreAgentReportRequest
|
|
8059
|
+
*/
|
|
8060
|
+
export interface HostingV1HeadlessStoreAgentReportRequest {
|
|
8061
|
+
/**
|
|
8062
|
+
* Report schema version
|
|
8063
|
+
* @type {string}
|
|
8064
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8065
|
+
*/
|
|
8066
|
+
'schema_version': HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum;
|
|
8067
|
+
/**
|
|
8068
|
+
* When the report was written
|
|
8069
|
+
* @type {string}
|
|
8070
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8071
|
+
*/
|
|
8072
|
+
'generated_at': string;
|
|
8073
|
+
/**
|
|
8074
|
+
*
|
|
8075
|
+
* @type {HostingV1HeadlessStoreAgentReportRequestConsent}
|
|
8076
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8077
|
+
*/
|
|
8078
|
+
'consent': HostingV1HeadlessStoreAgentReportRequestConsent;
|
|
8079
|
+
/**
|
|
8080
|
+
*
|
|
8081
|
+
* @type {HostingV1HeadlessStoreAgentReportRequestRun}
|
|
8082
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8083
|
+
*/
|
|
8084
|
+
'run': HostingV1HeadlessStoreAgentReportRequestRun;
|
|
8085
|
+
/**
|
|
8086
|
+
*
|
|
8087
|
+
* @type {HostingV1HeadlessStoreAgentReportRequestInfo}
|
|
8088
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8089
|
+
*/
|
|
8090
|
+
'info': HostingV1HeadlessStoreAgentReportRequestInfo;
|
|
8091
|
+
/**
|
|
8092
|
+
*
|
|
8093
|
+
* @type {HostingV1HeadlessStoreAgentReportRequestTiming}
|
|
8094
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8095
|
+
*/
|
|
8096
|
+
'timing': HostingV1HeadlessStoreAgentReportRequestTiming;
|
|
8097
|
+
/**
|
|
8098
|
+
* Token usage, only when the tool reports its own usage
|
|
8099
|
+
* @type {object}
|
|
8100
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8101
|
+
*/
|
|
8102
|
+
'tokens': object | null;
|
|
8103
|
+
/**
|
|
8104
|
+
* Problems hit during the run
|
|
8105
|
+
* @type {Array<object>}
|
|
8106
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8107
|
+
*/
|
|
8108
|
+
'issues': Array<object>;
|
|
8109
|
+
/**
|
|
8110
|
+
* Feedback the user gave during the run
|
|
8111
|
+
* @type {Array<object>}
|
|
8112
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8113
|
+
*/
|
|
8114
|
+
'user_feedback': Array<object>;
|
|
8115
|
+
/**
|
|
8116
|
+
* Places where the skill instructions were missing or wrong
|
|
8117
|
+
* @type {Array<object>}
|
|
8118
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8119
|
+
*/
|
|
8120
|
+
'skill_gaps': Array<object>;
|
|
8121
|
+
/**
|
|
8122
|
+
* Things that worked well during the run
|
|
8123
|
+
* @type {Array<object>}
|
|
8124
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8125
|
+
*/
|
|
8126
|
+
'what_went_well': Array<object>;
|
|
8127
|
+
/**
|
|
8128
|
+
* Where the run log is missing or unsure
|
|
8129
|
+
* @type {Array<object>}
|
|
8130
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8131
|
+
*/
|
|
8132
|
+
'logging_gaps': Array<object>;
|
|
8133
|
+
/**
|
|
8134
|
+
* Earlier runs for the same website
|
|
8135
|
+
* @type {Array<object>}
|
|
8136
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequest
|
|
8137
|
+
*/
|
|
8138
|
+
'previous_runs': Array<object>;
|
|
8139
|
+
}
|
|
8140
|
+
export declare const HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum: {
|
|
8141
|
+
readonly _1: "1";
|
|
8142
|
+
};
|
|
8143
|
+
export type HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum = typeof HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum[keyof typeof HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum];
|
|
8144
|
+
/**
|
|
8145
|
+
* Upload status of the report, as written by the headless skill
|
|
8146
|
+
* @export
|
|
8147
|
+
* @interface HostingV1HeadlessStoreAgentReportRequestConsent
|
|
8148
|
+
*/
|
|
8149
|
+
export interface HostingV1HeadlessStoreAgentReportRequestConsent {
|
|
8150
|
+
/**
|
|
8151
|
+
*
|
|
8152
|
+
* @type {boolean}
|
|
8153
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestConsent
|
|
8154
|
+
*/
|
|
8155
|
+
'sent': boolean;
|
|
8156
|
+
/**
|
|
8157
|
+
*
|
|
8158
|
+
* @type {string}
|
|
8159
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestConsent
|
|
8160
|
+
*/
|
|
8161
|
+
'note': string;
|
|
8162
|
+
}
|
|
8163
|
+
/**
|
|
8164
|
+
* Website, tool and outcome of the run
|
|
8165
|
+
* @export
|
|
8166
|
+
* @interface HostingV1HeadlessStoreAgentReportRequestInfo
|
|
8167
|
+
*/
|
|
8168
|
+
export interface HostingV1HeadlessStoreAgentReportRequestInfo {
|
|
8169
|
+
/**
|
|
8170
|
+
*
|
|
8171
|
+
* @type {string}
|
|
8172
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestInfo
|
|
8173
|
+
*/
|
|
8174
|
+
'domain': string;
|
|
8175
|
+
/**
|
|
8176
|
+
*
|
|
8177
|
+
* @type {string}
|
|
8178
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestInfo
|
|
8179
|
+
*/
|
|
8180
|
+
'tool': string | null;
|
|
8181
|
+
/**
|
|
8182
|
+
*
|
|
8183
|
+
* @type {string}
|
|
8184
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestInfo
|
|
8185
|
+
*/
|
|
8186
|
+
'outcome': HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum;
|
|
8187
|
+
}
|
|
8188
|
+
export declare const HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum: {
|
|
8189
|
+
readonly Live: "live";
|
|
8190
|
+
readonly Stopped: "stopped";
|
|
8191
|
+
readonly Failed: "failed";
|
|
8192
|
+
readonly Abandoned: "abandoned";
|
|
8193
|
+
};
|
|
8194
|
+
export type HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum = typeof HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum[keyof typeof HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum];
|
|
8195
|
+
/**
|
|
8196
|
+
* The run the report is for
|
|
8197
|
+
* @export
|
|
8198
|
+
* @interface HostingV1HeadlessStoreAgentReportRequestRun
|
|
8199
|
+
*/
|
|
8200
|
+
export interface HostingV1HeadlessStoreAgentReportRequestRun {
|
|
8201
|
+
/**
|
|
8202
|
+
*
|
|
8203
|
+
* @type {string}
|
|
8204
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestRun
|
|
8205
|
+
*/
|
|
8206
|
+
'id': string;
|
|
8207
|
+
/**
|
|
8208
|
+
*
|
|
8209
|
+
* @type {string}
|
|
8210
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestRun
|
|
8211
|
+
*/
|
|
8212
|
+
'kind': HostingV1HeadlessStoreAgentReportRequestRunKindEnum;
|
|
8213
|
+
/**
|
|
8214
|
+
*
|
|
8215
|
+
* @type {string}
|
|
8216
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestRun
|
|
8217
|
+
*/
|
|
8218
|
+
'skill': string | null;
|
|
8219
|
+
/**
|
|
8220
|
+
*
|
|
8221
|
+
* @type {Array<object>}
|
|
8222
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestRun
|
|
8223
|
+
*/
|
|
8224
|
+
'follow_ups': Array<object>;
|
|
8225
|
+
}
|
|
8226
|
+
export declare const HostingV1HeadlessStoreAgentReportRequestRunKindEnum: {
|
|
8227
|
+
readonly Build: "build";
|
|
8228
|
+
readonly Resume: "resume";
|
|
8229
|
+
readonly Redesign: "redesign";
|
|
8230
|
+
readonly Iterate: "iterate";
|
|
8231
|
+
};
|
|
8232
|
+
export type HostingV1HeadlessStoreAgentReportRequestRunKindEnum = typeof HostingV1HeadlessStoreAgentReportRequestRunKindEnum[keyof typeof HostingV1HeadlessStoreAgentReportRequestRunKindEnum];
|
|
8233
|
+
/**
|
|
8234
|
+
* Run start and end times and per-stage timings
|
|
8235
|
+
* @export
|
|
8236
|
+
* @interface HostingV1HeadlessStoreAgentReportRequestTiming
|
|
8237
|
+
*/
|
|
8238
|
+
export interface HostingV1HeadlessStoreAgentReportRequestTiming {
|
|
8239
|
+
/**
|
|
8240
|
+
*
|
|
8241
|
+
* @type {string}
|
|
8242
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestTiming
|
|
8243
|
+
*/
|
|
8244
|
+
'started_at': string;
|
|
8245
|
+
/**
|
|
8246
|
+
*
|
|
8247
|
+
* @type {string}
|
|
8248
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestTiming
|
|
8249
|
+
*/
|
|
8250
|
+
'ended_at': string;
|
|
8251
|
+
/**
|
|
8252
|
+
*
|
|
8253
|
+
* @type {number}
|
|
8254
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestTiming
|
|
8255
|
+
*/
|
|
8256
|
+
'minutes_total': number | null;
|
|
8257
|
+
/**
|
|
8258
|
+
*
|
|
8259
|
+
* @type {Array<object>}
|
|
8260
|
+
* @memberof HostingV1HeadlessStoreAgentReportRequestTiming
|
|
8261
|
+
*/
|
|
8262
|
+
'stages': Array<object>;
|
|
8263
|
+
}
|
|
7764
8264
|
/**
|
|
7765
8265
|
*
|
|
7766
8266
|
* @export
|
|
@@ -19310,6 +19810,153 @@ export declare class AgencyHostingWordPressApi extends BaseAPI {
|
|
|
19310
19810
|
*/
|
|
19311
19811
|
listAvailableWordPressVersionsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgencyHostingV1WordPressVersionResource[], any, {}, any>>;
|
|
19312
19812
|
}
|
|
19813
|
+
/**
|
|
19814
|
+
* AgentReadinessChecksApi - axios parameter creator
|
|
19815
|
+
* @export
|
|
19816
|
+
*/
|
|
19817
|
+
export declare const AgentReadinessChecksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19818
|
+
/**
|
|
19819
|
+
* List every check an agent readiness scan runs, with its name, category and weight.\\n Use it to show the human-readable name of each `check_id` in a scan\'s results.
|
|
19820
|
+
* @summary List checks
|
|
19821
|
+
* @param {*} [options] Override http request option.
|
|
19822
|
+
* @throws {RequiredError}
|
|
19823
|
+
*/
|
|
19824
|
+
listChecksV1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19825
|
+
};
|
|
19826
|
+
/**
|
|
19827
|
+
* AgentReadinessChecksApi - functional programming interface
|
|
19828
|
+
* @export
|
|
19829
|
+
*/
|
|
19830
|
+
export declare const AgentReadinessChecksApiFp: (configuration?: Configuration) => {
|
|
19831
|
+
/**
|
|
19832
|
+
* List every check an agent readiness scan runs, with its name, category and weight.\\n Use it to show the human-readable name of each `check_id` in a scan\'s results.
|
|
19833
|
+
* @summary List checks
|
|
19834
|
+
* @param {*} [options] Override http request option.
|
|
19835
|
+
* @throws {RequiredError}
|
|
19836
|
+
*/
|
|
19837
|
+
listChecksV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgentReadinessV1ChecksCheckResource>>>;
|
|
19838
|
+
};
|
|
19839
|
+
/**
|
|
19840
|
+
* AgentReadinessChecksApi - factory interface
|
|
19841
|
+
* @export
|
|
19842
|
+
*/
|
|
19843
|
+
export declare const AgentReadinessChecksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19844
|
+
/**
|
|
19845
|
+
* List every check an agent readiness scan runs, with its name, category and weight.\\n Use it to show the human-readable name of each `check_id` in a scan\'s results.
|
|
19846
|
+
* @summary List checks
|
|
19847
|
+
* @param {*} [options] Override http request option.
|
|
19848
|
+
* @throws {RequiredError}
|
|
19849
|
+
*/
|
|
19850
|
+
listChecksV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<AgentReadinessV1ChecksCheckResource>>;
|
|
19851
|
+
};
|
|
19852
|
+
/**
|
|
19853
|
+
* AgentReadinessChecksApi - object-oriented interface
|
|
19854
|
+
* @export
|
|
19855
|
+
* @class AgentReadinessChecksApi
|
|
19856
|
+
* @extends {BaseAPI}
|
|
19857
|
+
*/
|
|
19858
|
+
export declare class AgentReadinessChecksApi extends BaseAPI {
|
|
19859
|
+
/**
|
|
19860
|
+
* List every check an agent readiness scan runs, with its name, category and weight.\\n Use it to show the human-readable name of each `check_id` in a scan\'s results.
|
|
19861
|
+
* @summary List checks
|
|
19862
|
+
* @param {*} [options] Override http request option.
|
|
19863
|
+
* @throws {RequiredError}
|
|
19864
|
+
* @memberof AgentReadinessChecksApi
|
|
19865
|
+
*/
|
|
19866
|
+
listChecksV1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentReadinessV1ChecksCheckResource[], any, {}, any>>;
|
|
19867
|
+
}
|
|
19868
|
+
/**
|
|
19869
|
+
* AgentReadinessScansApi - axios parameter creator
|
|
19870
|
+
* @export
|
|
19871
|
+
*/
|
|
19872
|
+
export declare const AgentReadinessScansApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19873
|
+
/**
|
|
19874
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run website scan` operation are asynchronous. While the status is `pending`, the result fields are null; wait a few seconds and call this operation again until the status is `completed` or `failed`. A `failed` scan is not retried; run the scan again.\\n A completed scan has a 0-100 score, a letter grade, a score per category, and the result of every check with the evidence found and how to fix it. Check names are listed by the `List checks` operation.\\n Returns 404 when the domain has never been scanned; use the `Run website scan` operation first.
|
|
19875
|
+
* @summary Get website scan
|
|
19876
|
+
* @param {string} domain Domain name the scan was run for
|
|
19877
|
+
* @param {*} [options] Override http request option.
|
|
19878
|
+
* @throws {RequiredError}
|
|
19879
|
+
*/
|
|
19880
|
+
getWebsiteScanV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19881
|
+
/**
|
|
19882
|
+
* Start a scan of how ready a public website is for AI agents to discover, read and act on.\\n Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually `pending` with no results yet. To get the results, poll the `Get website scan` operation with the same domain every few seconds until its status is `completed` or `failed`. The scan itself is limited to 60 seconds, plus any time it waits in the queue. A `failed` scan is not retried; run this operation again.\\n Starting a scan for a domain that already has a pending scan from the last 5 minutes returns that scan instead of starting a new one.
|
|
19883
|
+
* @summary Run website scan
|
|
19884
|
+
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19885
|
+
* @param {*} [options] Override http request option.
|
|
19886
|
+
* @throws {RequiredError}
|
|
19887
|
+
*/
|
|
19888
|
+
runWebsiteScanV1: (agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19889
|
+
};
|
|
19890
|
+
/**
|
|
19891
|
+
* AgentReadinessScansApi - functional programming interface
|
|
19892
|
+
* @export
|
|
19893
|
+
*/
|
|
19894
|
+
export declare const AgentReadinessScansApiFp: (configuration?: Configuration) => {
|
|
19895
|
+
/**
|
|
19896
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run website scan` operation are asynchronous. While the status is `pending`, the result fields are null; wait a few seconds and call this operation again until the status is `completed` or `failed`. A `failed` scan is not retried; run the scan again.\\n A completed scan has a 0-100 score, a letter grade, a score per category, and the result of every check with the evidence found and how to fix it. Check names are listed by the `List checks` operation.\\n Returns 404 when the domain has never been scanned; use the `Run website scan` operation first.
|
|
19897
|
+
* @summary Get website scan
|
|
19898
|
+
* @param {string} domain Domain name the scan was run for
|
|
19899
|
+
* @param {*} [options] Override http request option.
|
|
19900
|
+
* @throws {RequiredError}
|
|
19901
|
+
*/
|
|
19902
|
+
getWebsiteScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>>;
|
|
19903
|
+
/**
|
|
19904
|
+
* Start a scan of how ready a public website is for AI agents to discover, read and act on.\\n Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually `pending` with no results yet. To get the results, poll the `Get website scan` operation with the same domain every few seconds until its status is `completed` or `failed`. The scan itself is limited to 60 seconds, plus any time it waits in the queue. A `failed` scan is not retried; run this operation again.\\n Starting a scan for a domain that already has a pending scan from the last 5 minutes returns that scan instead of starting a new one.
|
|
19905
|
+
* @summary Run website scan
|
|
19906
|
+
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19907
|
+
* @param {*} [options] Override http request option.
|
|
19908
|
+
* @throws {RequiredError}
|
|
19909
|
+
*/
|
|
19910
|
+
runWebsiteScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>>;
|
|
19911
|
+
};
|
|
19912
|
+
/**
|
|
19913
|
+
* AgentReadinessScansApi - factory interface
|
|
19914
|
+
* @export
|
|
19915
|
+
*/
|
|
19916
|
+
export declare const AgentReadinessScansApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19917
|
+
/**
|
|
19918
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run website scan` operation are asynchronous. While the status is `pending`, the result fields are null; wait a few seconds and call this operation again until the status is `completed` or `failed`. A `failed` scan is not retried; run the scan again.\\n A completed scan has a 0-100 score, a letter grade, a score per category, and the result of every check with the evidence found and how to fix it. Check names are listed by the `List checks` operation.\\n Returns 404 when the domain has never been scanned; use the `Run website scan` operation first.
|
|
19919
|
+
* @summary Get website scan
|
|
19920
|
+
* @param {string} domain Domain name the scan was run for
|
|
19921
|
+
* @param {*} [options] Override http request option.
|
|
19922
|
+
* @throws {RequiredError}
|
|
19923
|
+
*/
|
|
19924
|
+
getWebsiteScanV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource>;
|
|
19925
|
+
/**
|
|
19926
|
+
* Start a scan of how ready a public website is for AI agents to discover, read and act on.\\n Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually `pending` with no results yet. To get the results, poll the `Get website scan` operation with the same domain every few seconds until its status is `completed` or `failed`. The scan itself is limited to 60 seconds, plus any time it waits in the queue. A `failed` scan is not retried; run this operation again.\\n Starting a scan for a domain that already has a pending scan from the last 5 minutes returns that scan instead of starting a new one.
|
|
19927
|
+
* @summary Run website scan
|
|
19928
|
+
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19929
|
+
* @param {*} [options] Override http request option.
|
|
19930
|
+
* @throws {RequiredError}
|
|
19931
|
+
*/
|
|
19932
|
+
runWebsiteScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource>;
|
|
19933
|
+
};
|
|
19934
|
+
/**
|
|
19935
|
+
* AgentReadinessScansApi - object-oriented interface
|
|
19936
|
+
* @export
|
|
19937
|
+
* @class AgentReadinessScansApi
|
|
19938
|
+
* @extends {BaseAPI}
|
|
19939
|
+
*/
|
|
19940
|
+
export declare class AgentReadinessScansApi extends BaseAPI {
|
|
19941
|
+
/**
|
|
19942
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run website scan` operation are asynchronous. While the status is `pending`, the result fields are null; wait a few seconds and call this operation again until the status is `completed` or `failed`. A `failed` scan is not retried; run the scan again.\\n A completed scan has a 0-100 score, a letter grade, a score per category, and the result of every check with the evidence found and how to fix it. Check names are listed by the `List checks` operation.\\n Returns 404 when the domain has never been scanned; use the `Run website scan` operation first.
|
|
19943
|
+
* @summary Get website scan
|
|
19944
|
+
* @param {string} domain Domain name the scan was run for
|
|
19945
|
+
* @param {*} [options] Override http request option.
|
|
19946
|
+
* @throws {RequiredError}
|
|
19947
|
+
* @memberof AgentReadinessScansApi
|
|
19948
|
+
*/
|
|
19949
|
+
getWebsiteScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentReadinessV1ScansScanResource, any, {}, any>>;
|
|
19950
|
+
/**
|
|
19951
|
+
* Start a scan of how ready a public website is for AI agents to discover, read and act on.\\n Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually `pending` with no results yet. To get the results, poll the `Get website scan` operation with the same domain every few seconds until its status is `completed` or `failed`. The scan itself is limited to 60 seconds, plus any time it waits in the queue. A `failed` scan is not retried; run this operation again.\\n Starting a scan for a domain that already has a pending scan from the last 5 minutes returns that scan instead of starting a new one.
|
|
19952
|
+
* @summary Run website scan
|
|
19953
|
+
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19954
|
+
* @param {*} [options] Override http request option.
|
|
19955
|
+
* @throws {RequiredError}
|
|
19956
|
+
* @memberof AgentReadinessScansApi
|
|
19957
|
+
*/
|
|
19958
|
+
runWebsiteScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentReadinessV1ScansScanResource, any, {}, any>>;
|
|
19959
|
+
}
|
|
19313
19960
|
/**
|
|
19314
19961
|
* BillingCatalogApi - axios parameter creator
|
|
19315
19962
|
* @export
|
|
@@ -24983,6 +25630,65 @@ export declare const ListGitInstallationsV1StatusEnum: {
|
|
|
24983
25630
|
readonly Suspended: "suspended";
|
|
24984
25631
|
};
|
|
24985
25632
|
export type ListGitInstallationsV1StatusEnum = typeof ListGitInstallationsV1StatusEnum[keyof typeof ListGitInstallationsV1StatusEnum];
|
|
25633
|
+
/**
|
|
25634
|
+
* HostingHeadlessApi - axios parameter creator
|
|
25635
|
+
* @export
|
|
25636
|
+
*/
|
|
25637
|
+
export declare const HostingHeadlessApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25638
|
+
/**
|
|
25639
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. Only send a report when the user agreed to it. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
25640
|
+
* @summary Submit headless build report
|
|
25641
|
+
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
25642
|
+
* @param {*} [options] Override http request option.
|
|
25643
|
+
* @throws {RequiredError}
|
|
25644
|
+
*/
|
|
25645
|
+
submitHeadlessBuildReportV1: (hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25646
|
+
};
|
|
25647
|
+
/**
|
|
25648
|
+
* HostingHeadlessApi - functional programming interface
|
|
25649
|
+
* @export
|
|
25650
|
+
*/
|
|
25651
|
+
export declare const HostingHeadlessApiFp: (configuration?: Configuration) => {
|
|
25652
|
+
/**
|
|
25653
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. Only send a report when the user agreed to it. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
25654
|
+
* @summary Submit headless build report
|
|
25655
|
+
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
25656
|
+
* @param {*} [options] Override http request option.
|
|
25657
|
+
* @throws {RequiredError}
|
|
25658
|
+
*/
|
|
25659
|
+
submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1HeadlessAgentReportResource>>;
|
|
25660
|
+
};
|
|
25661
|
+
/**
|
|
25662
|
+
* HostingHeadlessApi - factory interface
|
|
25663
|
+
* @export
|
|
25664
|
+
*/
|
|
25665
|
+
export declare const HostingHeadlessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25666
|
+
/**
|
|
25667
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. Only send a report when the user agreed to it. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
25668
|
+
* @summary Submit headless build report
|
|
25669
|
+
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
25670
|
+
* @param {*} [options] Override http request option.
|
|
25671
|
+
* @throws {RequiredError}
|
|
25672
|
+
*/
|
|
25673
|
+
submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1HeadlessAgentReportResource>;
|
|
25674
|
+
};
|
|
25675
|
+
/**
|
|
25676
|
+
* HostingHeadlessApi - object-oriented interface
|
|
25677
|
+
* @export
|
|
25678
|
+
* @class HostingHeadlessApi
|
|
25679
|
+
* @extends {BaseAPI}
|
|
25680
|
+
*/
|
|
25681
|
+
export declare class HostingHeadlessApi extends BaseAPI {
|
|
25682
|
+
/**
|
|
25683
|
+
* Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. Only send a report when the user agreed to it. The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
|
|
25684
|
+
* @summary Submit headless build report
|
|
25685
|
+
* @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
|
|
25686
|
+
* @param {*} [options] Override http request option.
|
|
25687
|
+
* @throws {RequiredError}
|
|
25688
|
+
* @memberof HostingHeadlessApi
|
|
25689
|
+
*/
|
|
25690
|
+
submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1HeadlessAgentReportResource, any, {}, any>>;
|
|
25691
|
+
}
|
|
24986
25692
|
/**
|
|
24987
25693
|
* HostingNodeJSApi - axios parameter creator
|
|
24988
25694
|
* @export
|