@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
|
@@ -1,47 +1,18 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import * as Shared from '
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as Shared from '../shared';
|
|
5
|
+
import * as AnalysesAPI from './analyses';
|
|
6
|
+
import { Analyses, AnalysisListParams } from './analyses';
|
|
7
|
+
import { APIPromise } from '../../core/api-promise';
|
|
8
|
+
import { OffsetPagination, type OffsetPaginationParams, PagePromise } from '../../core/pagination';
|
|
9
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Resolve browser and proxy recommendations for bot-protected sites.
|
|
12
13
|
*/
|
|
13
|
-
export class
|
|
14
|
-
|
|
15
|
-
* Returns a project-scoped historical analysis and the recommendation outcome
|
|
16
|
-
* concluded by that run. Later knowledge does not change this response.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* const siteConfigResponse =
|
|
21
|
-
* await client.siteConfigs.retrieve('id');
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<SiteConfigResponse> {
|
|
25
|
-
return this._client.get(path`/site-configs/${id}`, options);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Lists analyses for the selected project, newest first.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* // Automatically fetches more pages as needed.
|
|
34
|
-
* for await (const analysisSummary of client.siteConfigs.list()) {
|
|
35
|
-
* // ...
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
list(
|
|
40
|
-
query: SiteConfigListParams | null | undefined = {},
|
|
41
|
-
options?: RequestOptions,
|
|
42
|
-
): PagePromise<AnalysisSummariesOffsetPagination, AnalysisSummary> {
|
|
43
|
-
return this._client.getAPIList('/site-configs', OffsetPagination<AnalysisSummary>, { query, ...options });
|
|
44
|
-
}
|
|
14
|
+
export class ConfigRegistry extends APIResource {
|
|
15
|
+
analyses: AnalysesAPI.Analyses = new AnalysesAPI.Analyses(this._client);
|
|
45
16
|
|
|
46
17
|
/**
|
|
47
18
|
* Lists unique domains previously analyzed by the selected project with their
|
|
@@ -50,16 +21,16 @@ export class SiteConfigs extends APIResource {
|
|
|
50
21
|
* @example
|
|
51
22
|
* ```ts
|
|
52
23
|
* // Automatically fetches more pages as needed.
|
|
53
|
-
* for await (const recommendationSummary of client.
|
|
24
|
+
* for await (const recommendationSummary of client.configRegistry.list()) {
|
|
54
25
|
* // ...
|
|
55
26
|
* }
|
|
56
27
|
* ```
|
|
57
28
|
*/
|
|
58
|
-
|
|
59
|
-
query:
|
|
29
|
+
list(
|
|
30
|
+
query: ConfigRegistryListParams | null | undefined = {},
|
|
60
31
|
options?: RequestOptions,
|
|
61
32
|
): PagePromise<RecommendationSummariesOffsetPagination, RecommendationSummary> {
|
|
62
|
-
return this._client.getAPIList('/
|
|
33
|
+
return this._client.getAPIList('/config-registry', OffsetPagination<RecommendationSummary>, {
|
|
63
34
|
query,
|
|
64
35
|
...options,
|
|
65
36
|
});
|
|
@@ -67,40 +38,41 @@ export class SiteConfigs extends APIResource {
|
|
|
67
38
|
|
|
68
39
|
/**
|
|
69
40
|
* Returns current global knowledge without resolving DNS, creating an analysis, or
|
|
70
|
-
* updating
|
|
41
|
+
* updating config registry data.
|
|
71
42
|
*
|
|
72
43
|
* @example
|
|
73
44
|
* ```ts
|
|
74
|
-
* const lookupResponse = await client.
|
|
45
|
+
* const lookupResponse = await client.configRegistry.lookup({
|
|
75
46
|
* url: 'https://example.com',
|
|
76
47
|
* });
|
|
77
48
|
* ```
|
|
78
49
|
*/
|
|
79
|
-
lookup(body:
|
|
80
|
-
return this._client.post('/
|
|
50
|
+
lookup(body: ConfigRegistryLookupParams, options?: RequestOptions): APIPromise<LookupResponse> {
|
|
51
|
+
return this._client.post('/config-registry/lookup', { body, ...options });
|
|
81
52
|
}
|
|
82
53
|
|
|
83
54
|
/**
|
|
84
55
|
* Explicitly starts or retries a project-scoped background analysis while
|
|
85
|
-
* preserving current global knowledge when available. Use
|
|
86
|
-
* for side-effect-free reads.
|
|
56
|
+
* preserving current global knowledge when available. Use
|
|
57
|
+
* `/config-registry/lookup` for side-effect-free reads.
|
|
87
58
|
*
|
|
88
59
|
* @example
|
|
89
60
|
* ```ts
|
|
90
|
-
* const
|
|
91
|
-
*
|
|
92
|
-
*
|
|
61
|
+
* const configRegistryResponse =
|
|
62
|
+
* await client.configRegistry.resolve({
|
|
63
|
+
* url: 'https://example.com',
|
|
64
|
+
* });
|
|
93
65
|
* ```
|
|
94
66
|
*/
|
|
95
|
-
resolve(body:
|
|
96
|
-
return this._client.post('/
|
|
67
|
+
resolve(body: ConfigRegistryResolveParams, options?: RequestOptions): APIPromise<ConfigRegistryResponse> {
|
|
68
|
+
return this._client.post('/config-registry/resolve', { body, ...options });
|
|
97
69
|
}
|
|
98
70
|
}
|
|
99
71
|
|
|
100
|
-
export type AnalysisSummariesOffsetPagination = OffsetPagination<AnalysisSummary>;
|
|
101
|
-
|
|
102
72
|
export type RecommendationSummariesOffsetPagination = OffsetPagination<RecommendationSummary>;
|
|
103
73
|
|
|
74
|
+
export type AnalysisSummariesOffsetPagination = OffsetPagination<AnalysisSummary>;
|
|
75
|
+
|
|
104
76
|
export interface Analysis {
|
|
105
77
|
/**
|
|
106
78
|
* Discovery run ID used to poll analysis status.
|
|
@@ -124,7 +96,7 @@ export interface Analysis {
|
|
|
124
96
|
finished_at: string | null;
|
|
125
97
|
|
|
126
98
|
/**
|
|
127
|
-
* Lifecycle status of
|
|
99
|
+
* Lifecycle status of a background analysis.
|
|
128
100
|
*/
|
|
129
101
|
status: 'running' | 'completed' | 'failed' | 'canceled';
|
|
130
102
|
}
|
|
@@ -162,6 +134,21 @@ export interface Browser {
|
|
|
162
134
|
viewport: Shared.BrowserViewport;
|
|
163
135
|
}
|
|
164
136
|
|
|
137
|
+
export interface ConfigRegistryResponse {
|
|
138
|
+
/**
|
|
139
|
+
* Pollable analysis after workflow submission is acknowledged. Null when no
|
|
140
|
+
* refresh was submitted.
|
|
141
|
+
*/
|
|
142
|
+
analysis: Analysis | null;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* A recommendation or a structured no-recommendation result.
|
|
146
|
+
*/
|
|
147
|
+
recommendation: RecommendationResult | null;
|
|
148
|
+
|
|
149
|
+
target: Target;
|
|
150
|
+
}
|
|
151
|
+
|
|
165
152
|
export interface Evidence {
|
|
166
153
|
accessed: number;
|
|
167
154
|
|
|
@@ -216,8 +203,7 @@ export interface LookupResponse {
|
|
|
216
203
|
|
|
217
204
|
export interface NoRecommendation {
|
|
218
205
|
/**
|
|
219
|
-
* Machine-readable reason Kernel cannot currently provide a
|
|
220
|
-
* recommendation.
|
|
206
|
+
* Machine-readable reason Kernel cannot currently provide a config recommendation.
|
|
221
207
|
*/
|
|
222
208
|
code: 'proxy_restricted' | 'no_working_configuration' | 'inconclusive';
|
|
223
209
|
|
|
@@ -232,13 +218,13 @@ export interface NoRecommendation {
|
|
|
232
218
|
/**
|
|
233
219
|
* Proxy recipe for the recommended browser.
|
|
234
220
|
*/
|
|
235
|
-
export type Proxy = Proxy.
|
|
221
|
+
export type Proxy = Proxy.ConfigRegistryDirectProxy | Proxy.ConfigRegistryManagedProxy;
|
|
236
222
|
|
|
237
223
|
export namespace Proxy {
|
|
238
224
|
/**
|
|
239
225
|
* Direct egress recipe. Pass `{ "mode": "direct" }` as the browser's `proxy`.
|
|
240
226
|
*/
|
|
241
|
-
export interface
|
|
227
|
+
export interface ConfigRegistryDirectProxy {
|
|
242
228
|
mode: 'direct';
|
|
243
229
|
}
|
|
244
230
|
|
|
@@ -247,16 +233,16 @@ export namespace Proxy {
|
|
|
247
233
|
* create the resource once, retain its ID, and reuse that ID as the browser's
|
|
248
234
|
* `proxy.id`. Do not submit this recipe before every browser session.
|
|
249
235
|
*/
|
|
250
|
-
export interface
|
|
236
|
+
export interface ConfigRegistryManagedProxy {
|
|
251
237
|
/**
|
|
252
238
|
* Configuration for routing traffic through a proxy.
|
|
253
239
|
*/
|
|
254
|
-
create:
|
|
240
|
+
create: ConfigRegistryManagedProxy.Create;
|
|
255
241
|
|
|
256
242
|
mode: 'managed';
|
|
257
243
|
}
|
|
258
244
|
|
|
259
|
-
export namespace
|
|
245
|
+
export namespace ConfigRegistryManagedProxy {
|
|
260
246
|
/**
|
|
261
247
|
* Configuration for routing traffic through a proxy.
|
|
262
248
|
*/
|
|
@@ -444,6 +430,16 @@ export interface Recommendation {
|
|
|
444
430
|
export type RecommendationResult = Recommendation | NoRecommendation;
|
|
445
431
|
|
|
446
432
|
export interface RecommendationSummary {
|
|
433
|
+
/**
|
|
434
|
+
* ID of the most recently requested analysis for this domain.
|
|
435
|
+
*/
|
|
436
|
+
analysis_id: string;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Lifecycle status of the most recently requested analysis for this domain.
|
|
440
|
+
*/
|
|
441
|
+
analysis_status: 'running' | 'completed' | 'failed' | 'canceled';
|
|
442
|
+
|
|
447
443
|
/**
|
|
448
444
|
* Most recent time the selected project requested an analysis for this domain.
|
|
449
445
|
*/
|
|
@@ -485,21 +481,6 @@ export interface ResolveRequest {
|
|
|
485
481
|
allowed_proxy_countries?: Array<string>;
|
|
486
482
|
}
|
|
487
483
|
|
|
488
|
-
export interface SiteConfigResponse {
|
|
489
|
-
/**
|
|
490
|
-
* Pollable analysis after workflow submission is acknowledged. Null when no
|
|
491
|
-
* refresh was submitted.
|
|
492
|
-
*/
|
|
493
|
-
analysis: Analysis | null;
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* A recommendation or a structured no-recommendation result.
|
|
497
|
-
*/
|
|
498
|
-
recommendation: RecommendationResult | null;
|
|
499
|
-
|
|
500
|
-
target: Target;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
484
|
export interface Target {
|
|
504
485
|
/**
|
|
505
486
|
* Registrable domain.
|
|
@@ -517,15 +498,19 @@ export interface Target {
|
|
|
517
498
|
normalized: string;
|
|
518
499
|
}
|
|
519
500
|
|
|
520
|
-
export interface
|
|
501
|
+
export interface ConfigRegistryListParams extends OffsetPaginationParams {
|
|
502
|
+
/**
|
|
503
|
+
* Case-insensitive domain search. Full URLs are reduced to their registrable
|
|
504
|
+
* domain.
|
|
505
|
+
*/
|
|
506
|
+
search?: string;
|
|
521
507
|
|
|
522
|
-
|
|
523
|
-
sort_by?: 'target' | 'recommended_config' | 'last_requested_at' | 'success_rate';
|
|
508
|
+
sort_by?: 'target' | 'analysis_status' | 'recommended_config' | 'last_requested_at' | 'success_rate';
|
|
524
509
|
|
|
525
510
|
sort_order?: 'asc' | 'desc';
|
|
526
511
|
}
|
|
527
512
|
|
|
528
|
-
export interface
|
|
513
|
+
export interface ConfigRegistryLookupParams {
|
|
529
514
|
/**
|
|
530
515
|
* Public HTTP(S) URL to look up.
|
|
531
516
|
*/
|
|
@@ -538,7 +523,7 @@ export interface SiteConfigLookupParams {
|
|
|
538
523
|
allowed_proxy_countries?: Array<string>;
|
|
539
524
|
}
|
|
540
525
|
|
|
541
|
-
export interface
|
|
526
|
+
export interface ConfigRegistryResolveParams {
|
|
542
527
|
/**
|
|
543
528
|
* Public HTTP(S) URL to refresh.
|
|
544
529
|
*/
|
|
@@ -552,11 +537,14 @@ export interface SiteConfigResolveParams {
|
|
|
552
537
|
allowed_proxy_countries?: Array<string>;
|
|
553
538
|
}
|
|
554
539
|
|
|
555
|
-
|
|
540
|
+
ConfigRegistry.Analyses = Analyses;
|
|
541
|
+
|
|
542
|
+
export declare namespace ConfigRegistry {
|
|
556
543
|
export {
|
|
557
544
|
type Analysis as Analysis,
|
|
558
545
|
type AnalysisSummary as AnalysisSummary,
|
|
559
546
|
type Browser as Browser,
|
|
547
|
+
type ConfigRegistryResponse as ConfigRegistryResponse,
|
|
560
548
|
type Evidence as Evidence,
|
|
561
549
|
type LookupRequest as LookupRequest,
|
|
562
550
|
type LookupResponse as LookupResponse,
|
|
@@ -566,13 +554,12 @@ export declare namespace SiteConfigs {
|
|
|
566
554
|
type RecommendationResult as RecommendationResult,
|
|
567
555
|
type RecommendationSummary as RecommendationSummary,
|
|
568
556
|
type ResolveRequest as ResolveRequest,
|
|
569
|
-
type SiteConfigResponse as SiteConfigResponse,
|
|
570
557
|
type Target as Target,
|
|
571
|
-
type AnalysisSummariesOffsetPagination as AnalysisSummariesOffsetPagination,
|
|
572
558
|
type RecommendationSummariesOffsetPagination as RecommendationSummariesOffsetPagination,
|
|
573
|
-
type
|
|
574
|
-
type
|
|
575
|
-
type
|
|
576
|
-
type SiteConfigResolveParams as SiteConfigResolveParams,
|
|
559
|
+
type ConfigRegistryListParams as ConfigRegistryListParams,
|
|
560
|
+
type ConfigRegistryLookupParams as ConfigRegistryLookupParams,
|
|
561
|
+
type ConfigRegistryResolveParams as ConfigRegistryResolveParams,
|
|
577
562
|
};
|
|
563
|
+
|
|
564
|
+
export { Analyses as Analyses, type AnalysisListParams as AnalysisListParams };
|
|
578
565
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export { Analyses, type AnalysisListParams } from './analyses';
|
|
4
|
+
export {
|
|
5
|
+
ConfigRegistry,
|
|
6
|
+
type Analysis,
|
|
7
|
+
type AnalysisSummary,
|
|
8
|
+
type Browser,
|
|
9
|
+
type ConfigRegistryResponse,
|
|
10
|
+
type Evidence,
|
|
11
|
+
type LookupRequest,
|
|
12
|
+
type LookupResponse,
|
|
13
|
+
type NoRecommendation,
|
|
14
|
+
type Proxy,
|
|
15
|
+
type Recommendation,
|
|
16
|
+
type RecommendationResult,
|
|
17
|
+
type RecommendationSummary,
|
|
18
|
+
type ResolveRequest,
|
|
19
|
+
type Target,
|
|
20
|
+
type ConfigRegistryListParams,
|
|
21
|
+
type ConfigRegistryLookupParams,
|
|
22
|
+
type ConfigRegistryResolveParams,
|
|
23
|
+
type AnalysisSummariesOffsetPagination,
|
|
24
|
+
type RecommendationSummariesOffsetPagination,
|
|
25
|
+
} from './config-registry';
|
package/src/resources/index.ts
CHANGED
|
@@ -64,6 +64,28 @@ export {
|
|
|
64
64
|
type ProfilesOffsetPagination,
|
|
65
65
|
type BrowserListResponsesOffsetPagination,
|
|
66
66
|
} from './browsers/browsers';
|
|
67
|
+
export {
|
|
68
|
+
ConfigRegistry,
|
|
69
|
+
type Analysis,
|
|
70
|
+
type AnalysisSummary,
|
|
71
|
+
type Browser,
|
|
72
|
+
type ConfigRegistryResponse,
|
|
73
|
+
type Evidence,
|
|
74
|
+
type LookupRequest,
|
|
75
|
+
type LookupResponse,
|
|
76
|
+
type NoRecommendation,
|
|
77
|
+
type Proxy,
|
|
78
|
+
type Recommendation,
|
|
79
|
+
type RecommendationResult,
|
|
80
|
+
type RecommendationSummary,
|
|
81
|
+
type ResolveRequest,
|
|
82
|
+
type Target,
|
|
83
|
+
type ConfigRegistryListParams,
|
|
84
|
+
type ConfigRegistryLookupParams,
|
|
85
|
+
type ConfigRegistryResolveParams,
|
|
86
|
+
type AnalysisSummariesOffsetPagination,
|
|
87
|
+
type RecommendationSummariesOffsetPagination,
|
|
88
|
+
} from './config-registry/config-registry';
|
|
67
89
|
export {
|
|
68
90
|
CredentialProviders,
|
|
69
91
|
type CreateCredentialProviderRequest,
|
|
@@ -156,27 +178,4 @@ export {
|
|
|
156
178
|
type ProxyCheckParams,
|
|
157
179
|
type ProxyListResponsesOffsetPagination,
|
|
158
180
|
} from './proxies';
|
|
159
|
-
export {
|
|
160
|
-
SiteConfigs,
|
|
161
|
-
type Analysis,
|
|
162
|
-
type AnalysisSummary,
|
|
163
|
-
type Browser,
|
|
164
|
-
type Evidence,
|
|
165
|
-
type LookupRequest,
|
|
166
|
-
type LookupResponse,
|
|
167
|
-
type NoRecommendation,
|
|
168
|
-
type Proxy,
|
|
169
|
-
type Recommendation,
|
|
170
|
-
type RecommendationResult,
|
|
171
|
-
type RecommendationSummary,
|
|
172
|
-
type ResolveRequest,
|
|
173
|
-
type SiteConfigResponse,
|
|
174
|
-
type Target,
|
|
175
|
-
type SiteConfigListParams,
|
|
176
|
-
type SiteConfigListRecommendationsParams,
|
|
177
|
-
type SiteConfigLookupParams,
|
|
178
|
-
type SiteConfigResolveParams,
|
|
179
|
-
type AnalysisSummariesOffsetPagination,
|
|
180
|
-
type RecommendationSummariesOffsetPagination,
|
|
181
|
-
} from './site-configs';
|
|
182
181
|
export { Telemetry } from './telemetry/telemetry';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.96.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.96.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.96.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.96.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"site-configs.d.mts","sourceRoot":"","sources":["../src/resources/site-configs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,MAAM,qBAAiB;AACnC,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE,+BAA2B;AAChG,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9E;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iCAAiC,EAAE,eAAe,CAAC;IAIlE;;;;;;;;;;;OAWG;IACH,mBAAmB,CACjB,KAAK,GAAE,mCAAmC,GAAG,IAAI,GAAG,SAAc,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,uCAAuC,EAAE,qBAAqB,CAAC;IAO9E;;;;;;;;;;OAUG;IACH,MAAM,CA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,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -1,88 +0,0 @@
|
|
|
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.SiteConfigs = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
const pagination_1 = require("../core/pagination.js");
|
|
7
|
-
const path_1 = require("../internal/utils/path.js");
|
|
8
|
-
/**
|
|
9
|
-
* Resolve browser and proxy recommendations for bot-protected sites.
|
|
10
|
-
*/
|
|
11
|
-
class SiteConfigs extends resource_1.APIResource {
|
|
12
|
-
/**
|
|
13
|
-
* Returns a project-scoped historical analysis and the recommendation outcome
|
|
14
|
-
* concluded by that run. Later knowledge does not change this response.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* const siteConfigResponse =
|
|
19
|
-
* await client.siteConfigs.retrieve('id');
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
retrieve(id, options) {
|
|
23
|
-
return this._client.get((0, path_1.path) `/site-configs/${id}`, options);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Lists analyses for the selected project, newest first.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* // Automatically fetches more pages as needed.
|
|
31
|
-
* for await (const analysisSummary of client.siteConfigs.list()) {
|
|
32
|
-
* // ...
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
list(query = {}, options) {
|
|
37
|
-
return this._client.getAPIList('/site-configs', (pagination_1.OffsetPagination), { query, ...options });
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Lists unique domains previously analyzed by the selected project with their
|
|
41
|
-
* current domain-level recommendations.
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* ```ts
|
|
45
|
-
* // Automatically fetches more pages as needed.
|
|
46
|
-
* for await (const recommendationSummary of client.siteConfigs.listRecommendations()) {
|
|
47
|
-
* // ...
|
|
48
|
-
* }
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
listRecommendations(query = {}, options) {
|
|
52
|
-
return this._client.getAPIList('/site-configs/recommendations', (pagination_1.OffsetPagination), {
|
|
53
|
-
query,
|
|
54
|
-
...options,
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Returns current global knowledge without resolving DNS, creating an analysis, or
|
|
59
|
-
* updating Site Config data.
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* ```ts
|
|
63
|
-
* const lookupResponse = await client.siteConfigs.lookup({
|
|
64
|
-
* url: 'https://example.com',
|
|
65
|
-
* });
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
lookup(body, options) {
|
|
69
|
-
return this._client.post('/site-configs/lookup', { body, ...options });
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Explicitly starts or retries a project-scoped background analysis while
|
|
73
|
-
* preserving current global knowledge when available. Use `/site-configs/lookup`
|
|
74
|
-
* for side-effect-free reads.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```ts
|
|
78
|
-
* const siteConfigResponse = await client.siteConfigs.resolve(
|
|
79
|
-
* { url: 'https://example.com' },
|
|
80
|
-
* );
|
|
81
|
-
* ```
|
|
82
|
-
*/
|
|
83
|
-
resolve(body, options) {
|
|
84
|
-
return this._client.post('/site-configs/resolve', { body, ...options });
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
exports.SiteConfigs = SiteConfigs;
|
|
88
|
-
//# sourceMappingURL=site-configs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"site-configs.js","sourceRoot":"","sources":["../src/resources/site-configs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgG;AAEhG,oDAA8C;AAE9C;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,CAAA,6BAAiC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;;;;OAWG;IACH,mBAAmB,CACjB,QAAgE,EAAE,EAClE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE,CAAA,6BAAuC,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,IAA6B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;CACF;AArFD,kCAqFC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
import { OffsetPagination } from "../core/pagination.mjs";
|
|
4
|
-
import { path } from "../internal/utils/path.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Resolve browser and proxy recommendations for bot-protected sites.
|
|
7
|
-
*/
|
|
8
|
-
export class SiteConfigs extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Returns a project-scoped historical analysis and the recommendation outcome
|
|
11
|
-
* concluded by that run. Later knowledge does not change this response.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const siteConfigResponse =
|
|
16
|
-
* await client.siteConfigs.retrieve('id');
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
retrieve(id, options) {
|
|
20
|
-
return this._client.get(path `/site-configs/${id}`, options);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Lists analyses for the selected project, newest first.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* // Automatically fetches more pages as needed.
|
|
28
|
-
* for await (const analysisSummary of client.siteConfigs.list()) {
|
|
29
|
-
* // ...
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
list(query = {}, options) {
|
|
34
|
-
return this._client.getAPIList('/site-configs', (OffsetPagination), { query, ...options });
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Lists unique domains previously analyzed by the selected project with their
|
|
38
|
-
* current domain-level recommendations.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* // Automatically fetches more pages as needed.
|
|
43
|
-
* for await (const recommendationSummary of client.siteConfigs.listRecommendations()) {
|
|
44
|
-
* // ...
|
|
45
|
-
* }
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
|
-
listRecommendations(query = {}, options) {
|
|
49
|
-
return this._client.getAPIList('/site-configs/recommendations', (OffsetPagination), {
|
|
50
|
-
query,
|
|
51
|
-
...options,
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Returns current global knowledge without resolving DNS, creating an analysis, or
|
|
56
|
-
* updating Site Config data.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```ts
|
|
60
|
-
* const lookupResponse = await client.siteConfigs.lookup({
|
|
61
|
-
* url: 'https://example.com',
|
|
62
|
-
* });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
lookup(body, options) {
|
|
66
|
-
return this._client.post('/site-configs/lookup', { body, ...options });
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Explicitly starts or retries a project-scoped background analysis while
|
|
70
|
-
* preserving current global knowledge when available. Use `/site-configs/lookup`
|
|
71
|
-
* for side-effect-free reads.
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* ```ts
|
|
75
|
-
* const siteConfigResponse = await client.siteConfigs.resolve(
|
|
76
|
-
* { url: 'https://example.com' },
|
|
77
|
-
* );
|
|
78
|
-
* ```
|
|
79
|
-
*/
|
|
80
|
-
resolve(body, options) {
|
|
81
|
-
return this._client.post('/site-configs/resolve', { body, ...options });
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=site-configs.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"site-configs.mjs","sourceRoot":"","sources":["../src/resources/site-configs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,gBAAgB,EAA4C,+BAA2B;AAEhG,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,CAAA,gBAAiC,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;;;;OAWG;IACH,mBAAmB,CACjB,QAAgE,EAAE,EAClE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,+BAA+B,EAAE,CAAA,gBAAuC,CAAA,EAAE;YACvG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,E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