@breign/client 1.0.186 → 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'],
@@ -22,6 +22,12 @@ export interface FleetAnswersUpdateResultUio {
22
22
  * @memberof FleetAnswersUpdateResultUio
23
23
  */
24
24
  installation: FleetInstallationUio;
25
+ /**
26
+ * Les questions posées avec ces réponses ; l'assistant ne valide que celles-là.
27
+ * @type {Array<string>}
28
+ * @memberof FleetAnswersUpdateResultUio
29
+ */
30
+ activeInputs: Array<string>;
25
31
  /**
26
32
  * Les réponses invalides ou manquantes, par question.
27
33
  * @type {{ [key: string]: string; }}
@@ -25,6 +25,8 @@ const FleetInstallationUio_1 = require("./FleetInstallationUio");
25
25
  function instanceOfFleetAnswersUpdateResultUio(value) {
26
26
  if (!('installation' in value) || value['installation'] === undefined)
27
27
  return false;
28
+ if (!('activeInputs' in value) || value['activeInputs'] === undefined)
29
+ return false;
28
30
  if (!('errors' in value) || value['errors'] === undefined)
29
31
  return false;
30
32
  return true;
@@ -38,6 +40,7 @@ function FleetAnswersUpdateResultUioFromJSONTyped(json, ignoreDiscriminator) {
38
40
  }
39
41
  return {
40
42
  'installation': (0, FleetInstallationUio_1.FleetInstallationUioFromJSON)(json['installation']),
43
+ 'activeInputs': json['activeInputs'],
41
44
  'errors': json['errors'],
42
45
  };
43
46
  }
@@ -50,6 +53,7 @@ function FleetAnswersUpdateResultUioToJSONTyped(value, ignoreDiscriminator = fal
50
53
  }
51
54
  return {
52
55
  'installation': (0, FleetInstallationUio_1.FleetInstallationUioToJSON)(value['installation']),
56
+ 'activeInputs': value['activeInputs'],
53
57
  'errors': value['errors'],
54
58
  };
55
59
  }
@@ -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" ],
@@ -34430,6 +34439,13 @@
34430
34439
  "installation" : {
34431
34440
  "$ref" : "#/components/schemas/FleetInstallation"
34432
34441
  },
34442
+ "activeInputs" : {
34443
+ "description" : "Les questions posées avec ces réponses ; l'assistant ne valide que celles-là.",
34444
+ "items" : {
34445
+ "type" : "string"
34446
+ },
34447
+ "type" : "array"
34448
+ },
34433
34449
  "errors" : {
34434
34450
  "additionalProperties" : {
34435
34451
  "type" : "string"
@@ -34438,7 +34454,7 @@
34438
34454
  "type" : "object"
34439
34455
  }
34440
34456
  },
34441
- "required" : [ "errors", "installation" ],
34457
+ "required" : [ "activeInputs", "errors", "installation" ],
34442
34458
  "type" : "object"
34443
34459
  },
34444
34460
  "FleetApply" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.186",
3
+ "version": "1.0.188",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",