@breign/client 1.0.187 → 1.0.188

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.
@@ -53,6 +53,12 @@ export interface FileCreationResponseUio {
53
53
  * @memberof FileCreationResponseUio
54
54
  */
55
55
  ocr?: boolean;
56
+ /**
57
+ * Path of the document where it comes from, if given at creation.
58
+ * @type {string}
59
+ * @memberof FileCreationResponseUio
60
+ */
61
+ sourcePath?: string;
56
62
  /**
57
63
  *
58
64
  * @type {string}
@@ -59,6 +59,7 @@ function FileCreationResponseUioFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'knowledgeType': json['knowledgeType'] == null ? undefined : json['knowledgeType'],
60
60
  'isFAQ': json['isFAQ'] == null ? undefined : json['isFAQ'],
61
61
  'ocr': json['ocr'] == null ? undefined : json['ocr'],
62
+ 'sourcePath': json['sourcePath'] == null ? undefined : json['sourcePath'],
62
63
  'uploadId': json['uploadId'] == null ? undefined : json['uploadId'],
63
64
  'hash': json['hash'] == null ? undefined : json['hash'],
64
65
  'contentType': json['contentType'] == null ? undefined : json['contentType'],
@@ -91,6 +92,7 @@ function FileCreationResponseUioToJSONTyped(value, ignoreDiscriminator = false)
91
92
  'knowledgeType': value['knowledgeType'],
92
93
  'isFAQ': value['isFAQ'],
93
94
  'ocr': value['ocr'],
95
+ 'sourcePath': value['sourcePath'],
94
96
  'uploadId': value['uploadId'],
95
97
  'hash': value['hash'],
96
98
  'contentType': value['contentType'],
@@ -52,6 +52,12 @@ export interface FileUio {
52
52
  * @memberof FileUio
53
53
  */
54
54
  ocr?: boolean;
55
+ /**
56
+ * Path of the document where it comes from, if given at creation.
57
+ * @type {string}
58
+ * @memberof FileUio
59
+ */
60
+ sourcePath?: string;
55
61
  /**
56
62
  *
57
63
  * @type {string}
@@ -50,6 +50,7 @@ function FileUioFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'knowledgeType': json['knowledgeType'] == null ? undefined : json['knowledgeType'],
51
51
  'isFAQ': json['isFAQ'] == null ? undefined : json['isFAQ'],
52
52
  'ocr': json['ocr'] == null ? undefined : json['ocr'],
53
+ 'sourcePath': json['sourcePath'] == null ? undefined : json['sourcePath'],
53
54
  'uploadId': json['uploadId'] == null ? undefined : json['uploadId'],
54
55
  'hash': json['hash'] == null ? undefined : json['hash'],
55
56
  'contentType': json['contentType'] == null ? undefined : json['contentType'],
@@ -80,6 +81,7 @@ function FileUioToJSONTyped(value, ignoreDiscriminator = false) {
80
81
  'knowledgeType': value['knowledgeType'],
81
82
  'isFAQ': value['isFAQ'],
82
83
  'ocr': value['ocr'],
84
+ 'sourcePath': value['sourcePath'],
83
85
  'uploadId': value['uploadId'],
84
86
  'hash': value['hash'],
85
87
  'contentType': value['contentType'],
@@ -52,6 +52,12 @@ export interface FileWithDownloadUrlUio {
52
52
  * @memberof FileWithDownloadUrlUio
53
53
  */
54
54
  ocr?: boolean;
55
+ /**
56
+ * Path of the document where it comes from, if given at creation.
57
+ * @type {string}
58
+ * @memberof FileWithDownloadUrlUio
59
+ */
60
+ sourcePath?: string;
55
61
  /**
56
62
  *
57
63
  * @type {string}
@@ -52,6 +52,7 @@ function FileWithDownloadUrlUioFromJSONTyped(json, ignoreDiscriminator) {
52
52
  'knowledgeType': json['knowledgeType'] == null ? undefined : json['knowledgeType'],
53
53
  'isFAQ': json['isFAQ'] == null ? undefined : json['isFAQ'],
54
54
  'ocr': json['ocr'] == null ? undefined : json['ocr'],
55
+ 'sourcePath': json['sourcePath'] == null ? undefined : json['sourcePath'],
55
56
  'uploadId': json['uploadId'] == null ? undefined : json['uploadId'],
56
57
  'hash': json['hash'] == null ? undefined : json['hash'],
57
58
  'contentType': json['contentType'] == null ? undefined : json['contentType'],
@@ -83,6 +84,7 @@ function FileWithDownloadUrlUioToJSONTyped(value, ignoreDiscriminator = false) {
83
84
  'knowledgeType': value['knowledgeType'],
84
85
  'isFAQ': value['isFAQ'],
85
86
  'ocr': value['ocr'],
87
+ 'sourcePath': value['sourcePath'],
86
88
  'uploadId': value['uploadId'],
87
89
  'hash': value['hash'],
88
90
  'contentType': value['contentType'],
@@ -63,6 +63,13 @@ export interface KnowledgeFileCreationRequestUio {
63
63
  * @memberof KnowledgeFileCreationRequestUio
64
64
  */
65
65
  ocr?: boolean;
66
+ /**
67
+ * Path of the document where it comes from (e.g. its folder in the source drive). Shown to the agent next to the file name when it searches.
68
+ *
69
+ * @type {string}
70
+ * @memberof KnowledgeFileCreationRequestUio
71
+ */
72
+ sourcePath?: string;
66
73
  }
