Skip to content

Commit 5d601f9

Browse files
refactor: remove user_id field from multiple type interfaces
Remove the user_id field from various template and response interfaces across the codebase to streamline the API structure. This affects ChatMessageTemplate, ChatSessionTemplate, FhirProviderTemplate, SummaryTemplate, McpServerResponse, McpServerToolResponse, WorkflowDefinition, and WorkflowResponse interfaces. Key changes: - Remove user_id field from ChatMessageTemplate interface - Remove user_id field from ChatSessionTemplate interface - Remove user_id field from FhirProviderTemplate interface - Remove user_id field from SummaryTemplate interface - Remove user_id field from McpServerResponse.Data interface - Remove user_id field from McpServerToolResponse.Data interface - Remove user_id field from WorkflowDefinition interface - Remove user_id field from WorkflowResponse interface - Update corresponding test fixtures to match new interface structure 🌿 Generated with Fern
1 parent 669e17c commit 5d601f9

File tree

18 files changed

+19
-71
lines changed

18 files changed

+19
-71
lines changed

changelog.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 6.0.0 - 2026-02-09
2+
* refactor: remove user_id field from multiple type interfaces
3+
* Remove the user_id field from various template and response interfaces across the codebase to streamline the API structure. This affects ChatMessageTemplate, ChatSessionTemplate, FhirProviderTemplate, SummaryTemplate, McpServerResponse, McpServerToolResponse, WorkflowDefinition, and WorkflowResponse interfaces.
4+
* Key changes:
5+
* Remove user_id field from ChatMessageTemplate interface
6+
* Remove user_id field from ChatSessionTemplate interface
7+
* Remove user_id field from FhirProviderTemplate interface
8+
* Remove user_id field from SummaryTemplate interface
9+
* Remove user_id field from McpServerResponse.Data interface
10+
* Remove user_id field from McpServerToolResponse.Data interface
11+
* Remove user_id field from WorkflowDefinition interface
12+
* Remove user_id field from WorkflowResponse interface
13+
* Update corresponding test fixtures to match new interface structure
14+
* 🌿 Generated with Fern
15+
116
## 5.3.0 - 2026-02-09
217
* feat: add custom code system export endpoint
318
* Add new exportCustomCodeSystem method to the construe client that allows exporting custom (non-builtin) code systems as JSON files. This feature enables users to backup and transfer code systems between instances.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phenoml",
3-
"version": "5.3.0",
3+
"version": "6.0.0",
44
"private": false,
55
"repository": "github:PhenoML/phenoml-ts-sdk",
66
"type": "commonjs",

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class phenomlClient {
4040
{
4141
"X-Fern-Language": "JavaScript",
4242
"X-Fern-SDK-Name": "phenoml",
43-
"X-Fern-SDK-Version": "5.3.0",
44-
"User-Agent": "phenoml/5.3.0",
43+
"X-Fern-SDK-Version": "6.0.0",
44+
"User-Agent": "phenoml/6.0.0",
4545
"X-Fern-Runtime": core.RUNTIME.type,
4646
"X-Fern-Runtime-Version": core.RUNTIME.version,
4747
},

src/api/resources/agent/types/ChatMessageTemplate.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export interface ChatMessageTemplate {
1919
created?: string;
2020
/** Message updated time */
2121
updated?: string;
22-
/** User ID */
23-
user_id?: string;
2422
/** Function name */
2523
function_name?: string;
2624
/** Function arguments */

src/api/resources/agent/types/ChatSessionTemplate.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
export interface ChatSessionTemplate {
44
/** Chat session ID */
55
id?: string;
6-
/** User ID */
7-
user_id?: string;
86
/** Chat session ID */
97
session_id?: string;
108
/** Chat session status */

src/api/resources/fhirProvider/types/FhirProviderTemplate.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import type * as phenoml from "../../../index.js";
55
export interface FhirProviderTemplate {
66
/** Unique identifier for the FHIR provider */
77
id?: string;
8-
/** ID of the user who owns this FHIR provider */
9-
user_id?: string;
108
/** Display name for the FHIR provider */
119
name?: string;
1210
/** Optional description of the FHIR provider */

src/api/resources/summary/types/SummaryTemplate.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
export interface SummaryTemplate {
44
id?: string;
5-
user_id?: string;
65
name?: string;
76
description?: string;
87
/** Template with {{resource.field}} placeholders */

src/api/resources/tools/types/McpServerResponse.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ export namespace McpServerResponse {
1616
export interface Data {
1717
/** ID of the MCP server */
1818
id?: string;
19-
/** ID of the user who created the MCP server */
20-
user_id?: string;
2119
/** Name of the MCP server */
2220
name?: string;
2321
/** Description of the MCP server */

src/api/resources/tools/types/McpServerToolResponse.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ export namespace McpServerToolResponse {
1616
export interface Data {
1717
/** ID of the MCP server tool */
1818
id?: string;
19-
/** ID of the user who created the MCP server tool */
20-
user_id?: string;
2119
/** Name of the MCP server tool */
2220
name?: string;
2321
/** Description of the MCP server tool */

src/api/resources/workflows/types/WorkflowDefinition.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import type * as phenoml from "../../../index.js";
55
export interface WorkflowDefinition {
66
/** Unique identifier for the workflow */
77
id?: string;
8-
/** ID of the user who created the workflow */
9-
user_id?: string;
108
/** Human-readable name for the workflow */
119
name?: string;
1210
/** Natural language instructions that define the workflow logic */

0 commit comments

Comments
 (0)