@knowledge-stack/ksapi 1.157.0 → 1.158.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.157.0
1
+ # @knowledge-stack/ksapi@1.158.1
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -709,7 +709,7 @@ and is automatically generated by the
709
709
  [OpenAPI Generator](https://openapi-generator.tech) project:
710
710
 
711
711
  - API version: `0.1.0`
712
- - Package version: `1.157.0`
712
+ - Package version: `1.158.1`
713
713
  - Generator version: `7.21.0`
714
714
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
715
715
 
@@ -152,7 +152,7 @@ export interface DocumentVersionMetadata {
152
152
  */
153
153
  informationStatistics?: InformationStatistics | null;
154
154
  /**
155
- * True once the conversion activity successfully consumed PAGE quota
155
+ * Diagnostics only nothing reads it and nothing refunds. Kept for pre-existing rows that carry it.
156
156
  * @type {boolean}
157
157
  * @memberof DocumentVersionMetadata
158
158
  */
@@ -170,7 +170,7 @@ export interface DocumentVersionMetadata {
170
170
  */
171
171
  quotaMediaMinutes?: number;
172
172
  /**
173
- * Stable consume key (matches workflow_id); 'UNSET' for pre-Phase-2 docs so refund logic short-circuits
173
+ * Stable consume key (matches workflow_id) written for diagnostics/audit; 'UNSET' when no consume was committed
174
174
  * @type {string}
175
175
  * @memberof DocumentVersionMetadata
176
176
  */
@@ -21,6 +21,12 @@ export interface UserMessageRequest {
21
21
  * @memberof UserMessageRequest
22
22
  */
23
23
  inputText?: string;
24
+ /**
25
+ * Answer with the faster, lower-cost chat profile. Ignored when the tenant pins a chat profile and on workflow-run threads.
26
+ * @type {boolean}
27
+ * @memberof UserMessageRequest
28
+ */
29
+ fastMode?: boolean;
24
30
  }
25
31
  export declare const UserMessageRequestPropertyValidationAttributesMap: {
26
32
  [property: string]: {
@@ -27,6 +27,7 @@ export function UserMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
27
27
  }
28
28
  return {
29
29
  'inputText': json['input_text'] == null ? undefined : json['input_text'],
30
+ 'fastMode': json['fast_mode'] == null ? undefined : json['fast_mode'],
30
31
  };
31
32
  }
32
33
  export function UserMessageRequestToJSON(json) {
@@ -38,5 +39,6 @@ export function UserMessageRequestToJSONTyped(value, ignoreDiscriminator = false
38
39
  }
39
40
  return {
40
41
  'input_text': value['inputText'],
42
+ 'fast_mode': value['fastMode'],
41
43
  };
42
44
  }
@@ -152,7 +152,7 @@ export interface DocumentVersionMetadata {
152
152
  */
153
153
  informationStatistics?: InformationStatistics | null;
154
154
  /**
155
- * True once the conversion activity successfully consumed PAGE quota
155
+ * Diagnostics only nothing reads it and nothing refunds. Kept for pre-existing rows that carry it.
156
156
  * @type {boolean}
157
157
  * @memberof DocumentVersionMetadata
158
158
  */
@@ -170,7 +170,7 @@ export interface DocumentVersionMetadata {
170
170
  */
171
171
  quotaMediaMinutes?: number;
172
172
  /**
173
- * Stable consume key (matches workflow_id); 'UNSET' for pre-Phase-2 docs so refund logic short-circuits
173
+ * Stable consume key (matches workflow_id) written for diagnostics/audit; 'UNSET' when no consume was committed
174
174
  * @type {string}
175
175
  * @memberof DocumentVersionMetadata
176
176
  */
@@ -21,6 +21,12 @@ export interface UserMessageRequest {
21
21
  * @memberof UserMessageRequest
22
22
  */
23
23
  inputText?: string;
24
+ /**
25
+ * Answer with the faster, lower-cost chat profile. Ignored when the tenant pins a chat profile and on workflow-run threads.
26
+ * @type {boolean}
27
+ * @memberof UserMessageRequest
28
+ */
29
+ fastMode?: boolean;
24
30
  }
25
31
  export declare const UserMessageRequestPropertyValidationAttributesMap: {
26
32
  [property: string]: {
@@ -35,6 +35,7 @@ function UserMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
35
35
  }
36
36
  return {
37
37
  'inputText': json['input_text'] == null ? undefined : json['input_text'],
38
+ 'fastMode': json['fast_mode'] == null ? undefined : json['fast_mode'],
38
39
  };
39
40
  }
40
41
  function UserMessageRequestToJSON(json) {
@@ -46,5 +47,6 @@ function UserMessageRequestToJSONTyped(value, ignoreDiscriminator = false) {
46
47
  }
47
48
  return {
48
49
  'input_text': value['inputText'],
50
+ 'fast_mode': value['fastMode'],
49
51
  };
50
52
  }
@@ -7,6 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `inputText` | string
10
+ `fastMode` | boolean
10
11
 
11
12
  ## Example
12
13
 
@@ -16,6 +17,7 @@ import type { UserMessageRequest } from '@knowledge-stack/ksapi'
16
17
  // TODO: Update the object below with actual values
17
18
  const example = {
18
19
  "inputText": null,
20
+ "fastMode": null,
19
21
  } satisfies UserMessageRequest
20
22
 
21
23
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.157.0",
3
+ "version": "1.158.1",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -171,7 +171,7 @@ export interface DocumentVersionMetadata {
171
171
  */
172
172
  informationStatistics?: InformationStatistics | null;
173
173
  /**
174
- * True once the conversion activity successfully consumed PAGE quota
174
+ * Diagnostics only nothing reads it and nothing refunds. Kept for pre-existing rows that carry it.
175
175
  * @type {boolean}
176
176
  * @memberof DocumentVersionMetadata
177
177
  */
@@ -189,7 +189,7 @@ export interface DocumentVersionMetadata {
189
189
  */
190
190
  quotaMediaMinutes?: number;
191
191
  /**
192
- * Stable consume key (matches workflow_id); 'UNSET' for pre-Phase-2 docs so refund logic short-circuits
192
+ * Stable consume key (matches workflow_id) written for diagnostics/audit; 'UNSET' when no consume was committed
193
193
  * @type {string}
194
194
  * @memberof DocumentVersionMetadata
195
195
  */
@@ -25,6 +25,12 @@ export interface UserMessageRequest {
25
25
  * @memberof UserMessageRequest
26
26
  */
27
27
  inputText?: string;
28
+ /**
29
+ * Answer with the faster, lower-cost chat profile. Ignored when the tenant pins a chat profile and on workflow-run threads.
30
+ * @type {boolean}
31
+ * @memberof UserMessageRequest
32
+ */
33
+ fastMode?: boolean;
28
34
  }
29
35
  export const UserMessageRequestPropertyValidationAttributesMap: {
30
36
  [property: string]: {
@@ -62,6 +68,7 @@ export function UserMessageRequestFromJSONTyped(json: any, ignoreDiscriminator:
62
68
  return {
63
69
 
64
70
  'inputText': json['input_text'] == null ? undefined : json['input_text'],
71
+ 'fastMode': json['fast_mode'] == null ? undefined : json['fast_mode'],
65
72
  };
66
73
  }
67
74
 
@@ -77,6 +84,7 @@ export function UserMessageRequestToJSONTyped(value?: UserMessageRequest | null,
77
84
  return {
78
85
 
79
86
  'input_text': value['inputText'],
87
+ 'fast_mode': value['fastMode'],
80
88
  };
81
89
  }
82
90