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.
Files changed (42) hide show
  1. package/README.md +2 -2
  2. package/api.ts +918 -1
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +707 -1
  7. package/dist/api.js +421 -13
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +707 -1
  15. package/dist/esm/api.js +397 -1
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/AgentReadinessChecksApi.md +54 -0
  27. package/docs/AgentReadinessScansApi.md +117 -0
  28. package/docs/AgentReadinessV1ChecksCheckResource.md +28 -0
  29. package/docs/AgentReadinessV1ScansCategoriesResource.md +32 -0
  30. package/docs/AgentReadinessV1ScansCategoryScoreResource.md +26 -0
  31. package/docs/AgentReadinessV1ScansCheckResultResource.md +32 -0
  32. package/docs/AgentReadinessV1ScansRunScanRequest.md +20 -0
  33. package/docs/AgentReadinessV1ScansScanResource.md +40 -0
  34. package/docs/HostingHeadlessApi.md +63 -0
  35. package/docs/HostingV1HeadlessAgentReportResource.md +24 -0
  36. package/docs/HostingV1HeadlessStoreAgentReportRequest.md +45 -0
  37. package/docs/HostingV1HeadlessStoreAgentReportRequestConsent.md +23 -0
  38. package/docs/HostingV1HeadlessStoreAgentReportRequestInfo.md +25 -0
  39. package/docs/HostingV1HeadlessStoreAgentReportRequestRun.md +27 -0
  40. package/docs/HostingV1HeadlessStoreAgentReportRequestTiming.md +27 -0
  41. package/index.ts +1 -1
  42. package/package.json +1 -1
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.65.0
6
+ * API Version: 1.67.0
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1992,6 +1992,278 @@ export interface AgencyHostingV1WordPressVersionResource {
1992
1992
  */
1993
1993
  'version': string;
1994
1994
  }