67
74
  /**
68
75
  * Check if a given object implements the KnowledgeFileCreationRequestUio interface.
@@ -44,6 +44,7 @@ function KnowledgeFileCreationRequestUioFromJSONTyped(json, ignoreDiscriminator)
44
44
  'isActive': json['isActive'] == null ? undefined : json['isActive'],
45
45
  'isFAQ': json['isFAQ'] == null ? undefined : json['isFAQ'],
46
46
  'ocr': json['ocr'] == null ? undefined : json['ocr'],
47
+ 'sourcePath': json['sourcePath'] == null ? undefined : json['sourcePath'],
47
48
  };
48
49
  }
49
50
  function KnowledgeFileCreationRequestUioToJSON(json) {
@@ -62,5 +63,6 @@ function KnowledgeFileCreationRequestUioToJSONTyped(value, ignoreDiscriminator =
62
63
  'isActive': value['isActive'],
63
64
  'isFAQ': value['isFAQ'],
64
65
  'ocr': value['ocr'],
66
+ 'sourcePath': value['sourcePath'],
65
67
  };
66
68
  }
@@ -52,6 +52,12 @@ export interface KnowledgeFileUio {
52
52
  * @memberof KnowledgeFileUio
53
53
  */
54
54
  ocr?: boolean;
55
+ /**
56
+ * Path of the document where it comes from, if given at creation.
57
+ * @type {string}
58
+ * @memberof KnowledgeFileUio
59
+ */
60
+ sourcePath?: string;
55
61
  /**
56
62
  *
57
63
  * @type {string}
@@ -50,6 +50,7 @@ function KnowledgeFileUioFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'knowledgeType': json['knowledgeType'] == null ? undefined : json['knowledgeType'],
51
51
  'isFAQ': json['isFAQ'] == null ? undefined : json['isFAQ'],
52
52
  'ocr': json['ocr'] == null ? undefined : json['ocr'],
53
+ 'sourcePath': json['sourcePath'] == null ? undefined : json['sourcePath'],
53
54
  'uploadId': json['uploadId'] == null ? undefined : json['uploadId'],
54
55
  'hash': json['hash'] == null ? undefined : json['hash'],
55
56
  'contentType': json['contentType'] == null ? undefined : json['contentType'],
@@ -80,6 +81,7 @@ function KnowledgeFileUioToJSONTyped(value, ignoreDiscriminator = false) {
80
81
  'knowledgeType': value['knowledgeType'],
81
82
  'isFAQ': value['isFAQ'],
82
83
  'ocr': value['ocr'],
84
+ 'sourcePath': value['sourcePath'],
83
85
  'uploadId': value['uploadId'],
84
86
  'hash': value['hash'],
85
87
  'contentType': value['contentType'],
package/dist/openapi.json CHANGED
@@ -24436,6 +24436,10 @@
24436
24436
  "ocr" : {
24437
24437
  "type" : "boolean"
24438
24438
  },
24439
+ "sourcePath" : {
24440
+ "description" : "Path of the document where it comes from, if given at creation.",
24441
+ "type" : "string"
24442
+ },
24439
24443
  "uploadId" : {
24440
24444
  "type" : "string"
24441
24445
  },
@@ -29394,6 +29398,11 @@
29394
29398
  "ocr" : {
29395
29399
  "description" : "Run the OCR pre-pass before parsing the document",
29396
29400
  "type" : "boolean"
29401
+ },
29402
+ "sourcePath" : {
29403
+ "description" : "Path of the document where it comes from (e.g. its folder in the source drive). Shown to the agent next to the file name when it searches.\n",
29404
+ "maxLength" : 512,
29405
+ "type" : "string"
29397
29406
  }
29398
29407
  },
29399
29408
  "required" : [ "ext", "size" ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.187",
3
+ "version": "1.0.188",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",