@expandai/sdk 0.16.0 → 0.17.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/LICENSE +2 -1
- package/README.md +83 -307
- package/build/dts/Client.d.ts +61 -0
- package/build/dts/Client.d.ts.map +1 -0
- package/build/dts/Error.d.ts +90 -0
- package/build/dts/Error.d.ts.map +1 -0
- package/build/dts/FetchJson.d.ts +364 -0
- package/build/dts/FetchJson.d.ts.map +1 -0
- package/build/dts/Generated.d.ts +1863 -0
- package/build/dts/Generated.d.ts.map +1 -0
- package/build/dts/HttpClientHelpers.d.ts +5 -0
- package/build/dts/HttpClientHelpers.d.ts.map +1 -0
- package/build/dts/Internal.d.ts +49 -0
- package/build/dts/Internal.d.ts.map +1 -0
- package/build/dts/Playground.d.ts +24 -0
- package/build/dts/Playground.d.ts.map +1 -0
- package/build/dts/Service.d.ts +277 -0
- package/build/dts/Service.d.ts.map +1 -0
- package/build/dts/index.d.ts +6 -0
- package/build/dts/index.d.ts.map +1 -0
- package/build/esm/Client.js +87 -0
- package/build/esm/Client.js.map +1 -0
- package/build/esm/Error.js +91 -0
- package/build/esm/Error.js.map +1 -0
- package/build/esm/FetchJson.js +70 -0
- package/build/esm/FetchJson.js.map +1 -0
- package/build/esm/Generated.js +646 -0
- package/build/esm/Generated.js.map +1 -0
- package/build/esm/HttpClientHelpers.js +14 -0
- package/build/esm/HttpClientHelpers.js.map +1 -0
- package/build/esm/Internal.js +95 -0
- package/build/esm/Internal.js.map +1 -0
- package/build/esm/Playground.js +55 -0
- package/build/esm/Playground.js.map +1 -0
- package/build/esm/Service.js +174 -0
- package/build/esm/Service.js.map +1 -0
- package/build/esm/index.js +4 -0
- package/build/esm/index.js.map +1 -0
- package/package.json +53 -136
- package/src/Client.ts +128 -0
- package/src/Error.ts +105 -0
- package/src/FetchJson.ts +109 -0
- package/src/Generated.ts +949 -0
- package/src/HttpClientHelpers.ts +24 -0
- package/src/Internal.ts +246 -0
- package/src/Playground.ts +76 -0
- package/src/Service.ts +264 -0
- package/src/index.ts +27 -21
- package/CHANGELOG.md +0 -224
- package/api-promise.d.mts +0 -2
- package/api-promise.d.mts.map +0 -1
- package/api-promise.d.ts +0 -2
- package/api-promise.d.ts.map +0 -1
- package/api-promise.js +0 -6
- package/api-promise.js.map +0 -1
- package/api-promise.mjs +0 -2
- package/api-promise.mjs.map +0 -1
- package/client.d.mts +0 -184
- package/client.d.mts.map +0 -1
- package/client.d.ts +0 -184
- package/client.d.ts.map +0 -1
- package/client.js +0 -476
- package/client.js.map +0 -1
- package/client.mjs +0 -472
- package/client.mjs.map +0 -1
- package/core/api-promise.d.mts +0 -46
- package/core/api-promise.d.mts.map +0 -1
- package/core/api-promise.d.ts +0 -46
- package/core/api-promise.d.ts.map +0 -1
- package/core/api-promise.js +0 -74
- package/core/api-promise.js.map +0 -1
- package/core/api-promise.mjs +0 -70
- package/core/api-promise.mjs.map +0 -1
- package/core/error.d.mts +0 -46
- package/core/error.d.mts.map +0 -1
- package/core/error.d.ts +0 -46
- package/core/error.d.ts.map +0 -1
- package/core/error.js +0 -113
- package/core/error.js.map +0 -1
- package/core/error.mjs +0 -97
- package/core/error.mjs.map +0 -1
- package/core/resource.d.mts +0 -6
- package/core/resource.d.mts.map +0 -1
- package/core/resource.d.ts +0 -6
- package/core/resource.d.ts.map +0 -1
- package/core/resource.js +0 -11
- package/core/resource.js.map +0 -1
- package/core/resource.mjs +0 -7
- package/core/resource.mjs.map +0 -1
- package/core/uploads.d.mts +0 -3
- package/core/uploads.d.mts.map +0 -1
- package/core/uploads.d.ts +0 -3
- package/core/uploads.d.ts.map +0 -1
- package/core/uploads.js +0 -6
- package/core/uploads.js.map +0 -1
- package/core/uploads.mjs +0 -2
- package/core/uploads.mjs.map +0 -1
- package/error.d.mts +0 -2
- package/error.d.mts.map +0 -1
- package/error.d.ts +0 -2
- package/error.d.ts.map +0 -1
- package/error.js +0 -6
- package/error.js.map +0 -1
- package/error.mjs +0 -2
- package/error.mjs.map +0 -1
- package/index.d.mts +0 -6
- package/index.d.mts.map +0 -1
- package/index.d.ts +0 -6
- package/index.d.ts.map +0 -1
- package/index.js +0 -30
- package/index.js.map +0 -1
- package/index.mjs +0 -7
- package/index.mjs.map +0 -1
- package/internal/builtin-types.d.mts +0 -73
- package/internal/builtin-types.d.mts.map +0 -1
- package/internal/builtin-types.d.ts +0 -73
- package/internal/builtin-types.d.ts.map +0 -1
- package/internal/builtin-types.js +0 -4
- package/internal/builtin-types.js.map +0 -1
- package/internal/builtin-types.mjs +0 -3
- package/internal/builtin-types.mjs.map +0 -1
- package/internal/detect-platform.d.mts +0 -15
- package/internal/detect-platform.d.mts.map +0 -1
- package/internal/detect-platform.d.ts +0 -15
- package/internal/detect-platform.d.ts.map +0 -1
- package/internal/detect-platform.js +0 -162
- package/internal/detect-platform.js.map +0 -1
- package/internal/detect-platform.mjs +0 -157
- package/internal/detect-platform.mjs.map +0 -1
- package/internal/errors.d.mts +0 -3
- package/internal/errors.d.mts.map +0 -1
- package/internal/errors.d.ts +0 -3
- package/internal/errors.d.ts.map +0 -1
- package/internal/errors.js +0 -41
- package/internal/errors.js.map +0 -1
- package/internal/errors.mjs +0 -36
- package/internal/errors.mjs.map +0 -1
- package/internal/headers.d.mts +0 -20
- package/internal/headers.d.mts.map +0 -1
- package/internal/headers.d.ts +0 -20
- package/internal/headers.d.ts.map +0 -1
- package/internal/headers.js +0 -79
- package/internal/headers.js.map +0 -1
- package/internal/headers.mjs +0 -74
- package/internal/headers.mjs.map +0 -1
- package/internal/parse.d.mts +0 -12
- package/internal/parse.d.mts.map +0 -1
- package/internal/parse.d.ts +0 -12
- package/internal/parse.d.ts.map +0 -1
- package/internal/parse.js +0 -40
- package/internal/parse.js.map +0 -1
- package/internal/parse.mjs +0 -37
- package/internal/parse.mjs.map +0 -1
- package/internal/request-options.d.mts +0 -75
- package/internal/request-options.d.mts.map +0 -1
- package/internal/request-options.d.ts +0 -75
- package/internal/request-options.d.ts.map +0 -1
- package/internal/request-options.js +0 -14
- package/internal/request-options.js.map +0 -1
- package/internal/request-options.mjs +0 -10
- package/internal/request-options.mjs.map +0 -1
- package/internal/shim-types.d.mts +0 -17
- package/internal/shim-types.d.mts.map +0 -1
- package/internal/shim-types.d.ts +0 -17
- package/internal/shim-types.d.ts.map +0 -1
- package/internal/shim-types.js +0 -4
- package/internal/shim-types.js.map +0 -1
- package/internal/shim-types.mjs +0 -3
- package/internal/shim-types.mjs.map +0 -1
- package/internal/shims.d.mts +0 -20
- package/internal/shims.d.mts.map +0 -1
- package/internal/shims.d.ts +0 -20
- package/internal/shims.d.ts.map +0 -1
- package/internal/shims.js +0 -92
- package/internal/shims.js.map +0 -1
- package/internal/shims.mjs +0 -85
- package/internal/shims.mjs.map +0 -1
- package/internal/to-file.d.mts +0 -45
- package/internal/to-file.d.mts.map +0 -1
- package/internal/to-file.d.ts +0 -45
- package/internal/to-file.d.ts.map +0 -1
- package/internal/to-file.js +0 -91
- package/internal/to-file.js.map +0 -1
- package/internal/to-file.mjs +0 -88
- package/internal/to-file.mjs.map +0 -1
- package/internal/tslib.js +0 -81
- package/internal/tslib.mjs +0 -17
- package/internal/types.d.mts +0 -69
- package/internal/types.d.mts.map +0 -1
- package/internal/types.d.ts +0 -69
- package/internal/types.d.ts.map +0 -1
- package/internal/types.js +0 -4
- package/internal/types.js.map +0 -1
- package/internal/types.mjs +0 -3
- package/internal/types.mjs.map +0 -1
- package/internal/uploads.d.mts +0 -42
- package/internal/uploads.d.mts.map +0 -1
- package/internal/uploads.d.ts +0 -42
- package/internal/uploads.d.ts.map +0 -1
- package/internal/uploads.js +0 -141
- package/internal/uploads.js.map +0 -1
- package/internal/uploads.mjs +0 -131
- package/internal/uploads.mjs.map +0 -1
- package/internal/utils/base64.d.mts +0 -3
- package/internal/utils/base64.d.mts.map +0 -1
- package/internal/utils/base64.d.ts +0 -3
- package/internal/utils/base64.d.ts.map +0 -1
- package/internal/utils/base64.js +0 -38
- package/internal/utils/base64.js.map +0 -1
- package/internal/utils/base64.mjs +0 -33
- package/internal/utils/base64.mjs.map +0 -1
- package/internal/utils/bytes.d.mts +0 -4
- package/internal/utils/bytes.d.mts.map +0 -1
- package/internal/utils/bytes.d.ts +0 -4
- package/internal/utils/bytes.d.ts.map +0 -1
- package/internal/utils/bytes.js +0 -31
- package/internal/utils/bytes.js.map +0 -1
- package/internal/utils/bytes.mjs +0 -26
- package/internal/utils/bytes.mjs.map +0 -1
- package/internal/utils/env.d.mts +0 -9
- package/internal/utils/env.d.mts.map +0 -1
- package/internal/utils/env.d.ts +0 -9
- package/internal/utils/env.d.ts.map +0 -1
- package/internal/utils/env.js +0 -22
- package/internal/utils/env.js.map +0 -1
- package/internal/utils/env.mjs +0 -18
- package/internal/utils/env.mjs.map +0 -1
- package/internal/utils/log.d.mts +0 -37
- package/internal/utils/log.d.mts.map +0 -1
- package/internal/utils/log.d.ts +0 -37
- package/internal/utils/log.d.ts.map +0 -1
- package/internal/utils/log.js +0 -86
- package/internal/utils/log.js.map +0 -1
- package/internal/utils/log.mjs +0 -80
- package/internal/utils/log.mjs.map +0 -1
- package/internal/utils/path.d.mts +0 -15
- package/internal/utils/path.d.mts.map +0 -1
- package/internal/utils/path.d.ts +0 -15
- package/internal/utils/path.d.ts.map +0 -1
- package/internal/utils/path.js +0 -79
- package/internal/utils/path.js.map +0 -1
- package/internal/utils/path.mjs +0 -74
- package/internal/utils/path.mjs.map +0 -1
- package/internal/utils/sleep.d.mts +0 -2
- package/internal/utils/sleep.d.mts.map +0 -1
- package/internal/utils/sleep.d.ts +0 -2
- package/internal/utils/sleep.d.ts.map +0 -1
- package/internal/utils/sleep.js +0 -7
- package/internal/utils/sleep.js.map +0 -1
- package/internal/utils/sleep.mjs +0 -3
- package/internal/utils/sleep.mjs.map +0 -1
- package/internal/utils/uuid.d.mts +0 -5
- package/internal/utils/uuid.d.mts.map +0 -1
- package/internal/utils/uuid.d.ts +0 -5
- package/internal/utils/uuid.d.ts.map +0 -1
- package/internal/utils/uuid.js +0 -19
- package/internal/utils/uuid.js.map +0 -1
- package/internal/utils/uuid.mjs +0 -15
- package/internal/utils/uuid.mjs.map +0 -1
- package/internal/utils/values.d.mts +0 -18
- package/internal/utils/values.d.mts.map +0 -1
- package/internal/utils/values.d.ts +0 -18
- package/internal/utils/values.d.ts.map +0 -1
- package/internal/utils/values.js +0 -112
- package/internal/utils/values.js.map +0 -1
- package/internal/utils/values.mjs +0 -94
- package/internal/utils/values.mjs.map +0 -1
- package/internal/utils.d.mts +0 -7
- package/internal/utils.d.mts.map +0 -1
- package/internal/utils.d.ts +0 -7
- package/internal/utils.d.ts.map +0 -1
- package/internal/utils.js +0 -11
- package/internal/utils.js.map +0 -1
- package/internal/utils.mjs +0 -8
- package/internal/utils.mjs.map +0 -1
- package/resource.d.mts +0 -2
- package/resource.d.mts.map +0 -1
- package/resource.d.ts +0 -2
- package/resource.d.ts.map +0 -1
- package/resource.js +0 -6
- package/resource.js.map +0 -1
- package/resource.mjs +0 -2
- package/resource.mjs.map +0 -1
- package/resources/index.d.mts +0 -2
- package/resources/index.d.mts.map +0 -1
- package/resources/index.d.ts +0 -2
- package/resources/index.d.ts.map +0 -1
- package/resources/index.js +0 -4
- package/resources/index.js.map +0 -1
- package/resources/index.mjs +0 -3
- package/resources/index.mjs.map +0 -1
- package/resources/top-level.d.mts +0 -468
- package/resources/top-level.d.mts.map +0 -1
- package/resources/top-level.d.ts +0 -468
- package/resources/top-level.d.ts.map +0 -1
- package/resources/top-level.js +0 -4
- package/resources/top-level.js.map +0 -1
- package/resources/top-level.mjs +0 -3
- package/resources/top-level.mjs.map +0 -1
- package/resources.d.mts +0 -2
- package/resources.d.mts.map +0 -1
- package/resources.d.ts +0 -2
- package/resources.d.ts.map +0 -1
- package/resources.js +0 -5
- package/resources.js.map +0 -1
- package/resources.mjs +0 -2
- package/resources.mjs.map +0 -1
- package/src/api-promise.ts +0 -2
- package/src/client.ts +0 -744
- package/src/core/README.md +0 -3
- package/src/core/api-promise.ts +0 -92
- package/src/core/error.ts +0 -130
- package/src/core/resource.ts +0 -11
- package/src/core/uploads.ts +0 -2
- package/src/error.ts +0 -2
- package/src/internal/README.md +0 -3
- package/src/internal/builtin-types.ts +0 -93
- package/src/internal/detect-platform.ts +0 -196
- package/src/internal/errors.ts +0 -33
- package/src/internal/headers.ts +0 -97
- package/src/internal/parse.ts +0 -56
- package/src/internal/request-options.ts +0 -91
- package/src/internal/shim-types.ts +0 -26
- package/src/internal/shims.ts +0 -107
- package/src/internal/to-file.ts +0 -154
- package/src/internal/types.ts +0 -95
- package/src/internal/uploads.ts +0 -187
- package/src/internal/utils/base64.ts +0 -40
- package/src/internal/utils/bytes.ts +0 -32
- package/src/internal/utils/env.ts +0 -18
- package/src/internal/utils/log.ts +0 -127
- package/src/internal/utils/path.ts +0 -88
- package/src/internal/utils/sleep.ts +0 -3
- package/src/internal/utils/uuid.ts +0 -17
- package/src/internal/utils/values.ts +0 -105
- package/src/internal/utils.ts +0 -8
- package/src/lib/.keep +0 -4
- package/src/resource.ts +0 -2
- package/src/resources/index.ts +0 -3
- package/src/resources/top-level.ts +0 -551
- package/src/resources.ts +0 -1
- package/src/tsconfig.json +0 -11
- package/src/uploads.ts +0 -2
- package/src/version.ts +0 -1
- package/uploads.d.mts +0 -2
- package/uploads.d.mts.map +0 -1
- package/uploads.d.ts +0 -2
- package/uploads.d.ts.map +0 -1
- package/uploads.js +0 -6
- package/uploads.js.map +0 -1
- package/uploads.mjs +0 -2
- package/uploads.mjs.map +0 -1
- package/version.d.mts +0 -2
- package/version.d.mts.map +0 -1
- package/version.d.ts +0 -2
- package/version.d.ts.map +0 -1
- package/version.js +0 -5
- package/version.js.map +0 -1
- package/version.mjs +0 -2
- package/version.mjs.map +0 -1
|
@@ -0,0 +1,1863 @@
|
|
|
1
|
+
/** @effect-diagnostics schemaStructWithTag:skip-file */
|
|
2
|
+
import type * as HttpClient from '@effect/platform/HttpClient';
|
|
3
|
+
import * as HttpClientError from '@effect/platform/HttpClientError';
|
|
4
|
+
import * as Effect from 'effect/Effect';
|
|
5
|
+
import type { ParseError } from 'effect/ParseResult';
|
|
6
|
+
import * as S from 'effect/Schema';
|
|
7
|
+
declare const FetchFetchParams_base: S.Struct<{
|
|
8
|
+
include: S.optionalWith<typeof S.String, {
|
|
9
|
+
nullable: true;
|
|
10
|
+
}>;
|
|
11
|
+
}>;
|
|
12
|
+
export declare class FetchFetchParams extends FetchFetchParams_base {
|
|
13
|
+
}
|
|
14
|
+
declare const FetchFetchRequest_base: S.Class<FetchFetchRequest, {
|
|
15
|
+
url: typeof S.String;
|
|
16
|
+
include: S.optionalWith<S.Struct<{
|
|
17
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
18
|
+
nullable: true;
|
|
19
|
+
}>;
|
|
20
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
21
|
+
nullable: true;
|
|
22
|
+
}>;
|
|
23
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
24
|
+
fullPage: S.optionalWith<typeof S.Boolean, {
|
|
25
|
+
nullable: true;
|
|
26
|
+
}>;
|
|
27
|
+
}>]>, {
|
|
28
|
+
nullable: true;
|
|
29
|
+
}>;
|
|
30
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
31
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
32
|
+
nullable: true;
|
|
33
|
+
}>;
|
|
34
|
+
}>]>, {
|
|
35
|
+
nullable: true;
|
|
36
|
+
}>;
|
|
37
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
38
|
+
skipEmptyText: S.optionalWith<typeof S.Boolean, {
|
|
39
|
+
nullable: true;
|
|
40
|
+
}>;
|
|
41
|
+
includeNavigation: S.optionalWith<typeof S.Boolean, {
|
|
42
|
+
nullable: true;
|
|
43
|
+
}>;
|
|
44
|
+
}>]>, {
|
|
45
|
+
nullable: true;
|
|
46
|
+
}>;
|
|
47
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
48
|
+
nullable: true;
|
|
49
|
+
default: () => false;
|
|
50
|
+
}>;
|
|
51
|
+
response: S.optionalWith<typeof S.Boolean, {
|
|
52
|
+
nullable: true;
|
|
53
|
+
default: () => false;
|
|
54
|
+
}>;
|
|
55
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
56
|
+
nullable: true;
|
|
57
|
+
default: () => false;
|
|
58
|
+
}>;
|
|
59
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
60
|
+
nullable: true;
|
|
61
|
+
}>;
|
|
62
|
+
}>, {
|
|
63
|
+
nullable: true;
|
|
64
|
+
}>;
|
|
65
|
+
search: S.optionalWith<S.Struct<{
|
|
66
|
+
query: typeof S.String;
|
|
67
|
+
maxResults: S.optionalWith<S.filter<S.filter<typeof S.Int>>, {
|
|
68
|
+
nullable: true;
|
|
69
|
+
default: () => 5;
|
|
70
|
+
}>;
|
|
71
|
+
minScore: S.optionalWith<S.filter<S.filter<typeof S.Number>>, {
|
|
72
|
+
nullable: true;
|
|
73
|
+
default: () => 0.6;
|
|
74
|
+
}>;
|
|
75
|
+
}>, {
|
|
76
|
+
nullable: true;
|
|
77
|
+
}>;
|
|
78
|
+
browserConfig: S.optionalWith<S.Struct<{
|
|
79
|
+
scrollFullPage: S.optionalWith<typeof S.Boolean, {
|
|
80
|
+
nullable: true;
|
|
81
|
+
default: () => false;
|
|
82
|
+
}>;
|
|
83
|
+
}>, {
|
|
84
|
+
nullable: true;
|
|
85
|
+
}>;
|
|
86
|
+
}, S.Struct.Encoded<{
|
|
87
|
+
url: typeof S.String;
|
|
88
|
+
include: S.optionalWith<S.Struct<{
|
|
89
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
90
|
+
nullable: true;
|
|
91
|
+
}>;
|
|
92
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
93
|
+
nullable: true;
|
|
94
|
+
}>;
|
|
95
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
96
|
+
fullPage: S.optionalWith<typeof S.Boolean, {
|
|
97
|
+
nullable: true;
|
|
98
|
+
}>;
|
|
99
|
+
}>]>, {
|
|
100
|
+
nullable: true;
|
|
101
|
+
}>;
|
|
102
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
103
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
104
|
+
nullable: true;
|
|
105
|
+
}>;
|
|
106
|
+
}>]>, {
|
|
107
|
+
nullable: true;
|
|
108
|
+
}>;
|
|
109
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
110
|
+
skipEmptyText: S.optionalWith<typeof S.Boolean, {
|
|
111
|
+
nullable: true;
|
|
112
|
+
}>;
|
|
113
|
+
includeNavigation: S.optionalWith<typeof S.Boolean, {
|
|
114
|
+
nullable: true;
|
|
115
|
+
}>;
|
|
116
|
+
}>]>, {
|
|
117
|
+
nullable: true;
|
|
118
|
+
}>;
|
|
119
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
120
|
+
nullable: true;
|
|
121
|
+
default: () => false;
|
|
122
|
+
}>;
|
|
123
|
+
response: S.optionalWith<typeof S.Boolean, {
|
|
124
|
+
nullable: true;
|
|
125
|
+
default: () => false;
|
|
126
|
+
}>;
|
|
127
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
128
|
+
nullable: true;
|
|
129
|
+
default: () => false;
|
|
130
|
+
}>;
|
|
131
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
132
|
+
nullable: true;
|
|
133
|
+
}>;
|
|
134
|
+
}>, {
|
|
135
|
+
nullable: true;
|
|
136
|
+
}>;
|
|
137
|
+
search: S.optionalWith<S.Struct<{
|
|
138
|
+
query: typeof S.String;
|
|
139
|
+
maxResults: S.optionalWith<S.filter<S.filter<typeof S.Int>>, {
|
|
140
|
+
nullable: true;
|
|
141
|
+
default: () => 5;
|
|
142
|
+
}>;
|
|
143
|
+
minScore: S.optionalWith<S.filter<S.filter<typeof S.Number>>, {
|
|
144
|
+
nullable: true;
|
|
145
|
+
default: () => 0.6;
|
|
146
|
+
}>;
|
|
147
|
+
}>, {
|
|
148
|
+
nullable: true;
|
|
149
|
+
}>;
|
|
150
|
+
browserConfig: S.optionalWith<S.Struct<{
|
|
151
|
+
scrollFullPage: S.optionalWith<typeof S.Boolean, {
|
|
152
|
+
nullable: true;
|
|
153
|
+
default: () => false;
|
|
154
|
+
}>;
|
|
155
|
+
}>, {
|
|
156
|
+
nullable: true;
|
|
157
|
+
}>;
|
|
158
|
+
}>, never, {
|
|
159
|
+
readonly include?: {
|
|
160
|
+
readonly html?: boolean | {
|
|
161
|
+
readonly [x: string]: unknown;
|
|
162
|
+
} | undefined;
|
|
163
|
+
readonly markdown?: boolean | {
|
|
164
|
+
readonly [x: string]: unknown;
|
|
165
|
+
} | undefined;
|
|
166
|
+
readonly screenshot?: boolean | {
|
|
167
|
+
readonly fullPage?: boolean | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
readonly summary?: boolean | {
|
|
170
|
+
readonly prompt?: string | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
readonly links?: boolean | {
|
|
173
|
+
readonly skipEmptyText?: boolean | undefined;
|
|
174
|
+
readonly includeNavigation?: boolean | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
readonly meta: boolean;
|
|
177
|
+
readonly response: boolean;
|
|
178
|
+
readonly json: boolean;
|
|
179
|
+
readonly appendix?: boolean | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
} & {
|
|
182
|
+
readonly url: string;
|
|
183
|
+
} & {
|
|
184
|
+
readonly search?: {
|
|
185
|
+
readonly query: string;
|
|
186
|
+
readonly maxResults: number;
|
|
187
|
+
readonly minScore: number;
|
|
188
|
+
} | undefined;
|
|
189
|
+
} & {
|
|
190
|
+
readonly browserConfig?: {
|
|
191
|
+
readonly scrollFullPage: boolean;
|
|
192
|
+
} | undefined;
|
|
193
|
+
}, {}, {}>;
|
|
194
|
+
export declare class FetchFetchRequest extends FetchFetchRequest_base {
|
|
195
|
+
}
|
|
196
|
+
declare const IssueTag_base: S.Literal<["Pointer", "Unexpected", "Missing", "Composite", "Refinement", "Transformation", "Type", "Forbidden"]>;
|
|
197
|
+
export declare class IssueTag extends IssueTag_base {
|
|
198
|
+
}
|
|
199
|
+
declare const PropertyKeyEnumTag_base: S.Literal<["symbol"]>;
|
|
200
|
+
export declare class PropertyKeyEnumTag extends PropertyKeyEnumTag_base {
|
|
201
|
+
}
|
|
202
|
+
declare const PropertyKey_base: S.Union<[typeof S.String, typeof S.Number, S.Struct<{
|
|
203
|
+
_tag: typeof PropertyKeyEnumTag;
|
|
204
|
+
key: typeof S.String;
|
|
205
|
+
}>]>;
|
|
206
|
+
export declare class PropertyKey extends PropertyKey_base {
|
|
207
|
+
}
|
|
208
|
+
declare const Issue_base: S.Struct<{
|
|
209
|
+
_tag: typeof IssueTag;
|
|
210
|
+
path: S.Array$<typeof PropertyKey>;
|
|
211
|
+
message: typeof S.String;
|
|
212
|
+
}>;
|
|
213
|
+
export declare class Issue extends Issue_base {
|
|
214
|
+
}
|
|
215
|
+
declare const HttpApiDecodeErrorTag_base: S.Literal<["HttpApiDecodeError"]>;
|
|
216
|
+
export declare class HttpApiDecodeErrorTag extends HttpApiDecodeErrorTag_base {
|
|
217
|
+
}
|
|
218
|
+
declare const HttpApiDecodeError_base: S.Struct<{
|
|
219
|
+
issues: S.Array$<typeof Issue>;
|
|
220
|
+
message: typeof S.String;
|
|
221
|
+
_tag: typeof HttpApiDecodeErrorTag;
|
|
222
|
+
}>;
|
|
223
|
+
export declare class HttpApiDecodeError extends HttpApiDecodeError_base {
|
|
224
|
+
}
|
|
225
|
+
declare const BadRequestTag_base: S.Literal<["BadRequest"]>;
|
|
226
|
+
export declare class BadRequestTag extends BadRequestTag_base {
|
|
227
|
+
}
|
|
228
|
+
declare const BadRequest_base: S.Struct<{
|
|
229
|
+
message: typeof S.String;
|
|
230
|
+
_tag: typeof BadRequestTag;
|
|
231
|
+
}>;
|
|
232
|
+
export declare class BadRequest extends BadRequest_base {
|
|
233
|
+
}
|
|
234
|
+
declare const FetchFetch400_base: S.Union<[typeof HttpApiDecodeError, typeof BadRequest]>;
|
|
235
|
+
export declare class FetchFetch400 extends FetchFetch400_base {
|
|
236
|
+
}
|
|
237
|
+
declare const AuthFailedReason_base: S.Literal<["InvalidApiKey", "InvalidToken", "InvalidSession", "InvalidTenant"]>;
|
|
238
|
+
export declare class AuthFailedReason extends AuthFailedReason_base {
|
|
239
|
+
}
|
|
240
|
+
declare const AuthFailedTag_base: S.Literal<["AuthFailed"]>;
|
|
241
|
+
export declare class AuthFailedTag extends AuthFailedTag_base {
|
|
242
|
+
}
|
|
243
|
+
declare const AuthFailed_base: S.Class<AuthFailed, {
|
|
244
|
+
reason: typeof AuthFailedReason;
|
|
245
|
+
description: S.optionalWith<S.Union<[typeof S.String, S.Struct<{
|
|
246
|
+
message: typeof S.String;
|
|
247
|
+
}>]>, {
|
|
248
|
+
nullable: true;
|
|
249
|
+
}>;
|
|
250
|
+
_tag: typeof AuthFailedTag;
|
|
251
|
+
}, S.Struct.Encoded<{
|
|
252
|
+
reason: typeof AuthFailedReason;
|
|
253
|
+
description: S.optionalWith<S.Union<[typeof S.String, S.Struct<{
|
|
254
|
+
message: typeof S.String;
|
|
255
|
+
}>]>, {
|
|
256
|
+
nullable: true;
|
|
257
|
+
}>;
|
|
258
|
+
_tag: typeof AuthFailedTag;
|
|
259
|
+
}>, never, {
|
|
260
|
+
readonly _tag: "AuthFailed";
|
|
261
|
+
} & {
|
|
262
|
+
readonly reason: "InvalidApiKey" | "InvalidToken" | "InvalidSession" | "InvalidTenant";
|
|
263
|
+
} & {
|
|
264
|
+
readonly description?: string | {
|
|
265
|
+
readonly message: string;
|
|
266
|
+
} | undefined;
|
|
267
|
+
}, {}, {}>;
|
|
268
|
+
export declare class AuthFailed extends AuthFailed_base {
|
|
269
|
+
}
|
|
270
|
+
export declare class DateTimeUtc extends S.String {
|
|
271
|
+
}
|
|
272
|
+
declare const FetchBlockedTag_base: S.Literal<["FetchBlocked"]>;
|
|
273
|
+
export declare class FetchBlockedTag extends FetchBlockedTag_base {
|
|
274
|
+
}
|
|
275
|
+
declare const FetchBlocked_base: S.Struct<{
|
|
276
|
+
url: typeof S.String;
|
|
277
|
+
blockedType: S.optionalWith<typeof S.String, {
|
|
278
|
+
nullable: true;
|
|
279
|
+
}>;
|
|
280
|
+
_tag: typeof FetchBlockedTag;
|
|
281
|
+
}>;
|
|
282
|
+
export declare class FetchBlocked extends FetchBlocked_base {
|
|
283
|
+
}
|
|
284
|
+
declare const FetchFetch403_base: S.Union<[S.Struct<{
|
|
285
|
+
organizationId: S.filter<typeof S.String>;
|
|
286
|
+
blockedUntil: S.optionalWith<S.Union<[typeof DateTimeUtc, typeof S.Null]>, {
|
|
287
|
+
nullable: true;
|
|
288
|
+
}>;
|
|
289
|
+
_tag: S.Literal<["AccessBlocked"]>;
|
|
290
|
+
}>, typeof FetchBlocked]>;
|
|
291
|
+
export declare class FetchFetch403 extends FetchFetch403_base {
|
|
292
|
+
}
|
|
293
|
+
declare const PayloadTooLargeTag_base: S.Literal<["PayloadTooLarge"]>;
|
|
294
|
+
export declare class PayloadTooLargeTag extends PayloadTooLargeTag_base {
|
|
295
|
+
}
|
|
296
|
+
declare const PayloadTooLarge_base: S.Class<PayloadTooLarge, {
|
|
297
|
+
_tag: typeof PayloadTooLargeTag;
|
|
298
|
+
}, S.Struct.Encoded<{
|
|
299
|
+
_tag: typeof PayloadTooLargeTag;
|
|
300
|
+
}>, never, {
|
|
301
|
+
readonly _tag: "PayloadTooLarge";
|
|
302
|
+
}, {}, {}>;
|
|
303
|
+
export declare class PayloadTooLarge extends PayloadTooLarge_base {
|
|
304
|
+
}
|
|
305
|
+
declare const TooManyRequestsTag_base: S.Literal<["TooManyRequests"]>;
|
|
306
|
+
export declare class TooManyRequestsTag extends TooManyRequestsTag_base {
|
|
307
|
+
}
|
|
308
|
+
declare const TooManyRequests_base: S.Class<TooManyRequests, {
|
|
309
|
+
_tag: typeof TooManyRequestsTag;
|
|
310
|
+
}, S.Struct.Encoded<{
|
|
311
|
+
_tag: typeof TooManyRequestsTag;
|
|
312
|
+
}>, never, {
|
|
313
|
+
readonly _tag: "TooManyRequests";
|
|
314
|
+
}, {}, {}>;
|
|
315
|
+
export declare class TooManyRequests extends TooManyRequests_base {
|
|
316
|
+
}
|
|
317
|
+
declare const InternalErrorTag_base: S.Literal<["InternalError"]>;
|
|
318
|
+
export declare class InternalErrorTag extends InternalErrorTag_base {
|
|
319
|
+
}
|
|
320
|
+
declare const InternalError_base: S.Class<InternalError, {
|
|
321
|
+
_tag: typeof InternalErrorTag;
|
|
322
|
+
}, S.Struct.Encoded<{
|
|
323
|
+
_tag: typeof InternalErrorTag;
|
|
324
|
+
}>, never, {
|
|
325
|
+
readonly _tag: "InternalError";
|
|
326
|
+
}, {}, {}>;
|
|
327
|
+
export declare class InternalError extends InternalError_base {
|
|
328
|
+
}
|
|
329
|
+
declare const ServiceUnavailableTag_base: S.Literal<["ServiceUnavailable"]>;
|
|
330
|
+
export declare class ServiceUnavailableTag extends ServiceUnavailableTag_base {
|
|
331
|
+
}
|
|
332
|
+
declare const ServiceUnavailable_base: S.Class<ServiceUnavailable, {
|
|
333
|
+
_tag: typeof ServiceUnavailableTag;
|
|
334
|
+
}, S.Struct.Encoded<{
|
|
335
|
+
_tag: typeof ServiceUnavailableTag;
|
|
336
|
+
}>, never, {
|
|
337
|
+
readonly _tag: "ServiceUnavailable";
|
|
338
|
+
}, {}, {}>;
|
|
339
|
+
export declare class ServiceUnavailable extends ServiceUnavailable_base {
|
|
340
|
+
}
|
|
341
|
+
declare const FetchFetchJsonParams_base: S.Struct<{
|
|
342
|
+
include: S.optionalWith<typeof S.String, {
|
|
343
|
+
nullable: true;
|
|
344
|
+
}>;
|
|
345
|
+
}>;
|
|
346
|
+
export declare class FetchFetchJsonParams extends FetchFetchJsonParams_base {
|
|
347
|
+
}
|
|
348
|
+
declare const FetchFetchJsonRequest_base: S.Class<FetchFetchJsonRequest, {
|
|
349
|
+
url: typeof S.String;
|
|
350
|
+
include: S.optionalWith<S.Struct<{
|
|
351
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
352
|
+
nullable: true;
|
|
353
|
+
}>;
|
|
354
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
355
|
+
nullable: true;
|
|
356
|
+
}>;
|
|
357
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
358
|
+
fullPage: S.optionalWith<typeof S.Boolean, {
|
|
359
|
+
nullable: true;
|
|
360
|
+
}>;
|
|
361
|
+
}>]>, {
|
|
362
|
+
nullable: true;
|
|
363
|
+
}>;
|
|
364
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
365
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
366
|
+
nullable: true;
|
|
367
|
+
}>;
|
|
368
|
+
}>]>, {
|
|
369
|
+
nullable: true;
|
|
370
|
+
}>;
|
|
371
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
372
|
+
skipEmptyText: S.optionalWith<typeof S.Boolean, {
|
|
373
|
+
nullable: true;
|
|
374
|
+
}>;
|
|
375
|
+
includeNavigation: S.optionalWith<typeof S.Boolean, {
|
|
376
|
+
nullable: true;
|
|
377
|
+
}>;
|
|
378
|
+
}>]>, {
|
|
379
|
+
nullable: true;
|
|
380
|
+
}>;
|
|
381
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
382
|
+
nullable: true;
|
|
383
|
+
default: () => false;
|
|
384
|
+
}>;
|
|
385
|
+
response: S.optionalWith<typeof S.Boolean, {
|
|
386
|
+
nullable: true;
|
|
387
|
+
default: () => false;
|
|
388
|
+
}>;
|
|
389
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
390
|
+
nullable: true;
|
|
391
|
+
default: () => false;
|
|
392
|
+
}>;
|
|
393
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
394
|
+
nullable: true;
|
|
395
|
+
}>;
|
|
396
|
+
}>, {
|
|
397
|
+
nullable: true;
|
|
398
|
+
}>;
|
|
399
|
+
search: S.optionalWith<S.Struct<{
|
|
400
|
+
query: typeof S.String;
|
|
401
|
+
maxResults: S.optionalWith<S.filter<S.filter<typeof S.Int>>, {
|
|
402
|
+
nullable: true;
|
|
403
|
+
default: () => 5;
|
|
404
|
+
}>;
|
|
405
|
+
minScore: S.optionalWith<S.filter<S.filter<typeof S.Number>>, {
|
|
406
|
+
nullable: true;
|
|
407
|
+
default: () => 0.6;
|
|
408
|
+
}>;
|
|
409
|
+
}>, {
|
|
410
|
+
nullable: true;
|
|
411
|
+
}>;
|
|
412
|
+
browserConfig: S.optionalWith<S.Struct<{
|
|
413
|
+
scrollFullPage: S.optionalWith<typeof S.Boolean, {
|
|
414
|
+
nullable: true;
|
|
415
|
+
default: () => false;
|
|
416
|
+
}>;
|
|
417
|
+
}>, {
|
|
418
|
+
nullable: true;
|
|
419
|
+
}>;
|
|
420
|
+
}, S.Struct.Encoded<{
|
|
421
|
+
url: typeof S.String;
|
|
422
|
+
include: S.optionalWith<S.Struct<{
|
|
423
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
424
|
+
nullable: true;
|
|
425
|
+
}>;
|
|
426
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, S.Record$<typeof S.String, typeof S.Unknown>]>, {
|
|
427
|
+
nullable: true;
|
|
428
|
+
}>;
|
|
429
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
430
|
+
fullPage: S.optionalWith<typeof S.Boolean, {
|
|
431
|
+
nullable: true;
|
|
432
|
+
}>;
|
|
433
|
+
}>]>, {
|
|
434
|
+
nullable: true;
|
|
435
|
+
}>;
|
|
436
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
437
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
438
|
+
nullable: true;
|
|
439
|
+
}>;
|
|
440
|
+
}>]>, {
|
|
441
|
+
nullable: true;
|
|
442
|
+
}>;
|
|
443
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
444
|
+
skipEmptyText: S.optionalWith<typeof S.Boolean, {
|
|
445
|
+
nullable: true;
|
|
446
|
+
}>;
|
|
447
|
+
includeNavigation: S.optionalWith<typeof S.Boolean, {
|
|
448
|
+
nullable: true;
|
|
449
|
+
}>;
|
|
450
|
+
}>]>, {
|
|
451
|
+
nullable: true;
|
|
452
|
+
}>;
|
|
453
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
454
|
+
nullable: true;
|
|
455
|
+
default: () => false;
|
|
456
|
+
}>;
|
|
457
|
+
response: S.optionalWith<typeof S.Boolean, {
|
|
458
|
+
nullable: true;
|
|
459
|
+
default: () => false;
|
|
460
|
+
}>;
|
|
461
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
462
|
+
nullable: true;
|
|
463
|
+
default: () => false;
|
|
464
|
+
}>;
|
|
465
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
466
|
+
nullable: true;
|
|
467
|
+
}>;
|
|
468
|
+
}>, {
|
|
469
|
+
nullable: true;
|
|
470
|
+
}>;
|
|
471
|
+
search: S.optionalWith<S.Struct<{
|
|
472
|
+
query: typeof S.String;
|
|
473
|
+
maxResults: S.optionalWith<S.filter<S.filter<typeof S.Int>>, {
|
|
474
|
+
nullable: true;
|
|
475
|
+
default: () => 5;
|
|
476
|
+
}>;
|
|
477
|
+
minScore: S.optionalWith<S.filter<S.filter<typeof S.Number>>, {
|
|
478
|
+
nullable: true;
|
|
479
|
+
default: () => 0.6;
|
|
480
|
+
}>;
|
|
481
|
+
}>, {
|
|
482
|
+
nullable: true;
|
|
483
|
+
}>;
|
|
484
|
+
browserConfig: S.optionalWith<S.Struct<{
|
|
485
|
+
scrollFullPage: S.optionalWith<typeof S.Boolean, {
|
|
486
|
+
nullable: true;
|
|
487
|
+
default: () => false;
|
|
488
|
+
}>;
|
|
489
|
+
}>, {
|
|
490
|
+
nullable: true;
|
|
491
|
+
}>;
|
|
492
|
+
}>, never, {
|
|
493
|
+
readonly include?: {
|
|
494
|
+
readonly html?: boolean | {
|
|
495
|
+
readonly [x: string]: unknown;
|
|
496
|
+
} | undefined;
|
|
497
|
+
readonly markdown?: boolean | {
|
|
498
|
+
readonly [x: string]: unknown;
|
|
499
|
+
} | undefined;
|
|
500
|
+
readonly screenshot?: boolean | {
|
|
501
|
+
readonly fullPage?: boolean | undefined;
|
|
502
|
+
} | undefined;
|
|
503
|
+
readonly summary?: boolean | {
|
|
504
|
+
readonly prompt?: string | undefined;
|
|
505
|
+
} | undefined;
|
|
506
|
+
readonly links?: boolean | {
|
|
507
|
+
readonly skipEmptyText?: boolean | undefined;
|
|
508
|
+
readonly includeNavigation?: boolean | undefined;
|
|
509
|
+
} | undefined;
|
|
510
|
+
readonly meta: boolean;
|
|
511
|
+
readonly response: boolean;
|
|
512
|
+
readonly json: boolean;
|
|
513
|
+
readonly appendix?: boolean | undefined;
|
|
514
|
+
} | undefined;
|
|
515
|
+
} & {
|
|
516
|
+
readonly url: string;
|
|
517
|
+
} & {
|
|
518
|
+
readonly search?: {
|
|
519
|
+
readonly query: string;
|
|
520
|
+
readonly maxResults: number;
|
|
521
|
+
readonly minScore: number;
|
|
522
|
+
} | undefined;
|
|
523
|
+
} & {
|
|
524
|
+
readonly browserConfig?: {
|
|
525
|
+
readonly scrollFullPage: boolean;
|
|
526
|
+
} | undefined;
|
|
527
|
+
}, {}, {}>;
|
|
528
|
+
export declare class FetchFetchJsonRequest extends FetchFetchJsonRequest_base {
|
|
529
|
+
}
|
|
530
|
+
declare const FetchObjectModeMetaVersion_base: S.Literal<[1]>;
|
|
531
|
+
export declare class FetchObjectModeMetaVersion extends FetchObjectModeMetaVersion_base {
|
|
532
|
+
}
|
|
533
|
+
declare const FetchObjectModeAppendixLinks_base: S.Struct<{
|
|
534
|
+
sameDomain: typeof S.Number;
|
|
535
|
+
external: typeof S.Number;
|
|
536
|
+
}>;
|
|
537
|
+
export declare class FetchObjectModeAppendixLinks extends FetchObjectModeAppendixLinks_base {
|
|
538
|
+
}
|
|
539
|
+
declare const FetchObjectModeAppendixHint_base: S.Struct<{
|
|
540
|
+
url: typeof S.String;
|
|
541
|
+
links: typeof FetchObjectModeAppendixLinks;
|
|
542
|
+
}>;
|
|
543
|
+
export declare class FetchObjectModeAppendixHint extends FetchObjectModeAppendixHint_base {
|
|
544
|
+
}
|
|
545
|
+
declare const FetchObjectModeStateJsonHint_base: S.Struct<{
|
|
546
|
+
moreTokens: typeof S.Number;
|
|
547
|
+
}>;
|
|
548
|
+
export declare class FetchObjectModeStateJsonHint extends FetchObjectModeStateJsonHint_base {
|
|
549
|
+
}
|
|
550
|
+
declare const FetchObjectModeMarkdownHint_base: S.Struct<{
|
|
551
|
+
url: typeof S.String;
|
|
552
|
+
moreTokens: typeof S.Number;
|
|
553
|
+
}>;
|
|
554
|
+
export declare class FetchObjectModeMarkdownHint extends FetchObjectModeMarkdownHint_base {
|
|
555
|
+
}
|
|
556
|
+
declare const FetchObjectModeMeta_base: S.Struct<{
|
|
557
|
+
version: typeof FetchObjectModeMetaVersion;
|
|
558
|
+
url: typeof S.String;
|
|
559
|
+
capturedAt: typeof S.String;
|
|
560
|
+
snapshotId: typeof S.String;
|
|
561
|
+
lang: typeof S.String;
|
|
562
|
+
pageType: typeof S.String;
|
|
563
|
+
playground: typeof S.String;
|
|
564
|
+
title: S.optionalWith<typeof S.String, {
|
|
565
|
+
nullable: true;
|
|
566
|
+
}>;
|
|
567
|
+
finalUrl: S.optionalWith<typeof S.String, {
|
|
568
|
+
nullable: true;
|
|
569
|
+
}>;
|
|
570
|
+
canonical: S.optionalWith<typeof S.String, {
|
|
571
|
+
nullable: true;
|
|
572
|
+
}>;
|
|
573
|
+
description: S.optionalWith<typeof S.String, {
|
|
574
|
+
nullable: true;
|
|
575
|
+
}>;
|
|
576
|
+
author: S.optionalWith<typeof S.String, {
|
|
577
|
+
nullable: true;
|
|
578
|
+
}>;
|
|
579
|
+
createdAt: S.optionalWith<typeof S.String, {
|
|
580
|
+
nullable: true;
|
|
581
|
+
}>;
|
|
582
|
+
updatedAt: S.optionalWith<typeof S.String, {
|
|
583
|
+
nullable: true;
|
|
584
|
+
}>;
|
|
585
|
+
image: S.optionalWith<typeof S.String, {
|
|
586
|
+
nullable: true;
|
|
587
|
+
}>;
|
|
588
|
+
paginationNext: S.optionalWith<typeof S.String, {
|
|
589
|
+
nullable: true;
|
|
590
|
+
}>;
|
|
591
|
+
appendix: S.optionalWith<typeof FetchObjectModeAppendixHint, {
|
|
592
|
+
nullable: true;
|
|
593
|
+
}>;
|
|
594
|
+
stateJson: S.optionalWith<typeof FetchObjectModeStateJsonHint, {
|
|
595
|
+
nullable: true;
|
|
596
|
+
}>;
|
|
597
|
+
markdown: S.optionalWith<typeof FetchObjectModeMarkdownHint, {
|
|
598
|
+
nullable: true;
|
|
599
|
+
}>;
|
|
600
|
+
blocked: S.optionalWith<typeof S.String, {
|
|
601
|
+
nullable: true;
|
|
602
|
+
}>;
|
|
603
|
+
loadingStatus: S.optionalWith<typeof S.String, {
|
|
604
|
+
nullable: true;
|
|
605
|
+
}>;
|
|
606
|
+
}>;
|
|
607
|
+
export declare class FetchObjectModeMeta extends FetchObjectModeMeta_base {
|
|
608
|
+
}
|
|
609
|
+
declare const FetchObjectModeEvidenceKind_base: S.Literal<["inline", "network"]>;
|
|
610
|
+
export declare class FetchObjectModeEvidenceKind extends FetchObjectModeEvidenceKind_base {
|
|
611
|
+
}
|
|
612
|
+
declare const FetchObjectModeEvidenceRole_base: S.Literal<["ld+json", "next-data", "nuxt", "apollo-state", "initial-state", "application-json", "script-tag", "data-attribute", "network-json", "network-response", "other"]>;
|
|
613
|
+
export declare class FetchObjectModeEvidenceRole extends FetchObjectModeEvidenceRole_base {
|
|
614
|
+
}
|
|
615
|
+
declare const FetchObjectModeEvidence_base: S.Struct<{
|
|
616
|
+
id: typeof S.Number;
|
|
617
|
+
kind: typeof FetchObjectModeEvidenceKind;
|
|
618
|
+
role: typeof FetchObjectModeEvidenceRole;
|
|
619
|
+
score: typeof S.Number;
|
|
620
|
+
url: S.optionalWith<typeof S.String, {
|
|
621
|
+
nullable: true;
|
|
622
|
+
}>;
|
|
623
|
+
method: S.optionalWith<typeof S.String, {
|
|
624
|
+
nullable: true;
|
|
625
|
+
}>;
|
|
626
|
+
moreTokens: S.optionalWith<typeof S.Number, {
|
|
627
|
+
nullable: true;
|
|
628
|
+
}>;
|
|
629
|
+
keys: S.optionalWith<S.Array$<typeof S.String>, {
|
|
630
|
+
nullable: true;
|
|
631
|
+
}>;
|
|
632
|
+
}>;
|
|
633
|
+
export declare class FetchObjectModeEvidence extends FetchObjectModeEvidence_base {
|
|
634
|
+
}
|
|
635
|
+
declare const FetchAssetReferenceKind_base: S.Literal<["data-url"]>;
|
|
636
|
+
export declare class FetchAssetReferenceKind extends FetchAssetReferenceKind_base {
|
|
637
|
+
}
|
|
638
|
+
declare const FetchAssetReference_base: S.Struct<{
|
|
639
|
+
id: typeof S.String;
|
|
640
|
+
kind: typeof FetchAssetReferenceKind;
|
|
641
|
+
placeholder: typeof S.String;
|
|
642
|
+
archiveKey: typeof S.String;
|
|
643
|
+
mimeType: typeof S.String;
|
|
644
|
+
sha256: typeof S.String;
|
|
645
|
+
bytes: typeof S.Number;
|
|
646
|
+
}>;
|
|
647
|
+
export declare class FetchAssetReference extends FetchAssetReference_base {
|
|
648
|
+
}
|
|
649
|
+
declare const CaptureTelemetryInfoRequestedStyleMode_base: S.Literal<["compat_full", "native_default"]>;
|
|
650
|
+
export declare class CaptureTelemetryInfoRequestedStyleMode extends CaptureTelemetryInfoRequestedStyleMode_base {
|
|
651
|
+
}
|
|
652
|
+
declare const CaptureTelemetryInfoSelected_base: S.Literal<["rust"]>;
|
|
653
|
+
export declare class CaptureTelemetryInfoSelected extends CaptureTelemetryInfoSelected_base {
|
|
654
|
+
}
|
|
655
|
+
declare const CaptureTelemetryInfoActual_base: S.Literal<["rust"]>;
|
|
656
|
+
export declare class CaptureTelemetryInfoActual extends CaptureTelemetryInfoActual_base {
|
|
657
|
+
}
|
|
658
|
+
declare const CaptureTelemetryInfoActualStyleMode_base: S.Literal<["compat_full", "native_default"]>;
|
|
659
|
+
export declare class CaptureTelemetryInfoActualStyleMode extends CaptureTelemetryInfoActualStyleMode_base {
|
|
660
|
+
}
|
|
661
|
+
declare const CaptureTelemetryInfoIconBackendDecision_base: S.Literal<["cpu", "remote_gpu"]>;
|
|
662
|
+
export declare class CaptureTelemetryInfoIconBackendDecision extends CaptureTelemetryInfoIconBackendDecision_base {
|
|
663
|
+
}
|
|
664
|
+
declare const CaptureTelemetryInfo_base: S.Struct<{
|
|
665
|
+
requestedStyleMode: S.optionalWith<typeof CaptureTelemetryInfoRequestedStyleMode, {
|
|
666
|
+
nullable: true;
|
|
667
|
+
}>;
|
|
668
|
+
selected: typeof CaptureTelemetryInfoSelected;
|
|
669
|
+
actual: typeof CaptureTelemetryInfoActual;
|
|
670
|
+
actualStyleMode: S.optionalWith<typeof CaptureTelemetryInfoActualStyleMode, {
|
|
671
|
+
nullable: true;
|
|
672
|
+
}>;
|
|
673
|
+
rolloutApplied: typeof S.Boolean;
|
|
674
|
+
preparedSessionHit: S.optionalWith<typeof S.Boolean, {
|
|
675
|
+
nullable: true;
|
|
676
|
+
}>;
|
|
677
|
+
nativePoolHit: S.optionalWith<typeof S.Boolean, {
|
|
678
|
+
nullable: true;
|
|
679
|
+
}>;
|
|
680
|
+
preparedPageHit: S.optionalWith<typeof S.Boolean, {
|
|
681
|
+
nullable: true;
|
|
682
|
+
}>;
|
|
683
|
+
nativePoolCapacity: S.optionalWith<typeof S.Number, {
|
|
684
|
+
nullable: true;
|
|
685
|
+
}>;
|
|
686
|
+
nativePoolProfile: S.optionalWith<typeof S.String, {
|
|
687
|
+
nullable: true;
|
|
688
|
+
}>;
|
|
689
|
+
poolHit: S.optionalWith<typeof S.Boolean, {
|
|
690
|
+
nullable: true;
|
|
691
|
+
}>;
|
|
692
|
+
connectMs: S.optionalWith<typeof S.Number, {
|
|
693
|
+
nullable: true;
|
|
694
|
+
}>;
|
|
695
|
+
warmConnectionAgeMs: S.optionalWith<typeof S.Number, {
|
|
696
|
+
nullable: true;
|
|
697
|
+
}>;
|
|
698
|
+
iconBackendDecision: S.optionalWith<typeof CaptureTelemetryInfoIconBackendDecision, {
|
|
699
|
+
nullable: true;
|
|
700
|
+
}>;
|
|
701
|
+
}>;
|
|
702
|
+
export declare class CaptureTelemetryInfo extends CaptureTelemetryInfo_base {
|
|
703
|
+
}
|
|
704
|
+
declare const FetchSearchSnippetLocation_base: S.Struct<{
|
|
705
|
+
markdownBlockId: S.optionalWith<typeof S.String, {
|
|
706
|
+
nullable: true;
|
|
707
|
+
}>;
|
|
708
|
+
nodeIds: S.optionalWith<S.Array$<typeof S.Number>, {
|
|
709
|
+
nullable: true;
|
|
710
|
+
}>;
|
|
711
|
+
stateJsonSourceId: S.optionalWith<typeof S.Number, {
|
|
712
|
+
nullable: true;
|
|
713
|
+
}>;
|
|
714
|
+
jsonPath: S.optionalWith<typeof S.String, {
|
|
715
|
+
nullable: true;
|
|
716
|
+
}>;
|
|
717
|
+
}>;
|
|
718
|
+
export declare class FetchSearchSnippetLocation extends FetchSearchSnippetLocation_base {
|
|
719
|
+
}
|
|
720
|
+
declare const FetchSearchSourceMetaSource_base: S.Literal<["markdown", "appendix", "statejson"]>;
|
|
721
|
+
export declare class FetchSearchSourceMetaSource extends FetchSearchSourceMetaSource_base {
|
|
722
|
+
}
|
|
723
|
+
declare const FetchSearchSourceMetaRanker_base: S.Literal<["zeroentropy", "local_lexical"]>;
|
|
724
|
+
export declare class FetchSearchSourceMetaRanker extends FetchSearchSourceMetaRanker_base {
|
|
725
|
+
}
|
|
726
|
+
declare const FetchSearchSourceMetaFallbackReason_base: S.Literal<["timeout", "error"]>;
|
|
727
|
+
export declare class FetchSearchSourceMetaFallbackReason extends FetchSearchSourceMetaFallbackReason_base {
|
|
728
|
+
}
|
|
729
|
+
declare const FetchSearchSourceMeta_base: S.Struct<{
|
|
730
|
+
source: typeof FetchSearchSourceMetaSource;
|
|
731
|
+
chunkCount: S.filter<typeof S.Int>;
|
|
732
|
+
batchCount: S.filter<typeof S.Int>;
|
|
733
|
+
ranker: typeof FetchSearchSourceMetaRanker;
|
|
734
|
+
fallback: typeof S.Boolean;
|
|
735
|
+
fallbackReason: S.optionalWith<typeof FetchSearchSourceMetaFallbackReason, {
|
|
736
|
+
nullable: true;
|
|
737
|
+
}>;
|
|
738
|
+
durationMs: S.filter<typeof S.Number>;
|
|
739
|
+
}>;
|
|
740
|
+
export declare class FetchSearchSourceMeta extends FetchSearchSourceMeta_base {
|
|
741
|
+
}
|
|
742
|
+
declare const FetchSearchMeta_base: S.Struct<{
|
|
743
|
+
durationMs: S.filter<typeof S.Number>;
|
|
744
|
+
sources: S.Array$<typeof FetchSearchSourceMeta>;
|
|
745
|
+
}>;
|
|
746
|
+
export declare class FetchSearchMeta extends FetchSearchMeta_base {
|
|
747
|
+
}
|
|
748
|
+
declare const FetchSearchResult_base: S.Struct<{
|
|
749
|
+
query: typeof S.String;
|
|
750
|
+
snippets: S.Array$<S.Struct<{
|
|
751
|
+
type: S.optionalWith<S.Literal<["text"]>, {
|
|
752
|
+
nullable: true;
|
|
753
|
+
default: () => "text";
|
|
754
|
+
}>;
|
|
755
|
+
source: S.Literal<["markdown", "appendix", "statejson"]>;
|
|
756
|
+
text: typeof S.String;
|
|
757
|
+
score: S.filter<S.filter<typeof S.Number>>;
|
|
758
|
+
location: S.optionalWith<typeof FetchSearchSnippetLocation, {
|
|
759
|
+
nullable: true;
|
|
760
|
+
}>;
|
|
761
|
+
}>>;
|
|
762
|
+
meta: S.optionalWith<typeof FetchSearchMeta, {
|
|
763
|
+
nullable: true;
|
|
764
|
+
}>;
|
|
765
|
+
}>;
|
|
766
|
+
export declare class FetchSearchResult extends FetchSearchResult_base {
|
|
767
|
+
}
|
|
768
|
+
declare const FetchObjectModeResult_base: S.Class<FetchObjectModeResult, {
|
|
769
|
+
meta: typeof FetchObjectModeMeta;
|
|
770
|
+
markdown: typeof S.String;
|
|
771
|
+
json: S.Array$<typeof FetchObjectModeEvidence>;
|
|
772
|
+
data: S.optionalWith<S.Struct<{
|
|
773
|
+
assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
|
|
774
|
+
nullable: true;
|
|
775
|
+
}>;
|
|
776
|
+
captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
|
|
777
|
+
nullable: true;
|
|
778
|
+
}>;
|
|
779
|
+
search: S.optionalWith<typeof FetchSearchResult, {
|
|
780
|
+
nullable: true;
|
|
781
|
+
}>;
|
|
782
|
+
screenshot: S.optionalWith<S.Struct<{
|
|
783
|
+
url: typeof S.String;
|
|
784
|
+
fullPage: typeof S.Boolean;
|
|
785
|
+
}>, {
|
|
786
|
+
nullable: true;
|
|
787
|
+
}>;
|
|
788
|
+
}>, {
|
|
789
|
+
nullable: true;
|
|
790
|
+
}>;
|
|
791
|
+
}, S.Struct.Encoded<{
|
|
792
|
+
meta: typeof FetchObjectModeMeta;
|
|
793
|
+
markdown: typeof S.String;
|
|
794
|
+
json: S.Array$<typeof FetchObjectModeEvidence>;
|
|
795
|
+
data: S.optionalWith<S.Struct<{
|
|
796
|
+
assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
|
|
797
|
+
nullable: true;
|
|
798
|
+
}>;
|
|
799
|
+
captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
|
|
800
|
+
nullable: true;
|
|
801
|
+
}>;
|
|
802
|
+
search: S.optionalWith<typeof FetchSearchResult, {
|
|
803
|
+
nullable: true;
|
|
804
|
+
}>;
|
|
805
|
+
screenshot: S.optionalWith<S.Struct<{
|
|
806
|
+
url: typeof S.String;
|
|
807
|
+
fullPage: typeof S.Boolean;
|
|
808
|
+
}>, {
|
|
809
|
+
nullable: true;
|
|
810
|
+
}>;
|
|
811
|
+
}>, {
|
|
812
|
+
nullable: true;
|
|
813
|
+
}>;
|
|
814
|
+
}>, never, {
|
|
815
|
+
readonly markdown: string;
|
|
816
|
+
} & {
|
|
817
|
+
readonly meta: {
|
|
818
|
+
readonly url: string;
|
|
819
|
+
readonly markdown?: {
|
|
820
|
+
readonly url: string;
|
|
821
|
+
readonly moreTokens: number;
|
|
822
|
+
} | undefined;
|
|
823
|
+
readonly appendix?: {
|
|
824
|
+
readonly url: string;
|
|
825
|
+
readonly links: {
|
|
826
|
+
readonly sameDomain: number;
|
|
827
|
+
readonly external: number;
|
|
828
|
+
};
|
|
829
|
+
} | undefined;
|
|
830
|
+
readonly description?: string | undefined;
|
|
831
|
+
readonly version: 1;
|
|
832
|
+
readonly capturedAt: string;
|
|
833
|
+
readonly snapshotId: string;
|
|
834
|
+
readonly lang: string;
|
|
835
|
+
readonly pageType: string;
|
|
836
|
+
readonly playground: string;
|
|
837
|
+
readonly title?: string | undefined;
|
|
838
|
+
readonly finalUrl?: string | undefined;
|
|
839
|
+
readonly canonical?: string | undefined;
|
|
840
|
+
readonly author?: string | undefined;
|
|
841
|
+
readonly createdAt?: string | undefined;
|
|
842
|
+
readonly updatedAt?: string | undefined;
|
|
843
|
+
readonly image?: string | undefined;
|
|
844
|
+
readonly paginationNext?: string | undefined;
|
|
845
|
+
readonly stateJson?: {
|
|
846
|
+
readonly moreTokens: number;
|
|
847
|
+
} | undefined;
|
|
848
|
+
readonly blocked?: string | undefined;
|
|
849
|
+
readonly loadingStatus?: string | undefined;
|
|
850
|
+
};
|
|
851
|
+
} & {
|
|
852
|
+
readonly json: readonly {
|
|
853
|
+
readonly keys?: readonly string[] | undefined;
|
|
854
|
+
readonly url?: string | undefined;
|
|
855
|
+
readonly moreTokens?: number | undefined;
|
|
856
|
+
readonly id: number;
|
|
857
|
+
readonly kind: "inline" | "network";
|
|
858
|
+
readonly role: "ld+json" | "next-data" | "nuxt" | "apollo-state" | "initial-state" | "application-json" | "script-tag" | "data-attribute" | "network-json" | "network-response" | "other";
|
|
859
|
+
readonly score: number;
|
|
860
|
+
readonly method?: string | undefined;
|
|
861
|
+
}[];
|
|
862
|
+
} & {
|
|
863
|
+
readonly data?: {
|
|
864
|
+
readonly search?: {
|
|
865
|
+
readonly meta?: {
|
|
866
|
+
readonly durationMs: number;
|
|
867
|
+
readonly sources: readonly {
|
|
868
|
+
readonly source: "markdown" | "appendix" | "statejson";
|
|
869
|
+
readonly chunkCount: number;
|
|
870
|
+
readonly batchCount: number;
|
|
871
|
+
readonly ranker: "zeroentropy" | "local_lexical";
|
|
872
|
+
readonly fallback: boolean;
|
|
873
|
+
readonly fallbackReason?: "timeout" | "error" | undefined;
|
|
874
|
+
readonly durationMs: number;
|
|
875
|
+
}[];
|
|
876
|
+
} | undefined;
|
|
877
|
+
readonly query: string;
|
|
878
|
+
readonly snippets: readonly {
|
|
879
|
+
readonly score: number;
|
|
880
|
+
readonly source: "markdown" | "appendix" | "statejson";
|
|
881
|
+
readonly type: "text";
|
|
882
|
+
readonly text: string;
|
|
883
|
+
readonly location?: {
|
|
884
|
+
readonly markdownBlockId?: string | undefined;
|
|
885
|
+
readonly nodeIds?: readonly number[] | undefined;
|
|
886
|
+
readonly stateJsonSourceId?: number | undefined;
|
|
887
|
+
readonly jsonPath?: string | undefined;
|
|
888
|
+
} | undefined;
|
|
889
|
+
}[];
|
|
890
|
+
} | undefined;
|
|
891
|
+
readonly screenshot?: {
|
|
892
|
+
readonly url: string;
|
|
893
|
+
readonly fullPage: boolean;
|
|
894
|
+
} | undefined;
|
|
895
|
+
readonly assets?: readonly {
|
|
896
|
+
readonly id: string;
|
|
897
|
+
readonly kind: "data-url";
|
|
898
|
+
readonly placeholder: string;
|
|
899
|
+
readonly archiveKey: string;
|
|
900
|
+
readonly mimeType: string;
|
|
901
|
+
readonly sha256: string;
|
|
902
|
+
readonly bytes: number;
|
|
903
|
+
}[] | undefined;
|
|
904
|
+
readonly captureTelemetry?: {
|
|
905
|
+
readonly requestedStyleMode?: "compat_full" | "native_default" | undefined;
|
|
906
|
+
readonly selected: "rust";
|
|
907
|
+
readonly actual: "rust";
|
|
908
|
+
readonly actualStyleMode?: "compat_full" | "native_default" | undefined;
|
|
909
|
+
readonly rolloutApplied: boolean;
|
|
910
|
+
readonly preparedSessionHit?: boolean | undefined;
|
|
911
|
+
readonly nativePoolHit?: boolean | undefined;
|
|
912
|
+
readonly preparedPageHit?: boolean | undefined;
|
|
913
|
+
readonly nativePoolCapacity?: number | undefined;
|
|
914
|
+
readonly nativePoolProfile?: string | undefined;
|
|
915
|
+
readonly poolHit?: boolean | undefined;
|
|
916
|
+
readonly connectMs?: number | undefined;
|
|
917
|
+
readonly warmConnectionAgeMs?: number | undefined;
|
|
918
|
+
readonly iconBackendDecision?: "cpu" | "remote_gpu" | undefined;
|
|
919
|
+
} | undefined;
|
|
920
|
+
} | undefined;
|
|
921
|
+
}, {}, {}>;
|
|
922
|
+
export declare class FetchObjectModeResult extends FetchObjectModeResult_base {
|
|
923
|
+
}
|
|
924
|
+
declare const FetchFetchJson400_base: S.Union<[typeof HttpApiDecodeError, typeof BadRequest]>;
|
|
925
|
+
export declare class FetchFetchJson400 extends FetchFetchJson400_base {
|
|
926
|
+
}
|
|
927
|
+
declare const FetchFetchJson403_base: S.Union<[S.Struct<{
|
|
928
|
+
organizationId: S.filter<typeof S.String>;
|
|
929
|
+
blockedUntil: S.optionalWith<S.Union<[typeof DateTimeUtc, typeof S.Null]>, {
|
|
930
|
+
nullable: true;
|
|
931
|
+
}>;
|
|
932
|
+
_tag: S.Literal<["AccessBlocked"]>;
|
|
933
|
+
}>, typeof FetchBlocked]>;
|
|
934
|
+
export declare class FetchFetchJson403 extends FetchFetchJson403_base {
|
|
935
|
+
}
|
|
936
|
+
declare const IncludeHtmlConfig_base: S.Record$<typeof S.String, typeof S.Unknown>;
|
|
937
|
+
export declare class IncludeHtmlConfig extends IncludeHtmlConfig_base {
|
|
938
|
+
}
|
|
939
|
+
declare const IncludeMarkdownConfig_base: S.Record$<typeof S.String, typeof S.Unknown>;
|
|
940
|
+
export declare class IncludeMarkdownConfig extends IncludeMarkdownConfig_base {
|
|
941
|
+
}
|
|
942
|
+
declare const IncludeScreenshotConfig_base: S.Struct<{
|
|
943
|
+
fullPage: S.optionalWith<typeof S.Boolean, {
|
|
944
|
+
nullable: true;
|
|
945
|
+
}>;
|
|
946
|
+
}>;
|
|
947
|
+
export declare class IncludeScreenshotConfig extends IncludeScreenshotConfig_base {
|
|
948
|
+
}
|
|
949
|
+
declare const FetchFetchSearchRequest_base: S.Class<FetchFetchSearchRequest, {
|
|
950
|
+
snapshotId: S.filter<typeof S.String>;
|
|
951
|
+
search: S.Struct<{
|
|
952
|
+
query: typeof S.String;
|
|
953
|
+
maxResults: S.optionalWith<S.filter<S.filter<typeof S.Int>>, {
|
|
954
|
+
nullable: true;
|
|
955
|
+
default: () => 5;
|
|
956
|
+
}>;
|
|
957
|
+
minScore: S.optionalWith<S.filter<S.filter<typeof S.Number>>, {
|
|
958
|
+
nullable: true;
|
|
959
|
+
default: () => 0.6;
|
|
960
|
+
}>;
|
|
961
|
+
}>;
|
|
962
|
+
include: S.optionalWith<S.Struct<{
|
|
963
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
|
|
964
|
+
nullable: true;
|
|
965
|
+
}>;
|
|
966
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
|
|
967
|
+
nullable: true;
|
|
968
|
+
}>;
|
|
969
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
|
|
970
|
+
nullable: true;
|
|
971
|
+
}>;
|
|
972
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
973
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
974
|
+
nullable: true;
|
|
975
|
+
default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
|
|
976
|
+
}>;
|
|
977
|
+
}>]>, {
|
|
978
|
+
nullable: true;
|
|
979
|
+
}>;
|
|
980
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
981
|
+
sameDomainOnly: S.optionalWith<typeof S.Boolean, {
|
|
982
|
+
nullable: true;
|
|
983
|
+
default: () => true;
|
|
984
|
+
}>;
|
|
985
|
+
includePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
986
|
+
nullable: true;
|
|
987
|
+
}>;
|
|
988
|
+
excludePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
989
|
+
nullable: true;
|
|
990
|
+
}>;
|
|
991
|
+
}>]>, {
|
|
992
|
+
nullable: true;
|
|
993
|
+
}>;
|
|
994
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
995
|
+
nullable: true;
|
|
996
|
+
default: () => true;
|
|
997
|
+
}>;
|
|
998
|
+
response: S.optionalWith<S.Struct<{
|
|
999
|
+
includeHeaders: S.optionalWith<typeof S.Boolean, {
|
|
1000
|
+
nullable: true;
|
|
1001
|
+
default: () => false;
|
|
1002
|
+
}>;
|
|
1003
|
+
}>, {
|
|
1004
|
+
nullable: true;
|
|
1005
|
+
}>;
|
|
1006
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
1007
|
+
nullable: true;
|
|
1008
|
+
default: () => false;
|
|
1009
|
+
}>;
|
|
1010
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
1011
|
+
nullable: true;
|
|
1012
|
+
}>;
|
|
1013
|
+
}>, {
|
|
1014
|
+
nullable: true;
|
|
1015
|
+
}>;
|
|
1016
|
+
}, S.Struct.Encoded<{
|
|
1017
|
+
snapshotId: S.filter<typeof S.String>;
|
|
1018
|
+
search: S.Struct<{
|
|
1019
|
+
query: typeof S.String;
|
|
1020
|
+
maxResults: S.optionalWith<S.filter<S.filter<typeof S.Int>>, {
|
|
1021
|
+
nullable: true;
|
|
1022
|
+
default: () => 5;
|
|
1023
|
+
}>;
|
|
1024
|
+
minScore: S.optionalWith<S.filter<S.filter<typeof S.Number>>, {
|
|
1025
|
+
nullable: true;
|
|
1026
|
+
default: () => 0.6;
|
|
1027
|
+
}>;
|
|
1028
|
+
}>;
|
|
1029
|
+
include: S.optionalWith<S.Struct<{
|
|
1030
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
|
|
1031
|
+
nullable: true;
|
|
1032
|
+
}>;
|
|
1033
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
|
|
1034
|
+
nullable: true;
|
|
1035
|
+
}>;
|
|
1036
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
|
|
1037
|
+
nullable: true;
|
|
1038
|
+
}>;
|
|
1039
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
1040
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
1041
|
+
nullable: true;
|
|
1042
|
+
default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
|
|
1043
|
+
}>;
|
|
1044
|
+
}>]>, {
|
|
1045
|
+
nullable: true;
|
|
1046
|
+
}>;
|
|
1047
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
1048
|
+
sameDomainOnly: S.optionalWith<typeof S.Boolean, {
|
|
1049
|
+
nullable: true;
|
|
1050
|
+
default: () => true;
|
|
1051
|
+
}>;
|
|
1052
|
+
includePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
1053
|
+
nullable: true;
|
|
1054
|
+
}>;
|
|
1055
|
+
excludePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
1056
|
+
nullable: true;
|
|
1057
|
+
}>;
|
|
1058
|
+
}>]>, {
|
|
1059
|
+
nullable: true;
|
|
1060
|
+
}>;
|
|
1061
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
1062
|
+
nullable: true;
|
|
1063
|
+
default: () => true;
|
|
1064
|
+
}>;
|
|
1065
|
+
response: S.optionalWith<S.Struct<{
|
|
1066
|
+
includeHeaders: S.optionalWith<typeof S.Boolean, {
|
|
1067
|
+
nullable: true;
|
|
1068
|
+
default: () => false;
|
|
1069
|
+
}>;
|
|
1070
|
+
}>, {
|
|
1071
|
+
nullable: true;
|
|
1072
|
+
}>;
|
|
1073
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
1074
|
+
nullable: true;
|
|
1075
|
+
default: () => false;
|
|
1076
|
+
}>;
|
|
1077
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
1078
|
+
nullable: true;
|
|
1079
|
+
}>;
|
|
1080
|
+
}>, {
|
|
1081
|
+
nullable: true;
|
|
1082
|
+
}>;
|
|
1083
|
+
}>, never, {
|
|
1084
|
+
readonly include?: {
|
|
1085
|
+
readonly html?: boolean | {
|
|
1086
|
+
readonly [x: string]: unknown;
|
|
1087
|
+
} | undefined;
|
|
1088
|
+
readonly markdown?: boolean | {
|
|
1089
|
+
readonly [x: string]: unknown;
|
|
1090
|
+
} | undefined;
|
|
1091
|
+
readonly screenshot?: boolean | {
|
|
1092
|
+
readonly fullPage?: boolean | undefined;
|
|
1093
|
+
} | undefined;
|
|
1094
|
+
readonly summary?: boolean | {
|
|
1095
|
+
readonly prompt: string;
|
|
1096
|
+
} | undefined;
|
|
1097
|
+
readonly links?: boolean | {
|
|
1098
|
+
readonly sameDomainOnly: boolean;
|
|
1099
|
+
readonly includePatterns?: readonly string[] | undefined;
|
|
1100
|
+
readonly excludePatterns?: readonly string[] | undefined;
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
readonly meta: boolean;
|
|
1103
|
+
readonly response?: {
|
|
1104
|
+
readonly includeHeaders: boolean;
|
|
1105
|
+
} | undefined;
|
|
1106
|
+
readonly json: boolean;
|
|
1107
|
+
readonly appendix?: boolean | undefined;
|
|
1108
|
+
} | undefined;
|
|
1109
|
+
} & {
|
|
1110
|
+
readonly search: {
|
|
1111
|
+
readonly query: string;
|
|
1112
|
+
readonly maxResults: number;
|
|
1113
|
+
readonly minScore: number;
|
|
1114
|
+
};
|
|
1115
|
+
} & {
|
|
1116
|
+
readonly snapshotId: string;
|
|
1117
|
+
}, {}, {}>;
|
|
1118
|
+
export declare class FetchFetchSearchRequest extends FetchFetchSearchRequest_base {
|
|
1119
|
+
}
|
|
1120
|
+
export declare class URL extends S.String {
|
|
1121
|
+
}
|
|
1122
|
+
declare const ResponseInfo_base: S.Struct<{
|
|
1123
|
+
url: typeof S.String;
|
|
1124
|
+
requestedUrl: S.optionalWith<typeof URL, {
|
|
1125
|
+
nullable: true;
|
|
1126
|
+
}>;
|
|
1127
|
+
originStatusCode: S.optionalWith<typeof S.Number, {
|
|
1128
|
+
nullable: true;
|
|
1129
|
+
}>;
|
|
1130
|
+
redirectStatusCode: S.optionalWith<typeof S.Number, {
|
|
1131
|
+
nullable: true;
|
|
1132
|
+
}>;
|
|
1133
|
+
headers: S.optionalWith<S.Struct<{}>, {
|
|
1134
|
+
nullable: true;
|
|
1135
|
+
}>;
|
|
1136
|
+
}>;
|
|
1137
|
+
export declare class ResponseInfo extends ResponseInfo_base {
|
|
1138
|
+
}
|
|
1139
|
+
declare const FetchSnapshotSearchResult_base: S.Class<FetchSnapshotSearchResult, {
|
|
1140
|
+
snapshotId: S.filter<typeof S.String>;
|
|
1141
|
+
response: typeof ResponseInfo;
|
|
1142
|
+
search: typeof FetchSearchResult;
|
|
1143
|
+
durationMs: S.filter<typeof S.Number>;
|
|
1144
|
+
}, S.Struct.Encoded<{
|
|
1145
|
+
snapshotId: S.filter<typeof S.String>;
|
|
1146
|
+
response: typeof ResponseInfo;
|
|
1147
|
+
search: typeof FetchSearchResult;
|
|
1148
|
+
durationMs: S.filter<typeof S.Number>;
|
|
1149
|
+
}>, never, {
|
|
1150
|
+
readonly search: {
|
|
1151
|
+
readonly meta?: {
|
|
1152
|
+
readonly durationMs: number;
|
|
1153
|
+
readonly sources: readonly {
|
|
1154
|
+
readonly source: "markdown" | "appendix" | "statejson";
|
|
1155
|
+
readonly chunkCount: number;
|
|
1156
|
+
readonly batchCount: number;
|
|
1157
|
+
readonly ranker: "zeroentropy" | "local_lexical";
|
|
1158
|
+
readonly fallback: boolean;
|
|
1159
|
+
readonly fallbackReason?: "timeout" | "error" | undefined;
|
|
1160
|
+
readonly durationMs: number;
|
|
1161
|
+
}[];
|
|
1162
|
+
} | undefined;
|
|
1163
|
+
readonly query: string;
|
|
1164
|
+
readonly snippets: readonly {
|
|
1165
|
+
readonly score: number;
|
|
1166
|
+
readonly source: "markdown" | "appendix" | "statejson";
|
|
1167
|
+
readonly type: "text";
|
|
1168
|
+
readonly text: string;
|
|
1169
|
+
readonly location?: {
|
|
1170
|
+
readonly markdownBlockId?: string | undefined;
|
|
1171
|
+
readonly nodeIds?: readonly number[] | undefined;
|
|
1172
|
+
readonly stateJsonSourceId?: number | undefined;
|
|
1173
|
+
readonly jsonPath?: string | undefined;
|
|
1174
|
+
} | undefined;
|
|
1175
|
+
}[];
|
|
1176
|
+
};
|
|
1177
|
+
} & {
|
|
1178
|
+
readonly response: {
|
|
1179
|
+
readonly url: string;
|
|
1180
|
+
readonly requestedUrl?: string | undefined;
|
|
1181
|
+
readonly originStatusCode?: number | undefined;
|
|
1182
|
+
readonly redirectStatusCode?: number | undefined;
|
|
1183
|
+
readonly headers?: {} | undefined;
|
|
1184
|
+
};
|
|
1185
|
+
} & {
|
|
1186
|
+
readonly snapshotId: string;
|
|
1187
|
+
} & {
|
|
1188
|
+
readonly durationMs: number;
|
|
1189
|
+
}, {}, {}>;
|
|
1190
|
+
export declare class FetchSnapshotSearchResult extends FetchSnapshotSearchResult_base {
|
|
1191
|
+
}
|
|
1192
|
+
declare const FetchFetchSearch400_base: S.Union<[typeof HttpApiDecodeError, typeof BadRequest]>;
|
|
1193
|
+
export declare class FetchFetchSearch400 extends FetchFetchSearch400_base {
|
|
1194
|
+
}
|
|
1195
|
+
declare const FetchFetchSearch403Tag_base: S.Literal<["AccessBlocked"]>;
|
|
1196
|
+
export declare class FetchFetchSearch403Tag extends FetchFetchSearch403Tag_base {
|
|
1197
|
+
}
|
|
1198
|
+
declare const FetchFetchSearch403_base: S.Struct<{
|
|
1199
|
+
organizationId: S.filter<typeof S.String>;
|
|
1200
|
+
blockedUntil: S.optionalWith<S.Union<[typeof DateTimeUtc, typeof S.Null]>, {
|
|
1201
|
+
nullable: true;
|
|
1202
|
+
}>;
|
|
1203
|
+
_tag: typeof FetchFetchSearch403Tag;
|
|
1204
|
+
}>;
|
|
1205
|
+
export declare class FetchFetchSearch403 extends FetchFetchSearch403_base {
|
|
1206
|
+
}
|
|
1207
|
+
declare const NonEmptyString_base: S.filter<typeof S.String>;
|
|
1208
|
+
export declare class NonEmptyString extends NonEmptyString_base {
|
|
1209
|
+
}
|
|
1210
|
+
declare const FetchSnapshotSearchNotFoundTag_base: S.Literal<["FetchSnapshotSearchNotFound"]>;
|
|
1211
|
+
export declare class FetchSnapshotSearchNotFoundTag extends FetchSnapshotSearchNotFoundTag_base {
|
|
1212
|
+
}
|
|
1213
|
+
declare const FetchSnapshotSearchNotFound_base: S.Class<FetchSnapshotSearchNotFound, {
|
|
1214
|
+
snapshotId: typeof NonEmptyString;
|
|
1215
|
+
_tag: typeof FetchSnapshotSearchNotFoundTag;
|
|
1216
|
+
}, S.Struct.Encoded<{
|
|
1217
|
+
snapshotId: typeof NonEmptyString;
|
|
1218
|
+
_tag: typeof FetchSnapshotSearchNotFoundTag;
|
|
1219
|
+
}>, never, {
|
|
1220
|
+
readonly _tag: "FetchSnapshotSearchNotFound";
|
|
1221
|
+
} & {
|
|
1222
|
+
readonly snapshotId: string;
|
|
1223
|
+
}, {}, {}>;
|
|
1224
|
+
export declare class FetchSnapshotSearchNotFound extends FetchSnapshotSearchNotFound_base {
|
|
1225
|
+
}
|
|
1226
|
+
declare const FetchBatchedRequest_base: S.Class<FetchBatchedRequest, {
|
|
1227
|
+
urls: S.NonEmptyArray<typeof S.String>;
|
|
1228
|
+
include: S.optionalWith<S.Struct<{
|
|
1229
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
|
|
1230
|
+
nullable: true;
|
|
1231
|
+
}>;
|
|
1232
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
|
|
1233
|
+
nullable: true;
|
|
1234
|
+
}>;
|
|
1235
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
|
|
1236
|
+
nullable: true;
|
|
1237
|
+
}>;
|
|
1238
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
1239
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
1240
|
+
nullable: true;
|
|
1241
|
+
default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
|
|
1242
|
+
}>;
|
|
1243
|
+
}>]>, {
|
|
1244
|
+
nullable: true;
|
|
1245
|
+
}>;
|
|
1246
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
1247
|
+
sameDomainOnly: S.optionalWith<typeof S.Boolean, {
|
|
1248
|
+
nullable: true;
|
|
1249
|
+
default: () => true;
|
|
1250
|
+
}>;
|
|
1251
|
+
includePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
1252
|
+
nullable: true;
|
|
1253
|
+
}>;
|
|
1254
|
+
excludePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
1255
|
+
nullable: true;
|
|
1256
|
+
}>;
|
|
1257
|
+
}>]>, {
|
|
1258
|
+
nullable: true;
|
|
1259
|
+
}>;
|
|
1260
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
1261
|
+
nullable: true;
|
|
1262
|
+
default: () => true;
|
|
1263
|
+
}>;
|
|
1264
|
+
response: S.optionalWith<S.Struct<{
|
|
1265
|
+
includeHeaders: S.optionalWith<typeof S.Boolean, {
|
|
1266
|
+
nullable: true;
|
|
1267
|
+
default: () => false;
|
|
1268
|
+
}>;
|
|
1269
|
+
}>, {
|
|
1270
|
+
nullable: true;
|
|
1271
|
+
}>;
|
|
1272
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
1273
|
+
nullable: true;
|
|
1274
|
+
default: () => false;
|
|
1275
|
+
}>;
|
|
1276
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
1277
|
+
nullable: true;
|
|
1278
|
+
}>;
|
|
1279
|
+
}>, {
|
|
1280
|
+
nullable: true;
|
|
1281
|
+
}>;
|
|
1282
|
+
browserConfig: S.optionalWith<S.Struct<{
|
|
1283
|
+
scrollFullPage: S.optionalWith<typeof S.Boolean, {
|
|
1284
|
+
nullable: true;
|
|
1285
|
+
default: () => false;
|
|
1286
|
+
}>;
|
|
1287
|
+
}>, {
|
|
1288
|
+
nullable: true;
|
|
1289
|
+
}>;
|
|
1290
|
+
}, S.Struct.Encoded<{
|
|
1291
|
+
urls: S.NonEmptyArray<typeof S.String>;
|
|
1292
|
+
include: S.optionalWith<S.Struct<{
|
|
1293
|
+
html: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeHtmlConfig]>, {
|
|
1294
|
+
nullable: true;
|
|
1295
|
+
}>;
|
|
1296
|
+
markdown: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeMarkdownConfig]>, {
|
|
1297
|
+
nullable: true;
|
|
1298
|
+
}>;
|
|
1299
|
+
screenshot: S.optionalWith<S.Union<[typeof S.Boolean, typeof IncludeScreenshotConfig]>, {
|
|
1300
|
+
nullable: true;
|
|
1301
|
+
}>;
|
|
1302
|
+
summary: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
1303
|
+
prompt: S.optionalWith<S.filter<typeof S.String>, {
|
|
1304
|
+
nullable: true;
|
|
1305
|
+
default: () => "You are a helpful assistant that summarizes web page content.\nGiven the markdown content of a web page, provide a clear and concise summary.\nFocus on the main points and key information.\nKeep the summary informative but brief.";
|
|
1306
|
+
}>;
|
|
1307
|
+
}>]>, {
|
|
1308
|
+
nullable: true;
|
|
1309
|
+
}>;
|
|
1310
|
+
links: S.optionalWith<S.Union<[typeof S.Boolean, S.Struct<{
|
|
1311
|
+
sameDomainOnly: S.optionalWith<typeof S.Boolean, {
|
|
1312
|
+
nullable: true;
|
|
1313
|
+
default: () => true;
|
|
1314
|
+
}>;
|
|
1315
|
+
includePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
1316
|
+
nullable: true;
|
|
1317
|
+
}>;
|
|
1318
|
+
excludePatterns: S.optionalWith<S.Array$<typeof S.String>, {
|
|
1319
|
+
nullable: true;
|
|
1320
|
+
}>;
|
|
1321
|
+
}>]>, {
|
|
1322
|
+
nullable: true;
|
|
1323
|
+
}>;
|
|
1324
|
+
meta: S.optionalWith<typeof S.Boolean, {
|
|
1325
|
+
nullable: true;
|
|
1326
|
+
default: () => true;
|
|
1327
|
+
}>;
|
|
1328
|
+
response: S.optionalWith<S.Struct<{
|
|
1329
|
+
includeHeaders: S.optionalWith<typeof S.Boolean, {
|
|
1330
|
+
nullable: true;
|
|
1331
|
+
default: () => false;
|
|
1332
|
+
}>;
|
|
1333
|
+
}>, {
|
|
1334
|
+
nullable: true;
|
|
1335
|
+
}>;
|
|
1336
|
+
json: S.optionalWith<typeof S.Boolean, {
|
|
1337
|
+
nullable: true;
|
|
1338
|
+
default: () => false;
|
|
1339
|
+
}>;
|
|
1340
|
+
appendix: S.optionalWith<typeof S.Boolean, {
|
|
1341
|
+
nullable: true;
|
|
1342
|
+
}>;
|
|
1343
|
+
}>, {
|
|
1344
|
+
nullable: true;
|
|
1345
|
+
}>;
|
|
1346
|
+
browserConfig: S.optionalWith<S.Struct<{
|
|
1347
|
+
scrollFullPage: S.optionalWith<typeof S.Boolean, {
|
|
1348
|
+
nullable: true;
|
|
1349
|
+
default: () => false;
|
|
1350
|
+
}>;
|
|
1351
|
+
}>, {
|
|
1352
|
+
nullable: true;
|
|
1353
|
+
}>;
|
|
1354
|
+
}>, never, {
|
|
1355
|
+
readonly include?: {
|
|
1356
|
+
readonly html?: boolean | {
|
|
1357
|
+
readonly [x: string]: unknown;
|
|
1358
|
+
} | undefined;
|
|
1359
|
+
readonly markdown?: boolean | {
|
|
1360
|
+
readonly [x: string]: unknown;
|
|
1361
|
+
} | undefined;
|
|
1362
|
+
readonly screenshot?: boolean | {
|
|
1363
|
+
readonly fullPage?: boolean | undefined;
|
|
1364
|
+
} | undefined;
|
|
1365
|
+
readonly summary?: boolean | {
|
|
1366
|
+
readonly prompt: string;
|
|
1367
|
+
} | undefined;
|
|
1368
|
+
readonly links?: boolean | {
|
|
1369
|
+
readonly sameDomainOnly: boolean;
|
|
1370
|
+
readonly includePatterns?: readonly string[] | undefined;
|
|
1371
|
+
readonly excludePatterns?: readonly string[] | undefined;
|
|
1372
|
+
} | undefined;
|
|
1373
|
+
readonly meta: boolean;
|
|
1374
|
+
readonly response?: {
|
|
1375
|
+
readonly includeHeaders: boolean;
|
|
1376
|
+
} | undefined;
|
|
1377
|
+
readonly json: boolean;
|
|
1378
|
+
readonly appendix?: boolean | undefined;
|
|
1379
|
+
} | undefined;
|
|
1380
|
+
} & {
|
|
1381
|
+
readonly browserConfig?: {
|
|
1382
|
+
readonly scrollFullPage: boolean;
|
|
1383
|
+
} | undefined;
|
|
1384
|
+
} & {
|
|
1385
|
+
readonly urls: readonly [string, ...string[]];
|
|
1386
|
+
}, {}, {}>;
|
|
1387
|
+
export declare class FetchBatchedRequest extends FetchBatchedRequest_base {
|
|
1388
|
+
}
|
|
1389
|
+
declare const BatchedRun_base: S.Class<BatchedRun, {
|
|
1390
|
+
id: typeof S.String;
|
|
1391
|
+
}, S.Struct.Encoded<{
|
|
1392
|
+
id: typeof S.String;
|
|
1393
|
+
}>, never, {
|
|
1394
|
+
readonly id: string;
|
|
1395
|
+
}, {}, {}>;
|
|
1396
|
+
export declare class BatchedRun extends BatchedRun_base {
|
|
1397
|
+
}
|
|
1398
|
+
declare const FetchBatched400_base: S.Union<[typeof HttpApiDecodeError, typeof BadRequest]>;
|
|
1399
|
+
export declare class FetchBatched400 extends FetchBatched400_base {
|
|
1400
|
+
}
|
|
1401
|
+
declare const FetchBatched403Tag_base: S.Literal<["AccessBlocked"]>;
|
|
1402
|
+
export declare class FetchBatched403Tag extends FetchBatched403Tag_base {
|
|
1403
|
+
}
|
|
1404
|
+
declare const FetchBatched403_base: S.Struct<{
|
|
1405
|
+
organizationId: S.filter<typeof S.String>;
|
|
1406
|
+
blockedUntil: S.optionalWith<S.Union<[typeof DateTimeUtc, typeof S.Null]>, {
|
|
1407
|
+
nullable: true;
|
|
1408
|
+
}>;
|
|
1409
|
+
_tag: typeof FetchBatched403Tag;
|
|
1410
|
+
}>;
|
|
1411
|
+
export declare class FetchBatched403 extends FetchBatched403_base {
|
|
1412
|
+
}
|
|
1413
|
+
declare const FetchGetBatchedParams_base: S.Struct<{
|
|
1414
|
+
limit: S.optionalWith<typeof S.String, {
|
|
1415
|
+
nullable: true;
|
|
1416
|
+
}>;
|
|
1417
|
+
offset: S.optionalWith<typeof S.String, {
|
|
1418
|
+
nullable: true;
|
|
1419
|
+
}>;
|
|
1420
|
+
include: S.optionalWith<typeof S.String, {
|
|
1421
|
+
nullable: true;
|
|
1422
|
+
}>;
|
|
1423
|
+
}>;
|
|
1424
|
+
export declare class FetchGetBatchedParams extends FetchGetBatchedParams_base {
|
|
1425
|
+
}
|
|
1426
|
+
declare const BatchedStatusStatus_base: S.Literal<["QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"]>;
|
|
1427
|
+
export declare class BatchedStatusStatus extends BatchedStatusStatus_base {
|
|
1428
|
+
}
|
|
1429
|
+
declare const BatchedStatusBatchedStatus_base: S.Literal<["QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLED"]>;
|
|
1430
|
+
export declare class BatchedStatusBatchedStatus extends BatchedStatusBatchedStatus_base {
|
|
1431
|
+
}
|
|
1432
|
+
declare const IconMeta_base: S.Struct<{
|
|
1433
|
+
href: S.filter<typeof S.String>;
|
|
1434
|
+
rel: S.filter<typeof S.String>;
|
|
1435
|
+
type: S.optionalWith<S.filter<typeof S.String>, {
|
|
1436
|
+
nullable: true;
|
|
1437
|
+
}>;
|
|
1438
|
+
sizes: S.optionalWith<S.filter<typeof S.String>, {
|
|
1439
|
+
nullable: true;
|
|
1440
|
+
}>;
|
|
1441
|
+
}>;
|
|
1442
|
+
export declare class IconMeta extends IconMeta_base {
|
|
1443
|
+
}
|
|
1444
|
+
declare const OgImage_base: S.Struct<{
|
|
1445
|
+
url: S.filter<typeof S.String>;
|
|
1446
|
+
width: S.optionalWith<typeof S.Number, {
|
|
1447
|
+
nullable: true;
|
|
1448
|
+
}>;
|
|
1449
|
+
height: S.optionalWith<typeof S.Number, {
|
|
1450
|
+
nullable: true;
|
|
1451
|
+
}>;
|
|
1452
|
+
alt: S.optionalWith<typeof S.String, {
|
|
1453
|
+
nullable: true;
|
|
1454
|
+
}>;
|
|
1455
|
+
}>;
|
|
1456
|
+
export declare class OgImage extends OgImage_base {
|
|
1457
|
+
}
|
|
1458
|
+
declare const OpenGraphMeta_base: S.Struct<{
|
|
1459
|
+
title: S.optionalWith<typeof S.String, {
|
|
1460
|
+
nullable: true;
|
|
1461
|
+
}>;
|
|
1462
|
+
description: S.optionalWith<typeof S.String, {
|
|
1463
|
+
nullable: true;
|
|
1464
|
+
}>;
|
|
1465
|
+
type: S.optionalWith<S.filter<typeof S.String>, {
|
|
1466
|
+
nullable: true;
|
|
1467
|
+
}>;
|
|
1468
|
+
url: S.optionalWith<S.filter<typeof S.String>, {
|
|
1469
|
+
nullable: true;
|
|
1470
|
+
}>;
|
|
1471
|
+
siteName: S.optionalWith<typeof S.String, {
|
|
1472
|
+
nullable: true;
|
|
1473
|
+
}>;
|
|
1474
|
+
locale: S.optionalWith<typeof S.String, {
|
|
1475
|
+
nullable: true;
|
|
1476
|
+
}>;
|
|
1477
|
+
images: S.optionalWith<S.Array$<typeof OgImage>, {
|
|
1478
|
+
nullable: true;
|
|
1479
|
+
}>;
|
|
1480
|
+
}>;
|
|
1481
|
+
export declare class OpenGraphMeta extends OpenGraphMeta_base {
|
|
1482
|
+
}
|
|
1483
|
+
declare const TwitterCardMeta_base: S.Struct<{
|
|
1484
|
+
card: S.optionalWith<S.filter<typeof S.String>, {
|
|
1485
|
+
nullable: true;
|
|
1486
|
+
}>;
|
|
1487
|
+
site: S.optionalWith<typeof S.String, {
|
|
1488
|
+
nullable: true;
|
|
1489
|
+
}>;
|
|
1490
|
+
creator: S.optionalWith<typeof S.String, {
|
|
1491
|
+
nullable: true;
|
|
1492
|
+
}>;
|
|
1493
|
+
title: S.optionalWith<typeof S.String, {
|
|
1494
|
+
nullable: true;
|
|
1495
|
+
}>;
|
|
1496
|
+
description: S.optionalWith<typeof S.String, {
|
|
1497
|
+
nullable: true;
|
|
1498
|
+
}>;
|
|
1499
|
+
image: S.optionalWith<S.filter<typeof S.String>, {
|
|
1500
|
+
nullable: true;
|
|
1501
|
+
}>;
|
|
1502
|
+
}>;
|
|
1503
|
+
export declare class TwitterCardMeta extends TwitterCardMeta_base {
|
|
1504
|
+
}
|
|
1505
|
+
declare const PageMeta_base: S.Struct<{
|
|
1506
|
+
title: S.optionalWith<typeof S.String, {
|
|
1507
|
+
nullable: true;
|
|
1508
|
+
}>;
|
|
1509
|
+
description: S.optionalWith<typeof S.String, {
|
|
1510
|
+
nullable: true;
|
|
1511
|
+
}>;
|
|
1512
|
+
canonicalUrl: S.optionalWith<S.filter<typeof S.String>, {
|
|
1513
|
+
nullable: true;
|
|
1514
|
+
}>;
|
|
1515
|
+
language: S.optionalWith<S.filter<typeof S.String>, {
|
|
1516
|
+
nullable: true;
|
|
1517
|
+
}>;
|
|
1518
|
+
charset: S.optionalWith<S.filter<typeof S.String>, {
|
|
1519
|
+
nullable: true;
|
|
1520
|
+
}>;
|
|
1521
|
+
favicon: S.optionalWith<S.filter<typeof S.String>, {
|
|
1522
|
+
nullable: true;
|
|
1523
|
+
}>;
|
|
1524
|
+
icons: S.optionalWith<S.Array$<typeof IconMeta>, {
|
|
1525
|
+
nullable: true;
|
|
1526
|
+
}>;
|
|
1527
|
+
openGraph: S.optionalWith<typeof OpenGraphMeta, {
|
|
1528
|
+
nullable: true;
|
|
1529
|
+
}>;
|
|
1530
|
+
twitter: S.optionalWith<typeof TwitterCardMeta, {
|
|
1531
|
+
nullable: true;
|
|
1532
|
+
}>;
|
|
1533
|
+
}>;
|
|
1534
|
+
export declare class PageMeta extends PageMeta_base {
|
|
1535
|
+
}
|
|
1536
|
+
declare const FetchLink_base: S.Struct<{
|
|
1537
|
+
url: typeof S.String;
|
|
1538
|
+
text: S.optionalWith<typeof S.String, {
|
|
1539
|
+
nullable: true;
|
|
1540
|
+
}>;
|
|
1541
|
+
}>;
|
|
1542
|
+
export declare class FetchLink extends FetchLink_base {
|
|
1543
|
+
}
|
|
1544
|
+
declare const RenderEnginesInfoCapture_base: S.Literal<["rust"]>;
|
|
1545
|
+
export declare class RenderEnginesInfoCapture extends RenderEnginesInfoCapture_base {
|
|
1546
|
+
}
|
|
1547
|
+
declare const RenderEnginesInfoMarkdown_base: S.Literal<["rust"]>;
|
|
1548
|
+
export declare class RenderEnginesInfoMarkdown extends RenderEnginesInfoMarkdown_base {
|
|
1549
|
+
}
|
|
1550
|
+
declare const RenderEnginesInfoTree_base: S.Literal<["rust"]>;
|
|
1551
|
+
export declare class RenderEnginesInfoTree extends RenderEnginesInfoTree_base {
|
|
1552
|
+
}
|
|
1553
|
+
declare const RenderEnginesInfo_base: S.Struct<{
|
|
1554
|
+
capture: S.optionalWith<typeof RenderEnginesInfoCapture, {
|
|
1555
|
+
nullable: true;
|
|
1556
|
+
}>;
|
|
1557
|
+
markdown: S.optionalWith<typeof RenderEnginesInfoMarkdown, {
|
|
1558
|
+
nullable: true;
|
|
1559
|
+
}>;
|
|
1560
|
+
tree: S.optionalWith<typeof RenderEnginesInfoTree, {
|
|
1561
|
+
nullable: true;
|
|
1562
|
+
}>;
|
|
1563
|
+
}>;
|
|
1564
|
+
export declare class RenderEnginesInfo extends RenderEnginesInfo_base {
|
|
1565
|
+
}
|
|
1566
|
+
declare const PaginationMeta_base: S.Struct<{
|
|
1567
|
+
total: typeof S.Number;
|
|
1568
|
+
limit: typeof S.Number;
|
|
1569
|
+
offset: typeof S.Number;
|
|
1570
|
+
hasMore: typeof S.Boolean;
|
|
1571
|
+
}>;
|
|
1572
|
+
export declare class PaginationMeta extends PaginationMeta_base {
|
|
1573
|
+
}
|
|
1574
|
+
declare const BatchedStatus_base: S.Class<BatchedStatus, {
|
|
1575
|
+
id: typeof S.String;
|
|
1576
|
+
status: typeof BatchedStatusStatus;
|
|
1577
|
+
batchedStatus: typeof BatchedStatusBatchedStatus;
|
|
1578
|
+
totalUrls: typeof S.Number;
|
|
1579
|
+
results: S.Array$<S.Struct<{
|
|
1580
|
+
data: S.Struct<{
|
|
1581
|
+
response: typeof ResponseInfo;
|
|
1582
|
+
meta: S.optionalWith<typeof PageMeta, {
|
|
1583
|
+
nullable: true;
|
|
1584
|
+
}>;
|
|
1585
|
+
json: S.optionalWith<S.Array$<S.Struct<{}>>, {
|
|
1586
|
+
nullable: true;
|
|
1587
|
+
}>;
|
|
1588
|
+
snapshotId: S.optionalWith<typeof NonEmptyString, {
|
|
1589
|
+
nullable: true;
|
|
1590
|
+
}>;
|
|
1591
|
+
html: S.optionalWith<S.filter<typeof S.String>, {
|
|
1592
|
+
nullable: true;
|
|
1593
|
+
}>;
|
|
1594
|
+
markdown: S.optionalWith<S.filter<typeof S.String>, {
|
|
1595
|
+
nullable: true;
|
|
1596
|
+
}>;
|
|
1597
|
+
screenshot: S.optionalWith<S.Struct<{
|
|
1598
|
+
url: typeof S.String;
|
|
1599
|
+
fullPage: typeof S.Boolean;
|
|
1600
|
+
}>, {
|
|
1601
|
+
nullable: true;
|
|
1602
|
+
}>;
|
|
1603
|
+
summary: S.optionalWith<S.filter<typeof S.String>, {
|
|
1604
|
+
nullable: true;
|
|
1605
|
+
}>;
|
|
1606
|
+
search: S.optionalWith<typeof FetchSearchResult, {
|
|
1607
|
+
nullable: true;
|
|
1608
|
+
}>;
|
|
1609
|
+
links: S.optionalWith<S.Array$<typeof FetchLink>, {
|
|
1610
|
+
nullable: true;
|
|
1611
|
+
}>;
|
|
1612
|
+
appendix: S.optionalWith<S.filter<typeof S.String>, {
|
|
1613
|
+
nullable: true;
|
|
1614
|
+
}>;
|
|
1615
|
+
renderEngines: S.optionalWith<typeof RenderEnginesInfo, {
|
|
1616
|
+
nullable: true;
|
|
1617
|
+
}>;
|
|
1618
|
+
captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
|
|
1619
|
+
nullable: true;
|
|
1620
|
+
}>;
|
|
1621
|
+
assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
|
|
1622
|
+
nullable: true;
|
|
1623
|
+
}>;
|
|
1624
|
+
blocked: S.optionalWith<S.Struct<{
|
|
1625
|
+
blockedType: S.optionalWith<typeof S.String, {
|
|
1626
|
+
nullable: true;
|
|
1627
|
+
}>;
|
|
1628
|
+
}>, {
|
|
1629
|
+
nullable: true;
|
|
1630
|
+
}>;
|
|
1631
|
+
}>;
|
|
1632
|
+
}>>;
|
|
1633
|
+
pagination: typeof PaginationMeta;
|
|
1634
|
+
}, S.Struct.Encoded<{
|
|
1635
|
+
id: typeof S.String;
|
|
1636
|
+
status: typeof BatchedStatusStatus;
|
|
1637
|
+
batchedStatus: typeof BatchedStatusBatchedStatus;
|
|
1638
|
+
totalUrls: typeof S.Number;
|
|
1639
|
+
results: S.Array$<S.Struct<{
|
|
1640
|
+
data: S.Struct<{
|
|
1641
|
+
response: typeof ResponseInfo;
|
|
1642
|
+
meta: S.optionalWith<typeof PageMeta, {
|
|
1643
|
+
nullable: true;
|
|
1644
|
+
}>;
|
|
1645
|
+
json: S.optionalWith<S.Array$<S.Struct<{}>>, {
|
|
1646
|
+
nullable: true;
|
|
1647
|
+
}>;
|
|
1648
|
+
snapshotId: S.optionalWith<typeof NonEmptyString, {
|
|
1649
|
+
nullable: true;
|
|
1650
|
+
}>;
|
|
1651
|
+
html: S.optionalWith<S.filter<typeof S.String>, {
|
|
1652
|
+
nullable: true;
|
|
1653
|
+
}>;
|
|
1654
|
+
markdown: S.optionalWith<S.filter<typeof S.String>, {
|
|
1655
|
+
nullable: true;
|
|
1656
|
+
}>;
|
|
1657
|
+
screenshot: S.optionalWith<S.Struct<{
|
|
1658
|
+
url: typeof S.String;
|
|
1659
|
+
fullPage: typeof S.Boolean;
|
|
1660
|
+
}>, {
|
|
1661
|
+
nullable: true;
|
|
1662
|
+
}>;
|
|
1663
|
+
summary: S.optionalWith<S.filter<typeof S.String>, {
|
|
1664
|
+
nullable: true;
|
|
1665
|
+
}>;
|
|
1666
|
+
search: S.optionalWith<typeof FetchSearchResult, {
|
|
1667
|
+
nullable: true;
|
|
1668
|
+
}>;
|
|
1669
|
+
links: S.optionalWith<S.Array$<typeof FetchLink>, {
|
|
1670
|
+
nullable: true;
|
|
1671
|
+
}>;
|
|
1672
|
+
appendix: S.optionalWith<S.filter<typeof S.String>, {
|
|
1673
|
+
nullable: true;
|
|
1674
|
+
}>;
|
|
1675
|
+
renderEngines: S.optionalWith<typeof RenderEnginesInfo, {
|
|
1676
|
+
nullable: true;
|
|
1677
|
+
}>;
|
|
1678
|
+
captureTelemetry: S.optionalWith<typeof CaptureTelemetryInfo, {
|
|
1679
|
+
nullable: true;
|
|
1680
|
+
}>;
|
|
1681
|
+
assets: S.optionalWith<S.Array$<typeof FetchAssetReference>, {
|
|
1682
|
+
nullable: true;
|
|
1683
|
+
}>;
|
|
1684
|
+
blocked: S.optionalWith<S.Struct<{
|
|
1685
|
+
blockedType: S.optionalWith<typeof S.String, {
|
|
1686
|
+
nullable: true;
|
|
1687
|
+
}>;
|
|
1688
|
+
}>, {
|
|
1689
|
+
nullable: true;
|
|
1690
|
+
}>;
|
|
1691
|
+
}>;
|
|
1692
|
+
}>>;
|
|
1693
|
+
pagination: typeof PaginationMeta;
|
|
1694
|
+
}>, never, {
|
|
1695
|
+
readonly status: "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
|
|
1696
|
+
} & {
|
|
1697
|
+
readonly id: string;
|
|
1698
|
+
} & {
|
|
1699
|
+
readonly batchedStatus: "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
|
|
1700
|
+
} & {
|
|
1701
|
+
readonly totalUrls: number;
|
|
1702
|
+
} & {
|
|
1703
|
+
readonly pagination: {
|
|
1704
|
+
readonly limit: number;
|
|
1705
|
+
readonly offset: number;
|
|
1706
|
+
readonly total: number;
|
|
1707
|
+
readonly hasMore: boolean;
|
|
1708
|
+
};
|
|
1709
|
+
} & {
|
|
1710
|
+
readonly results: readonly {
|
|
1711
|
+
readonly data: {
|
|
1712
|
+
readonly search?: {
|
|
1713
|
+
readonly meta?: {
|
|
1714
|
+
readonly durationMs: number;
|
|
1715
|
+
readonly sources: readonly {
|
|
1716
|
+
readonly source: "markdown" | "appendix" | "statejson";
|
|
1717
|
+
readonly chunkCount: number;
|
|
1718
|
+
readonly batchCount: number;
|
|
1719
|
+
readonly ranker: "zeroentropy" | "local_lexical";
|
|
1720
|
+
readonly fallback: boolean;
|
|
1721
|
+
readonly fallbackReason?: "timeout" | "error" | undefined;
|
|
1722
|
+
readonly durationMs: number;
|
|
1723
|
+
}[];
|
|
1724
|
+
} | undefined;
|
|
1725
|
+
readonly query: string;
|
|
1726
|
+
readonly snippets: readonly {
|
|
1727
|
+
readonly score: number;
|
|
1728
|
+
readonly source: "markdown" | "appendix" | "statejson";
|
|
1729
|
+
readonly type: "text";
|
|
1730
|
+
readonly text: string;
|
|
1731
|
+
readonly location?: {
|
|
1732
|
+
readonly markdownBlockId?: string | undefined;
|
|
1733
|
+
readonly nodeIds?: readonly number[] | undefined;
|
|
1734
|
+
readonly stateJsonSourceId?: number | undefined;
|
|
1735
|
+
readonly jsonPath?: string | undefined;
|
|
1736
|
+
} | undefined;
|
|
1737
|
+
}[];
|
|
1738
|
+
} | undefined;
|
|
1739
|
+
readonly html?: string | undefined;
|
|
1740
|
+
readonly markdown?: string | undefined;
|
|
1741
|
+
readonly screenshot?: {
|
|
1742
|
+
readonly url: string;
|
|
1743
|
+
readonly fullPage: boolean;
|
|
1744
|
+
} | undefined;
|
|
1745
|
+
readonly summary?: string | undefined;
|
|
1746
|
+
readonly links?: readonly {
|
|
1747
|
+
readonly url: string;
|
|
1748
|
+
readonly text?: string | undefined;
|
|
1749
|
+
}[] | undefined;
|
|
1750
|
+
readonly meta?: {
|
|
1751
|
+
readonly description?: string | undefined;
|
|
1752
|
+
readonly title?: string | undefined;
|
|
1753
|
+
readonly canonicalUrl?: string | undefined;
|
|
1754
|
+
readonly language?: string | undefined;
|
|
1755
|
+
readonly charset?: string | undefined;
|
|
1756
|
+
readonly favicon?: string | undefined;
|
|
1757
|
+
readonly icons?: readonly {
|
|
1758
|
+
readonly type?: string | undefined;
|
|
1759
|
+
readonly href: string;
|
|
1760
|
+
readonly rel: string;
|
|
1761
|
+
readonly sizes?: string | undefined;
|
|
1762
|
+
}[] | undefined;
|
|
1763
|
+
readonly openGraph?: {
|
|
1764
|
+
readonly url?: string | undefined;
|
|
1765
|
+
readonly description?: string | undefined;
|
|
1766
|
+
readonly title?: string | undefined;
|
|
1767
|
+
readonly type?: string | undefined;
|
|
1768
|
+
readonly siteName?: string | undefined;
|
|
1769
|
+
readonly locale?: string | undefined;
|
|
1770
|
+
readonly images?: readonly {
|
|
1771
|
+
readonly url: string;
|
|
1772
|
+
readonly width?: number | undefined;
|
|
1773
|
+
readonly height?: number | undefined;
|
|
1774
|
+
readonly alt?: string | undefined;
|
|
1775
|
+
}[] | undefined;
|
|
1776
|
+
} | undefined;
|
|
1777
|
+
readonly twitter?: {
|
|
1778
|
+
readonly description?: string | undefined;
|
|
1779
|
+
readonly title?: string | undefined;
|
|
1780
|
+
readonly image?: string | undefined;
|
|
1781
|
+
readonly card?: string | undefined;
|
|
1782
|
+
readonly site?: string | undefined;
|
|
1783
|
+
readonly creator?: string | undefined;
|
|
1784
|
+
} | undefined;
|
|
1785
|
+
} | undefined;
|
|
1786
|
+
readonly response: {
|
|
1787
|
+
readonly url: string;
|
|
1788
|
+
readonly requestedUrl?: string | undefined;
|
|
1789
|
+
readonly originStatusCode?: number | undefined;
|
|
1790
|
+
readonly redirectStatusCode?: number | undefined;
|
|
1791
|
+
readonly headers?: {} | undefined;
|
|
1792
|
+
};
|
|
1793
|
+
readonly json?: readonly {}[] | undefined;
|
|
1794
|
+
readonly appendix?: string | undefined;
|
|
1795
|
+
readonly snapshotId?: string | undefined;
|
|
1796
|
+
readonly blocked?: {
|
|
1797
|
+
readonly blockedType?: string | undefined;
|
|
1798
|
+
} | undefined;
|
|
1799
|
+
readonly assets?: readonly {
|
|
1800
|
+
readonly id: string;
|
|
1801
|
+
readonly kind: "data-url";
|
|
1802
|
+
readonly placeholder: string;
|
|
1803
|
+
readonly archiveKey: string;
|
|
1804
|
+
readonly mimeType: string;
|
|
1805
|
+
readonly sha256: string;
|
|
1806
|
+
readonly bytes: number;
|
|
1807
|
+
}[] | undefined;
|
|
1808
|
+
readonly captureTelemetry?: {
|
|
1809
|
+
readonly requestedStyleMode?: "compat_full" | "native_default" | undefined;
|
|
1810
|
+
readonly selected: "rust";
|
|
1811
|
+
readonly actual: "rust";
|
|
1812
|
+
readonly actualStyleMode?: "compat_full" | "native_default" | undefined;
|
|
1813
|
+
readonly rolloutApplied: boolean;
|
|
1814
|
+
readonly preparedSessionHit?: boolean | undefined;
|
|
1815
|
+
readonly nativePoolHit?: boolean | undefined;
|
|
1816
|
+
readonly preparedPageHit?: boolean | undefined;
|
|
1817
|
+
readonly nativePoolCapacity?: number | undefined;
|
|
1818
|
+
readonly nativePoolProfile?: string | undefined;
|
|
1819
|
+
readonly poolHit?: boolean | undefined;
|
|
1820
|
+
readonly connectMs?: number | undefined;
|
|
1821
|
+
readonly warmConnectionAgeMs?: number | undefined;
|
|
1822
|
+
readonly iconBackendDecision?: "cpu" | "remote_gpu" | undefined;
|
|
1823
|
+
} | undefined;
|
|
1824
|
+
readonly renderEngines?: {
|
|
1825
|
+
readonly markdown?: "rust" | undefined;
|
|
1826
|
+
readonly capture?: "rust" | undefined;
|
|
1827
|
+
readonly tree?: "rust" | undefined;
|
|
1828
|
+
} | undefined;
|
|
1829
|
+
};
|
|
1830
|
+
}[];
|
|
1831
|
+
}, {}, {}>;
|
|
1832
|
+
export declare class BatchedStatus extends BatchedStatus_base {
|
|
1833
|
+
}
|
|
1834
|
+
declare const BatchedIncludeUnsupportedTag_base: S.Literal<["BatchedIncludeUnsupported"]>;
|
|
1835
|
+
export declare class BatchedIncludeUnsupportedTag extends BatchedIncludeUnsupportedTag_base {
|
|
1836
|
+
}
|
|
1837
|
+
declare const BatchedIncludeUnsupported_base: S.Struct<{
|
|
1838
|
+
unsupportedFields: S.Array$<typeof S.String>;
|
|
1839
|
+
_tag: typeof BatchedIncludeUnsupportedTag;
|
|
1840
|
+
}>;
|
|
1841
|
+
export declare class BatchedIncludeUnsupported extends BatchedIncludeUnsupported_base {
|
|
1842
|
+
}
|
|
1843
|
+
declare const FetchGetBatched400_base: S.Union<[typeof HttpApiDecodeError, typeof BatchedIncludeUnsupported]>;
|
|
1844
|
+
export declare class FetchGetBatched400 extends FetchGetBatched400_base {
|
|
1845
|
+
}
|
|
1846
|
+
export declare const make: (httpClient: HttpClient.HttpClient, options?: {
|
|
1847
|
+
readonly transformClient?: ((client: HttpClient.HttpClient) => Effect.Effect<HttpClient.HttpClient>) | undefined;
|
|
1848
|
+
}) => Client;
|
|
1849
|
+
export interface Client {
|
|
1850
|
+
readonly fetchFetch: (options: {
|
|
1851
|
+
readonly params: typeof FetchFetchParams.Encoded;
|
|
1852
|
+
readonly payload: typeof FetchFetchRequest.Encoded;
|
|
1853
|
+
}) => Effect.Effect<void, HttpClientError.HttpClientError | ParseError | typeof FetchFetch400.Type | typeof AuthFailed.Type | typeof FetchFetch403.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
|
|
1854
|
+
readonly fetchFetchJson: (options: {
|
|
1855
|
+
readonly params: typeof FetchFetchJsonParams.Encoded;
|
|
1856
|
+
readonly payload: typeof FetchFetchJsonRequest.Encoded;
|
|
1857
|
+
}) => Effect.Effect<typeof FetchObjectModeResult.Type, HttpClientError.HttpClientError | ParseError | typeof FetchFetchJson400.Type | typeof AuthFailed.Type | typeof FetchFetchJson403.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
|
|
1858
|
+
readonly fetchFetchSearch: (options: typeof FetchFetchSearchRequest.Encoded) => Effect.Effect<typeof FetchSnapshotSearchResult.Type, HttpClientError.HttpClientError | ParseError | typeof FetchFetchSearch400.Type | typeof AuthFailed.Type | typeof FetchFetchSearch403.Type | typeof FetchSnapshotSearchNotFound.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
|
|
1859
|
+
readonly fetchBatched: (options: typeof FetchBatchedRequest.Encoded) => Effect.Effect<typeof BatchedRun.Type, HttpClientError.HttpClientError | ParseError | typeof FetchBatched400.Type | typeof AuthFailed.Type | typeof FetchBatched403.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
|
|
1860
|
+
readonly fetchGetBatched: (id: string, options: typeof FetchGetBatchedParams.Encoded) => Effect.Effect<typeof BatchedStatus.Type, HttpClientError.HttpClientError | ParseError | typeof FetchGetBatched400.Type | typeof AuthFailed.Type | typeof PayloadTooLarge.Type | typeof TooManyRequests.Type | typeof InternalError.Type | typeof ServiceUnavailable.Type>;
|
|
1861
|
+
}
|
|
1862
|
+
export {};
|
|
1863
|
+
//# sourceMappingURL=Generated.d.ts.map
|