1995
+ /**
1996
+ *
1997
+ * @export
1998
+ * @interface AgentReadinessV1ChecksCheckResource
1999
+ */
2000
+ export interface AgentReadinessV1ChecksCheckResource {
2001
+ /**
2002
+ * Check ID, as used by `check_id` in scan results
2003
+ * @type {string}
2004
+ * @memberof AgentReadinessV1ChecksCheckResource
2005
+ */
2006
+ 'id': string;
2007
+ /**
2008
+ * Human-readable check name
2009
+ * @type {string}
2010
+ * @memberof AgentReadinessV1ChecksCheckResource
2011
+ */
2012
+ 'name': string;
2013
+ /**
2014
+ * Category the check belongs to
2015
+ * @type {string}
2016
+ * @memberof AgentReadinessV1ChecksCheckResource
2017
+ */
2018
+ 'category': string;
2019
+ /**
2020
+ * Human-readable category name
2021
+ * @type {string}
2022
+ * @memberof AgentReadinessV1ChecksCheckResource
2023
+ */
2024
+ 'category_label': string;
2025
+ /**
2026
+ * Points this check can earn
2027
+ * @type {number}
2028
+ * @memberof AgentReadinessV1ChecksCheckResource
2029
+ */
2030
+ 'weight': number;
2031
+ }
2032
+ /**
2033
+ *
2034
+ * @export
2035
+ * @interface AgentReadinessV1ScansCategoriesResource
2036
+ */
2037
+ export interface AgentReadinessV1ScansCategoriesResource {
2038
+ /**
2039
+ *
2040
+ * @type {AgentReadinessV1ScansCategoryScoreResource}
2041
+ * @memberof AgentReadinessV1ScansCategoriesResource
2042
+ */
2043
+ 'crawl_permission': AgentReadinessV1ScansCategoryScoreResource;
2044
+ /**
2045
+ *
2046
+ * @type {AgentReadinessV1ScansCategoryScoreResource}
2047
+ * @memberof AgentReadinessV1ScansCategoriesResource
2048
+ */
2049
+ 'findability': AgentReadinessV1ScansCategoryScoreResource;
2050
+ /**
2051
+ *
2052
+ * @type {AgentReadinessV1ScansCategoryScoreResource}
2053
+ * @memberof AgentReadinessV1ScansCategoriesResource
2054
+ */
2055
+ 'readability': AgentReadinessV1ScansCategoryScoreResource;
2056
+ /**
2057
+ *
2058
+ * @type {AgentReadinessV1ScansCategoryScoreResource}
2059
+ * @memberof AgentReadinessV1ScansCategoriesResource
2060
+ */
2061
+ 'structured_meaning': AgentReadinessV1ScansCategoryScoreResource;
2062
+ /**
2063
+ *
2064
+ * @type {AgentReadinessV1ScansCategoryScoreResource}
2065
+ * @memberof AgentReadinessV1ScansCategoriesResource
2066
+ */
2067
+ 'commercial_legibility': AgentReadinessV1ScansCategoryScoreResource;
2068
+ /**
2069
+ *
2070
+ * @type {AgentReadinessV1ScansCategoryScoreResource}
2071
+ * @memberof AgentReadinessV1ScansCategoriesResource
2072
+ */
2073
+ 'agent_native_content': AgentReadinessV1ScansCategoryScoreResource;
2074
+ /**
2075
+ *
2076
+ * @type {AgentReadinessV1ScansCategoryScoreResource}
2077
+ * @memberof AgentReadinessV1ScansCategoriesResource
2078
+ */
2079
+ 'agent_interaction': AgentReadinessV1ScansCategoryScoreResource;
2080
+ }
2081
+ /**
2082
+ *
2083
+ * @export
2084
+ * @interface AgentReadinessV1ScansCategoryScoreResource
2085
+ */
2086
+ export interface AgentReadinessV1ScansCategoryScoreResource {
2087
+ /**
2088
+ * Points this category contributes to the 0-100 total score
2089
+ * @type {number}
2090
+ * @memberof AgentReadinessV1ScansCategoryScoreResource
2091
+ */
2092
+ 'score': number;
2093
+ /**
2094
+ * Maximum points this category can contribute
2095
+ * @type {number}
2096
+ * @memberof AgentReadinessV1ScansCategoryScoreResource
2097
+ */
2098
+ 'weight': number;
2099
+ /**
2100
+ * Points earned by the counted checks in this category
2101
+ * @type {number}
2102
+ * @memberof AgentReadinessV1ScansCategoryScoreResource
2103
+ */
2104
+ 'earned': number;
2105
+ /**
2106
+ * Points possible for the counted checks in this category
2107
+ * @type {number}
2108
+ * @memberof AgentReadinessV1ScansCategoryScoreResource
2109
+ */
2110
+ 'possible': number;
2111
+ }
2112
+ /**
2113
+ *
2114
+ * @export
2115
+ * @interface AgentReadinessV1ScansCheckResultResource
2116
+ */
2117
+ export interface AgentReadinessV1ScansCheckResultResource {
2118
+ /**
2119
+ * Check ID, as listed by the `List checks` operation
2120
+ * @type {string}
2121
+ * @memberof AgentReadinessV1ScansCheckResultResource
2122
+ */
2123
+ 'check_id': string;
2124
+ /**
2125
+ * Category the check belongs to
2126
+ * @type {string}
2127
+ * @memberof AgentReadinessV1ScansCheckResultResource
2128
+ */
2129
+ 'category': string;
2130
+ /**
2131
+ * Check outcome. `not_applicable` and `error` checks do not count towards the category score.
2132
+ * @type {string}
2133
+ * @memberof AgentReadinessV1ScansCheckResultResource
2134
+ */
2135
+ 'status': AgentReadinessV1ScansCheckResultResourceStatusEnum;
2136
+ /**
2137
+ * Points earned by this check
2138
+ * @type {number}
2139
+ * @memberof AgentReadinessV1ScansCheckResultResource
2140
+ */
2141
+ 'earned': number;
2142
+ /**
2143
+ * Points this check can earn
2144
+ * @type {number}
2145
+ * @memberof AgentReadinessV1ScansCheckResultResource
2146
+ */
2147
+ 'possible': number;
2148
+ /**
2149
+ * What the scanner observed
2150
+ * @type {string}
2151
+ * @memberof AgentReadinessV1ScansCheckResultResource
2152
+ */
2153
+ 'evidence': string;
2154
+ /**
2155
+ * How to improve the result, or null when there is nothing to fix
2156
+ * @type {string}
2157
+ * @memberof AgentReadinessV1ScansCheckResultResource
2158
+ */
2159
+ 'fix': string | null;
2160
+ }
2161
+
2162
+ export const AgentReadinessV1ScansCheckResultResourceStatusEnum = {
2163
+ Pass: 'pass',
2164
+ Partial: 'partial',
2165
+ Fail: 'fail',
2166
+ NotApplicable: 'not_applicable',
2167
+ Error: 'error'
2168
+ } as const;
2169
+
2170
+ export type AgentReadinessV1ScansCheckResultResourceStatusEnum = typeof AgentReadinessV1ScansCheckResultResourceStatusEnum[keyof typeof AgentReadinessV1ScansCheckResultResourceStatusEnum];
2171
+
2172
+ /**
2173
+ *
2174
+ * @export
2175
+ * @interface AgentReadinessV1ScansRunScanRequest
2176
+ */
2177
+ export interface AgentReadinessV1ScansRunScanRequest {
2178
+ /**
2179
+ * Domain name or full URL of the website to scan. Only the host is used.
2180
+ * @type {string}
2181
+ * @memberof AgentReadinessV1ScansRunScanRequest
2182
+ */
2183
+ 'domain': string;
2184
+ }
2185
+ /**
2186
+ *
2187
+ * @export
2188
+ * @interface AgentReadinessV1ScansScanResource
2189
+ */
2190
+ export interface AgentReadinessV1ScansScanResource {
2191
+ /**
2192
+ * Domain name that was scanned
2193
+ * @type {string}
2194
+ * @memberof AgentReadinessV1ScansScanResource
2195
+ */
2196
+ 'domain': string;
2197
+ /**
2198
+ * Scan status. Result fields are null until the status is `completed`.
2199
+ * @type {string}
2200
+ * @memberof AgentReadinessV1ScansScanResource
2201
+ */
2202
+ 'status': AgentReadinessV1ScansScanResourceStatusEnum;
2203
+ /**
2204
+ * Agent readiness score from 0 to 100. Null unless completed, and null when unreachable.
2205
+ * @type {number}
2206
+ * @memberof AgentReadinessV1ScansScanResource
2207
+ */
2208
+ 'score': number | null;
2209
+ /**
2210
+ * Letter grade for the score, from `A` to `F`. Null unless completed, and null when unreachable.
2211
+ * @type {string}
2212
+ * @memberof AgentReadinessV1ScansScanResource
2213
+ */
2214
+ 'grade': string | null;
2215
+ /**
2216
+ * Whether the website homepage could not be fetched
2217
+ * @type {boolean}
2218
+ * @memberof AgentReadinessV1ScansScanResource
2219
+ */
2220
+ 'is_unreachable': boolean;
2221
+ /**
2222
+ * Version of the scoring method that produced this scan
2223
+ * @type {number}
2224
+ * @memberof AgentReadinessV1ScansScanResource
2225
+ */
2226
+ 'scanner_version': number;
2227
+ /**
2228
+ * Whether the scan was produced by an older scoring method than the current one
2229
+ * @type {boolean}
2230
+ * @memberof AgentReadinessV1ScansScanResource
2231
+ */
2232
+ 'is_outdated': boolean;
2233
+ /**
2234
+ * When the scan finished. Null unless completed.
2235
+ * @type {string}
2236
+ * @memberof AgentReadinessV1ScansScanResource
2237
+ */
2238
+ 'scanned_at': string | null;
2239
+ /**
2240
+ *
2241
+ * @type {AgentReadinessV1ScansCategoriesResource}
2242
+ * @memberof AgentReadinessV1ScansScanResource
2243
+ */
2244
+ 'categories': AgentReadinessV1ScansCategoriesResource | null;
2245
+ /**
2246
+ * Categories where no check could be counted. They still cost their full weight. Null unless completed.
2247
+ * @type {Array<string>}
2248
+ * @memberof AgentReadinessV1ScansScanResource
2249
+ */
2250
+ 'unassessed_categories': Array<string> | null;
2251
+ /**
2252
+ * Result of every check. Null unless completed.
2253
+ * @type {Array<AgentReadinessV1ScansCheckResultResource>}
2254
+ * @memberof AgentReadinessV1ScansScanResource
2255
+ */
2256
+ 'results': Array<AgentReadinessV1ScansCheckResultResource> | null;
2257
+ }
2258
+
2259
+ export const AgentReadinessV1ScansScanResourceStatusEnum = {
2260
+ Pending: 'pending',
2261
+ Completed: 'completed',
2262
+ Failed: 'failed'
2263
+ } as const;
2264
+
2265
+ export type AgentReadinessV1ScansScanResourceStatusEnum = typeof AgentReadinessV1ScansScanResourceStatusEnum[keyof typeof AgentReadinessV1ScansScanResourceStatusEnum];
2266
+
1995
2267
  /**
1996
2268
  *
1997
2269
  * @export
@@ -7918,6 +8190,249 @@ export interface HostingV1GitWebsiteGitRepositoryWebhookResource {
7918
8190
  */
