@expandai/sdk 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -4
- package/build/dts/AppendixMarkers.d.ts +30 -0
- package/build/dts/AppendixMarkers.d.ts.map +1 -0
- package/build/dts/Client.d.ts +41 -6
- package/build/dts/Client.d.ts.map +1 -1
- package/build/dts/Crawls.d.ts +568 -0
- package/build/dts/Crawls.d.ts.map +1 -0
- package/build/dts/EnvProxyHttpClient.d.ts +28 -0
- package/build/dts/EnvProxyHttpClient.d.ts.map +1 -0
- package/build/dts/FetchJson.d.ts +444 -37
- package/build/dts/FetchJson.d.ts.map +1 -1
- package/build/dts/Generated.d.ts +1545 -788
- package/build/dts/Generated.d.ts.map +1 -1
- package/build/dts/HttpClientHelpers.d.ts +13 -0
- package/build/dts/HttpClientHelpers.d.ts.map +1 -1
- package/build/dts/Internal.d.ts +6 -4
- package/build/dts/Internal.d.ts.map +1 -1
- package/build/dts/ParseErrorBody.d.ts +26 -0
- package/build/dts/ParseErrorBody.d.ts.map +1 -0
- package/build/dts/Playground.d.ts +20 -0
- package/build/dts/Playground.d.ts.map +1 -1
- package/build/dts/RetryAfter.d.ts +40 -0
- package/build/dts/RetryAfter.d.ts.map +1 -0
- package/build/dts/Service.d.ts +94 -45
- package/build/dts/Service.d.ts.map +1 -1
- package/build/dts/StreamPage.d.ts +10 -0
- package/build/dts/StreamPage.d.ts.map +1 -0
- package/build/dts/index.d.ts +9 -2
- package/build/dts/index.d.ts.map +1 -1
- package/build/esm/AppendixMarkers.js +307 -0
- package/build/esm/AppendixMarkers.js.map +1 -0
- package/build/esm/Client.js +96 -15
- package/build/esm/Client.js.map +1 -1
- package/build/esm/Crawls.js +786 -0
- package/build/esm/Crawls.js.map +1 -0
- package/build/esm/EnvProxyHttpClient.js +55 -0
- package/build/esm/EnvProxyHttpClient.js.map +1 -0
- package/build/esm/FetchJson.js +48 -22
- package/build/esm/FetchJson.js.map +1 -1
- package/build/esm/Generated.js +540 -112
- package/build/esm/Generated.js.map +1 -1
- package/build/esm/HttpClientHelpers.js +36 -1
- package/build/esm/HttpClientHelpers.js.map +1 -1
- package/build/esm/Internal.js +140 -33
- package/build/esm/Internal.js.map +1 -1
- package/build/esm/ParseErrorBody.js +41 -0
- package/build/esm/ParseErrorBody.js.map +1 -0
- package/build/esm/Playground.js +38 -0
- package/build/esm/Playground.js.map +1 -1
- package/build/esm/RetryAfter.js +104 -0
- package/build/esm/RetryAfter.js.map +1 -0
- package/build/esm/Service.js +96 -17
- package/build/esm/Service.js.map +1 -1
- package/build/esm/StreamPage.js +46 -0
- package/build/esm/StreamPage.js.map +1 -0
- package/build/esm/index.js +5 -1
- package/build/esm/index.js.map +1 -1
- package/package.json +8 -2
- package/src/AppendixMarkers.ts +370 -0
- package/src/Client.ts +131 -16
- package/src/Crawls.ts +1387 -0
- package/src/EnvProxyHttpClient.ts +71 -0
- package/src/FetchJson.ts +63 -25
- package/src/Generated.ts +738 -162
- package/src/HttpClientHelpers.ts +48 -1
- package/src/Internal.ts +163 -105
- package/src/ParseErrorBody.ts +42 -0
- package/src/Playground.ts +48 -0
- package/src/RetryAfter.ts +138 -0
- package/src/Service.ts +208 -25
- package/src/StreamPage.ts +47 -0
- package/src/index.ts +29 -3
package/build/esm/Generated.js
CHANGED
|
@@ -3,10 +3,17 @@ import * as HttpClientRequest from '@effect/platform/HttpClientRequest';
|
|
|
3
3
|
import * as HttpClientResponse from '@effect/platform/HttpClientResponse';
|
|
4
4
|
import * as Effect from 'effect/Effect';
|
|
5
5
|
import * as S from 'effect/Schema';
|
|
6
|
+
export class FetchFetchParamsAppendixMarkers extends S.Literal('off', 'compact', 'detailed') {
|
|
7
|
+
}
|
|
6
8
|
export class FetchFetchParams extends S.Struct({
|
|
7
9
|
include: S.optionalWith(S.String, { nullable: true }),
|
|
10
|
+
appendixMarkers: S.optionalWith(FetchFetchParamsAppendixMarkers, { nullable: true }),
|
|
8
11
|
}) {
|
|
9
12
|
}
|
|
13
|
+
export class FetchFetchRequestIncludeAppendixMarkers extends S.Literal('off', 'compact', 'detailed') {
|
|
14
|
+
}
|
|
15
|
+
export class FetchFetchRequestDocumentConfigOcr extends S.Literal('auto', 'never', 'always') {
|
|
16
|
+
}
|
|
10
17
|
export class FetchFetchRequest extends S.Class('FetchFetchRequest')({
|
|
11
18
|
url: S.String,
|
|
12
19
|
include: S.optionalWith(S.Struct({
|
|
@@ -26,8 +33,12 @@ export class FetchFetchRequest extends S.Class('FetchFetchRequest')({
|
|
|
26
33
|
}), { nullable: true }),
|
|
27
34
|
json: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
28
35
|
appendix: S.optionalWith(S.Boolean, { nullable: true }),
|
|
36
|
+
appendixMarkers: S.optionalWith(FetchFetchRequestIncludeAppendixMarkers, {
|
|
37
|
+
nullable: true,
|
|
38
|
+
default: () => 'compact',
|
|
39
|
+
}),
|
|
29
40
|
}), { nullable: true }),
|
|
30
|
-
|
|
41
|
+
highlights: S.optionalWith(S.Struct({
|
|
31
42
|
query: S.String,
|
|
32
43
|
maxResults: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1), S.lessThanOrEqualTo(50)), {
|
|
33
44
|
nullable: true,
|
|
@@ -41,6 +52,14 @@ export class FetchFetchRequest extends S.Class('FetchFetchRequest')({
|
|
|
41
52
|
browserConfig: S.optionalWith(S.Struct({
|
|
42
53
|
scrollFullPage: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
43
54
|
}), { nullable: true }),
|
|
55
|
+
documentConfig: S.optionalWith(S.Struct({
|
|
56
|
+
maxPages: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1)), { nullable: true }),
|
|
57
|
+
maxAudioSeconds: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1), S.lessThanOrEqualTo(14400)), {
|
|
58
|
+
nullable: true,
|
|
59
|
+
default: () => 3600,
|
|
60
|
+
}),
|
|
61
|
+
ocr: S.optionalWith(FetchFetchRequestDocumentConfigOcr, { nullable: true, default: () => 'auto' }),
|
|
62
|
+
}), { nullable: true }),
|
|
44
63
|
}) {
|
|
45
64
|
}
|
|
46
65
|
export class IssueTag extends S.Literal('Pointer', 'Unexpected', 'Missing', 'Composite', 'Refinement', 'Transformation', 'Type', 'Forbidden') {
|
|
@@ -103,13 +122,35 @@ export class FetchFetch403 extends S.Union(S.Struct({
|
|
|
103
122
|
_tag: S.Literal('AccessBlocked'),
|
|
104
123
|
}), FetchBlocked) {
|
|
105
124
|
}
|
|
125
|
+
export class FetchOriginNotFoundTag extends S.Literal('FetchOriginHttpError') {
|
|
126
|
+
}
|
|
127
|
+
export class FetchOriginNotFoundStatusCode extends S.Literal(404) {
|
|
128
|
+
}
|
|
129
|
+
export class FetchOriginNotFound extends S.Class('FetchOriginNotFound')({
|
|
130
|
+
_tag: FetchOriginNotFoundTag,
|
|
131
|
+
url: S.String,
|
|
132
|
+
statusCode: FetchOriginNotFoundStatusCode,
|
|
133
|
+
contentType: S.optionalWith(S.String, { nullable: true }),
|
|
134
|
+
}) {
|
|
135
|
+
}
|
|
136
|
+
export class FetchOriginGoneTag extends S.Literal('FetchOriginHttpError') {
|
|
137
|
+
}
|
|
138
|
+
export class FetchOriginGoneStatusCode extends S.Literal(410) {
|
|
139
|
+
}
|
|
140
|
+
export class FetchOriginGone extends S.Class('FetchOriginGone')({
|
|
141
|
+
_tag: FetchOriginGoneTag,
|
|
142
|
+
url: S.String,
|
|
143
|
+
statusCode: FetchOriginGoneStatusCode,
|
|
144
|
+
contentType: S.optionalWith(S.String, { nullable: true }),
|
|
145
|
+
}) {
|
|
146
|
+
}
|
|
106
147
|
export class PayloadTooLargeTag extends S.Literal('PayloadTooLarge') {
|
|
107
148
|
}
|
|
108
149
|
export class PayloadTooLarge extends S.Struct({
|
|
109
150
|
_tag: PayloadTooLargeTag,
|
|
110
151
|
}) {
|
|
111
152
|
}
|
|
112
|
-
export class FetchPageTooLargeLimitKind extends S.Literal('transfer_bytes', 'domsnapshot_bytes', 'ast_bytes') {
|
|
153
|
+
export class FetchPageTooLargeLimitKind extends S.Literal('transfer_bytes', 'domsnapshot_bytes', 'ast_bytes', 'document_frame_bytes', 'document_pages', 'audio_seconds') {
|
|
113
154
|
}
|
|
114
155
|
export class FetchPageTooLargeTag extends S.Literal('FetchPageTooLarge') {
|
|
115
156
|
}
|
|
@@ -118,61 +159,163 @@ export class FetchPageTooLarge extends S.Struct({
|
|
|
118
159
|
limitKind: S.optionalWith(FetchPageTooLargeLimitKind, { nullable: true }),
|
|
119
160
|
limitBytes: S.optionalWith(S.Number, { nullable: true }),
|
|
120
161
|
measuredBytes: S.optionalWith(S.Number, { nullable: true }),
|
|
162
|
+
limit: S.optionalWith(S.Number, { nullable: true }),
|
|
163
|
+
measured: S.optionalWith(S.Number, { nullable: true }),
|
|
121
164
|
_tag: FetchPageTooLargeTag,
|
|
122
165
|
}) {
|
|
123
166
|
}
|
|
124
167
|
export class FetchFetch413 extends S.Union(PayloadTooLarge, FetchPageTooLarge) {
|
|
125
168
|
}
|
|
169
|
+
export class FetchUnsupportedContentTypeTag extends S.Literal('FetchUnsupportedContentType') {
|
|
170
|
+
}
|
|
171
|
+
export class FetchUnsupportedContentType extends S.Class('FetchUnsupportedContentType')({
|
|
172
|
+
url: S.String,
|
|
173
|
+
contentType: S.optionalWith(S.String, { nullable: true }),
|
|
174
|
+
_tag: FetchUnsupportedContentTypeTag,
|
|
175
|
+
}) {
|
|
176
|
+
}
|
|
177
|
+
export class FetchVideoUnavailableAvailability extends S.Literal('private', 'removed', 'geoRestricted', 'ageRestricted', 'membersOnly', 'live', 'upcoming', 'unknown') {
|
|
178
|
+
}
|
|
179
|
+
export class FetchVideoUnavailableTag extends S.Literal('FetchVideoUnavailable') {
|
|
180
|
+
}
|
|
181
|
+
export class FetchVideoUnavailable extends S.Class('FetchVideoUnavailable')({
|
|
182
|
+
url: S.String,
|
|
183
|
+
availability: FetchVideoUnavailableAvailability,
|
|
184
|
+
message: S.optionalWith(S.String, { nullable: true }),
|
|
185
|
+
_tag: FetchVideoUnavailableTag,
|
|
186
|
+
}) {
|
|
187
|
+
}
|
|
188
|
+
export class TooManyRequestsRetryable extends S.Literal(true) {
|
|
189
|
+
}
|
|
126
190
|
export class TooManyRequestsTag extends S.Literal('TooManyRequests') {
|
|
127
191
|
}
|
|
128
|
-
export class TooManyRequests extends S.
|
|
192
|
+
export class TooManyRequests extends S.Struct({
|
|
193
|
+
retryable: S.optionalWith(TooManyRequestsRetryable, { default: () => true }),
|
|
194
|
+
retryAfterSeconds: S.optionalWith(S.Number, { nullable: true }),
|
|
129
195
|
_tag: TooManyRequestsTag,
|
|
130
196
|
}) {
|
|
131
197
|
}
|
|
198
|
+
export class FetchConcurrencyLimitExceededRetryable extends S.Literal(true) {
|
|
199
|
+
}
|
|
200
|
+
export class FetchConcurrencyLimitExceededTag extends S.Literal('FetchConcurrencyLimitExceeded') {
|
|
201
|
+
}
|
|
202
|
+
export class FetchConcurrencyLimitExceeded extends S.Struct({
|
|
203
|
+
retryable: S.optionalWith(FetchConcurrencyLimitExceededRetryable, { default: () => true }),
|
|
204
|
+
retryAfterSeconds: S.Number,
|
|
205
|
+
maxConcurrency: S.Number,
|
|
206
|
+
message: S.optionalWith(S.String, { nullable: true }),
|
|
207
|
+
requestId: S.optionalWith(S.String, { nullable: true }),
|
|
208
|
+
_tag: FetchConcurrencyLimitExceededTag,
|
|
209
|
+
}) {
|
|
210
|
+
}
|
|
211
|
+
export class FetchFetch429 extends S.Union(TooManyRequests, FetchConcurrencyLimitExceeded) {
|
|
212
|
+
}
|
|
213
|
+
export class InternalErrorRetryable extends S.Literal(true) {
|
|
214
|
+
}
|
|
132
215
|
export class InternalErrorTag extends S.Literal('InternalError') {
|
|
133
216
|
}
|
|
134
217
|
export class InternalError extends S.Class('InternalError')({
|
|
218
|
+
retryable: S.optionalWith(InternalErrorRetryable, { default: () => true }),
|
|
135
219
|
_tag: InternalErrorTag,
|
|
136
220
|
}) {
|
|
137
221
|
}
|
|
222
|
+
export class FetchCaptureFailedFailureType extends S.Literal('pageNeverSettled', 'capabilityFailed') {
|
|
223
|
+
}
|
|
224
|
+
export class FetchCaptureFailedRetryable extends S.Literal(false) {
|
|
225
|
+
}
|
|
226
|
+
export class FetchCaptureFailedTag extends S.Literal('FetchCaptureFailed') {
|
|
227
|
+
}
|
|
228
|
+
export class FetchCaptureFailed extends S.Struct({
|
|
229
|
+
url: S.String,
|
|
230
|
+
failureType: FetchCaptureFailedFailureType,
|
|
231
|
+
retryable: S.optionalWith(FetchCaptureFailedRetryable, { default: () => false }),
|
|
232
|
+
_tag: FetchCaptureFailedTag,
|
|
233
|
+
}) {
|
|
234
|
+
}
|
|
138
235
|
export class FetchNavigationFailedFailureType extends S.Literal('browserInternalDocument') {
|
|
139
236
|
}
|
|
237
|
+
export class FetchNavigationFailedRetryable extends S.Literal(false) {
|
|
238
|
+
}
|
|
140
239
|
export class FetchNavigationFailedTag extends S.Literal('FetchNavigationFailed') {
|
|
141
240
|
}
|
|
142
|
-
export class FetchNavigationFailed extends S.
|
|
241
|
+
export class FetchNavigationFailed extends S.Struct({
|
|
143
242
|
url: S.String,
|
|
144
243
|
failureType: FetchNavigationFailedFailureType,
|
|
244
|
+
retryable: S.optionalWith(FetchNavigationFailedRetryable, { default: () => false }),
|
|
145
245
|
_tag: FetchNavigationFailedTag,
|
|
146
246
|
}) {
|
|
147
247
|
}
|
|
248
|
+
export class FetchOriginHttpErrorTag extends S.Literal('FetchOriginHttpError') {
|
|
249
|
+
}
|
|
250
|
+
export class FetchOriginHttpError extends S.Struct({
|
|
251
|
+
url: S.String,
|
|
252
|
+
statusCode: S.Number,
|
|
253
|
+
contentType: S.optionalWith(S.String, { nullable: true }),
|
|
254
|
+
_tag: FetchOriginHttpErrorTag,
|
|
255
|
+
}) {
|
|
256
|
+
}
|
|
257
|
+
export class FetchFetch502 extends S.Union(FetchCaptureFailed, FetchNavigationFailed, FetchOriginHttpError) {
|
|
258
|
+
}
|
|
259
|
+
export class ServiceUnavailableDispatchOutcome extends S.Literal('cancelled_before_start', 'cancelled_after_start', 'unknown') {
|
|
260
|
+
}
|
|
261
|
+
export class ServiceUnavailableRetryable extends S.Literal(true) {
|
|
262
|
+
}
|
|
148
263
|
export class ServiceUnavailableTag extends S.Literal('ServiceUnavailable') {
|
|
149
264
|
}
|
|
150
|
-
export class ServiceUnavailable extends S.
|
|
265
|
+
export class ServiceUnavailable extends S.Struct({
|
|
151
266
|
message: S.optionalWith(S.String, { nullable: true }),
|
|
152
267
|
requestId: S.optionalWith(S.String, { nullable: true }),
|
|
268
|
+
dispatchOutcome: S.optionalWith(ServiceUnavailableDispatchOutcome, { nullable: true }),
|
|
269
|
+
retryable: S.optionalWith(ServiceUnavailableRetryable, { default: () => true }),
|
|
153
270
|
_tag: ServiceUnavailableTag,
|
|
154
271
|
}) {
|
|
155
272
|
}
|
|
273
|
+
export class FetchDocumentProcessingUnavailableOperation extends S.Literal('ocr', 'transcription', 'video') {
|
|
274
|
+
}
|
|
275
|
+
export class FetchDocumentProcessingUnavailableTag extends S.Literal('FetchDocumentProcessingUnavailable') {
|
|
276
|
+
}
|
|
277
|
+
export class FetchDocumentProcessingUnavailable extends S.Struct({
|
|
278
|
+
url: S.String,
|
|
279
|
+
operation: FetchDocumentProcessingUnavailableOperation,
|
|
280
|
+
message: S.String,
|
|
281
|
+
_tag: FetchDocumentProcessingUnavailableTag,
|
|
282
|
+
}) {
|
|
283
|
+
}
|
|
284
|
+
export class FetchFetch503 extends S.Union(ServiceUnavailable, FetchDocumentProcessingUnavailable) {
|
|
285
|
+
}
|
|
286
|
+
export class FetchCaptureTimeoutRetryable extends S.Literal(false) {
|
|
287
|
+
}
|
|
156
288
|
export class FetchCaptureTimeoutTag extends S.Literal('FetchCaptureTimeout') {
|
|
157
289
|
}
|
|
158
290
|
export class FetchCaptureTimeout extends S.Class('FetchCaptureTimeout')({
|
|
159
291
|
url: S.String,
|
|
160
292
|
timeoutMs: S.optionalWith(S.Number, { nullable: true }),
|
|
293
|
+
retryable: S.optionalWith(FetchCaptureTimeoutRetryable, { default: () => false }),
|
|
161
294
|
_tag: FetchCaptureTimeoutTag,
|
|
162
295
|
}) {
|
|
163
296
|
}
|
|
297
|
+
export class FetchCapacityTimeoutRetryable extends S.Literal(true) {
|
|
298
|
+
}
|
|
164
299
|
export class FetchCapacityTimeoutTag extends S.Literal('FetchCapacityTimeout') {
|
|
165
300
|
}
|
|
166
301
|
export class FetchCapacityTimeout extends S.Class('FetchCapacityTimeout')({
|
|
167
302
|
url: S.String,
|
|
168
303
|
timeoutMs: S.optionalWith(S.Number, { nullable: true }),
|
|
304
|
+
retryable: S.optionalWith(FetchCapacityTimeoutRetryable, { default: () => true }),
|
|
169
305
|
_tag: FetchCapacityTimeoutTag,
|
|
170
306
|
}) {
|
|
171
307
|
}
|
|
308
|
+
export class FetchFetchJsonParamsAppendixMarkers extends S.Literal('off', 'compact', 'detailed') {
|
|
309
|
+
}
|
|
172
310
|
export class FetchFetchJsonParams extends S.Struct({
|
|
173
311
|
include: S.optionalWith(S.String, { nullable: true }),
|
|
312
|
+
appendixMarkers: S.optionalWith(FetchFetchJsonParamsAppendixMarkers, { nullable: true }),
|
|
174
313
|
}) {
|
|
175
314
|
}
|
|
315
|
+
export class FetchFetchJsonRequestIncludeAppendixMarkers extends S.Literal('off', 'compact', 'detailed') {
|
|
316
|
+
}
|
|
317
|
+
export class FetchFetchJsonRequestDocumentConfigOcr extends S.Literal('auto', 'never', 'always') {
|
|
318
|
+
}
|
|
176
319
|
export class FetchFetchJsonRequest extends S.Class('FetchFetchJsonRequest')({
|
|
177
320
|
url: S.String,
|
|
178
321
|
include: S.optionalWith(S.Struct({
|
|
@@ -192,8 +335,12 @@ export class FetchFetchJsonRequest extends S.Class('FetchFetchJsonRequest')({
|
|
|
192
335
|
}), { nullable: true }),
|
|
193
336
|
json: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
194
337
|
appendix: S.optionalWith(S.Boolean, { nullable: true }),
|
|
338
|
+
appendixMarkers: S.optionalWith(FetchFetchJsonRequestIncludeAppendixMarkers, {
|
|
339
|
+
nullable: true,
|
|
340
|
+
default: () => 'compact',
|
|
341
|
+
}),
|
|
195
342
|
}), { nullable: true }),
|
|
196
|
-
|
|
343
|
+
highlights: S.optionalWith(S.Struct({
|
|
197
344
|
query: S.String,
|
|
198
345
|
maxResults: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1), S.lessThanOrEqualTo(50)), {
|
|
199
346
|
nullable: true,
|
|
@@ -207,18 +354,44 @@ export class FetchFetchJsonRequest extends S.Class('FetchFetchJsonRequest')({
|
|
|
207
354
|
browserConfig: S.optionalWith(S.Struct({
|
|
208
355
|
scrollFullPage: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
209
356
|
}), { nullable: true }),
|
|
357
|
+
documentConfig: S.optionalWith(S.Struct({
|
|
358
|
+
maxPages: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1)), { nullable: true }),
|
|
359
|
+
maxAudioSeconds: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1), S.lessThanOrEqualTo(14400)), {
|
|
360
|
+
nullable: true,
|
|
361
|
+
default: () => 3600,
|
|
362
|
+
}),
|
|
363
|
+
ocr: S.optionalWith(FetchFetchJsonRequestDocumentConfigOcr, { nullable: true, default: () => 'auto' }),
|
|
364
|
+
}), { nullable: true }),
|
|
210
365
|
}) {
|
|
211
366
|
}
|
|
212
367
|
export class FetchObjectModeMetaVersion extends S.Literal(1) {
|
|
213
368
|
}
|
|
369
|
+
export class Int extends S.Int {
|
|
370
|
+
}
|
|
214
371
|
export class FetchObjectModeAppendixLinks extends S.Struct({
|
|
215
372
|
sameDomain: S.Number,
|
|
216
373
|
external: S.Number,
|
|
217
374
|
}) {
|
|
218
375
|
}
|
|
376
|
+
export class FetchObjectModeAppendixOmitted extends S.Struct({
|
|
377
|
+
blocks: S.Number,
|
|
378
|
+
approxTokens: S.Number,
|
|
379
|
+
}) {
|
|
380
|
+
}
|
|
381
|
+
export class FetchObjectModeAppendixMarker extends S.Struct({
|
|
382
|
+
evidenceId: S.optionalWith(S.Number, { nullable: true }),
|
|
383
|
+
links: S.Number,
|
|
384
|
+
approxTokens: S.Number,
|
|
385
|
+
label: S.optionalWith(S.String, { nullable: true }),
|
|
386
|
+
preview: S.optionalWith(S.String, { nullable: true }),
|
|
387
|
+
moreBlocks: S.optionalWith(S.Number, { nullable: true }),
|
|
388
|
+
}) {
|
|
389
|
+
}
|
|
219
390
|
export class FetchObjectModeAppendixHint extends S.Struct({
|
|
220
391
|
url: S.String,
|
|
221
392
|
links: FetchObjectModeAppendixLinks,
|
|
393
|
+
omitted: S.optionalWith(FetchObjectModeAppendixOmitted, { nullable: true }),
|
|
394
|
+
markers: S.optionalWith(S.Array(FetchObjectModeAppendixMarker), { nullable: true }),
|
|
222
395
|
}) {
|
|
223
396
|
}
|
|
224
397
|
export class FetchObjectModeStateJsonHint extends S.Struct({
|
|
@@ -230,6 +403,15 @@ export class FetchObjectModeMarkdownHint extends S.Struct({
|
|
|
230
403
|
moreTokens: S.optionalWith(S.Number, { nullable: true }),
|
|
231
404
|
}) {
|
|
232
405
|
}
|
|
406
|
+
export class FetchObjectModeResourcesVersion extends S.Literal(1) {
|
|
407
|
+
}
|
|
408
|
+
export class FetchObjectModeResources extends S.Struct({
|
|
409
|
+
version: FetchObjectModeResourcesVersion,
|
|
410
|
+
snapshotId: S.String,
|
|
411
|
+
url: S.String,
|
|
412
|
+
markdownUrl: S.String,
|
|
413
|
+
}) {
|
|
414
|
+
}
|
|
233
415
|
export class FetchObjectModeMeta extends S.Struct({
|
|
234
416
|
version: FetchObjectModeMetaVersion,
|
|
235
417
|
url: S.String,
|
|
@@ -238,8 +420,10 @@ export class FetchObjectModeMeta extends S.Struct({
|
|
|
238
420
|
lang: S.String,
|
|
239
421
|
pageType: S.String,
|
|
240
422
|
playground: S.String,
|
|
423
|
+
citationEvidenceIds: S.optionalWith(S.Array(Int).pipe(S.maxItems(3)), { nullable: true }),
|
|
241
424
|
title: S.optionalWith(S.String, { nullable: true }),
|
|
242
425
|
finalUrl: S.optionalWith(S.String, { nullable: true }),
|
|
426
|
+
contentType: S.optionalWith(S.String, { nullable: true }),
|
|
243
427
|
canonical: S.optionalWith(S.String, { nullable: true }),
|
|
244
428
|
description: S.optionalWith(S.String, { nullable: true }),
|
|
245
429
|
author: S.optionalWith(S.String, { nullable: true }),
|
|
@@ -250,6 +434,7 @@ export class FetchObjectModeMeta extends S.Struct({
|
|
|
250
434
|
appendix: S.optionalWith(FetchObjectModeAppendixHint, { nullable: true }),
|
|
251
435
|
stateJson: S.optionalWith(FetchObjectModeStateJsonHint, { nullable: true }),
|
|
252
436
|
markdown: S.optionalWith(FetchObjectModeMarkdownHint, { nullable: true }),
|
|
437
|
+
resources: S.optionalWith(FetchObjectModeResources, { nullable: true }),
|
|
253
438
|
blocked: S.optionalWith(S.String, { nullable: true }),
|
|
254
439
|
loadingStatus: S.optionalWith(S.String, { nullable: true }),
|
|
255
440
|
}) {
|
|
@@ -266,7 +451,7 @@ export class FetchObjectModeEvidence extends S.Struct({
|
|
|
266
451
|
id: S.Number,
|
|
267
452
|
kind: FetchObjectModeEvidenceKind,
|
|
268
453
|
role: FetchObjectModeEvidenceRole,
|
|
269
|
-
score: S.Number,
|
|
454
|
+
score: S.Number.pipe(S.greaterThanOrEqualTo(0)),
|
|
270
455
|
url: S.optionalWith(S.String, { nullable: true }),
|
|
271
456
|
method: S.optionalWith(S.String, { nullable: true }),
|
|
272
457
|
moreTokens: S.optionalWith(S.Number, { nullable: true }),
|
|
@@ -289,7 +474,7 @@ export class FetchAssetReference extends S.Struct({
|
|
|
289
474
|
}
|
|
290
475
|
export class FetchDegradedInfoReason extends S.Literal('pageTooLarge', 'modelInputTooLarge') {
|
|
291
476
|
}
|
|
292
|
-
export class FetchDegradedInfoLimitKind extends S.Literal('domsnapshot_bytes', 'ast_bytes', 'hfc_tokens') {
|
|
477
|
+
export class FetchDegradedInfoLimitKind extends S.Literal('domsnapshot_bytes', 'ast_bytes', 'document_frame_bytes', 'hfc_tokens') {
|
|
293
478
|
}
|
|
294
479
|
export class FetchDegradedInfo extends S.Struct({
|
|
295
480
|
reason: FetchDegradedInfoReason,
|
|
@@ -301,9 +486,7 @@ export class FetchDegradedInfo extends S.Struct({
|
|
|
301
486
|
thresholdTokens: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(0)), { nullable: true }),
|
|
302
487
|
}) {
|
|
303
488
|
}
|
|
304
|
-
export class
|
|
305
|
-
}
|
|
306
|
-
export class FetchSearchSnippetLocation extends S.Struct({
|
|
489
|
+
export class FetchHighlightsSnippetLocation extends S.Struct({
|
|
307
490
|
evidenceId: S.optionalWith(Int, { nullable: true }),
|
|
308
491
|
markdownBlockId: S.optionalWith(S.String, { nullable: true }),
|
|
309
492
|
nodeIds: S.optionalWith(S.Array(S.Number), { nullable: true }),
|
|
@@ -311,138 +494,182 @@ export class FetchSearchSnippetLocation extends S.Struct({
|
|
|
311
494
|
jsonPath: S.optionalWith(S.String, { nullable: true }),
|
|
312
495
|
}) {
|
|
313
496
|
}
|
|
314
|
-
export class
|
|
497
|
+
export class FetchHighlightsSourceMetaSource extends S.Literal('markdown', 'appendix', 'statejson') {
|
|
315
498
|
}
|
|
316
|
-
export class
|
|
499
|
+
export class FetchHighlightsSourceMetaRanker extends S.Literal('zeroentropy', 'mixedbread', 'local_lexical') {
|
|
317
500
|
}
|
|
318
|
-
export class
|
|
501
|
+
export class FetchHighlightsSourceMetaFallbackReason extends S.Literal('timeout', 'error') {
|
|
319
502
|
}
|
|
320
|
-
export class
|
|
321
|
-
source:
|
|
503
|
+
export class FetchHighlightsSourceMeta extends S.Struct({
|
|
504
|
+
source: FetchHighlightsSourceMetaSource,
|
|
322
505
|
chunkCount: S.Int.pipe(S.greaterThanOrEqualTo(0)),
|
|
323
506
|
batchCount: S.Int.pipe(S.greaterThanOrEqualTo(0)),
|
|
324
|
-
ranker:
|
|
507
|
+
ranker: FetchHighlightsSourceMetaRanker,
|
|
325
508
|
fallback: S.Boolean,
|
|
326
|
-
fallbackReason: S.optionalWith(
|
|
509
|
+
fallbackReason: S.optionalWith(FetchHighlightsSourceMetaFallbackReason, { nullable: true }),
|
|
327
510
|
durationMs: S.Number.pipe(S.greaterThanOrEqualTo(0)),
|
|
328
511
|
}) {
|
|
329
512
|
}
|
|
330
|
-
export class
|
|
513
|
+
export class FetchHighlightsMeta extends S.Struct({
|
|
331
514
|
durationMs: S.Number.pipe(S.greaterThanOrEqualTo(0)),
|
|
332
|
-
sources: S.Array(
|
|
515
|
+
sources: S.Array(FetchHighlightsSourceMeta),
|
|
333
516
|
}) {
|
|
334
517
|
}
|
|
335
|
-
export class
|
|
518
|
+
export class FetchHighlightsResult extends S.Struct({
|
|
336
519
|
query: S.String,
|
|
337
520
|
snippets: S.Array(S.Struct({
|
|
338
521
|
type: S.optionalWith(S.Literal('text'), { nullable: true, default: () => 'text' }),
|
|
339
522
|
source: S.Literal('markdown', 'appendix', 'statejson'),
|
|
340
523
|
text: S.String,
|
|
341
524
|
score: S.Number.pipe(S.greaterThanOrEqualTo(0), S.lessThanOrEqualTo(1)),
|
|
342
|
-
location: S.optionalWith(
|
|
525
|
+
location: S.optionalWith(FetchHighlightsSnippetLocation, { nullable: true }),
|
|
343
526
|
})),
|
|
344
|
-
meta: S.optionalWith(
|
|
527
|
+
meta: S.optionalWith(FetchHighlightsMeta, { nullable: true }),
|
|
528
|
+
}) {
|
|
529
|
+
}
|
|
530
|
+
export class FetchObjectModeResultDataVideoProvider extends S.Literal('youtube') {
|
|
531
|
+
}
|
|
532
|
+
export class FetchObjectModeResultDataVideoTranscriptSource extends S.Literal('captions', 'transcription') {
|
|
533
|
+
}
|
|
534
|
+
export class FetchObjectModeResultDataVideoTranscriptKind extends S.Literal('manual', 'auto') {
|
|
535
|
+
}
|
|
536
|
+
export class FetchHttpOriginErrorKind extends S.Literal('http') {
|
|
537
|
+
}
|
|
538
|
+
export class FetchHttpOriginErrorContentAvailable extends S.Literal(false) {
|
|
539
|
+
}
|
|
540
|
+
export class FetchHttpOriginErrorRedirectLimitReached extends S.Literal(true) {
|
|
541
|
+
}
|
|
542
|
+
export class FetchHttpOriginErrorTag extends S.Literal('FetchOriginError') {
|
|
543
|
+
}
|
|
544
|
+
export class FetchHttpOriginError extends S.Struct({
|
|
545
|
+
url: S.String,
|
|
546
|
+
kind: FetchHttpOriginErrorKind,
|
|
547
|
+
contentAvailable: S.optionalWith(FetchHttpOriginErrorContentAvailable, { nullable: true }),
|
|
548
|
+
finalUrl: S.optionalWith(S.String, { nullable: true }),
|
|
549
|
+
redirectLimitReached: S.optionalWith(FetchHttpOriginErrorRedirectLimitReached, { nullable: true }),
|
|
550
|
+
originStatusCode: S.Number,
|
|
551
|
+
retryable: S.Boolean,
|
|
552
|
+
_tag: FetchHttpOriginErrorTag,
|
|
345
553
|
}) {
|
|
346
554
|
}
|
|
347
|
-
export class FetchObjectModeResult extends S.
|
|
555
|
+
export class FetchObjectModeResult extends S.Struct({
|
|
348
556
|
meta: FetchObjectModeMeta,
|
|
349
557
|
markdown: S.String,
|
|
350
558
|
json: S.Array(FetchObjectModeEvidence),
|
|
351
559
|
data: S.optionalWith(S.Struct({
|
|
352
560
|
assets: S.optionalWith(S.Array(FetchAssetReference), { nullable: true }),
|
|
353
561
|
degraded: S.optionalWith(FetchDegradedInfo, { nullable: true }),
|
|
354
|
-
|
|
562
|
+
highlights: S.optionalWith(FetchHighlightsResult, { nullable: true }),
|
|
355
563
|
screenshot: S.optionalWith(S.Struct({
|
|
356
564
|
url: S.String,
|
|
357
565
|
fullPage: S.Boolean,
|
|
358
566
|
}), { nullable: true }),
|
|
567
|
+
document: S.optionalWith(S.Struct({
|
|
568
|
+
url: S.String,
|
|
569
|
+
contentType: S.String,
|
|
570
|
+
sizeBytes: S.Number,
|
|
571
|
+
}), { nullable: true }),
|
|
572
|
+
usage: S.optionalWith(S.Struct({
|
|
573
|
+
documentPages: Int,
|
|
574
|
+
ocrPages: Int,
|
|
575
|
+
audioSeconds: S.Number.pipe(S.greaterThanOrEqualTo(0)),
|
|
576
|
+
videos: S.optionalWith(Int, { nullable: true }),
|
|
577
|
+
}), { nullable: true }),
|
|
578
|
+
video: S.optionalWith(S.Struct({
|
|
579
|
+
provider: FetchObjectModeResultDataVideoProvider,
|
|
580
|
+
videoId: S.String,
|
|
581
|
+
title: S.String,
|
|
582
|
+
channel: S.optionalWith(S.String, { nullable: true }),
|
|
583
|
+
channelUrl: S.optionalWith(S.String, { nullable: true }),
|
|
584
|
+
durationSeconds: S.optionalWith(S.Number, { nullable: true }),
|
|
585
|
+
publishedAt: S.optionalWith(S.String, { nullable: true }),
|
|
586
|
+
viewCount: S.optionalWith(S.Number, { nullable: true }),
|
|
587
|
+
language: S.optionalWith(S.String, { nullable: true }),
|
|
588
|
+
transcript: S.Struct({
|
|
589
|
+
source: FetchObjectModeResultDataVideoTranscriptSource,
|
|
590
|
+
kind: S.optionalWith(FetchObjectModeResultDataVideoTranscriptKind, { nullable: true }),
|
|
591
|
+
language: S.optionalWith(S.String, { nullable: true }),
|
|
592
|
+
}),
|
|
593
|
+
segments: S.optionalWith(S.Array(S.Struct({
|
|
594
|
+
startSeconds: S.Number,
|
|
595
|
+
text: S.String,
|
|
596
|
+
})), { nullable: true }),
|
|
597
|
+
chapters: S.optionalWith(S.Array(S.Struct({
|
|
598
|
+
title: S.String,
|
|
599
|
+
startSeconds: S.Number,
|
|
600
|
+
})), { nullable: true }),
|
|
601
|
+
storyboard: S.optionalWith(S.Struct({
|
|
602
|
+
frameWidth: S.Int,
|
|
603
|
+
frameHeight: S.Int,
|
|
604
|
+
rows: S.Int,
|
|
605
|
+
columns: S.Int,
|
|
606
|
+
sheets: S.Array(S.Struct({
|
|
607
|
+
url: S.String,
|
|
608
|
+
durationSeconds: S.Number,
|
|
609
|
+
})),
|
|
610
|
+
}), { nullable: true }),
|
|
611
|
+
}), { nullable: true }),
|
|
359
612
|
}), { nullable: true }),
|
|
613
|
+
originError: S.optionalWith(FetchHttpOriginError, { nullable: true }),
|
|
360
614
|
}) {
|
|
361
615
|
}
|
|
362
|
-
export class
|
|
363
|
-
}
|
|
364
|
-
export class FetchFetchJson403 extends S.Union(S.Struct({
|
|
365
|
-
organizationId: S.String.pipe(S.minLength(1)),
|
|
366
|
-
blockedUntil: S.optionalWith(S.Union(DateTimeUtc, S.Null), { nullable: true }),
|
|
367
|
-
_tag: S.Literal('AccessBlocked'),
|
|
368
|
-
}), FetchBlocked) {
|
|
616
|
+
export class FetchNetworkOriginErrorKind extends S.Literal('dns', 'tls', 'connectionRefused', 'connectionReset', 'connectionClosed', 'addressUnreachable', 'emptyResponse', 'connectionTimeout') {
|
|
369
617
|
}
|
|
370
|
-
export class
|
|
618
|
+
export class FetchNetworkOriginErrorTag extends S.Literal('FetchOriginError') {
|
|
371
619
|
}
|
|
372
|
-
export class
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
default: () => 5,
|
|
379
|
-
}),
|
|
380
|
-
minScore: S.optionalWith(S.Number.pipe(S.greaterThanOrEqualTo(0), S.lessThanOrEqualTo(1)), {
|
|
381
|
-
nullable: true,
|
|
382
|
-
default: () => 0.6,
|
|
383
|
-
}),
|
|
384
|
-
}),
|
|
385
|
-
include: S.optionalWith(S.Struct({
|
|
386
|
-
html: S.optionalWith(S.Union(S.Boolean, S.Record({ key: S.String, value: S.Unknown })), { nullable: true }),
|
|
387
|
-
markdown: S.optionalWith(S.Union(S.Boolean, S.Record({ key: S.String, value: S.Unknown })), { nullable: true }),
|
|
388
|
-
screenshot: S.optionalWith(S.Union(S.Boolean, S.Struct({
|
|
389
|
-
fullPage: S.optionalWith(S.Boolean, { nullable: true }),
|
|
390
|
-
})), { nullable: true }),
|
|
391
|
-
links: S.optionalWith(S.Union(S.Boolean, S.Struct({
|
|
392
|
-
sameDomainOnly: S.optionalWith(S.Boolean, { nullable: true, default: () => true }),
|
|
393
|
-
includePatterns: S.optionalWith(S.Array(S.String), { nullable: true }),
|
|
394
|
-
excludePatterns: S.optionalWith(S.Array(S.String), { nullable: true }),
|
|
395
|
-
})), { nullable: true }),
|
|
396
|
-
meta: S.optionalWith(S.Boolean, { nullable: true, default: () => true }),
|
|
397
|
-
response: S.optionalWith(S.Struct({
|
|
398
|
-
includeHeaders: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
399
|
-
}), { nullable: true }),
|
|
400
|
-
json: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
401
|
-
appendix: S.optionalWith(S.Boolean, { nullable: true }),
|
|
402
|
-
}), { nullable: true }),
|
|
620
|
+
export class FetchNetworkOriginError extends S.Struct({
|
|
621
|
+
url: S.String,
|
|
622
|
+
kind: FetchNetworkOriginErrorKind,
|
|
623
|
+
upstreamError: S.optionalWith(S.String, { nullable: true }),
|
|
624
|
+
retryable: S.Boolean,
|
|
625
|
+
_tag: FetchNetworkOriginErrorTag,
|
|
403
626
|
}) {
|
|
404
627
|
}
|
|
405
|
-
export class
|
|
628
|
+
export class FetchHttpOriginRefusalTag extends S.Literal('FetchOriginError') {
|
|
406
629
|
}
|
|
407
|
-
export class
|
|
408
|
-
url: S.String,
|
|
409
|
-
requestedUrl: S.optionalWith(URL, { nullable: true }),
|
|
410
|
-
originStatusCode: S.optionalWith(S.Number, { nullable: true }),
|
|
411
|
-
redirectStatusCode: S.optionalWith(S.Number, { nullable: true }),
|
|
412
|
-
headers: S.optionalWith(S.Struct({}), { nullable: true }),
|
|
413
|
-
}) {
|
|
630
|
+
export class FetchHttpOriginRefusalKind extends S.Literal('http') {
|
|
414
631
|
}
|
|
415
|
-
export class
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
632
|
+
export class FetchHttpOriginRefusalContentAvailable extends S.Literal(false) {
|
|
633
|
+
}
|
|
634
|
+
export class FetchHttpOriginRefusalRedirectLimitReached extends S.Literal(true) {
|
|
635
|
+
}
|
|
636
|
+
export class FetchHttpOriginRefusal extends S.Struct({
|
|
637
|
+
_tag: FetchHttpOriginRefusalTag,
|
|
638
|
+
url: S.String,
|
|
639
|
+
kind: FetchHttpOriginRefusalKind,
|
|
640
|
+
contentAvailable: FetchHttpOriginRefusalContentAvailable,
|
|
641
|
+
finalUrl: S.optionalWith(S.String, { nullable: true }),
|
|
642
|
+
redirectLimitReached: S.optionalWith(FetchHttpOriginRefusalRedirectLimitReached, { nullable: true }),
|
|
643
|
+
originStatusCode: S.Number,
|
|
644
|
+
retryable: S.Boolean,
|
|
421
645
|
}) {
|
|
422
646
|
}
|
|
423
|
-
export class
|
|
647
|
+
export class FetchFetchJson200 extends S.Union(FetchObjectModeResult, FetchNetworkOriginError, FetchHttpOriginRefusal) {
|
|
424
648
|
}
|
|
425
|
-
export class
|
|
649
|
+
export class FetchFetchJson400 extends S.Union(HttpApiDecodeError, BadRequest) {
|
|
426
650
|
}
|
|
427
|
-
export class
|
|
651
|
+
export class FetchFetchJson403 extends S.Union(S.Struct({
|
|
428
652
|
organizationId: S.String.pipe(S.minLength(1)),
|
|
429
653
|
blockedUntil: S.optionalWith(S.Union(DateTimeUtc, S.Null), { nullable: true }),
|
|
430
|
-
_tag:
|
|
431
|
-
}) {
|
|
654
|
+
_tag: S.Literal('AccessBlocked'),
|
|
655
|
+
}), FetchBlocked) {
|
|
432
656
|
}
|
|
433
|
-
export class
|
|
657
|
+
export class FetchFetchJson413 extends S.Union(PayloadTooLarge, FetchPageTooLarge) {
|
|
434
658
|
}
|
|
435
|
-
export class
|
|
659
|
+
export class FetchFetchJson429 extends S.Union(TooManyRequests, FetchConcurrencyLimitExceeded) {
|
|
436
660
|
}
|
|
437
|
-
export class
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
}) {
|
|
661
|
+
export class FetchFetchJson502 extends S.Union(FetchCaptureFailed, FetchNavigationFailed, FetchOriginHttpError) {
|
|
662
|
+
}
|
|
663
|
+
export class FetchFetchJson503 extends S.Union(ServiceUnavailable, FetchDocumentProcessingUnavailable) {
|
|
441
664
|
}
|
|
442
665
|
export class FetchBatchedParams extends S.Struct({
|
|
443
666
|
'x-idempotency-key': S.optionalWith(S.String.pipe(S.minLength(1), S.maxLength(255)), { nullable: true }),
|
|
444
667
|
}) {
|
|
445
668
|
}
|
|
669
|
+
export class FetchBatchedRequestIncludeAppendixMarkers extends S.Literal('off', 'compact', 'detailed') {
|
|
670
|
+
}
|
|
671
|
+
export class FetchBatchedRequestDocumentConfigOcr extends S.Literal('auto', 'never', 'always') {
|
|
672
|
+
}
|
|
446
673
|
export class FetchBatchedRequest extends S.Class('FetchBatchedRequest')({
|
|
447
674
|
urls: S.NonEmptyArray(S.String),
|
|
448
675
|
include: S.optionalWith(S.Struct({
|
|
@@ -462,10 +689,22 @@ export class FetchBatchedRequest extends S.Class('FetchBatchedRequest')({
|
|
|
462
689
|
}), { nullable: true }),
|
|
463
690
|
json: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
464
691
|
appendix: S.optionalWith(S.Boolean, { nullable: true }),
|
|
692
|
+
appendixMarkers: S.optionalWith(FetchBatchedRequestIncludeAppendixMarkers, {
|
|
693
|
+
nullable: true,
|
|
694
|
+
default: () => 'compact',
|
|
695
|
+
}),
|
|
465
696
|
}), { nullable: true }),
|
|
466
697
|
browserConfig: S.optionalWith(S.Struct({
|
|
467
698
|
scrollFullPage: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
468
699
|
}), { nullable: true }),
|
|
700
|
+
documentConfig: S.optionalWith(S.Struct({
|
|
701
|
+
maxPages: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1)), { nullable: true }),
|
|
702
|
+
maxAudioSeconds: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1), S.lessThanOrEqualTo(14400)), {
|
|
703
|
+
nullable: true,
|
|
704
|
+
default: () => 3600,
|
|
705
|
+
}),
|
|
706
|
+
ocr: S.optionalWith(FetchBatchedRequestDocumentConfigOcr, { nullable: true, default: () => 'auto' }),
|
|
707
|
+
}), { nullable: true }),
|
|
469
708
|
}) {
|
|
470
709
|
}
|
|
471
710
|
export class BatchedRun extends S.Class('BatchedRun')({
|
|
@@ -504,6 +743,17 @@ export class BatchedStatusBatchedStatus extends S.Literal('QUEUED', 'RUNNING', '
|
|
|
504
743
|
}
|
|
505
744
|
export class BatchedFetchItemStatus extends S.Literal('QUEUED', 'RUNNING', 'SUCCEEDED', 'FAILED', 'CANCELLED') {
|
|
506
745
|
}
|
|
746
|
+
export class URL extends S.String {
|
|
747
|
+
}
|
|
748
|
+
export class ResponseInfo extends S.Struct({
|
|
749
|
+
url: S.String,
|
|
750
|
+
requestedUrl: S.optionalWith(URL, { nullable: true }),
|
|
751
|
+
originStatusCode: S.optionalWith(S.Number, { nullable: true }),
|
|
752
|
+
redirectStatusCode: S.optionalWith(S.Number, { nullable: true }),
|
|
753
|
+
contentType: S.optionalWith(S.String, { nullable: true }),
|
|
754
|
+
headers: S.optionalWith(S.Struct({}), { nullable: true }),
|
|
755
|
+
}) {
|
|
756
|
+
}
|
|
507
757
|
export class IconMeta extends S.Struct({
|
|
508
758
|
href: S.String.pipe(S.minLength(1)),
|
|
509
759
|
rel: S.String.pipe(S.minLength(1)),
|
|
@@ -549,6 +799,14 @@ export class PageMeta extends S.Struct({
|
|
|
549
799
|
twitter: S.optionalWith(TwitterCardMeta, { nullable: true }),
|
|
550
800
|
}) {
|
|
551
801
|
}
|
|
802
|
+
export class NonEmptyString extends S.String.pipe(S.minLength(1)) {
|
|
803
|
+
}
|
|
804
|
+
export class BatchedFetchItemDataVideoProvider extends S.Literal('youtube') {
|
|
805
|
+
}
|
|
806
|
+
export class BatchedFetchItemDataVideoTranscriptSource extends S.Literal('captions', 'transcription') {
|
|
807
|
+
}
|
|
808
|
+
export class BatchedFetchItemDataVideoTranscriptKind extends S.Literal('manual', 'auto') {
|
|
809
|
+
}
|
|
552
810
|
export class FetchLink extends S.Struct({
|
|
553
811
|
url: S.String,
|
|
554
812
|
text: S.optionalWith(S.String, { nullable: true }),
|
|
@@ -579,14 +837,59 @@ export class BatchedFetchItem extends S.Struct({
|
|
|
579
837
|
url: S.String,
|
|
580
838
|
fullPage: S.Boolean,
|
|
581
839
|
}), { nullable: true }),
|
|
582
|
-
|
|
840
|
+
document: S.optionalWith(S.Struct({
|
|
841
|
+
url: S.String,
|
|
842
|
+
contentType: S.String,
|
|
843
|
+
sizeBytes: S.Number,
|
|
844
|
+
}), { nullable: true }),
|
|
845
|
+
usage: S.optionalWith(S.Struct({
|
|
846
|
+
documentPages: Int,
|
|
847
|
+
ocrPages: Int,
|
|
848
|
+
audioSeconds: S.Number.pipe(S.greaterThanOrEqualTo(0)),
|
|
849
|
+
videos: S.optionalWith(Int, { nullable: true }),
|
|
850
|
+
}), { nullable: true }),
|
|
851
|
+
video: S.optionalWith(S.Struct({
|
|
852
|
+
provider: BatchedFetchItemDataVideoProvider,
|
|
853
|
+
videoId: S.String,
|
|
854
|
+
title: S.String,
|
|
855
|
+
channel: S.optionalWith(S.String, { nullable: true }),
|
|
856
|
+
channelUrl: S.optionalWith(S.String, { nullable: true }),
|
|
857
|
+
durationSeconds: S.optionalWith(S.Number, { nullable: true }),
|
|
858
|
+
publishedAt: S.optionalWith(S.String, { nullable: true }),
|
|
859
|
+
viewCount: S.optionalWith(S.Number, { nullable: true }),
|
|
860
|
+
language: S.optionalWith(S.String, { nullable: true }),
|
|
861
|
+
transcript: S.Struct({
|
|
862
|
+
source: BatchedFetchItemDataVideoTranscriptSource,
|
|
863
|
+
kind: S.optionalWith(BatchedFetchItemDataVideoTranscriptKind, { nullable: true }),
|
|
864
|
+
language: S.optionalWith(S.String, { nullable: true }),
|
|
865
|
+
}),
|
|
866
|
+
segments: S.optionalWith(S.Array(S.Struct({
|
|
867
|
+
startSeconds: S.Number,
|
|
868
|
+
text: S.String,
|
|
869
|
+
})), { nullable: true }),
|
|
870
|
+
chapters: S.optionalWith(S.Array(S.Struct({
|
|
871
|
+
title: S.String,
|
|
872
|
+
startSeconds: S.Number,
|
|
873
|
+
})), { nullable: true }),
|
|
874
|
+
storyboard: S.optionalWith(S.Struct({
|
|
875
|
+
frameWidth: S.Int,
|
|
876
|
+
frameHeight: S.Int,
|
|
877
|
+
rows: S.Int,
|
|
878
|
+
columns: S.Int,
|
|
879
|
+
sheets: S.Array(S.Struct({
|
|
880
|
+
url: S.String,
|
|
881
|
+
durationSeconds: S.Number,
|
|
882
|
+
})),
|
|
883
|
+
}), { nullable: true }),
|
|
884
|
+
}), { nullable: true }),
|
|
583
885
|
links: S.optionalWith(S.Array(FetchLink), { nullable: true }),
|
|
584
886
|
appendix: S.optionalWith(S.String.pipe(S.minLength(1)), { nullable: true }),
|
|
585
887
|
renderEngines: S.optionalWith(RenderEnginesInfo, { nullable: true }),
|
|
586
888
|
assets: S.optionalWith(S.Array(FetchAssetReference), { nullable: true }),
|
|
587
889
|
degraded: S.optionalWith(FetchDegradedInfo, { nullable: true }),
|
|
588
890
|
}), { nullable: true }),
|
|
589
|
-
error: S.optionalWith(S.Union(FetchBlocked, FetchPageTooLarge, FetchNavigationFailed, FetchCaptureTimeout, FetchCapacityTimeout), { nullable: true }),
|
|
891
|
+
error: S.optionalWith(S.Union(FetchBlocked, FetchPageTooLarge, FetchNavigationFailed, FetchUnsupportedContentType, FetchOriginHttpError, S.Union(FetchNetworkOriginError, FetchHttpOriginRefusal), FetchDocumentProcessingUnavailable, FetchVideoUnavailable, FetchCaptureFailed, FetchCaptureTimeout, FetchCapacityTimeout), { nullable: true }),
|
|
892
|
+
originError: S.optionalWith(FetchHttpOriginError, { nullable: true }),
|
|
590
893
|
}) {
|
|
591
894
|
}
|
|
592
895
|
export class PaginationMeta extends S.Struct({
|
|
@@ -631,6 +934,107 @@ export class BatchedCancellationConflict extends S.Class('BatchedCancellationCon
|
|
|
631
934
|
_tag: BatchedCancellationConflictTag,
|
|
632
935
|
}) {
|
|
633
936
|
}
|
|
937
|
+
export class SnapshotHighlightsInputIncludeAppendixMarkers extends S.Literal('off', 'compact', 'detailed') {
|
|
938
|
+
}
|
|
939
|
+
export class SnapshotHighlightsInput extends S.Class('SnapshotHighlightsInput')({
|
|
940
|
+
highlights: S.Struct({
|
|
941
|
+
query: S.String,
|
|
942
|
+
maxResults: S.optionalWith(S.Int.pipe(S.greaterThanOrEqualTo(1), S.lessThanOrEqualTo(50)), {
|
|
943
|
+
nullable: true,
|
|
944
|
+
default: () => 5,
|
|
945
|
+
}),
|
|
946
|
+
minScore: S.optionalWith(S.Number.pipe(S.greaterThanOrEqualTo(0), S.lessThanOrEqualTo(1)), {
|
|
947
|
+
nullable: true,
|
|
948
|
+
default: () => 0.6,
|
|
949
|
+
}),
|
|
950
|
+
}),
|
|
951
|
+
include: S.optionalWith(S.Struct({
|
|
952
|
+
html: S.optionalWith(S.Union(S.Boolean, S.Record({ key: S.String, value: S.Unknown })), { nullable: true }),
|
|
953
|
+
markdown: S.optionalWith(S.Union(S.Boolean, S.Record({ key: S.String, value: S.Unknown })), { nullable: true }),
|
|
954
|
+
screenshot: S.optionalWith(S.Union(S.Boolean, S.Struct({
|
|
955
|
+
fullPage: S.optionalWith(S.Boolean, { nullable: true }),
|
|
956
|
+
})), { nullable: true }),
|
|
957
|
+
links: S.optionalWith(S.Union(S.Boolean, S.Struct({
|
|
958
|
+
sameDomainOnly: S.optionalWith(S.Boolean, { nullable: true, default: () => true }),
|
|
959
|
+
includePatterns: S.optionalWith(S.Array(S.String), { nullable: true }),
|
|
960
|
+
excludePatterns: S.optionalWith(S.Array(S.String), { nullable: true }),
|
|
961
|
+
})), { nullable: true }),
|
|
962
|
+
meta: S.optionalWith(S.Boolean, { nullable: true, default: () => true }),
|
|
963
|
+
response: S.optionalWith(S.Struct({
|
|
964
|
+
includeHeaders: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
965
|
+
}), { nullable: true }),
|
|
966
|
+
json: S.optionalWith(S.Boolean, { nullable: true, default: () => false }),
|
|
967
|
+
appendix: S.optionalWith(S.Boolean, { nullable: true }),
|
|
968
|
+
appendixMarkers: S.optionalWith(SnapshotHighlightsInputIncludeAppendixMarkers, {
|
|
969
|
+
nullable: true,
|
|
970
|
+
default: () => 'compact',
|
|
971
|
+
}),
|
|
972
|
+
}), { nullable: true }),
|
|
973
|
+
}) {
|
|
974
|
+
}
|
|
975
|
+
export class FetchSnapshotHighlightsResult extends S.Class('FetchSnapshotHighlightsResult')({
|
|
976
|
+
snapshotId: S.String.pipe(S.minLength(1)),
|
|
977
|
+
response: ResponseInfo,
|
|
978
|
+
highlights: FetchHighlightsResult,
|
|
979
|
+
durationMs: S.Number.pipe(S.greaterThanOrEqualTo(0)),
|
|
980
|
+
playground: S.String,
|
|
981
|
+
}) {
|
|
982
|
+
}
|
|
983
|
+
export class SnapshotsHighlights400 extends S.Union(HttpApiDecodeError, BadRequest) {
|
|
984
|
+
}
|
|
985
|
+
export class SnapshotsHighlights403Tag extends S.Literal('AccessBlocked') {
|
|
986
|
+
}
|
|
987
|
+
export class SnapshotsHighlights403 extends S.Struct({
|
|
988
|
+
organizationId: S.String.pipe(S.minLength(1)),
|
|
989
|
+
blockedUntil: S.optionalWith(S.Union(DateTimeUtc, S.Null), { nullable: true }),
|
|
990
|
+
_tag: SnapshotsHighlights403Tag,
|
|
991
|
+
}) {
|
|
992
|
+
}
|
|
993
|
+
export class FetchSnapshotHighlightsNotFoundTag extends S.Literal('FetchSnapshotHighlightsNotFound') {
|
|
994
|
+
}
|
|
995
|
+
export class FetchSnapshotHighlightsNotFound extends S.Class('FetchSnapshotHighlightsNotFound')({
|
|
996
|
+
snapshotId: NonEmptyString,
|
|
997
|
+
_tag: FetchSnapshotHighlightsNotFoundTag,
|
|
998
|
+
}) {
|
|
999
|
+
}
|
|
1000
|
+
export class SnapshotsHighlights429 extends S.Union(TooManyRequests, FetchConcurrencyLimitExceeded) {
|
|
1001
|
+
}
|
|
1002
|
+
export class PublicSnapshotsGetCatalogParamsFormat extends S.Literal('json', 'markdown') {
|
|
1003
|
+
}
|
|
1004
|
+
export class PublicSnapshotsGetCatalogParams extends S.Struct({
|
|
1005
|
+
format: S.optionalWith(PublicSnapshotsGetCatalogParamsFormat, { nullable: true }),
|
|
1006
|
+
}) {
|
|
1007
|
+
}
|
|
1008
|
+
export class SnapshotCatalogVersion extends S.Literal(1) {
|
|
1009
|
+
}
|
|
1010
|
+
export class SnapshotCatalog extends S.Class('SnapshotCatalog')({
|
|
1011
|
+
version: SnapshotCatalogVersion,
|
|
1012
|
+
snapshotId: S.String,
|
|
1013
|
+
collections: S.Struct({
|
|
1014
|
+
evidence: S.String,
|
|
1015
|
+
network: S.String,
|
|
1016
|
+
assets: S.String,
|
|
1017
|
+
artifacts: S.String,
|
|
1018
|
+
}),
|
|
1019
|
+
artifacts: S.Array(S.Struct({
|
|
1020
|
+
id: S.String,
|
|
1021
|
+
kind: S.String,
|
|
1022
|
+
url: S.String,
|
|
1023
|
+
preview: S.optionalWith(S.String, { nullable: true }),
|
|
1024
|
+
})),
|
|
1025
|
+
links: S.Struct({
|
|
1026
|
+
markdown: S.String,
|
|
1027
|
+
json: S.String,
|
|
1028
|
+
}),
|
|
1029
|
+
}) {
|
|
1030
|
+
}
|
|
1031
|
+
export class SnapshotNotFoundTag extends S.Literal('SnapshotNotFound') {
|
|
1032
|
+
}
|
|
1033
|
+
export class SnapshotNotFound extends S.Class('SnapshotNotFound')({
|
|
1034
|
+
snapshotId: S.String,
|
|
1035
|
+
_tag: SnapshotNotFoundTag,
|
|
1036
|
+
}) {
|
|
1037
|
+
}
|
|
634
1038
|
export const make = (httpClient, options = {}) => {
|
|
635
1039
|
const unexpectedStatus = (request, response) => Effect.flatMap(Effect.orElseSucceed(response.text, () => 'Unexpected status code'), (description) => Effect.fail(new HttpClientError.ResponseError({
|
|
636
1040
|
request,
|
|
@@ -641,45 +1045,47 @@ export const make = (httpClient, options = {}) => {
|
|
|
641
1045
|
const applyClientTransform = (client) => options.transformClient ? options.transformClient(client) : Effect.succeed(client);
|
|
642
1046
|
const decodeError = (response, schema) => Effect.flatMap(HttpClientResponse.schemaBodyJson(schema)(response), Effect.fail);
|
|
643
1047
|
return {
|
|
644
|
-
fetchFetch: (options) => HttpClientRequest.make('POST')(`/v1/fetch`).pipe(HttpClientRequest.setUrlParams({
|
|
1048
|
+
fetchFetch: (options) => HttpClientRequest.make('POST')(`/v1/fetch`).pipe(HttpClientRequest.setUrlParams({
|
|
1049
|
+
include: options.params['include'],
|
|
1050
|
+
appendixMarkers: options.params['appendixMarkers'],
|
|
1051
|
+
}), (req) => Effect.orDie(HttpClientRequest.bodyJson(req, options.payload)), Effect.flatMap((request) => Effect.flatMap(applyClientTransform(httpClient), (httpClient) => Effect.flatMap(httpClient.execute(request), HttpClientResponse.matchStatus({
|
|
645
1052
|
'400': (r) => decodeError(r, FetchFetch400),
|
|
646
1053
|
'401': (r) => decodeError(r, AuthFailed),
|
|
647
1054
|
'403': (r) => decodeError(r, FetchFetch403),
|
|
1055
|
+
'404': (r) => decodeError(r, FetchOriginNotFound),
|
|
1056
|
+
'410': (r) => decodeError(r, FetchOriginGone),
|
|
648
1057
|
'413': (r) => decodeError(r, FetchFetch413),
|
|
649
|
-
'
|
|
1058
|
+
'415': (r) => decodeError(r, FetchUnsupportedContentType),
|
|
1059
|
+
'422': (r) => decodeError(r, FetchVideoUnavailable),
|
|
1060
|
+
'429': (r) => decodeError(r, FetchFetch429),
|
|
650
1061
|
'500': (r) => decodeError(r, InternalError),
|
|
651
|
-
'502': (r) => decodeError(r,
|
|
652
|
-
'503': (r) => decodeError(r,
|
|
1062
|
+
'502': (r) => decodeError(r, FetchFetch502),
|
|
1063
|
+
'503': (r) => decodeError(r, FetchFetch503),
|
|
653
1064
|
'504': (r) => decodeError(r, FetchCaptureTimeout),
|
|
654
1065
|
'529': (r) => decodeError(r, FetchCapacityTimeout),
|
|
655
1066
|
orElse: (response) => unexpectedStatus(request, response),
|
|
656
1067
|
}))))),
|
|
657
|
-
fetchFetchJson: (options) => HttpClientRequest.make('POST')(`/v1/fetch/json`).pipe(HttpClientRequest.setUrlParams({
|
|
658
|
-
|
|
1068
|
+
fetchFetchJson: (options) => HttpClientRequest.make('POST')(`/v1/fetch/json`).pipe(HttpClientRequest.setUrlParams({
|
|
1069
|
+
include: options.params['include'],
|
|
1070
|
+
appendixMarkers: options.params['appendixMarkers'],
|
|
1071
|
+
}), (req) => Effect.orDie(HttpClientRequest.bodyJson(req, options.payload)), Effect.flatMap((request) => Effect.flatMap(applyClientTransform(httpClient), (httpClient) => Effect.flatMap(httpClient.execute(request), HttpClientResponse.matchStatus({
|
|
1072
|
+
'200': (r) => HttpClientResponse.schemaBodyJson(FetchFetchJson200)(r),
|
|
659
1073
|
'400': (r) => decodeError(r, FetchFetchJson400),
|
|
660
1074
|
'401': (r) => decodeError(r, AuthFailed),
|
|
661
1075
|
'403': (r) => decodeError(r, FetchFetchJson403),
|
|
1076
|
+
'404': (r) => decodeError(r, FetchOriginNotFound),
|
|
1077
|
+
'410': (r) => decodeError(r, FetchOriginGone),
|
|
662
1078
|
'413': (r) => decodeError(r, FetchFetchJson413),
|
|
663
|
-
'
|
|
1079
|
+
'415': (r) => decodeError(r, FetchUnsupportedContentType),
|
|
1080
|
+
'422': (r) => decodeError(r, FetchVideoUnavailable),
|
|
1081
|
+
'429': (r) => decodeError(r, FetchFetchJson429),
|
|
664
1082
|
'500': (r) => decodeError(r, InternalError),
|
|
665
|
-
'502': (r) => decodeError(r,
|
|
666
|
-
'503': (r) => decodeError(r,
|
|
1083
|
+
'502': (r) => decodeError(r, FetchFetchJson502),
|
|
1084
|
+
'503': (r) => decodeError(r, FetchFetchJson503),
|
|
667
1085
|
'504': (r) => decodeError(r, FetchCaptureTimeout),
|
|
668
1086
|
'529': (r) => decodeError(r, FetchCapacityTimeout),
|
|
669
1087
|
orElse: (response) => unexpectedStatus(request, response),
|
|
670
1088
|
}))))),
|
|
671
|
-
fetchFetchSearch: (options) => HttpClientRequest.make('POST')(`/v1/fetch/search`).pipe((req) => Effect.orDie(HttpClientRequest.bodyJson(req, options)), Effect.flatMap((request) => Effect.flatMap(applyClientTransform(httpClient), (httpClient) => Effect.flatMap(httpClient.execute(request), HttpClientResponse.matchStatus({
|
|
672
|
-
'200': (r) => HttpClientResponse.schemaBodyJson(FetchSnapshotSearchResult)(r),
|
|
673
|
-
'400': (r) => decodeError(r, FetchFetchSearch400),
|
|
674
|
-
'401': (r) => decodeError(r, AuthFailed),
|
|
675
|
-
'403': (r) => decodeError(r, FetchFetchSearch403),
|
|
676
|
-
'404': (r) => decodeError(r, FetchSnapshotSearchNotFound),
|
|
677
|
-
'413': (r) => decodeError(r, PayloadTooLarge),
|
|
678
|
-
'429': (r) => decodeError(r, TooManyRequests),
|
|
679
|
-
'500': (r) => decodeError(r, InternalError),
|
|
680
|
-
'503': (r) => decodeError(r, ServiceUnavailable),
|
|
681
|
-
orElse: (response) => unexpectedStatus(request, response),
|
|
682
|
-
}))))),
|
|
683
1089
|
fetchBatched: (options) => HttpClientRequest.make('POST')(`/v1/fetch/batched`).pipe(HttpClientRequest.setHeaders({ 'x-idempotency-key': options.params['x-idempotency-key'] ?? undefined }), (req) => Effect.orDie(HttpClientRequest.bodyJson(req, options.payload)), Effect.flatMap((request) => Effect.flatMap(applyClientTransform(httpClient), (httpClient) => Effect.flatMap(httpClient.execute(request), HttpClientResponse.matchStatus({
|
|
684
1090
|
'200': (r) => HttpClientResponse.schemaBodyJson(BatchedRun)(r),
|
|
685
1091
|
'400': (r) => decodeError(r, FetchBatched400),
|
|
@@ -717,6 +1123,28 @@ export const make = (httpClient, options = {}) => {
|
|
|
717
1123
|
'503': (r) => decodeError(r, ServiceUnavailable),
|
|
718
1124
|
orElse: (response) => unexpectedStatus(request, response),
|
|
719
1125
|
}))))),
|
|
1126
|
+
snapshotsHighlights: (snapshotId, options) => HttpClientRequest.make('POST')(`/v1/snapshots/${snapshotId}/highlights`).pipe((req) => Effect.orDie(HttpClientRequest.bodyJson(req, options)), Effect.flatMap((request) => Effect.flatMap(applyClientTransform(httpClient), (httpClient) => Effect.flatMap(httpClient.execute(request), HttpClientResponse.matchStatus({
|
|
1127
|
+
'200': (r) => HttpClientResponse.schemaBodyJson(FetchSnapshotHighlightsResult)(r),
|
|
1128
|
+
'400': (r) => decodeError(r, SnapshotsHighlights400),
|
|
1129
|
+
'401': (r) => decodeError(r, AuthFailed),
|
|
1130
|
+
'403': (r) => decodeError(r, SnapshotsHighlights403),
|
|
1131
|
+
'404': (r) => decodeError(r, FetchSnapshotHighlightsNotFound),
|
|
1132
|
+
'413': (r) => decodeError(r, PayloadTooLarge),
|
|
1133
|
+
'429': (r) => decodeError(r, SnapshotsHighlights429),
|
|
1134
|
+
'500': (r) => decodeError(r, InternalError),
|
|
1135
|
+
'503': (r) => decodeError(r, ServiceUnavailable),
|
|
1136
|
+
orElse: (response) => unexpectedStatus(request, response),
|
|
1137
|
+
}))))),
|
|
1138
|
+
publicSnapshotsGetCatalog: (snapshotId, options) => HttpClientRequest.make('GET')(`/v1/public/snapshots/${snapshotId}`).pipe(HttpClientRequest.setUrlParams({ format: options['format'] }), Effect.succeed, Effect.flatMap((request) => Effect.flatMap(applyClientTransform(httpClient), (httpClient) => Effect.flatMap(httpClient.execute(request), HttpClientResponse.matchStatus({
|
|
1139
|
+
'200': (r) => HttpClientResponse.schemaBodyJson(SnapshotCatalog)(r),
|
|
1140
|
+
'400': (r) => decodeError(r, HttpApiDecodeError),
|
|
1141
|
+
'404': (r) => decodeError(r, SnapshotNotFound),
|
|
1142
|
+
'413': (r) => decodeError(r, PayloadTooLarge),
|
|
1143
|
+
'429': (r) => decodeError(r, TooManyRequests),
|
|
1144
|
+
'500': (r) => decodeError(r, InternalError),
|
|
1145
|
+
'503': (r) => decodeError(r, ServiceUnavailable),
|
|
1146
|
+
orElse: (response) => unexpectedStatus(request, response),
|
|
1147
|
+
}))))),
|
|
720
1148
|
};
|
|
721
1149
|
};
|
|
722
1150
|
//# sourceMappingURL=Generated.js.map
|