hostinger-api-sdk 1.67.0 → 1.67.1
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 +35 -35
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +25 -25
- package/dist/api.js +35 -35
- 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 +25 -25
- package/dist/esm/api.js +35 -35
- 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/AgentReadinessScansApi.md +10 -10
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@1.67.
|
|
1
|
+
## @hostinger/sdk@1.67.1
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@1.67.
|
|
8
|
+
npm install @hostinger/sdk@1.67.1 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -22211,15 +22211,15 @@ export class AgentReadinessChecksApi extends BaseAPI {
|
|
|
22211
22211
|
export const AgentReadinessScansApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
22212
22212
|
return {
|
|
22213
22213
|
/**
|
|
22214
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
22215
|
-
* @summary Get
|
|
22214
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
22215
|
+
* @summary Get agent readiness scan
|
|
22216
22216
|
* @param {string} domain Domain name the scan was run for
|
|
22217
22217
|
* @param {*} [options] Override http request option.
|
|
22218
22218
|
* @throws {RequiredError}
|
|
22219
22219
|
*/
|
|
22220
|
-
|
|
22220
|
+
getAgentReadinessScanV1: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22221
22221
|
// verify required parameter 'domain' is not null or undefined
|
|
22222
|
-
assertParamExists('
|
|
22222
|
+
assertParamExists('getAgentReadinessScanV1', 'domain', domain)
|
|
22223
22223
|
const localVarPath = `/api/agent-readiness/v1/scans/{domain}`
|
|
22224
22224
|
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
22225
22225
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -22249,15 +22249,15 @@ export const AgentReadinessScansApiAxiosParamCreator = function (configuration?:
|
|
|
22249
22249
|
};
|
|
22250
22250
|
},
|
|
22251
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
|
|
22253
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
22254
22254
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
22255
22255
|
* @param {*} [options] Override http request option.
|
|
22256
22256
|
* @throws {RequiredError}
|
|
22257
22257
|
*/
|
|
22258
|
-
|
|
22258
|
+
runAgentReadinessScanV1: async (agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22259
22259
|
// verify required parameter 'agentReadinessV1ScansRunScanRequest' is not null or undefined
|
|
22260
|
-
assertParamExists('
|
|
22260
|
+
assertParamExists('runAgentReadinessScanV1', 'agentReadinessV1ScansRunScanRequest', agentReadinessV1ScansRunScanRequest)
|
|
22261
22261
|
const localVarPath = `/api/agent-readiness/v1/scans`;
|
|
22262
22262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22263
22263
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22299,27 +22299,27 @@ export const AgentReadinessScansApiFp = function(configuration?: Configuration)
|
|
|
22299
22299
|
const localVarAxiosParamCreator = AgentReadinessScansApiAxiosParamCreator(configuration)
|
|
22300
22300
|
return {
|
|
22301
22301
|
/**
|
|
22302
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
22303
|
-
* @summary Get
|
|
22302
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
22303
|
+
* @summary Get agent readiness scan
|
|
22304
22304
|
* @param {string} domain Domain name the scan was run for
|
|
22305
22305
|
* @param {*} [options] Override http request option.
|
|
22306
22306
|
* @throws {RequiredError}
|
|
22307
22307
|
*/
|
|
22308
|
-
async
|
|
22309
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
22310
|
-
const localVarOperationServerBasePath = operationServerMap['AgentReadinessScansApi.
|
|
22308
|
+
async getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>> {
|
|
22309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAgentReadinessScanV1(domain, options);
|
|
22310
|
+
const localVarOperationServerBasePath = operationServerMap['AgentReadinessScansApi.getAgentReadinessScanV1']?.[0]?.url;
|
|
22311
22311
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22312
22312
|
},
|
|
22313
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
|
|
22315
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
22316
22316
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
22317
22317
|
* @param {*} [options] Override http request option.
|
|
22318
22318
|
* @throws {RequiredError}
|
|
22319
22319
|
*/
|
|
22320
|
-
async
|
|
22321
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
22322
|
-
const localVarOperationServerBasePath = operationServerMap['AgentReadinessScansApi.
|
|
22320
|
+
async runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>> {
|
|
22321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options);
|
|
22322
|
+
const localVarOperationServerBasePath = operationServerMap['AgentReadinessScansApi.runAgentReadinessScanV1']?.[0]?.url;
|
|
22323
22323
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22324
22324
|
},
|
|
22325
22325
|
}
|
|
@@ -22333,24 +22333,24 @@ export const AgentReadinessScansApiFactory = function (configuration?: Configura
|
|
|
22333
22333
|
const localVarFp = AgentReadinessScansApiFp(configuration)
|
|
22334
22334
|
return {
|
|
22335
22335
|
/**
|
|
22336
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
22337
|
-
* @summary Get
|
|
22336
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
22337
|
+
* @summary Get agent readiness scan
|
|
22338
22338
|
* @param {string} domain Domain name the scan was run for
|
|
22339
22339
|
* @param {*} [options] Override http request option.
|
|
22340
22340
|
* @throws {RequiredError}
|
|
22341
22341
|
*/
|
|
22342
|
-
|
|
22343
|
-
return localVarFp.
|
|
22342
|
+
getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource> {
|
|
22343
|
+
return localVarFp.getAgentReadinessScanV1(domain, options).then((request) => request(axios, basePath));
|
|
22344
22344
|
},
|
|
22345
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
|
|
22347
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
22348
22348
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
22349
22349
|
* @param {*} [options] Override http request option.
|
|
22350
22350
|
* @throws {RequiredError}
|
|
22351
22351
|
*/
|
|
22352
|
-
|
|
22353
|
-
return localVarFp.
|
|
22352
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource> {
|
|
22353
|
+
return localVarFp.runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(axios, basePath));
|
|
22354
22354
|
},
|
|
22355
22355
|
};
|
|
22356
22356
|
};
|
|
@@ -22363,27 +22363,27 @@ export const AgentReadinessScansApiFactory = function (configuration?: Configura
|
|
|
22363
22363
|
*/
|
|
22364
22364
|
export class AgentReadinessScansApi extends BaseAPI {
|
|
22365
22365
|
/**
|
|
22366
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
22367
|
-
* @summary Get
|
|
22366
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
22367
|
+
* @summary Get agent readiness scan
|
|
22368
22368
|
* @param {string} domain Domain name the scan was run for
|
|
22369
22369
|
* @param {*} [options] Override http request option.
|
|
22370
22370
|
* @throws {RequiredError}
|
|
22371
22371
|
* @memberof AgentReadinessScansApi
|
|
22372
22372
|
*/
|
|
22373
|
-
public
|
|
22374
|
-
return AgentReadinessScansApiFp(this.configuration).
|
|
22373
|
+
public getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig) {
|
|
22374
|
+
return AgentReadinessScansApiFp(this.configuration).getAgentReadinessScanV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
22375
22375
|
}
|
|
22376
22376
|
|
|
22377
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
|
|
22379
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
22380
22380
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
22381
22381
|
* @param {*} [options] Override http request option.
|
|
22382
22382
|
* @throws {RequiredError}
|
|
22383
22383
|
* @memberof AgentReadinessScansApi
|
|
22384
22384
|
*/
|
|
22385
|
-
public
|
|
22386
|
-
return AgentReadinessScansApiFp(this.configuration).
|
|
22385
|
+
public runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig) {
|
|
22386
|
+
return AgentReadinessScansApiFp(this.configuration).runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22387
22387
|
}
|
|
22388
22388
|
}
|
|
22389
22389
|
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/1.67.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/1.67.1",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -19871,21 +19871,21 @@ export declare class AgentReadinessChecksApi extends BaseAPI {
|
|
|
19871
19871
|
*/
|
|
19872
19872
|
export declare const AgentReadinessScansApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19873
19873
|
/**
|
|
19874
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19875
|
-
* @summary Get
|
|
19874
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19875
|
+
* @summary Get agent readiness scan
|
|
19876
19876
|
* @param {string} domain Domain name the scan was run for
|
|
19877
19877
|
* @param {*} [options] Override http request option.
|
|
19878
19878
|
* @throws {RequiredError}
|
|
19879
19879
|
*/
|
|
19880
|
-
|
|
19880
|
+
getAgentReadinessScanV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19881
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
|
|
19883
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19884
19884
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19885
19885
|
* @param {*} [options] Override http request option.
|
|
19886
19886
|
* @throws {RequiredError}
|
|
19887
19887
|
*/
|
|
19888
|
-
|
|
19888
|
+
runAgentReadinessScanV1: (agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19889
19889
|
};
|
|
19890
19890
|
/**
|
|
19891
19891
|
* AgentReadinessScansApi - functional programming interface
|
|
@@ -19893,21 +19893,21 @@ export declare const AgentReadinessScansApiAxiosParamCreator: (configuration?: C
|
|
|
19893
19893
|
*/
|
|
19894
19894
|
export declare const AgentReadinessScansApiFp: (configuration?: Configuration) => {
|
|
19895
19895
|
/**
|
|
19896
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19897
|
-
* @summary Get
|
|
19896
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19897
|
+
* @summary Get agent readiness scan
|
|
19898
19898
|
* @param {string} domain Domain name the scan was run for
|
|
19899
19899
|
* @param {*} [options] Override http request option.
|
|
19900
19900
|
* @throws {RequiredError}
|
|
19901
19901
|
*/
|
|
19902
|
-
|
|
19902
|
+
getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>>;
|
|
19903
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
|
|
19905
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19906
19906
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19907
19907
|
* @param {*} [options] Override http request option.
|
|
19908
19908
|
* @throws {RequiredError}
|
|
19909
19909
|
*/
|
|
19910
|
-
|
|
19910
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>>;
|
|
19911
19911
|
};
|
|
19912
19912
|
/**
|
|
19913
19913
|
* AgentReadinessScansApi - factory interface
|
|
@@ -19915,21 +19915,21 @@ export declare const AgentReadinessScansApiFp: (configuration?: Configuration) =
|
|
|
19915
19915
|
*/
|
|
19916
19916
|
export declare const AgentReadinessScansApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19917
19917
|
/**
|
|
19918
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19919
|
-
* @summary Get
|
|
19918
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19919
|
+
* @summary Get agent readiness scan
|
|
19920
19920
|
* @param {string} domain Domain name the scan was run for
|
|
19921
19921
|
* @param {*} [options] Override http request option.
|
|
19922
19922
|
* @throws {RequiredError}
|
|
19923
19923
|
*/
|
|
19924
|
-
|
|
19924
|
+
getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource>;
|
|
19925
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
|
|
19927
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19928
19928
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19929
19929
|
* @param {*} [options] Override http request option.
|
|
19930
19930
|
* @throws {RequiredError}
|
|
19931
19931
|
*/
|
|
19932
|
-
|
|
19932
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource>;
|
|
19933
19933
|
};
|
|
19934
19934
|
/**
|
|
19935
19935
|
* AgentReadinessScansApi - object-oriented interface
|
|
@@ -19939,23 +19939,23 @@ export declare const AgentReadinessScansApiFactory: (configuration?: Configurati
|
|
|
19939
19939
|
*/
|
|
19940
19940
|
export declare class AgentReadinessScansApi extends BaseAPI {
|
|
19941
19941
|
/**
|
|
19942
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19943
|
-
* @summary Get
|
|
19942
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19943
|
+
* @summary Get agent readiness scan
|
|
19944
19944
|
* @param {string} domain Domain name the scan was run for
|
|
19945
19945
|
* @param {*} [options] Override http request option.
|
|
19946
19946
|
* @throws {RequiredError}
|
|
19947
19947
|
* @memberof AgentReadinessScansApi
|
|
19948
19948
|
*/
|
|
19949
|
-
|
|
19949
|
+
getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentReadinessV1ScansScanResource, any, {}, any>>;
|
|
19950
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
|
|
19952
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19953
19953
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19954
19954
|
* @param {*} [options] Override http request option.
|
|
19955
19955
|
* @throws {RequiredError}
|
|
19956
19956
|
* @memberof AgentReadinessScansApi
|
|
19957
19957
|
*/
|
|
19958
|
-
|
|
19958
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentReadinessV1ScansScanResource, any, {}, any>>;
|
|
19959
19959
|
}
|
|
19960
19960
|
/**
|
|
19961
19961
|
* BillingCatalogApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.67.
|
|
7
|
+
* API Version: 1.67.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4858,15 +4858,15 @@ exports.AgentReadinessChecksApi = AgentReadinessChecksApi;
|
|
|
4858
4858
|
const AgentReadinessScansApiAxiosParamCreator = function (configuration) {
|
|
4859
4859
|
return {
|
|
4860
4860
|
/**
|
|
4861
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
4862
|
-
* @summary Get
|
|
4861
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
4862
|
+
* @summary Get agent readiness scan
|
|
4863
4863
|
* @param {string} domain Domain name the scan was run for
|
|
4864
4864
|
* @param {*} [options] Override http request option.
|
|
4865
4865
|
* @throws {RequiredError}
|
|
4866
4866
|
*/
|
|
4867
|
-
|
|
4867
|
+
getAgentReadinessScanV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
4868
4868
|
// verify required parameter 'domain' is not null or undefined
|
|
4869
|
-
(0, common_1.assertParamExists)('
|
|
4869
|
+
(0, common_1.assertParamExists)('getAgentReadinessScanV1', 'domain', domain);
|
|
4870
4870
|
const localVarPath = `/api/agent-readiness/v1/scans/{domain}`
|
|
4871
4871
|
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4872
4872
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4890,15 +4890,15 @@ const AgentReadinessScansApiAxiosParamCreator = function (configuration) {
|
|
|
4890
4890
|
};
|
|
4891
4891
|
}),
|
|
4892
4892
|
/**
|
|
4893
|
-
* 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
|
|
4894
|
-
* @summary Run
|
|
4893
|
+
* 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 agent readiness 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.
|
|
4894
|
+
* @summary Run agent readiness scan
|
|
4895
4895
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
4896
4896
|
* @param {*} [options] Override http request option.
|
|
4897
4897
|
* @throws {RequiredError}
|
|
4898
4898
|
*/
|
|
4899
|
-
|
|
4899
|
+
runAgentReadinessScanV1: (agentReadinessV1ScansRunScanRequest_1, ...args_1) => __awaiter(this, [agentReadinessV1ScansRunScanRequest_1, ...args_1], void 0, function* (agentReadinessV1ScansRunScanRequest, options = {}) {
|
|
4900
4900
|
// verify required parameter 'agentReadinessV1ScansRunScanRequest' is not null or undefined
|
|
4901
|
-
(0, common_1.assertParamExists)('
|
|
4901
|
+
(0, common_1.assertParamExists)('runAgentReadinessScanV1', 'agentReadinessV1ScansRunScanRequest', agentReadinessV1ScansRunScanRequest);
|
|
4902
4902
|
const localVarPath = `/api/agent-readiness/v1/scans`;
|
|
4903
4903
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4904
4904
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -4933,32 +4933,32 @@ const AgentReadinessScansApiFp = function (configuration) {
|
|
|
4933
4933
|
const localVarAxiosParamCreator = (0, exports.AgentReadinessScansApiAxiosParamCreator)(configuration);
|
|
4934
4934
|
return {
|
|
4935
4935
|
/**
|
|
4936
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
4937
|
-
* @summary Get
|
|
4936
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
4937
|
+
* @summary Get agent readiness scan
|
|
4938
4938
|
* @param {string} domain Domain name the scan was run for
|
|
4939
4939
|
* @param {*} [options] Override http request option.
|
|
4940
4940
|
* @throws {RequiredError}
|
|
4941
4941
|
*/
|
|
4942
|
-
|
|
4942
|
+
getAgentReadinessScanV1(domain, options) {
|
|
4943
4943
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4944
4944
|
var _a, _b;
|
|
4945
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4946
|
-
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['AgentReadinessScansApi.
|
|
4945
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAgentReadinessScanV1(domain, options);
|
|
4946
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['AgentReadinessScansApi.getAgentReadinessScanV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
4947
4947
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4948
4948
|
});
|
|
4949
4949
|
},
|
|
4950
4950
|
/**
|
|
4951
|
-
* 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
|
|
4952
|
-
* @summary Run
|
|
4951
|
+
* 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 agent readiness 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.
|
|
4952
|
+
* @summary Run agent readiness scan
|
|
4953
4953
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
4954
4954
|
* @param {*} [options] Override http request option.
|
|
4955
4955
|
* @throws {RequiredError}
|
|
4956
4956
|
*/
|
|
4957
|
-
|
|
4957
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options) {
|
|
4958
4958
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4959
4959
|
var _a, _b;
|
|
4960
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4961
|
-
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['AgentReadinessScansApi.
|
|
4960
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options);
|
|
4961
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['AgentReadinessScansApi.runAgentReadinessScanV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
4962
4962
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4963
4963
|
});
|
|
4964
4964
|
},
|
|
@@ -4973,24 +4973,24 @@ const AgentReadinessScansApiFactory = function (configuration, basePath, axios)
|
|
|
4973
4973
|
const localVarFp = (0, exports.AgentReadinessScansApiFp)(configuration);
|
|
4974
4974
|
return {
|
|
4975
4975
|
/**
|
|
4976
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
4977
|
-
* @summary Get
|
|
4976
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
4977
|
+
* @summary Get agent readiness scan
|
|
4978
4978
|
* @param {string} domain Domain name the scan was run for
|
|
4979
4979
|
* @param {*} [options] Override http request option.
|
|
4980
4980
|
* @throws {RequiredError}
|
|
4981
4981
|
*/
|
|
4982
|
-
|
|
4983
|
-
return localVarFp.
|
|
4982
|
+
getAgentReadinessScanV1(domain, options) {
|
|
4983
|
+
return localVarFp.getAgentReadinessScanV1(domain, options).then((request) => request(axios, basePath));
|
|
4984
4984
|
},
|
|
4985
4985
|
/**
|
|
4986
|
-
* 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
|
|
4987
|
-
* @summary Run
|
|
4986
|
+
* 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 agent readiness 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.
|
|
4987
|
+
* @summary Run agent readiness scan
|
|
4988
4988
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
4989
4989
|
* @param {*} [options] Override http request option.
|
|
4990
4990
|
* @throws {RequiredError}
|
|
4991
4991
|
*/
|
|
4992
|
-
|
|
4993
|
-
return localVarFp.
|
|
4992
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options) {
|
|
4993
|
+
return localVarFp.runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(axios, basePath));
|
|
4994
4994
|
},
|
|
4995
4995
|
};
|
|
4996
4996
|
};
|
|
@@ -5003,26 +5003,26 @@ exports.AgentReadinessScansApiFactory = AgentReadinessScansApiFactory;
|
|
|
5003
5003
|
*/
|
|
5004
5004
|
class AgentReadinessScansApi extends base_1.BaseAPI {
|
|
5005
5005
|
/**
|
|
5006
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
5007
|
-
* @summary Get
|
|
5006
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
5007
|
+
* @summary Get agent readiness scan
|
|
5008
5008
|
* @param {string} domain Domain name the scan was run for
|
|
5009
5009
|
* @param {*} [options] Override http request option.
|
|
5010
5010
|
* @throws {RequiredError}
|
|
5011
5011
|
* @memberof AgentReadinessScansApi
|
|
5012
5012
|
*/
|
|
5013
|
-
|
|
5014
|
-
return (0, exports.AgentReadinessScansApiFp)(this.configuration).
|
|
5013
|
+
getAgentReadinessScanV1(domain, options) {
|
|
5014
|
+
return (0, exports.AgentReadinessScansApiFp)(this.configuration).getAgentReadinessScanV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
5015
5015
|
}
|
|
5016
5016
|
/**
|
|
5017
|
-
* 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
|
|
5018
|
-
* @summary Run
|
|
5017
|
+
* 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 agent readiness 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.
|
|
5018
|
+
* @summary Run agent readiness scan
|
|
5019
5019
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
5020
5020
|
* @param {*} [options] Override http request option.
|
|
5021
5021
|
* @throws {RequiredError}
|
|
5022
5022
|
* @memberof AgentReadinessScansApi
|
|
5023
5023
|
*/
|
|
5024
|
-
|
|
5025
|
-
return (0, exports.AgentReadinessScansApiFp)(this.configuration).
|
|
5024
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options) {
|
|
5025
|
+
return (0, exports.AgentReadinessScansApiFp)(this.configuration).runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5026
5026
|
}
|
|
5027
5027
|
}
|
|
5028
5028
|
exports.AgentReadinessScansApi = AgentReadinessScansApi;
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.67.
|
|
7
|
+
* API Version: 1.67.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.67.
|
|
7
|
+
* API Version: 1.67.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.67.
|
|
7
|
+
* API Version: 1.67.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.67.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.67.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -19871,21 +19871,21 @@ export declare class AgentReadinessChecksApi extends BaseAPI {
|
|
|
19871
19871
|
*/
|
|
19872
19872
|
export declare const AgentReadinessScansApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19873
19873
|
/**
|
|
19874
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19875
|
-
* @summary Get
|
|
19874
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19875
|
+
* @summary Get agent readiness scan
|
|
19876
19876
|
* @param {string} domain Domain name the scan was run for
|
|
19877
19877
|
* @param {*} [options] Override http request option.
|
|
19878
19878
|
* @throws {RequiredError}
|
|
19879
19879
|
*/
|
|
19880
|
-
|
|
19880
|
+
getAgentReadinessScanV1: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19881
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
|
|
19883
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19884
19884
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19885
19885
|
* @param {*} [options] Override http request option.
|
|
19886
19886
|
* @throws {RequiredError}
|
|
19887
19887
|
*/
|
|
19888
|
-
|
|
19888
|
+
runAgentReadinessScanV1: (agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19889
19889
|
};
|
|
19890
19890
|
/**
|
|
19891
19891
|
* AgentReadinessScansApi - functional programming interface
|
|
@@ -19893,21 +19893,21 @@ export declare const AgentReadinessScansApiAxiosParamCreator: (configuration?: C
|
|
|
19893
19893
|
*/
|
|
19894
19894
|
export declare const AgentReadinessScansApiFp: (configuration?: Configuration) => {
|
|
19895
19895
|
/**
|
|
19896
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19897
|
-
* @summary Get
|
|
19896
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19897
|
+
* @summary Get agent readiness scan
|
|
19898
19898
|
* @param {string} domain Domain name the scan was run for
|
|
19899
19899
|
* @param {*} [options] Override http request option.
|
|
19900
19900
|
* @throws {RequiredError}
|
|
19901
19901
|
*/
|
|
19902
|
-
|
|
19902
|
+
getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>>;
|
|
19903
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
|
|
19905
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19906
19906
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19907
19907
|
* @param {*} [options] Override http request option.
|
|
19908
19908
|
* @throws {RequiredError}
|
|
19909
19909
|
*/
|
|
19910
|
-
|
|
19910
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentReadinessV1ScansScanResource>>;
|
|
19911
19911
|
};
|
|
19912
19912
|
/**
|
|
19913
19913
|
* AgentReadinessScansApi - factory interface
|
|
@@ -19915,21 +19915,21 @@ export declare const AgentReadinessScansApiFp: (configuration?: Configuration) =
|
|
|
19915
19915
|
*/
|
|
19916
19916
|
export declare const AgentReadinessScansApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
19917
19917
|
/**
|
|
19918
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19919
|
-
* @summary Get
|
|
19918
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19919
|
+
* @summary Get agent readiness scan
|
|
19920
19920
|
* @param {string} domain Domain name the scan was run for
|
|
19921
19921
|
* @param {*} [options] Override http request option.
|
|
19922
19922
|
* @throws {RequiredError}
|
|
19923
19923
|
*/
|
|
19924
|
-
|
|
19924
|
+
getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource>;
|
|
19925
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
|
|
19927
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19928
19928
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19929
19929
|
* @param {*} [options] Override http request option.
|
|
19930
19930
|
* @throws {RequiredError}
|
|
19931
19931
|
*/
|
|
19932
|
-
|
|
19932
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentReadinessV1ScansScanResource>;
|
|
19933
19933
|
};
|
|
19934
19934
|
/**
|
|
19935
19935
|
* AgentReadinessScansApi - object-oriented interface
|
|
@@ -19939,23 +19939,23 @@ export declare const AgentReadinessScansApiFactory: (configuration?: Configurati
|
|
|
19939
19939
|
*/
|
|
19940
19940
|
export declare class AgentReadinessScansApi extends BaseAPI {
|
|
19941
19941
|
/**
|
|
19942
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
19943
|
-
* @summary Get
|
|
19942
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
19943
|
+
* @summary Get agent readiness scan
|
|
19944
19944
|
* @param {string} domain Domain name the scan was run for
|
|
19945
19945
|
* @param {*} [options] Override http request option.
|
|
19946
19946
|
* @throws {RequiredError}
|
|
19947
19947
|
* @memberof AgentReadinessScansApi
|
|
19948
19948
|
*/
|
|
19949
|
-
|
|
19949
|
+
getAgentReadinessScanV1(domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentReadinessV1ScansScanResource, any, {}, any>>;
|
|
19950
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
|
|
19952
|
-
* @summary Run
|
|
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 agent readiness 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 agent readiness scan
|
|
19953
19953
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
19954
19954
|
* @param {*} [options] Override http request option.
|
|
19955
19955
|
* @throws {RequiredError}
|
|
19956
19956
|
* @memberof AgentReadinessScansApi
|
|
19957
19957
|
*/
|
|
19958
|
-
|
|
19958
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentReadinessV1ScansScanResource, any, {}, any>>;
|
|
19959
19959
|
}
|
|
19960
19960
|
/**
|
|
19961
19961
|
* BillingCatalogApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -4788,15 +4788,15 @@ export class AgentReadinessChecksApi extends BaseAPI {
|
|
|
4788
4788
|
export const AgentReadinessScansApiAxiosParamCreator = function (configuration) {
|
|
4789
4789
|
return {
|
|
4790
4790
|
/**
|
|
4791
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
4792
|
-
* @summary Get
|
|
4791
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
4792
|
+
* @summary Get agent readiness scan
|
|
4793
4793
|
* @param {string} domain Domain name the scan was run for
|
|
4794
4794
|
* @param {*} [options] Override http request option.
|
|
4795
4795
|
* @throws {RequiredError}
|
|
4796
4796
|
*/
|
|
4797
|
-
|
|
4797
|
+
getAgentReadinessScanV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
|
|
4798
4798
|
// verify required parameter 'domain' is not null or undefined
|
|
4799
|
-
assertParamExists('
|
|
4799
|
+
assertParamExists('getAgentReadinessScanV1', 'domain', domain);
|
|
4800
4800
|
const localVarPath = `/api/agent-readiness/v1/scans/{domain}`
|
|
4801
4801
|
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
4802
4802
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -4820,15 +4820,15 @@ export const AgentReadinessScansApiAxiosParamCreator = function (configuration)
|
|
|
4820
4820
|
};
|
|
4821
4821
|
}),
|
|
4822
4822
|
/**
|
|
4823
|
-
* 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
|
|
4824
|
-
* @summary Run
|
|
4823
|
+
* 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 agent readiness 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.
|
|
4824
|
+
* @summary Run agent readiness scan
|
|
4825
4825
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
4826
4826
|
* @param {*} [options] Override http request option.
|
|
4827
4827
|
* @throws {RequiredError}
|
|
4828
4828
|
*/
|
|
4829
|
-
|
|
4829
|
+
runAgentReadinessScanV1: (agentReadinessV1ScansRunScanRequest_1, ...args_1) => __awaiter(this, [agentReadinessV1ScansRunScanRequest_1, ...args_1], void 0, function* (agentReadinessV1ScansRunScanRequest, options = {}) {
|
|
4830
4830
|
// verify required parameter 'agentReadinessV1ScansRunScanRequest' is not null or undefined
|
|
4831
|
-
assertParamExists('
|
|
4831
|
+
assertParamExists('runAgentReadinessScanV1', 'agentReadinessV1ScansRunScanRequest', agentReadinessV1ScansRunScanRequest);
|
|
4832
4832
|
const localVarPath = `/api/agent-readiness/v1/scans`;
|
|
4833
4833
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4834
4834
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4862,32 +4862,32 @@ export const AgentReadinessScansApiFp = function (configuration) {
|
|
|
4862
4862
|
const localVarAxiosParamCreator = AgentReadinessScansApiAxiosParamCreator(configuration);
|
|
4863
4863
|
return {
|
|
4864
4864
|
/**
|
|
4865
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
4866
|
-
* @summary Get
|
|
4865
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
4866
|
+
* @summary Get agent readiness scan
|
|
4867
4867
|
* @param {string} domain Domain name the scan was run for
|
|
4868
4868
|
* @param {*} [options] Override http request option.
|
|
4869
4869
|
* @throws {RequiredError}
|
|
4870
4870
|
*/
|
|
4871
|
-
|
|
4871
|
+
getAgentReadinessScanV1(domain, options) {
|
|
4872
4872
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4873
4873
|
var _a, _b;
|
|
4874
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4875
|
-
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgentReadinessScansApi.
|
|
4874
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAgentReadinessScanV1(domain, options);
|
|
4875
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgentReadinessScansApi.getAgentReadinessScanV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
4876
4876
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4877
4877
|
});
|
|
4878
4878
|
},
|
|
4879
4879
|
/**
|
|
4880
|
-
* 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
|
|
4881
|
-
* @summary Run
|
|
4880
|
+
* 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 agent readiness 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.
|
|
4881
|
+
* @summary Run agent readiness scan
|
|
4882
4882
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
4883
4883
|
* @param {*} [options] Override http request option.
|
|
4884
4884
|
* @throws {RequiredError}
|
|
4885
4885
|
*/
|
|
4886
|
-
|
|
4886
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options) {
|
|
4887
4887
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4888
4888
|
var _a, _b;
|
|
4889
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4890
|
-
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgentReadinessScansApi.
|
|
4889
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options);
|
|
4890
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgentReadinessScansApi.runAgentReadinessScanV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
4891
4891
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4892
4892
|
});
|
|
4893
4893
|
},
|
|
@@ -4901,24 +4901,24 @@ export const AgentReadinessScansApiFactory = function (configuration, basePath,
|
|
|
4901
4901
|
const localVarFp = AgentReadinessScansApiFp(configuration);
|
|
4902
4902
|
return {
|
|
4903
4903
|
/**
|
|
4904
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
4905
|
-
* @summary Get
|
|
4904
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
4905
|
+
* @summary Get agent readiness scan
|
|
4906
4906
|
* @param {string} domain Domain name the scan was run for
|
|
4907
4907
|
* @param {*} [options] Override http request option.
|
|
4908
4908
|
* @throws {RequiredError}
|
|
4909
4909
|
*/
|
|
4910
|
-
|
|
4911
|
-
return localVarFp.
|
|
4910
|
+
getAgentReadinessScanV1(domain, options) {
|
|
4911
|
+
return localVarFp.getAgentReadinessScanV1(domain, options).then((request) => request(axios, basePath));
|
|
4912
4912
|
},
|
|
4913
4913
|
/**
|
|
4914
|
-
* 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
|
|
4915
|
-
* @summary Run
|
|
4914
|
+
* 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 agent readiness 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.
|
|
4915
|
+
* @summary Run agent readiness scan
|
|
4916
4916
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
4917
4917
|
* @param {*} [options] Override http request option.
|
|
4918
4918
|
* @throws {RequiredError}
|
|
4919
4919
|
*/
|
|
4920
|
-
|
|
4921
|
-
return localVarFp.
|
|
4920
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options) {
|
|
4921
|
+
return localVarFp.runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(axios, basePath));
|
|
4922
4922
|
},
|
|
4923
4923
|
};
|
|
4924
4924
|
};
|
|
@@ -4930,26 +4930,26 @@ export const AgentReadinessScansApiFactory = function (configuration, basePath,
|
|
|
4930
4930
|
*/
|
|
4931
4931
|
export class AgentReadinessScansApi extends BaseAPI {
|
|
4932
4932
|
/**
|
|
4933
|
-
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
4934
|
-
* @summary Get
|
|
4933
|
+
* Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
4934
|
+
* @summary Get agent readiness scan
|
|
4935
4935
|
* @param {string} domain Domain name the scan was run for
|
|
4936
4936
|
* @param {*} [options] Override http request option.
|
|
4937
4937
|
* @throws {RequiredError}
|
|
4938
4938
|
* @memberof AgentReadinessScansApi
|
|
4939
4939
|
*/
|
|
4940
|
-
|
|
4941
|
-
return AgentReadinessScansApiFp(this.configuration).
|
|
4940
|
+
getAgentReadinessScanV1(domain, options) {
|
|
4941
|
+
return AgentReadinessScansApiFp(this.configuration).getAgentReadinessScanV1(domain, options).then((request) => request(this.axios, this.basePath));
|
|
4942
4942
|
}
|
|
4943
4943
|
/**
|
|
4944
|
-
* 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
|
|
4945
|
-
* @summary Run
|
|
4944
|
+
* 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 agent readiness 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.
|
|
4945
|
+
* @summary Run agent readiness scan
|
|
4946
4946
|
* @param {AgentReadinessV1ScansRunScanRequest} agentReadinessV1ScansRunScanRequest
|
|
4947
4947
|
* @param {*} [options] Override http request option.
|
|
4948
4948
|
* @throws {RequiredError}
|
|
4949
4949
|
* @memberof AgentReadinessScansApi
|
|
4950
4950
|
*/
|
|
4951
|
-
|
|
4952
|
-
return AgentReadinessScansApiFp(this.configuration).
|
|
4951
|
+
runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options) {
|
|
4952
|
+
return AgentReadinessScansApiFp(this.configuration).runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4953
4953
|
}
|
|
4954
4954
|
}
|
|
4955
4955
|
/**
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.67.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.67.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.67.
|
|
4
|
+
* API Version: 1.67.1
|
|
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
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.67.
|
|
7
|
+
* API Version: 1.67.1
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://developers.hostinger.com*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
8
|
-
|[**
|
|
7
|
+
|[**getAgentReadinessScanV1**](#getagentreadinessscanv1) | **GET** /api/agent-readiness/v1/scans/{domain} | Get agent readiness scan|
|
|
8
|
+
|[**runAgentReadinessScanV1**](#runagentreadinessscanv1) | **POST** /api/agent-readiness/v1/scans | Run agent readiness scan|
|
|
9
9
|
|
|
10
|
-
# **
|
|
11
|
-
> AgentReadinessV1ScansScanResource
|
|
10
|
+
# **getAgentReadinessScanV1**
|
|
11
|
+
> AgentReadinessV1ScansScanResource getAgentReadinessScanV1()
|
|
12
12
|
|
|
13
|
-
Get the latest agent readiness scan of a website.\\n Scans started with the `Run
|
|
13
|
+
Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness 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 agent readiness scan` operation first.
|
|
14
14
|
|
|
15
15
|
### Example
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ const apiInstance = new AgentReadinessScansApi(configuration);
|
|
|
25
25
|
|
|
26
26
|
let domain: string; //Domain name the scan was run for (default to undefined)
|
|
27
27
|
|
|
28
|
-
const { status, data } = await apiInstance.
|
|
28
|
+
const { status, data } = await apiInstance.getAgentReadinessScanV1(
|
|
29
29
|
domain
|
|
30
30
|
);
|
|
31
31
|
```
|
|
@@ -60,10 +60,10 @@ const { status, data } = await apiInstance.getWebsiteScanV1(
|
|
|
60
60
|
|
|
61
61
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
62
62
|
|
|
63
|
-
# **
|
|
64
|
-
> AgentReadinessV1ScansScanResource
|
|
63
|
+
# **runAgentReadinessScanV1**
|
|
64
|
+
> AgentReadinessV1ScansScanResource runAgentReadinessScanV1(agentReadinessV1ScansRunScanRequest)
|
|
65
65
|
|
|
66
|
-
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
|
|
66
|
+
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 agent readiness 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.
|
|
67
67
|
|
|
68
68
|
### Example
|
|
69
69
|
|
|
@@ -79,7 +79,7 @@ const apiInstance = new AgentReadinessScansApi(configuration);
|
|
|
79
79
|
|
|
80
80
|
let agentReadinessV1ScansRunScanRequest: AgentReadinessV1ScansRunScanRequest; //
|
|
81
81
|
|
|
82
|
-
const { status, data } = await apiInstance.
|
|
82
|
+
const { status, data } = await apiInstance.runAgentReadinessScanV1(
|
|
83
83
|
agentReadinessV1ScansRunScanRequest
|
|
84
84
|
);
|
|
85
85
|
```
|
package/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.67.
|
|
6
|
+
* API Version: 1.67.1
|
|
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
|