7919
8191
  'tutorial_url': string | null;
7920
8192
  }
8193
+ /**
8194
+ *
8195
+ * @export
8196
+ * @interface HostingV1HeadlessAgentReportResource
8197
+ */
8198
+ export interface HostingV1HeadlessAgentReportResource {
8199
+ /**
8200
+ * Stored report ID
8201
+ * @type {number}
8202
+ * @memberof HostingV1HeadlessAgentReportResource
8203
+ */
8204
+ 'id': number;
8205
+ /**
8206
+ * ID of the run the report is for
8207
+ * @type {string}
8208
+ * @memberof HostingV1HeadlessAgentReportResource
8209
+ */
8210
+ 'run_id': string;
8211
+ /**
8212
+ * When the report was received
8213
+ * @type {string}
8214
+ * @memberof HostingV1HeadlessAgentReportResource
8215
+ */
8216
+ 'created_at': string;
8217
+ }
8218
+ /**
8219
+ * Headless build report (report.schema.json v1), as written by the headless skill at the end of a run. Send the report unchanged.
8220
+ * @export
8221
+ * @interface HostingV1HeadlessStoreAgentReportRequest
8222
+ */
8223
+ export interface HostingV1HeadlessStoreAgentReportRequest {
8224
+ /**
8225
+ * Report schema version
8226
+ * @type {string}
8227
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8228
+ */
8229
+ 'schema_version': HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum;
8230
+ /**
8231
+ * When the report was written
8232
+ * @type {string}
8233
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8234
+ */
8235
+ 'generated_at': string;
8236
+ /**
8237
+ *
8238
+ * @type {HostingV1HeadlessStoreAgentReportRequestConsent}
8239
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8240
+ */
8241
+ 'consent': HostingV1HeadlessStoreAgentReportRequestConsent;
8242
+ /**
8243
+ *
8244
+ * @type {HostingV1HeadlessStoreAgentReportRequestRun}
8245
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8246
+ */
8247
+ 'run': HostingV1HeadlessStoreAgentReportRequestRun;
8248
+ /**
8249
+ *
8250
+ * @type {HostingV1HeadlessStoreAgentReportRequestInfo}
8251
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8252
+ */
8253
+ 'info': HostingV1HeadlessStoreAgentReportRequestInfo;
8254
+ /**
8255
+ *
8256
+ * @type {HostingV1HeadlessStoreAgentReportRequestTiming}
8257
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8258
+ */
8259
+ 'timing': HostingV1HeadlessStoreAgentReportRequestTiming;
8260
+ /**
8261
+ * Token usage, only when the tool reports its own usage
8262
+ * @type {object}
8263
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8264
+ */
8265
+ 'tokens': object | null;
8266
+ /**
8267
+ * Problems hit during the run
8268
+ * @type {Array<object>}
8269
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8270
+ */
8271
+ 'issues': Array<object>;
8272
+ /**
8273
+ * Feedback the user gave during the run
8274
+ * @type {Array<object>}
8275
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8276
+ */
8277
+ 'user_feedback': Array<object>;
8278
+ /**
8279
+ * Places where the skill instructions were missing or wrong
8280
+ * @type {Array<object>}
8281
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8282
+ */
8283
+ 'skill_gaps': Array<object>;
8284
+ /**
8285
+ * Things that worked well during the run
8286
+ * @type {Array<object>}
8287
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8288
+ */
8289
+ 'what_went_well': Array<object>;
8290
+ /**
8291
+ * Where the run log is missing or unsure
8292
+ * @type {Array<object>}
8293
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8294
+ */
8295
+ 'logging_gaps': Array<object>;
8296
+ /**
8297
+ * Earlier runs for the same website
8298
+ * @type {Array<object>}
8299
+ * @memberof HostingV1HeadlessStoreAgentReportRequest
8300
+ */
8301
+ 'previous_runs': Array<object>;
8302
+ }
8303
+
8304
+ export const HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum = {
8305
+ _1: '1'
8306
+ } as const;
8307
+
8308
+ export type HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum = typeof HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum[keyof typeof HostingV1HeadlessStoreAgentReportRequestSchemaVersionEnum];
8309
+
8310
+ /**
8311
+ * Upload status of the report, as written by the headless skill
8312
+ * @export
8313
+ * @interface HostingV1HeadlessStoreAgentReportRequestConsent
8314
+ */
8315
+ export interface HostingV1HeadlessStoreAgentReportRequestConsent {
8316
+ /**
8317
+ *
8318
+ * @type {boolean}
8319
+ * @memberof HostingV1HeadlessStoreAgentReportRequestConsent
8320
+ */
8321
+ 'sent': boolean;
8322
+ /**
8323
+ *
8324
+ * @type {string}
8325
+ * @memberof HostingV1HeadlessStoreAgentReportRequestConsent
8326
+ */
8327
+ 'note': string;
8328
+ }
8329
+ /**
8330
+ * Website, tool and outcome of the run
8331
+ * @export
8332
+ * @interface HostingV1HeadlessStoreAgentReportRequestInfo
8333
+ */
8334
+ export interface HostingV1HeadlessStoreAgentReportRequestInfo {
8335
+ /**
8336
+ *
8337
+ * @type {string}
8338
+ * @memberof HostingV1HeadlessStoreAgentReportRequestInfo
8339
+ */
8340
+ 'domain': string;
8341
+ /**
8342
+ *
8343
+ * @type {string}
8344
+ * @memberof HostingV1HeadlessStoreAgentReportRequestInfo
8345
+ */
8346
+ 'tool': string | null;
8347
+ /**
8348
+ *
8349
+ * @type {string}
8350
+ * @memberof HostingV1HeadlessStoreAgentReportRequestInfo
8351
+ */
8352
+ 'outcome': HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum;
8353
+ }
8354
+
8355
+ export const HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum = {
8356
+ Live: 'live',
8357
+ Stopped: 'stopped',
8358
+ Failed: 'failed',
8359
+ Abandoned: 'abandoned'
8360
+ } as const;
8361
+
8362
+ export type HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum = typeof HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum[keyof typeof HostingV1HeadlessStoreAgentReportRequestInfoOutcomeEnum];
8363
+
8364
+ /**
8365
+ * The run the report is for
8366
+ * @export
8367
+ * @interface HostingV1HeadlessStoreAgentReportRequestRun
8368
+ */
8369
+ export interface HostingV1HeadlessStoreAgentReportRequestRun {
8370
+ /**
8371
+ *
8372
+ * @type {string}
8373
+ * @memberof HostingV1HeadlessStoreAgentReportRequestRun
8374
+ */
8375
+ 'id': string;
8376
+ /**
8377
+ *
8378
+ * @type {string}
8379
+ * @memberof HostingV1HeadlessStoreAgentReportRequestRun
8380
+ */
8381
+ 'kind': HostingV1HeadlessStoreAgentReportRequestRunKindEnum;
8382
+ /**
8383
+ *
8384
+ * @type {string}
8385
+ * @memberof HostingV1HeadlessStoreAgentReportRequestRun
8386
+ */
8387
+ 'skill': string | null;
8388
+ /**
8389
+ *
8390
+ * @type {Array<object>}
8391
+ * @memberof HostingV1HeadlessStoreAgentReportRequestRun
8392
+ */
8393
+ 'follow_ups': Array<object>;
8394
+ }
8395
+
8396
+ export const HostingV1HeadlessStoreAgentReportRequestRunKindEnum = {
8397
+ Build: 'build',
8398
+ Resume: 'resume',
8399
+ Redesign: 'redesign',
8400
+ Iterate: 'iterate'
8401
+ } as const;
8402
+
8403
+ export type HostingV1HeadlessStoreAgentReportRequestRunKindEnum = typeof HostingV1HeadlessStoreAgentReportRequestRunKindEnum[keyof typeof HostingV1HeadlessStoreAgentReportRequestRunKindEnum];
8404
+
8405
+ /**
8406
+ * Run start and end times and per-stage timings
8407
+ * @export
8408
+ * @interface HostingV1HeadlessStoreAgentReportRequestTiming
8409
+ */
8410
+ export interface HostingV1HeadlessStoreAgentReportRequestTiming {
8411
+ /**
8412
+ *
8413
+ * @type {string}
8414
+ * @memberof HostingV1HeadlessStoreAgentReportRequestTiming
8415
+ */
8416
+ 'started_at': string;
8417
+ /**
8418
+ *
8419
+ * @type {string}
8420
+ * @memberof HostingV1HeadlessStoreAgentReportRequestTiming
8421
+ */
8422
+ 'ended_at': string;
8423
+ /**
8424
+ *
8425
+ * @type {number}
8426
+ * @memberof HostingV1HeadlessStoreAgentReportRequestTiming
8427
+ */
8428
+ 'minutes_total': number | null;
8429
+ /**
8430
+ *
8431
+ * @type {Array<object>}
8432
+ * @memberof HostingV1HeadlessStoreAgentReportRequestTiming
8433
+ */
8434
+ 'stages': Array<object>;
8435
+ }
7921
8436
  /**
7922
8437
  *
7923
8438
  * @export
@@ -21585,6 +22100,295 @@ export class AgencyHostingWordPressApi extends BaseAPI {
21585
22100
 
21586
22101
 
21587
22102
 
22103
+ /**
22104
+ * AgentReadinessChecksApi - axios parameter creator
22105
+ * @export
22106
+ */
22107
+ export const AgentReadinessChecksApiAxiosParamCreator = function (configuration?: Configuration) {
22108
+ return {
22109
+ /**
22110
+ * 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.
22111
+ * @summary List checks
22112
+ * @param {*} [options] Override http request option.
22113
+ * @throws {RequiredError}
22114
+ */
22115
+ listChecksV1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22116
+ const localVarPath = `/api/agent-readiness/v1/checks`;
22117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22118
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22119
+ let baseOptions;
22120
+ if (configuration) {
22121
+ baseOptions = configuration.baseOptions;
22122
+ }
22123
+
22124
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
22125
+ const localVarHeaderParameter = {} as any;
22126
+ const localVarQueryParameter = {} as any;
22127
+
22128
+ // authentication apiToken required
22129
+ // http bearer authentication required
22130
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22131
+
22132
+
22133
+
22134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22136
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22137
+
22138
+ return {
22139
+ url: toPathString(localVarUrlObj),
22140
+ options: localVarRequestOptions,
22141
+ };
22142
+ },
22143
+ }
22144
+ };
22145
+
22146
+ /**
22147
+ * AgentReadinessChecksApi - functional programming interface
22148
+ * @export
22149
+ */
22150
+ export const AgentReadinessChecksApiFp = function(configuration?: Configuration) {
22151
+ const localVarAxiosParamCreator = AgentReadinessChecksApiAxiosParamCreator(configuration)
22152
+ return {
22153
+ /**
22154
+ * 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.
22155
+ * @summary List checks
22156
+ * @param {*} [options] Override http request option.
22157
+ * @throws {RequiredError}
22158
+ */
22159
+ async listChecksV1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgentReadinessV1ChecksCheckResource>>> {
22160
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listChecksV1(options);
22161
+ const localVarOperationServerBasePath = operationServerMap['AgentReadinessChecksApi.listChecksV1']?.[0]?.url;
22162
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22163
+ },
22164
+ }
22165
+ };
22166
+
22167
+ /**
22168
+ * AgentReadinessChecksApi - factory interface
22169
+ * @export
22170
+ */
22171
+ export const AgentReadinessChecksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
22172
+ const localVarFp = AgentReadinessChecksApiFp(configuration)
22173
+ return {
22174
+ /**
22175
+ * 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.
22176
+ * @summary List checks
22177
+ * @param {*} [options] Override http request option.
22178
+ * @throws {RequiredError}
22179
+ */
22180
+ listChecksV1(options?: RawAxiosRequestConfig): AxiosPromise<Array<AgentReadinessV1ChecksCheckResource>> {
22181
+ return localVarFp.listChecksV1(options).then((request) => request(axios, basePath));
22182
+ },
22183
+ };
22184
+ };
22185
+
22186
+ /**
22187
+ * AgentReadinessChecksApi - object-oriented interface
22188
+ * @export
22189
+ * @class AgentReadinessChecksApi
22190
+ * @extends {BaseAPI}
22191
+ */
22192
+ export class AgentReadinessChecksApi extends BaseAPI {
22193
+ /**
22194
+ * 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.
22195
+ * @summary List checks
22196
+ * @param {*} [options] Override http request option.
22197
+ * @throws {RequiredError}
22198
+ * @memberof AgentReadinessChecksApi
22199
+ */
22200
+ public listChecksV1(options?: RawAxiosRequestConfig) {
22201
+ return AgentReadinessChecksApiFp(this.configuration).listChecksV1(options).then((request) => request(this.axios, this.basePath));
22202
+ }
22203
+ }
22204
+
22205
+
22206
+
22207
+ /**
22208
+ * AgentReadinessScansApi - axios parameter creator
22209
+ * @export
22210
+ */
22211
+ export const AgentReadinessScansApiAxiosParamCreator = function (configuration?: Configuration) {
22212
+ return {
22213
+ /**
22214
+ * 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.
22215
+ * @summary Get website scan
22216
+ * @param {string} domain Domain name the scan was run for
22217
+ * @param {*} [options] Override http request option.
22218
+ * @throws {RequiredError}
22219
+ */
22220
+ getWebsiteScanV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22221
+ // verify required parameter 'domain' is not null or undefined
22222
+ assertParamExists('getWebsiteScanV1', 'domain', domain)
22223
+ const localVarPath = `/api/agent-readiness/v1/scans/{domain}`
22224
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
22225
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22226
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22227
+ let baseOptions;
22228
+ if (configuration) {
22229
+ baseOptions = configuration.baseOptions;
22230
+ }
22231
+
22232
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
22233
+ const localVarHeaderParameter = {} as any;
22234
+ const localVarQueryParameter = {} as any;
22235
+
22236
+ // authentication apiToken required
22237
+ // http bearer authentication required
22238
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22239
+
22240
+
22241
+
22242
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22243
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22244
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22245
+
22246
+ return {
22247
+ url: toPathString(localVarUrlObj),
22248
+ options: localVarRequestOptions,
22249
+ };
22250
+ },
22251
+ /**
22252
+ * 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.
22253
+ * @summary Run website scan
22254
+ * @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
22255
+ * @param {*} [options] Override http request option.
22256
+ * @throws {RequiredError}
22257
+ */
22258
+ runWebsiteScanV1: async (agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22259
+ // verify required parameter 'agentReadinessV1ScansRunScanRequest' is not null or undefined
22260
+ assertParamExists('runWebsiteScanV1', 'agentReadinessV1ScansRunScanRequest', agentReadinessV1ScansRunScanRequest)
22261
+ const localVarPath = `/api/agent-readiness/v1/scans`;
22262
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22263
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22264
+ let baseOptions;
22265
+ if (configuration) {
22266
+ baseOptions = configuration.baseOptions;
22267
+ }
22268
+
22269
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
22270
+ const localVarHeaderParameter = {} as any;
22271
+ const localVarQueryParameter = {} as any;
22272
+
22273
+ // authentication apiToken required
22274
+ // http bearer authentication required
22275
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22276
+
22277
+
22278
+
22279
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22280
+
22281
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22282
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22283
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22284
+ localVarRequestOptions.data = serializeDataIfNeeded(agentReadinessV1ScansRunScanRequest, localVarRequestOptions, configuration)
22285
+
22286
+ return {
22287
+ url: toPathString(localVarUrlObj),
22288
+ options: localVarRequestOptions,
22289
+ };
22290
+ },
22291
+ }
22292
+ };
22293
+
22294
+ /**
22295
+ * AgentReadinessScansApi - functional programming interface
22296
+ * @export
22297
+ */
22298
+ export const AgentReadinessScansApiFp = function(configuration?: Configuration) {
22299
+ const localVarAxiosParamCreator = AgentReadinessScansApiAxiosParamCreator(configuration)
22300
+ return {
22301
+ /**
22302
+ * 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.
22303
+ * @summary Get website scan
22304
+ * @param {string} domain Domain name the scan was run for
22305
+ * @param {*} [options] Override http request option.
22306
+ * @throws {RequiredError}
22307
+ */
22308
+ async getWebsiteScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>> {
22309
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWebsiteScanV1(domain, options);
22310
+ const localVarOperationServerBasePath = operationServerMap['AgentReadinessScansApi.getWebsiteScanV1']?.[0]?.url;
22311
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22312
+ },
22313
+ /**
22314
+ * 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.
22315
+ * @summary Run website scan
22316
+ * @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
22317
+ * @param {*} [options] Override http request option.
22318
+ * @throws {RequiredError}
22319
+ */
22320
+ async runWebsiteScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>> {
22321
+ const localVarAxiosArgs = await localVarAxiosParamCreator.runWebsiteScanV1(agentReadinessV1ScansRunScanRequest, options);
22322
+ const localVarOperationServerBasePath = operationServerMap['AgentReadinessScansApi.runWebsiteScanV1']?.[0]?.url;
22323
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22324
+ },
22325
+ }
22326
+ };
22327
+
22328
+ /**
22329
+ * AgentReadinessScansApi - factory interface
22330
+ * @export
22331
+ */
22332
+ export const AgentReadinessScansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
22333
+ const localVarFp = AgentReadinessScansApiFp(configuration)
22334
+ return {
22335
+ /**
22336
+ * 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.
22337
+ * @summary Get website scan
22338
+ * @param {string} domain Domain name the scan was run for
22339
+ * @param {*} [options] Override http request option.
22340
+ * @throws {RequiredError}
22341
+ */
22342
+ getWebsiteScanV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource> {
22343
+ return localVarFp.getWebsiteScanV1(domain, options).then((request) => request(axios, basePath));
22344
+ },
22345
+ /**
22346
+ * 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.
22347
+ * @summary Run website scan
22348
+ * @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
22349
+ * @param {*} [options] Override http request option.
22350
+ * @throws {RequiredError}
22351
+ */
22352
+ runWebsiteScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource> {
22353
+ return localVarFp.runWebsiteScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(axios, basePath));
22354
+ },
22355
+ };
22356
+ };
22357
+
22358
+ /**
22359
+ * AgentReadinessScansApi - object-oriented interface
22360
+ * @export
22361
+ * @class AgentReadinessScansApi
22362
+ * @extends {BaseAPI}
22363
+ */
22364
+ export class AgentReadinessScansApi extends BaseAPI {
22365
+ /**
22366
+ * 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.
22367
+ * @summary Get website scan
22368
+ * @param {string} domain Domain name the scan was run for
22369
+ * @param {*} [options] Override http request option.
22370
+ * @throws {RequiredError}
22371
+ * @memberof AgentReadinessScansApi
22372
+ */
22373
+ public getWebsiteScanV1(domain: string, options?: RawAxiosRequestConfig) {
22374
+ return AgentReadinessScansApiFp(this.configuration).getWebsiteScanV1(domain, options).then((request) => request(this.axios, this.basePath));
22375
+ }
22376
+
22377
+ /**
22378
+ * 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.
22379
+ * @summary Run website scan
22380
+ * @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
22381
+ * @param {*} [options] Override http request option.
22382
+ * @throws {RequiredError}
22383
+ * @memberof AgentReadinessScansApi
22384
+ */
22385
+ public runWebsiteScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig) {
22386
+ return AgentReadinessScansApiFp(this.configuration).runWebsiteScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(this.axios, this.basePath));
22387
+ }
22388
+ }
22389
+
22390
+
22391
+
21588
22392
  /**
21589
22393
  * BillingCatalogApi - axios parameter creator
21590
22394
  * @export
@@ -33267,6 +34071,119 @@ export const ListGitInstallationsV1StatusEnum = {
33267
34071
  export type ListGitInstallationsV1StatusEnum = typeof ListGitInstallationsV1StatusEnum[keyof typeof ListGitInstallationsV1StatusEnum];
33268
34072
 
33269
34073
 
34074
+ /**
34075
+ * HostingHeadlessApi - axios parameter creator
34076
+ * @export
34077
+ */
34078
+ export const HostingHeadlessApiAxiosParamCreator = function (configuration?: Configuration) {
34079
+ return {
34080
+ /**
34081
+ * 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.
34082
+ * @summary Submit headless build report
34083
+ * @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
34084
+ * @param {*} [options] Override http request option.
34085
+ * @throws {RequiredError}
34086
+ */
34087
+ submitHeadlessBuildReportV1: async (hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
34088
+ // verify required parameter 'hostingV1HeadlessStoreAgentReportRequest' is not null or undefined
34089
+ assertParamExists('submitHeadlessBuildReportV1', 'hostingV1HeadlessStoreAgentReportRequest', hostingV1HeadlessStoreAgentReportRequest)
34090
+ const localVarPath = `/api/hosting/v1/headless/agent-reports`;
34091
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34092
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34093
+ let baseOptions;
34094
+ if (configuration) {
34095
+ baseOptions = configuration.baseOptions;
34096
+ }
34097
+
34098
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
34099
+ const localVarHeaderParameter = {} as any;
34100
+ const localVarQueryParameter = {} as any;
34101
+
34102
+ // authentication apiToken required
34103
+ // http bearer authentication required
34104
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
34105
+
34106
+
34107
+
34108
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34109
+
34110
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34111
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34112
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34113
+ localVarRequestOptions.data = serializeDataIfNeeded(hostingV1HeadlessStoreAgentReportRequest, localVarRequestOptions, configuration)
34114
+
34115
+ return {
34116
+ url: toPathString(localVarUrlObj),
34117
+ options: localVarRequestOptions,
34118
+ };
34119
+ },
34120
+ }
34121
+ };
34122
+
34123
+ /**
34124
+ * HostingHeadlessApi - functional programming interface
34125
+ * @export
34126
+ */
34127
+ export const HostingHeadlessApiFp = function(configuration?: Configuration) {
34128
+ const localVarAxiosParamCreator = HostingHeadlessApiAxiosParamCreator(configuration)
34129
+ return {
34130
+ /**
34131
+ * 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.
34132
+ * @summary Submit headless build report
34133
+ * @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
34134
+ * @param {*} [options] Override http request option.
34135
+ * @throws {RequiredError}
34136
+ */
34137
+ async submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1HeadlessAgentReportResource>> {
34138
+ const localVarAxiosArgs = await localVarAxiosParamCreator.submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest, options);
34139
+ const localVarOperationServerBasePath = operationServerMap['HostingHeadlessApi.submitHeadlessBuildReportV1']?.[0]?.url;
34140
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34141
+ },
34142
+ }
34143
+ };
34144
+
34145
+ /**
34146
+ * HostingHeadlessApi - factory interface
34147
+ * @export
34148
+ */
34149
+ export const HostingHeadlessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
34150
+ const localVarFp = HostingHeadlessApiFp(configuration)
34151
+ return {
34152
+ /**
34153
+ * 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.
34154
+ * @summary Submit headless build report
34155
+ * @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
34156
+ * @param {*} [options] Override http request option.
34157
+ * @throws {RequiredError}
34158
+ */
34159
+ submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1HeadlessAgentReportResource> {
34160
+ return localVarFp.submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest, options).then((request) => request(axios, basePath));
34161
+ },
34162
+ };
34163
+ };
34164
+
34165
+ /**
34166
+ * HostingHeadlessApi - object-oriented interface
34167
+ * @export
34168
+ * @class HostingHeadlessApi
34169
+ * @extends {BaseAPI}
34170
+ */
34171
+ export class HostingHeadlessApi extends BaseAPI {
34172
+ /**
34173
+ * 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.
34174
+ * @summary Submit headless build report
34175
+ * @param {HostingV1HeadlessStoreAgentReportRequest} hostingV1HeadlessStoreAgentReportRequest
34176
+ * @param {*} [options] Override http request option.
34177
+ * @throws {RequiredError}
34178
+ * @memberof HostingHeadlessApi
34179
+ */
34180
+ public submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest: HostingV1HeadlessStoreAgentReportRequest, options?: RawAxiosRequestConfig) {
34181
+ return HostingHeadlessApiFp(this.configuration).submitHeadlessBuildReportV1(hostingV1HeadlessStoreAgentReportRequest, options).then((request) => request(this.axios, this.basePath));
34182
+ }
34183
+ }
34184
+
34185
+
34186
+
33270
34187
  /**
33271
34188
  * HostingNodeJSApi - axios parameter creator
33272
34189
  * @export