phenoml 1.1.0 → 2.0.0

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": "1.1.0",
56
- "User-Agent": "phenoml/1.1.0",
55
+ "X-Fern-SDK-Version": "2.0.0",
56
+ "User-Agent": "phenoml/2.0.0",
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) });
@@ -24,8 +24,7 @@ export declare class Prompts {
24
24
  * @example
25
25
  * await client.agent.prompts.create({
26
26
  * name: "Medical Assistant System Prompt",
27
- * content: "You are a helpful medical assistant specialized in FHIR data processing...",
28
- * is_active: true
27
+ * content: "You are a helpful medical assistant specialized in FHIR data processing..."
29
28
  * })
30
29
  */
31
30
  create(request: phenoml.agent.AgentPromptsCreateRequest, requestOptions?: Prompts.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentPromptsResponse>;
@@ -79,7 +78,7 @@ export declare class Prompts {
79
78
  update(id: string, request?: phenoml.agent.AgentPromptsUpdateRequest, requestOptions?: Prompts.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentPromptsResponse>;
80
79
  private __update;
81
80
  /**
82
- * Soft deletes a prompt by setting is_active to false
81
+ * Deletes a prompt
83
82
  *
84
83
  * @param {string} id - Prompt ID
85
84
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -67,8 +67,7 @@ class Prompts {
67
67
  * @example
68
68
  * await client.agent.prompts.create({
69
69
  * name: "Medical Assistant System Prompt",
70
- * content: "You are a helpful medical assistant specialized in FHIR data processing...",
71
- * is_active: true
70
+ * content: "You are a helpful medical assistant specialized in FHIR data processing..."
72
71
  * })
73
72
  */
74
73
  create(request, requestOptions) {
@@ -336,7 +335,7 @@ class Prompts {
336
335
  });
337
336
  }
338
337
  /**
339
- * Soft deletes a prompt by setting is_active to false
338
+ * Deletes a prompt
340
339
  *
341
340
  * @param {string} id - Prompt ID
342
341
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -2,8 +2,7 @@
2
2
  * @example
3
3
  * {
4
4
  * name: "Medical Assistant System Prompt",
5
- * content: "You are a helpful medical assistant specialized in FHIR data processing...",
6
- * is_active: true
5
+ * content: "You are a helpful medical assistant specialized in FHIR data processing..."
7
6
  * }
8
7
  */
9
8
  export interface AgentPromptsCreateRequest {
@@ -15,8 +14,6 @@ export interface AgentPromptsCreateRequest {
15
14
  content: string;
16
15
  /** Whether this is a default prompt */
17
16
  is_default?: boolean;
18
- /** Whether the prompt is active */
19
- is_active: boolean;
20
17
  /** Tags for categorizing the prompt */
21
18
  tags?: string[];
22
19
  }
@@ -11,8 +11,6 @@ export interface AgentPromptsUpdateRequest {
11
11
  content?: string;
12
12
  /** Whether this is a default prompt */
13
13
  is_default?: boolean;
14
- /** Whether the prompt is active */
15
- is_active?: boolean;
16
14
  /** Tags for categorizing the prompt */
17
15
  tags?: string[];
18
16
  }
@@ -9,8 +9,6 @@ export interface AgentTemplate {
9
9
  prompts?: string[];
10
10
  /** Array of MCP server tool IDs used by this agent */
11
11
  tools?: string[];
12
- /** Whether the agent is active */
13
- is_active?: boolean;
14
12
  /** Tags for categorizing the agent */
15
13
  tags?: string[];
16
14
  /** FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers */
@@ -9,8 +9,6 @@ export interface PromptTemplate {
9
9
  content?: string;
10
10
  /** Whether this is a default prompt */
11
11
  is_default?: boolean;
12
- /** Whether the prompt is active */
13
- is_active?: boolean;
14
12
  /** Tags for categorizing the prompt */
15
13
  tags?: string[];
16
14
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.0";
1
+ export declare const SDK_VERSION = "2.0.0";
@@ -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 = "1.1.0";
4
+ exports.SDK_VERSION = "2.0.0";
@@ -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": "1.1.0",
20
- "User-Agent": "phenoml/1.1.0",
19
+ "X-Fern-SDK-Version": "2.0.0",
20
+ "User-Agent": "phenoml/2.0.0",
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) });
@@ -24,8 +24,7 @@ export declare class Prompts {
24
24
  * @example
25
25
  * await client.agent.prompts.create({
26
26
  * name: "Medical Assistant System Prompt",
27
- * content: "You are a helpful medical assistant specialized in FHIR data processing...",
28
- * is_active: true
27
+ * content: "You are a helpful medical assistant specialized in FHIR data processing..."
29
28
  * })
30
29
  */
31
30
  create(request: phenoml.agent.AgentPromptsCreateRequest, requestOptions?: Prompts.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentPromptsResponse>;
@@ -79,7 +78,7 @@ export declare class Prompts {
79
78
  update(id: string, request?: phenoml.agent.AgentPromptsUpdateRequest, requestOptions?: Prompts.RequestOptions): core.HttpResponsePromise<phenoml.agent.AgentPromptsResponse>;
80
79
  private __update;
81
80
  /**
82
- * Soft deletes a prompt by setting is_active to false
81
+ * Deletes a prompt
83
82
  *
84
83
  * @param {string} id - Prompt ID
85
84
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,8 +31,7 @@ export class Prompts {
31
31
  * @example
32
32
  * await client.agent.prompts.create({
33
33
  * name: "Medical Assistant System Prompt",
34
- * content: "You are a helpful medical assistant specialized in FHIR data processing...",
35
- * is_active: true
34
+ * content: "You are a helpful medical assistant specialized in FHIR data processing..."
36
35
  * })
37
36
  */
38
37
  create(request, requestOptions) {
@@ -300,7 +299,7 @@ export class Prompts {
300
299
  });
301
300
  }
302
301
  /**
303
- * Soft deletes a prompt by setting is_active to false
302
+ * Deletes a prompt
304
303
  *
305
304
  * @param {string} id - Prompt ID
306
305
  * @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
@@ -2,8 +2,7 @@
2
2
  * @example
3
3
  * {
4
4
  * name: "Medical Assistant System Prompt",
5
- * content: "You are a helpful medical assistant specialized in FHIR data processing...",
6
- * is_active: true
5
+ * content: "You are a helpful medical assistant specialized in FHIR data processing..."
7
6
  * }
8
7
  */
9
8
  export interface AgentPromptsCreateRequest {
@@ -15,8 +14,6 @@ export interface AgentPromptsCreateRequest {
15
14
  content: string;
16
15
  /** Whether this is a default prompt */
17
16
  is_default?: boolean;
18
- /** Whether the prompt is active */
19
- is_active: boolean;
20
17
  /** Tags for categorizing the prompt */
21
18
  tags?: string[];
22
19
  }
@@ -11,8 +11,6 @@ export interface AgentPromptsUpdateRequest {
11
11
  content?: string;
12
12
  /** Whether this is a default prompt */
13
13
  is_default?: boolean;
14
- /** Whether the prompt is active */
15
- is_active?: boolean;
16
14
  /** Tags for categorizing the prompt */
17
15
  tags?: string[];
18
16
  }
@@ -9,8 +9,6 @@ export interface AgentTemplate {
9
9
  prompts?: string[];
10
10
  /** Array of MCP server tool IDs used by this agent */
11
11
  tools?: string[];
12
- /** Whether the agent is active */
13
- is_active?: boolean;
14
12
  /** Tags for categorizing the agent */
15
13
  tags?: string[];
16
14
  /** FHIR provider ID(s) - must be valid UUIDs from existing FHIR providers */
@@ -9,8 +9,6 @@ export interface PromptTemplate {
9
9
  content?: string;
10
10
  /** Whether this is a default prompt */
11
11
  is_default?: boolean;
12
- /** Whether the prompt is active */
13
- is_active?: boolean;
14
12
  /** Tags for categorizing the prompt */
15
13
  tags?: string[];
16
14
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.0";
1
+ export declare const SDK_VERSION = "2.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.1.0";
1
+ export const SDK_VERSION = "2.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "1.1.0",
3
+ "version": "2.0.0",
4
4
  "private": false,
5
5
  "repository": "github:PhenoML/phenoml-ts-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -579,8 +579,7 @@ Creates a new agent prompt
579
579
  ```typescript
580
580
  await client.agent.prompts.create({
581
581
  name: "Medical Assistant System Prompt",
582
- content: "You are a helpful medical assistant specialized in FHIR data processing...",
583
- is_active: true
582
+ content: "You are a helpful medical assistant specialized in FHIR data processing..."
584
583
  });
585
584
 
586
585
  ```
@@ -818,7 +817,7 @@ await client.agent.prompts.update("id");
818
817
  <dl>
819
818
  <dd>
820
819
 
821
- Soft deletes a prompt by setting is_active to false
820
+ Deletes a prompt
822
821
  </dd>
823
822
  </dl>
824
823
  </dd>