@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 CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.327.0-ai-plus',
113
+ VERSION: '4.328.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '4.327.0-ai-plus',
111
+ VERSION: '4.328.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '4.327.0-ai-plus',
117
+ VERSION: '4.328.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.327.0-ai",
3
+ "version": "4.328.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
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.327.0-ai-plus
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.
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.327.0-ai-plus',
24
+ VERSION: '4.328.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -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
  */