@onkernel/sdk 0.95.0 → 0.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/client.d.mts +3 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -3
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/config-registry/analyses.d.mts +45 -0
- package/resources/config-registry/analyses.d.mts.map +1 -0
- package/resources/config-registry/analyses.d.ts +45 -0
- package/resources/config-registry/analyses.d.ts.map +1 -0
- package/resources/config-registry/analyses.js +41 -0
- package/resources/config-registry/analyses.js.map +1 -0
- package/resources/config-registry/analyses.mjs +37 -0
- package/resources/config-registry/analyses.mjs.map +1 -0
- package/resources/{site-configs.d.ts → config-registry/config-registry.d.mts} +62 -70
- package/resources/config-registry/config-registry.d.mts.map +1 -0
- package/resources/{site-configs.d.mts → config-registry/config-registry.d.ts} +62 -70
- package/resources/config-registry/config-registry.d.ts.map +1 -0
- package/resources/config-registry/config-registry.js +69 -0
- package/resources/config-registry/config-registry.js.map +1 -0
- package/resources/config-registry/config-registry.mjs +64 -0
- package/resources/config-registry/config-registry.mjs.map +1 -0
- package/resources/config-registry/index.d.mts +3 -0
- package/resources/config-registry/index.d.mts.map +1 -0
- package/resources/config-registry/index.d.ts +3 -0
- package/resources/config-registry/index.d.ts.map +1 -0
- package/resources/config-registry/index.js +9 -0
- package/resources/config-registry/index.js.map +1 -0
- package/resources/config-registry/index.mjs +4 -0
- package/resources/config-registry/index.mjs.map +1 -0
- package/resources/config-registry.d.mts +2 -0
- package/resources/config-registry.d.mts.map +1 -0
- package/resources/config-registry.d.ts +2 -0
- package/resources/config-registry.d.ts.map +1 -0
- package/resources/config-registry.js +6 -0
- package/resources/config-registry.js.map +1 -0
- package/resources/config-registry.mjs +3 -0
- package/resources/config-registry.mjs.map +1 -0
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +28 -32
- package/src/resources/config-registry/analyses.ts +63 -0
- package/src/resources/{site-configs.ts → config-registry/config-registry.ts} +77 -90
- package/src/resources/config-registry/index.ts +25 -0
- package/src/resources/config-registry.ts +3 -0
- package/src/resources/index.ts +22 -23
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/site-configs.d.mts.map +0 -1
- package/resources/site-configs.d.ts.map +0 -1
- package/resources/site-configs.js +0 -88
- package/resources/site-configs.js.map +0 -1
- package/resources/site-configs.mjs +0 -84
- package/resources/site-configs.mjs.map +0 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ConfigRegistry = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const AnalysesAPI = tslib_1.__importStar(require("./analyses.js"));
|
|
8
|
+
const analyses_1 = require("./analyses.js");
|
|
9
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
10
|
+
/**
|
|
11
|
+
* Resolve browser and proxy recommendations for bot-protected sites.
|
|
12
|
+
*/
|
|
13
|
+
class ConfigRegistry extends resource_1.APIResource {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.analyses = new AnalysesAPI.Analyses(this._client);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Lists unique domains previously analyzed by the selected project with their
|
|
20
|
+
* current domain-level recommendations.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* // Automatically fetches more pages as needed.
|
|
25
|
+
* for await (const recommendationSummary of client.configRegistry.list()) {
|
|
26
|
+
* // ...
|
|
27
|
+
* }
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
list(query = {}, options) {
|
|
31
|
+
return this._client.getAPIList('/config-registry', (pagination_1.OffsetPagination), {
|
|
32
|
+
query,
|
|
33
|
+
...options,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns current global knowledge without resolving DNS, creating an analysis, or
|
|
38
|
+
* updating config registry data.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const lookupResponse = await client.configRegistry.lookup({
|
|
43
|
+
* url: 'https://example.com',
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
lookup(body, options) {
|
|
48
|
+
return this._client.post('/config-registry/lookup', { body, ...options });
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Explicitly starts or retries a project-scoped background analysis while
|
|
52
|
+
* preserving current global knowledge when available. Use
|
|
53
|
+
* `/config-registry/lookup` for side-effect-free reads.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const configRegistryResponse =
|
|
58
|
+
* await client.configRegistry.resolve({
|
|
59
|
+
* url: 'https://example.com',
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
resolve(body, options) {
|
|
64
|
+
return this._client.post('/config-registry/resolve', { body, ...options });
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ConfigRegistry = ConfigRegistry;
|
|
68
|
+
ConfigRegistry.Analyses = analyses_1.Analyses;
|
|
69
|
+
//# sourceMappingURL=config-registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-registry.js","sourceRoot":"","sources":["../../src/resources/config-registry/config-registry.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,mEAA0C;AAC1C,4CAA0D;AAE1D,yDAAmG;AAGnG;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAA/C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuD1E,CAAC;IArDC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,6BAAuC,CAAA,EAAE;YAC1F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAgC,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,IAAiC,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAxDD,wCAwDC;AAsdD,cAAc,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as AnalysesAPI from "./analyses.mjs";
|
|
4
|
+
import { Analyses } from "./analyses.mjs";
|
|
5
|
+
import { OffsetPagination } from "../../core/pagination.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Resolve browser and proxy recommendations for bot-protected sites.
|
|
8
|
+
*/
|
|
9
|
+
export class ConfigRegistry extends APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.analyses = new AnalysesAPI.Analyses(this._client);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Lists unique domains previously analyzed by the selected project with their
|
|
16
|
+
* current domain-level recommendations.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* // Automatically fetches more pages as needed.
|
|
21
|
+
* for await (const recommendationSummary of client.configRegistry.list()) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query = {}, options) {
|
|
27
|
+
return this._client.getAPIList('/config-registry', (OffsetPagination), {
|
|
28
|
+
query,
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns current global knowledge without resolving DNS, creating an analysis, or
|
|
34
|
+
* updating config registry data.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const lookupResponse = await client.configRegistry.lookup({
|
|
39
|
+
* url: 'https://example.com',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
lookup(body, options) {
|
|
44
|
+
return this._client.post('/config-registry/lookup', { body, ...options });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Explicitly starts or retries a project-scoped background analysis while
|
|
48
|
+
* preserving current global knowledge when available. Use
|
|
49
|
+
* `/config-registry/lookup` for side-effect-free reads.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const configRegistryResponse =
|
|
54
|
+
* await client.configRegistry.resolve({
|
|
55
|
+
* url: 'https://example.com',
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
resolve(body, options) {
|
|
60
|
+
return this._client.post('/config-registry/resolve', { body, ...options });
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
ConfigRegistry.Analyses = Analyses;
|
|
64
|
+
//# sourceMappingURL=config-registry.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-registry.mjs","sourceRoot":"","sources":["../../src/resources/config-registry/config-registry.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,QAAQ,EAAsB,uBAAmB;AAE1D,OAAO,EAAE,gBAAgB,EAA4C,kCAA8B;AAGnG;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAW;IAA/C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuD1E,CAAC;IArDC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,gBAAuC,CAAA,EAAE;YAC1F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAgC,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,IAAiC,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAsdD,cAAc,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Analyses, type AnalysisListParams } from "./analyses.mjs";
|
|
2
|
+
export { ConfigRegistry, type Analysis, type AnalysisSummary, type Browser, type ConfigRegistryResponse, type Evidence, type LookupRequest, type LookupResponse, type NoRecommendation, type Proxy, type Recommendation, type RecommendationResult, type RecommendationSummary, type ResolveRequest, type Target, type ConfigRegistryListParams, type ConfigRegistryLookupParams, type ConfigRegistryResolveParams, type AnalysisSummariesOffsetPagination, type RecommendationSummariesOffsetPagination, } from "./config-registry.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/config-registry/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,KAAK,kBAAkB,EAAE,uBAAmB;AAC/D,OAAO,EACL,cAAc,EACd,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,GAC7C,8BAA0B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Analyses, type AnalysisListParams } from "./analyses.js";
|
|
2
|
+
export { ConfigRegistry, type Analysis, type AnalysisSummary, type Browser, type ConfigRegistryResponse, type Evidence, type LookupRequest, type LookupResponse, type NoRecommendation, type Proxy, type Recommendation, type RecommendationResult, type RecommendationSummary, type ResolveRequest, type Target, type ConfigRegistryListParams, type ConfigRegistryLookupParams, type ConfigRegistryResolveParams, type AnalysisSummariesOffsetPagination, type RecommendationSummariesOffsetPagination, } from "./config-registry.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/config-registry/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,KAAK,kBAAkB,EAAE,sBAAmB;AAC/D,OAAO,EACL,cAAc,EACd,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,GAC7C,6BAA0B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ConfigRegistry = exports.Analyses = void 0;
|
|
5
|
+
var analyses_1 = require("./analyses.js");
|
|
6
|
+
Object.defineProperty(exports, "Analyses", { enumerable: true, get: function () { return analyses_1.Analyses; } });
|
|
7
|
+
var config_registry_1 = require("./config-registry.js");
|
|
8
|
+
Object.defineProperty(exports, "ConfigRegistry", { enumerable: true, get: function () { return config_registry_1.ConfigRegistry; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/config-registry/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAA+D;AAAtD,oGAAA,QAAQ,OAAA;AACjB,wDAqB2B;AApBzB,iHAAA,cAAc,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/config-registry/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,QAAQ,EAA2B,uBAAmB;AAC/D,OAAO,EACL,cAAc,GAoBf,8BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-registry.d.mts","sourceRoot":"","sources":["../src/resources/config-registry.ts"],"names":[],"mappings":"AAEA,4CAAwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-registry.d.ts","sourceRoot":"","sources":["../src/resources/config-registry.ts"],"names":[],"mappings":"AAEA,2CAAwC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./config-registry/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=config-registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-registry.js","sourceRoot":"","sources":["../src/resources/config-registry.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qEAAwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-registry.mjs","sourceRoot":"","sources":["../src/resources/config-registry.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,4CAAwC"}
|
package/resources/index.d.mts
CHANGED
|
@@ -5,6 +5,7 @@ export { AuditLogs, type AuditLogEntry, type AuditLogListParams, type AuditLogEx
|
|
|
5
5
|
export { Auth } from "./auth/auth.mjs";
|
|
6
6
|
export { BrowserPools, type BrowserPool, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolListParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, type BrowserPoolsOffsetPagination, } from "./browser-pools.mjs";
|
|
7
7
|
export { Browsers, type BrowserMemory, type BrowserMemoryRequest, type BrowserNetworkConfig, type BrowserPoolRef, type BrowserProxy, type BrowserProxyConfig, type BrowserProxyMode, type BrowserUsage, type Profile, type Tags, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserUpdateResponse, type BrowserListResponse, type BrowserCurlResponse, type BrowserCreateParams, type BrowserRetrieveParams, type BrowserUpdateParams, type BrowserListParams, type BrowserCurlParams, type BrowserLoadExtensionsParams, type ProfilesOffsetPagination, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.mjs";
|
|
8
|
+
export { ConfigRegistry, type Analysis, type AnalysisSummary, type Browser, type ConfigRegistryResponse, type Evidence, type LookupRequest, type LookupResponse, type NoRecommendation, type Proxy, type Recommendation, type RecommendationResult, type RecommendationSummary, type ResolveRequest, type Target, type ConfigRegistryListParams, type ConfigRegistryLookupParams, type ConfigRegistryResolveParams, type AnalysisSummariesOffsetPagination, type RecommendationSummariesOffsetPagination, } from "./config-registry/config-registry.mjs";
|
|
8
9
|
export { CredentialProviders, type CreateCredentialProviderRequest, type CredentialProvider, type CredentialProviderItem, type CredentialProviderTestResult, type UpdateCredentialProviderRequest, type CredentialProviderListItemsResponse, type CredentialProviderCreateParams, type CredentialProviderUpdateParams, type CredentialProviderListParams, type CredentialProvidersOffsetPagination, } from "./credential-providers.mjs";
|
|
9
10
|
export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialTotpCodeResponse, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.mjs";
|
|
10
11
|
export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.mjs";
|
|
@@ -14,6 +15,5 @@ export { Organization } from "./organization/organization.mjs";
|
|
|
14
15
|
export { Profiles, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, type ProfileDownloadParams, } from "./profiles.mjs";
|
|
15
16
|
export { Projects, type CreateProjectRequest, type Project, type UpdateProjectRequest, type ProjectCreateParams, type ProjectUpdateParams, type ProjectListParams, type ProjectsOffsetPagination, } from "./projects/projects.mjs";
|
|
16
17
|
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyCheckResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyCheckParams, type ProxyListResponsesOffsetPagination, } from "./proxies.mjs";
|
|
17
|
-
export { SiteConfigs, type Analysis, type AnalysisSummary, type Browser, type Evidence, type LookupRequest, type LookupResponse, type NoRecommendation, type Proxy, type Recommendation, type RecommendationResult, type RecommendationSummary, type ResolveRequest, type SiteConfigResponse, type Target, type SiteConfigListParams, type SiteConfigListRecommendationsParams, type SiteConfigLookupParams, type SiteConfigResolveParams, type AnalysisSummariesOffsetPagination, type RecommendationSummariesOffsetPagination, } from "./site-configs.mjs";
|
|
18
18
|
export { Telemetry } from "./telemetry/telemetry.mjs";
|
|
19
19
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B,uBAAmB;AACpB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,K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EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kCAAkC,GACxC,sBAAkB;AACnB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B,uBAAmB;AACpB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC,mBAAe;AAChB,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,GACxC,oCAAgC;AACjC,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,GAClC,4BAAwB;AACzB,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,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 export { AuditLogs, type AuditLogEntry, type AuditLogListParams, type AuditLogEx
|
|
|
5
5
|
export { Auth } from "./auth/auth.js";
|
|
6
6
|
export { BrowserPools, type BrowserPool, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolListParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, type BrowserPoolsOffsetPagination, } from "./browser-pools.js";
|
|
7
7
|
export { Browsers, type BrowserMemory, type BrowserMemoryRequest, type BrowserNetworkConfig, type BrowserPoolRef, type BrowserProxy, type BrowserProxyConfig, type BrowserProxyMode, type BrowserUsage, type Profile, type Tags, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserUpdateResponse, type BrowserListResponse, type BrowserCurlResponse, type BrowserCreateParams, type BrowserRetrieveParams, type BrowserUpdateParams, type BrowserListParams, type BrowserCurlParams, type BrowserLoadExtensionsParams, type ProfilesOffsetPagination, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.js";
|
|
8
|
+
export { ConfigRegistry, type Analysis, type AnalysisSummary, type Browser, type ConfigRegistryResponse, type Evidence, type LookupRequest, type LookupResponse, type NoRecommendation, type Proxy, type Recommendation, type RecommendationResult, type RecommendationSummary, type ResolveRequest, type Target, type ConfigRegistryListParams, type ConfigRegistryLookupParams, type ConfigRegistryResolveParams, type AnalysisSummariesOffsetPagination, type RecommendationSummariesOffsetPagination, } from "./config-registry/config-registry.js";
|
|
8
9
|
export { CredentialProviders, type CreateCredentialProviderRequest, type CredentialProvider, type CredentialProviderItem, type CredentialProviderTestResult, type UpdateCredentialProviderRequest, type CredentialProviderListItemsResponse, type CredentialProviderCreateParams, type CredentialProviderUpdateParams, type CredentialProviderListParams, type CredentialProvidersOffsetPagination, } from "./credential-providers.js";
|
|
9
10
|
export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialTotpCodeResponse, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.js";
|
|
10
11
|
export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.js";
|
|
@@ -14,6 +15,5 @@ export { Organization } from "./organization/organization.js";
|
|
|
14
15
|
export { Profiles, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, type ProfileDownloadParams, } from "./profiles.js";
|
|
15
16
|
export { Projects, type CreateProjectRequest, type Project, type UpdateProjectRequest, type ProjectCreateParams, type ProjectUpdateParams, type ProjectListParams, type ProjectsOffsetPagination, } from "./projects/projects.js";
|
|
16
17
|
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyCheckResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyCheckParams, type ProxyListResponsesOffsetPagination, } from "./proxies.js";
|
|
17
|
-
export { SiteConfigs, type Analysis, type AnalysisSummary, type Browser, type Evidence, type LookupRequest, type LookupResponse, type NoRecommendation, type Proxy, type Recommendation, type RecommendationResult, type RecommendationSummary, type ResolveRequest, type SiteConfigResponse, type Target, type SiteConfigListParams, type SiteConfigListRecommendationsParams, type SiteConfigLookupParams, type SiteConfigResolveParams, type AnalysisSummariesOffsetPagination, type RecommendationSummariesOffsetPagination, } from "./site-configs.js";
|
|
18
18
|
export { Telemetry } from "./telemetry/telemetry.js";
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kB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K,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,GAC9B,+BAA4B;AAC7B,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kCAAkC,GACxC,qBAAkB;AACnB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,GAC7B,sBAAmB;AACpB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC,kBAAe;AAChB,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,GACxC,mCAAgC;AACjC,OAAO,EAAE,IAAI,EAAE,uBAAoB;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,GAClC,2BAAwB;AACzB,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,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K,gBAAgB,EACrB,KAAK,kCAAkC,GACxC,qBAAkB;AACnB,OAAO,EAAE,SAAS,EAAE,iCAA8B"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Telemetry = exports.
|
|
4
|
+
exports.Telemetry = exports.Proxies = exports.Projects = exports.Profiles = exports.Organization = exports.Invocations = exports.Extensions = exports.Deployments = exports.Credentials = exports.CredentialProviders = exports.ConfigRegistry = exports.Browsers = exports.BrowserPools = exports.Auth = exports.AuditLogs = exports.Apps = exports.APIKeys = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
7
|
var api_keys_1 = require("./api-keys.js");
|
|
@@ -16,6 +16,8 @@ var browser_pools_1 = require("./browser-pools.js");
|
|
|
16
16
|
Object.defineProperty(exports, "BrowserPools", { enumerable: true, get: function () { return browser_pools_1.BrowserPools; } });
|
|
17
17
|
var browsers_1 = require("./browsers/browsers.js");
|
|
18
18
|
Object.defineProperty(exports, "Browsers", { enumerable: true, get: function () { return browsers_1.Browsers; } });
|
|
19
|
+
var config_registry_1 = require("./config-registry/config-registry.js");
|
|
20
|
+
Object.defineProperty(exports, "ConfigRegistry", { enumerable: true, get: function () { return config_registry_1.ConfigRegistry; } });
|
|
19
21
|
var credential_providers_1 = require("./credential-providers.js");
|
|
20
22
|
Object.defineProperty(exports, "CredentialProviders", { enumerable: true, get: function () { return credential_providers_1.CredentialProviders; } });
|
|
21
23
|
var credentials_1 = require("./credentials.js");
|
|
@@ -34,8 +36,6 @@ var projects_1 = require("./projects/projects.js");
|
|
|
34
36
|
Object.defineProperty(exports, "Projects", { enumerable: true, get: function () { return projects_1.Projects; } });
|
|
35
37
|
var proxies_1 = require("./proxies.js");
|
|
36
38
|
Object.defineProperty(exports, "Proxies", { enumerable: true, get: function () { return proxies_1.Proxies; } });
|
|
37
|
-
var site_configs_1 = require("./site-configs.js");
|
|
38
|
-
Object.defineProperty(exports, "SiteConfigs", { enumerable: true, get: function () { return site_configs_1.SiteConfigs; } });
|
|
39
39
|
var telemetry_1 = require("./telemetry/telemetry.js");
|
|
40
40
|
Object.defineProperty(exports, "Telemetry", { enumerable: true, get: function () { return telemetry_1.Telemetry; } });
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,kCAKgB;AAJd,4FAAA,IAAI,OAAA;AAKN,yDAMiC;AAL/B,uGAAA,SAAS,OAAA;AAMX,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,oDAWyB;AAVvB,6GAAA,YAAY,OAAA;AAWd,mDAyB6B;AAxB3B,oGAAA,QAAQ,OAAA;AAyBV,kEAYgC;AAX9B,2HAAA,mBAAmB,OAAA;AAYrB,gDAUuB;AATrB,0GAAA,WAAW,OAAA;AAUb,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,8CASsB;AARpB,wGAAA,UAAU,OAAA;AASZ,gDAcuB;AAbrB,0GAAA,WAAW,OAAA;AAcb,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,mDAS6B;AAR3B,oGAAA,QAAQ,OAAA;AASV,wCAYmB;AAXjB,kGAAA,OAAO,OAAA;AAYT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CAUoB;AATlB,mGAAA,OAAO,OAAA;AAUT,kCAKgB;AAJd,4FAAA,IAAI,OAAA;AAKN,yDAMiC;AAL/B,uGAAA,SAAS,OAAA;AAMX,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,oDAWyB;AAVvB,6GAAA,YAAY,OAAA;AAWd,mDAyB6B;AAxB3B,oGAAA,QAAQ,OAAA;AAyBV,wEAqB2C;AApBzC,iHAAA,cAAc,OAAA;AAqBhB,kEAYgC;AAX9B,2HAAA,mBAAmB,OAAA;AAYrB,gDAUuB;AATrB,0GAAA,WAAW,OAAA;AAUb,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,8CASsB;AARpB,wGAAA,UAAU,OAAA;AASZ,gDAcuB;AAbrB,0GAAA,WAAW,OAAA;AAcb,+DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,mDAS6B;AAR3B,oGAAA,QAAQ,OAAA;AASV,wCAYmB;AAXjB,kGAAA,OAAO,OAAA;AAYT,sDAAkD;AAAzC,sGAAA,SAAS,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -6,6 +6,7 @@ export { AuditLogs, } from "./audit-logs/audit-logs.mjs";
|
|
|
6
6
|
export { Auth } from "./auth/auth.mjs";
|
|
7
7
|
export { BrowserPools, } from "./browser-pools.mjs";
|
|
8
8
|
export { Browsers, } from "./browsers/browsers.mjs";
|
|
9
|
+
export { ConfigRegistry, } from "./config-registry/config-registry.mjs";
|
|
9
10
|
export { CredentialProviders, } from "./credential-providers.mjs";
|
|
10
11
|
export { Credentials, } from "./credentials.mjs";
|
|
11
12
|
export { Deployments, } from "./deployments.mjs";
|
|
@@ -15,6 +16,5 @@ export { Organization } from "./organization/organization.mjs";
|
|
|
15
16
|
export { Profiles, } from "./profiles.mjs";
|
|
16
17
|
export { Projects, } from "./projects/projects.mjs";
|
|
17
18
|
export { Proxies, } from "./proxies.mjs";
|
|
18
|
-
export { SiteConfigs, } from "./site-configs.mjs";
|
|
19
19
|
export { Telemetry } from "./telemetry/telemetry.mjs";
|
|
20
20
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,OAAO,GASR,uBAAmB;AACpB,OAAO,EACL,IAAI,GAIL,mBAAe;AAChB,OAAO,EACL,SAAS,GAKV,oCAAgC;AACjC,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,YAAY,GAUb,4BAAwB;AACzB,OAAO,EACL,QAAQ,GAwBT,gCAA4B;AAC7B,OAAO,EACL,mBAAmB,GAWpB,mCAA+B;AAChC,OAAO,EACL,WAAW,GASZ,0BAAsB;AACvB,OAAO,EACL,WAAW,GAUZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAQX,yBAAqB;AACtB,OAAO,EACL,WAAW,GAaZ,0BAAsB;AACvB,OAAO,EAAE,YAAY,EAAE,wCAAoC;AAC3D,OAAO,EACL,QAAQ,GAKT,uBAAmB;AACpB,OAAO,EACL,QAAQ,GAQT,gCAA4B;AAC7B,OAAO,EACL,OAAO,GAWR,sBAAkB;AACnB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,OAAO,GASR,uBAAmB;AACpB,OAAO,EACL,IAAI,GAIL,mBAAe;AAChB,OAAO,EACL,SAAS,GAKV,oCAAgC;AACjC,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,YAAY,GAUb,4BAAwB;AACzB,OAAO,EACL,QAAQ,GAwBT,gCAA4B;AAC7B,OAAO,EACL,cAAc,GAoBf,8CAA0C;AAC3C,OAAO,EACL,mBAAmB,GAWpB,mCAA+B;AAChC,OAAO,EACL,WAAW,GASZ,0BAAsB;AACvB,OAAO,EACL,WAAW,GAUZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAQX,yBAAqB;AACtB,OAAO,EACL,WAAW,GAaZ,0BAAsB;AACvB,OAAO,EAAE,YAAY,EAAE,wCAAoC;AAC3D,OAAO,EACL,QAAQ,GAKT,uBAAmB;AACpB,OAAO,EACL,QAAQ,GAQT,gCAA4B;AAC7B,OAAO,EACL,OAAO,GAWR,sBAAkB;AACnB,OAAO,EAAE,SAAS,EAAE,kCAA8B"}
|
package/src/client.ts
CHANGED
|
@@ -136,29 +136,6 @@ import {
|
|
|
136
136
|
ProxyUpdateParams,
|
|
137
137
|
ProxyUpdateResponse,
|
|
138
138
|
} from './resources/proxies';
|
|
139
|
-
import {
|
|
140
|
-
Analysis,
|
|
141
|
-
AnalysisSummariesOffsetPagination,
|
|
142
|
-
AnalysisSummary,
|
|
143
|
-
Browser,
|
|
144
|
-
Evidence,
|
|
145
|
-
LookupRequest,
|
|
146
|
-
LookupResponse,
|
|
147
|
-
NoRecommendation,
|
|
148
|
-
Proxy,
|
|
149
|
-
Recommendation,
|
|
150
|
-
RecommendationResult,
|
|
151
|
-
RecommendationSummariesOffsetPagination,
|
|
152
|
-
RecommendationSummary,
|
|
153
|
-
ResolveRequest,
|
|
154
|
-
SiteConfigListParams,
|
|
155
|
-
SiteConfigListRecommendationsParams,
|
|
156
|
-
SiteConfigLookupParams,
|
|
157
|
-
SiteConfigResolveParams,
|
|
158
|
-
SiteConfigResponse,
|
|
159
|
-
SiteConfigs,
|
|
160
|
-
Target,
|
|
161
|
-
} from './resources/site-configs';
|
|
162
139
|
import {
|
|
163
140
|
AuditLogEntriesPageTokenPagination,
|
|
164
141
|
AuditLogEntry,
|
|
@@ -192,6 +169,27 @@ import {
|
|
|
192
169
|
Profile,
|
|
193
170
|
Tags,
|
|
194
171
|
} from './resources/browsers/browsers';
|
|
172
|
+
import {
|
|
173
|
+
Analysis,
|
|
174
|
+
AnalysisSummary,
|
|
175
|
+
Browser,
|
|
176
|
+
ConfigRegistry,
|
|
177
|
+
ConfigRegistryListParams,
|
|
178
|
+
ConfigRegistryLookupParams,
|
|
179
|
+
ConfigRegistryResolveParams,
|
|
180
|
+
ConfigRegistryResponse,
|
|
181
|
+
Evidence,
|
|
182
|
+
LookupRequest,
|
|
183
|
+
LookupResponse,
|
|
184
|
+
NoRecommendation,
|
|
185
|
+
Proxy,
|
|
186
|
+
Recommendation,
|
|
187
|
+
RecommendationResult,
|
|
188
|
+
RecommendationSummariesOffsetPagination,
|
|
189
|
+
RecommendationSummary,
|
|
190
|
+
ResolveRequest,
|
|
191
|
+
Target,
|
|
192
|
+
} from './resources/config-registry/config-registry';
|
|
195
193
|
import { Organization } from './resources/organization/organization';
|
|
196
194
|
import {
|
|
197
195
|
CreateProjectRequest,
|
|
@@ -1038,7 +1036,7 @@ export class Kernel {
|
|
|
1038
1036
|
/**
|
|
1039
1037
|
* Resolve browser and proxy recommendations for bot-protected sites.
|
|
1040
1038
|
*/
|
|
1041
|
-
|
|
1039
|
+
configRegistry: API.ConfigRegistry = new API.ConfigRegistry(this);
|
|
1042
1040
|
/**
|
|
1043
1041
|
* Create and manage browser sessions.
|
|
1044
1042
|
*/
|
|
@@ -1090,7 +1088,7 @@ export class Kernel {
|
|
|
1090
1088
|
Kernel.Deployments = Deployments;
|
|
1091
1089
|
Kernel.Apps = Apps;
|
|
1092
1090
|
Kernel.Invocations = Invocations;
|
|
1093
|
-
Kernel.
|
|
1091
|
+
Kernel.ConfigRegistry = ConfigRegistry;
|
|
1094
1092
|
Kernel.Browsers = Browsers;
|
|
1095
1093
|
Kernel.Profiles = Profiles;
|
|
1096
1094
|
Kernel.Auth = Auth;
|
|
@@ -1157,10 +1155,11 @@ export declare namespace Kernel {
|
|
|
1157
1155
|
};
|
|
1158
1156
|
|
|
1159
1157
|
export {
|
|
1160
|
-
|
|
1158
|
+
ConfigRegistry as ConfigRegistry,
|
|
1161
1159
|
type Analysis as Analysis,
|
|
1162
1160
|
type AnalysisSummary as AnalysisSummary,
|
|
1163
1161
|
type Browser as Browser,
|
|
1162
|
+
type ConfigRegistryResponse as ConfigRegistryResponse,
|
|
1164
1163
|
type Evidence as Evidence,
|
|
1165
1164
|
type LookupRequest as LookupRequest,
|
|
1166
1165
|
type LookupResponse as LookupResponse,
|
|
@@ -1170,14 +1169,11 @@ export declare namespace Kernel {
|
|
|
1170
1169
|
type RecommendationResult as RecommendationResult,
|
|
1171
1170
|
type RecommendationSummary as RecommendationSummary,
|
|
1172
1171
|
type ResolveRequest as ResolveRequest,
|
|
1173
|
-
type SiteConfigResponse as SiteConfigResponse,
|
|
1174
1172
|
type Target as Target,
|
|
1175
|
-
type AnalysisSummariesOffsetPagination as AnalysisSummariesOffsetPagination,
|
|
1176
1173
|
type RecommendationSummariesOffsetPagination as RecommendationSummariesOffsetPagination,
|
|
1177
|
-
type
|
|
1178
|
-
type
|
|
1179
|
-
type
|
|
1180
|
-
type SiteConfigResolveParams as SiteConfigResolveParams,
|
|
1174
|
+
type ConfigRegistryListParams as ConfigRegistryListParams,
|
|
1175
|
+
type ConfigRegistryLookupParams as ConfigRegistryLookupParams,
|
|
1176
|
+
type ConfigRegistryResolveParams as ConfigRegistryResolveParams,
|
|
1181
1177
|
};
|
|
1182
1178
|
|
|
1183
1179
|
export {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as ConfigRegistryAPI from './config-registry';
|
|
5
|
+
import { AnalysisSummariesOffsetPagination } from './config-registry';
|
|
6
|
+
import { APIPromise } from '../../core/api-promise';
|
|
7
|
+
import { OffsetPagination, type OffsetPaginationParams, PagePromise } from '../../core/pagination';
|
|
8
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
9
|
+
import { path } from '../../internal/utils/path';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Resolve browser and proxy recommendations for bot-protected sites.
|
|
13
|
+
*/
|
|
14
|
+
export class Analyses extends APIResource {
|
|
15
|
+
/**
|
|
16
|
+
* Returns a project-scoped historical analysis and the recommendation outcome
|
|
17
|
+
* concluded by that run. Later knowledge does not change this response.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const configRegistryResponse =
|
|
22
|
+
* await client.configRegistry.analyses.retrieve('id');
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ConfigRegistryAPI.ConfigRegistryResponse> {
|
|
26
|
+
return this._client.get(path`/config-registry/analyses/${id}`, options);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Lists analyses for the selected project, newest first.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* // Automatically fetches more pages as needed.
|
|
35
|
+
* for await (const analysisSummary of client.configRegistry.analyses.list()) {
|
|
36
|
+
* // ...
|
|
37
|
+
* }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
list(
|
|
41
|
+
query: AnalysisListParams | null | undefined = {},
|
|
42
|
+
options?: RequestOptions,
|
|
43
|
+
): PagePromise<AnalysisSummariesOffsetPagination, ConfigRegistryAPI.AnalysisSummary> {
|
|
44
|
+
return this._client.getAPIList(
|
|
45
|
+
'/config-registry/analyses',
|
|
46
|
+
OffsetPagination<ConfigRegistryAPI.AnalysisSummary>,
|
|
47
|
+
{ query, ...options },
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface AnalysisListParams extends OffsetPaginationParams {
|
|
53
|
+
/**
|
|
54
|
+
* Case-insensitive substring search over requested URLs.
|
|
55
|
+
*/
|
|
56
|
+
search?: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export declare namespace Analyses {
|
|
60
|
+
export { type AnalysisListParams as AnalysisListParams };
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { type AnalysisSummariesOffsetPagination };
|