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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.d.ts +2 -3
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +2 -3
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/AgentPromptsCreateRequest.d.ts +1 -4
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/AgentPromptsUpdateRequest.d.ts +0 -2
- package/dist/cjs/api/resources/agent/types/AgentTemplate.d.ts +0 -2
- package/dist/cjs/api/resources/agent/types/PromptTemplate.d.ts +0 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.d.mts +2 -3
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +2 -3
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/AgentPromptsCreateRequest.d.mts +1 -4
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/AgentPromptsUpdateRequest.d.mts +0 -2
- package/dist/esm/api/resources/agent/types/AgentTemplate.d.mts +0 -2
- package/dist/esm/api/resources/agent/types/PromptTemplate.d.mts +0 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2 -3
package/dist/cjs/Client.js
CHANGED
|
@@ -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": "
|
|
56
|
-
"User-Agent": "phenoml/
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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 */
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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": "
|
|
20
|
-
"User-Agent": "phenoml/
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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 */
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "2.0.0";
|
package/package.json
CHANGED
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
|
-
|
|
820
|
+
Deletes a prompt
|
|
822
821
|
</dd>
|
|
823
822
|
</dl>
|
|
824
823
|
</dd>
|