@iblai/iblai-api 4.327.0-ai → 4.328.0-ai
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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +4 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +4 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +4 -0
- package/package.json +1 -1
- package/sdk_schema.yml +18 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/models/RetrieverDocumentEmbedding.ts +4 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +4 -0
- package/src/models/TrainDocumentViewRequest.ts +4 -0
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -26,5 +26,9 @@ export type RetrieverDocumentEmbedding = {
|
|
|
26
26
|
*/
|
|
27
27
|
crawler_match_patterns?: any;
|
|
28
28
|
crawler_pattern_type?: (CrawlerPatternTypeEnum | BlankEnum);
|
|
29
|
+
/**
|
|
30
|
+
* Extra HTTP headers the crawler sends on every request, as a flat object of string header names to string values (e.g. auth tokens for gated sites).
|
|
31
|
+
*/
|
|
32
|
+
crawler_extra_headers?: any;
|
|
29
33
|
readonly last_trained_at: string | null;
|
|
30
34
|
};
|
|
@@ -44,6 +44,10 @@ export type RetrieverDocumentEmbeddingRequest = {
|
|
|
44
44
|
* * `regex` - Regex
|
|
45
45
|
*/
|
|
46
46
|
crawler_pattern_type?: CrawlerPatternTypeEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Extra HTTP headers the crawler sends on every request, as a flat object of string header names to string values.
|
|
49
|
+
*/
|
|
50
|
+
crawler_extra_headers?: Record<string, string>;
|
|
47
51
|
/**
|
|
48
52
|
* The access of the document.
|
|
49
53
|
*
|
|
@@ -63,6 +63,10 @@ export type TrainDocumentViewRequest = {
|
|
|
63
63
|
* * `regex` - Regex
|
|
64
64
|
*/
|
|
65
65
|
crawler_pattern_type?: CrawlerPatternTypeEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Extra HTTP headers the crawler sends on every request, as a flat object of string header names to string values.
|
|
68
|
+
*/
|
|
69
|
+
crawler_extra_headers?: Record<string, string>;
|
|
66
70
|
/**
|
|
67
71
|
* Custom metadata to attach to the trained document. Must be a flat JSON object with string keys and string, number, or boolean values.
|
|
68
72
|
*/
|
package/package.json
CHANGED
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.328.0-ai-plus
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/ai-account/connected-services/callback/:
|
|
@@ -124399,6 +124399,11 @@ components:
|
|
|
124399
124399
|
oneOf:
|
|
124400
124400
|
- $ref: '#/components/schemas/CrawlerPatternTypeEnum'
|
|
124401
124401
|
- $ref: '#/components/schemas/BlankEnum'
|
|
124402
|
+
crawler_extra_headers:
|
|
124403
|
+
nullable: true
|
|
124404
|
+
description: Extra HTTP headers the crawler sends on every request, as a
|
|
124405
|
+
flat object of string header names to string values (e.g. auth tokens
|
|
124406
|
+
for gated sites).
|
|
124402
124407
|
last_trained_at:
|
|
124403
124408
|
type: string
|
|
124404
124409
|
format: date-time
|
|
@@ -124453,6 +124458,12 @@ components:
|
|
|
124453
124458
|
|
|
124454
124459
|
* `glob` - Glob
|
|
124455
124460
|
* `regex` - Regex
|
|
124461
|
+
crawler_extra_headers:
|
|
124462
|
+
type: object
|
|
124463
|
+
additionalProperties:
|
|
124464
|
+
type: string
|
|
124465
|
+
description: Extra HTTP headers the crawler sends on every request, as a
|
|
124466
|
+
flat object of string header names to string values.
|
|
124456
124467
|
access:
|
|
124457
124468
|
allOf:
|
|
124458
124469
|
- $ref: '#/components/schemas/AccessEnum'
|
|
@@ -129001,6 +129012,12 @@ components:
|
|
|
129001
129012
|
|
|
129002
129013
|
* `glob` - Glob
|
|
129003
129014
|
* `regex` - Regex
|
|
129015
|
+
crawler_extra_headers:
|
|
129016
|
+
type: object
|
|
129017
|
+
additionalProperties:
|
|
129018
|
+
type: string
|
|
129019
|
+
description: Extra HTTP headers the crawler sends on every request, as a
|
|
129020
|
+
flat object of string header names to string values.
|
|
129004
129021
|
custom_metadata:
|
|
129005
129022
|
description: Custom metadata to attach to the trained document. Must be
|
|
129006
129023
|
a flat JSON object with string keys and string, number, or boolean values.
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -30,6 +30,10 @@ export type RetrieverDocumentEmbedding = {
|
|
|
30
30
|
*/
|
|
31
31
|
crawler_match_patterns?: any;
|
|
32
32
|
crawler_pattern_type?: (CrawlerPatternTypeEnum | BlankEnum);
|
|
33
|
+
/**
|
|
34
|
+
* Extra HTTP headers the crawler sends on every request, as a flat object of string header names to string values (e.g. auth tokens for gated sites).
|
|
35
|
+
*/
|
|
36
|
+
crawler_extra_headers?: any;
|
|
33
37
|
readonly last_trained_at: string | null;
|
|
34
38
|
};
|
|
35
39
|
|
|
@@ -48,6 +48,10 @@ export type RetrieverDocumentEmbeddingRequest = {
|
|
|
48
48
|
* * `regex` - Regex
|
|
49
49
|
*/
|
|
50
50
|
crawler_pattern_type?: CrawlerPatternTypeEnum;
|
|
51
|
+
/**
|
|
52
|
+
* Extra HTTP headers the crawler sends on every request, as a flat object of string header names to string values.
|
|
53
|
+
*/
|
|
54
|
+
crawler_extra_headers?: Record<string, string>;
|
|
51
55
|
/**
|
|
52
56
|
* The access of the document.
|
|
53
57
|
*
|
|
@@ -67,6 +67,10 @@ export type TrainDocumentViewRequest = {
|
|
|
67
67
|
* * `regex` - Regex
|
|
68
68
|
*/
|
|
69
69
|
crawler_pattern_type?: CrawlerPatternTypeEnum;
|
|
70
|
+
/**
|
|
71
|
+
* Extra HTTP headers the crawler sends on every request, as a flat object of string header names to string values.
|
|
72
|
+
*/
|
|
73
|
+
crawler_extra_headers?: Record<string, string>;
|
|
70
74
|
/**
|
|
71
75
|
* Custom metadata to attach to the trained document. Must be a flat JSON object with string keys and string, number, or boolean values.
|
|
72
76
|
*/
|