phenoml 0.0.19 → 0.0.20

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.
@@ -52,8 +52,8 @@ class phenomlClient {
52
52
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
53
53
  "X-Fern-Language": "JavaScript",
54
54
  "X-Fern-SDK-Name": "phenoml",
55
- "X-Fern-SDK-Version": "0.0.19",
56
- "User-Agent": "phenoml/0.0.19",
55
+ "X-Fern-SDK-Version": "0.0.20",
56
+ "User-Agent": "phenoml/0.0.20",
57
57
  "X-Fern-Runtime": core.RUNTIME.type,
58
58
  "X-Fern-Runtime-Version": core.RUNTIME.version,
59
59
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -21,6 +21,8 @@ export interface ExtractRequestConfig {
21
21
  include_rationale?: boolean;
22
22
  /** Whether to include ancestor/parent codes in the results */
23
23
  include_ancestors?: boolean;
24
+ /** Whether to include codes that failed validation in the results */
25
+ include_invalid?: boolean;
24
26
  }
25
27
  export declare namespace ExtractRequestConfig {
26
28
  /** Method for splitting input text into chunks before code extraction */
@@ -3,6 +3,8 @@ export interface ExtractedCodeResult {
3
3
  code: string;
4
4
  /** Short description of the code */
5
5
  description: string;
6
+ /** Whether the code passed validation. Always true unless include_invalid is set to true, in which case invalid codes will have this set to false. */
7
+ valid: boolean;
6
8
  /** Long description of the code */
7
9
  longDescription?: string;
8
10
  /** Explanation for why this code was extracted (if include_rationale is true) */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.19";
1
+ export declare const SDK_VERSION = "0.0.20";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.19";
4
+ exports.SDK_VERSION = "0.0.20";
@@ -16,8 +16,8 @@ export class phenomlClient {
16
16
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
17
17
  "X-Fern-Language": "JavaScript",
18
18
  "X-Fern-SDK-Name": "phenoml",
19
- "X-Fern-SDK-Version": "0.0.19",
20
- "User-Agent": "phenoml/0.0.19",
19
+ "X-Fern-SDK-Version": "0.0.20",
20
+ "User-Agent": "phenoml/0.0.20",
21
21
  "X-Fern-Runtime": core.RUNTIME.type,
22
22
  "X-Fern-Runtime-Version": core.RUNTIME.version,
23
23
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -21,6 +21,8 @@ export interface ExtractRequestConfig {
21
21
  include_rationale?: boolean;
22
22
  /** Whether to include ancestor/parent codes in the results */
23
23
  include_ancestors?: boolean;
24
+ /** Whether to include codes that failed validation in the results */
25
+ include_invalid?: boolean;
24
26
  }
25
27
  export declare namespace ExtractRequestConfig {
26
28
  /** Method for splitting input text into chunks before code extraction */
@@ -3,6 +3,8 @@ export interface ExtractedCodeResult {
3
3
  code: string;
4
4
  /** Short description of the code */
5
5
  description: string;
6
+ /** Whether the code passed validation. Always true unless include_invalid is set to true, in which case invalid codes will have this set to false. */
7
+ valid: boolean;
6
8
  /** Long description of the code */
7
9
  longDescription?: string;
8
10
  /** Explanation for why this code was extracted (if include_rationale is true) */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.19";
1
+ export declare const SDK_VERSION = "0.0.20";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.19";
1
+ export const SDK_VERSION = "0.0.20";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "private": false,
5
5
  "repository": "github:PhenoML/phenoml-ts-sdk",
6
6
  "type": "commonjs",