phenoml 0.0.6 → 0.0.7
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/index.d.ts +0 -1
- package/dist/cjs/api/index.js +0 -1
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +117 -15
- package/dist/cjs/api/resources/workflows/client/Client.js +392 -45
- package/dist/cjs/api/resources/workflows/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/client/index.js +15 -0
- package/dist/cjs/api/resources/workflows/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/index.js +0 -1
- package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/workflows/types/index.js +3 -0
- 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/index.d.mts +0 -1
- package/dist/esm/api/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/client/Client.d.mts +117 -15
- package/dist/esm/api/resources/workflows/client/Client.mjs +392 -45
- package/dist/esm/api/resources/workflows/client/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/client/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/index.d.mts +3 -0
- package/dist/esm/api/resources/workflows/types/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +12 -506
- package/dist/cjs/api/resources/workflows/resources/index.d.ts +0 -4
- package/dist/cjs/api/resources/workflows/resources/index.js +0 -43
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.d.ts +0 -50
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.js +0 -268
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/mcpServer/index.d.ts +0 -2
- package/dist/cjs/api/resources/workflows/resources/mcpServer/index.js +0 -18
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/index.js +0 -37
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.ts +0 -49
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.js +0 -265
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/index.js +0 -2
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/index.js +0 -17
- package/dist/cjs/api/resources/workflows/resources/workflows/client/Client.d.ts +0 -145
- package/dist/cjs/api/resources/workflows/resources/workflows/client/Client.js +0 -569
- package/dist/cjs/api/resources/workflows/resources/workflows/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/workflows/resources/workflows/client/index.js +0 -17
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/workflows/resources/workflows/index.d.ts +0 -2
- package/dist/cjs/api/resources/workflows/resources/workflows/index.js +0 -18
- package/dist/cjs/api/resources/workflows/resources/workflows/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/workflows/resources/workflows/types/index.js +0 -19
- package/dist/cjs/api/types/CohortResponse.d.ts +0 -1
- package/dist/cjs/api/types/CohortResponse.js +0 -3
- package/dist/cjs/api/types/Lang2FhirAndCreateResponse.d.ts +0 -1
- package/dist/cjs/api/types/Lang2FhirAndCreateResponse.js +0 -3
- package/dist/cjs/api/types/Lang2FhirAndSearchResponse.d.ts +0 -1
- package/dist/cjs/api/types/Lang2FhirAndSearchResponse.js +0 -3
- package/dist/cjs/api/types/McpServerResponse.d.ts +0 -1
- package/dist/cjs/api/types/McpServerResponse.js +0 -3
- package/dist/cjs/api/types/McpServerToolCallResponse.d.ts +0 -1
- package/dist/cjs/api/types/McpServerToolCallResponse.js +0 -3
- package/dist/cjs/api/types/McpServerToolResponse.d.ts +0 -1
- package/dist/cjs/api/types/McpServerToolResponse.js +0 -3
- package/dist/cjs/api/types/SearchConcept.d.ts +0 -1
- package/dist/cjs/api/types/SearchConcept.js +0 -3
- package/dist/cjs/api/types/index.d.ts +0 -7
- package/dist/cjs/api/types/index.js +0 -23
- package/dist/esm/api/resources/workflows/resources/index.d.mts +0 -4
- package/dist/esm/api/resources/workflows/resources/index.mjs +0 -4
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.d.mts +0 -50
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.mjs +0 -231
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/index.d.mts +0 -2
- package/dist/esm/api/resources/workflows/resources/mcpServer/index.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.mts +0 -49
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.mjs +0 -228
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/resources/workflows/client/Client.d.mts +0 -145
- package/dist/esm/api/resources/workflows/resources/workflows/client/Client.mjs +0 -532
- package/dist/esm/api/resources/workflows/resources/workflows/client/index.d.mts +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/client/index.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/index.d.mts +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/index.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsGetResponse.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsUpdateResponse.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/types/index.d.mts +0 -3
- package/dist/esm/api/resources/workflows/resources/workflows/types/index.mjs +0 -3
- package/dist/esm/api/types/CohortResponse.d.mts +0 -1
- package/dist/esm/api/types/CohortResponse.mjs +0 -2
- package/dist/esm/api/types/Lang2FhirAndCreateResponse.d.mts +0 -1
- package/dist/esm/api/types/Lang2FhirAndCreateResponse.mjs +0 -2
- package/dist/esm/api/types/Lang2FhirAndSearchResponse.d.mts +0 -1
- package/dist/esm/api/types/Lang2FhirAndSearchResponse.mjs +0 -2
- package/dist/esm/api/types/McpServerResponse.d.mts +0 -1
- package/dist/esm/api/types/McpServerResponse.mjs +0 -2
- package/dist/esm/api/types/McpServerToolCallResponse.d.mts +0 -1
- package/dist/esm/api/types/McpServerToolCallResponse.mjs +0 -2
- package/dist/esm/api/types/McpServerToolResponse.d.mts +0 -1
- package/dist/esm/api/types/McpServerToolResponse.mjs +0 -2
- package/dist/esm/api/types/SearchConcept.d.mts +0 -1
- package/dist/esm/api/types/SearchConcept.mjs +0 -2
- package/dist/esm/api/types/index.d.mts +0 -7
- package/dist/esm/api/types/index.mjs +0 -7
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/mcpServer/client → client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.js +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.mjs +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.mjs +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.mjs +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.mjs +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.mjs +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.mjs +0 -0
package/reference.md
CHANGED
|
@@ -3439,129 +3439,7 @@ await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
|
|
|
3439
3439
|
|
|
3440
3440
|
## Workflows
|
|
3441
3441
|
|
|
3442
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">
|
|
3443
|
-
<dl>
|
|
3444
|
-
<dd>
|
|
3445
|
-
|
|
3446
|
-
#### 🔌 Usage
|
|
3447
|
-
|
|
3448
|
-
<dl>
|
|
3449
|
-
<dd>
|
|
3450
|
-
|
|
3451
|
-
<dl>
|
|
3452
|
-
<dd>
|
|
3453
|
-
|
|
3454
|
-
```typescript
|
|
3455
|
-
await client.workflows.createFhirResource();
|
|
3456
|
-
```
|
|
3457
|
-
|
|
3458
|
-
</dd>
|
|
3459
|
-
</dl>
|
|
3460
|
-
</dd>
|
|
3461
|
-
</dl>
|
|
3462
|
-
|
|
3463
|
-
#### ⚙️ Parameters
|
|
3464
|
-
|
|
3465
|
-
<dl>
|
|
3466
|
-
<dd>
|
|
3467
|
-
|
|
3468
|
-
<dl>
|
|
3469
|
-
<dd>
|
|
3470
|
-
|
|
3471
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3472
|
-
|
|
3473
|
-
</dd>
|
|
3474
|
-
</dl>
|
|
3475
|
-
</dd>
|
|
3476
|
-
</dl>
|
|
3477
|
-
|
|
3478
|
-
</dd>
|
|
3479
|
-
</dl>
|
|
3480
|
-
</details>
|
|
3481
|
-
|
|
3482
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">searchFhirResources</a>() -> void</code></summary>
|
|
3483
|
-
<dl>
|
|
3484
|
-
<dd>
|
|
3485
|
-
|
|
3486
|
-
#### 🔌 Usage
|
|
3487
|
-
|
|
3488
|
-
<dl>
|
|
3489
|
-
<dd>
|
|
3490
|
-
|
|
3491
|
-
<dl>
|
|
3492
|
-
<dd>
|
|
3493
|
-
|
|
3494
|
-
```typescript
|
|
3495
|
-
await client.workflows.searchFhirResources();
|
|
3496
|
-
```
|
|
3497
|
-
|
|
3498
|
-
</dd>
|
|
3499
|
-
</dl>
|
|
3500
|
-
</dd>
|
|
3501
|
-
</dl>
|
|
3502
|
-
|
|
3503
|
-
#### ⚙️ Parameters
|
|
3504
|
-
|
|
3505
|
-
<dl>
|
|
3506
|
-
<dd>
|
|
3507
|
-
|
|
3508
|
-
<dl>
|
|
3509
|
-
<dd>
|
|
3510
|
-
|
|
3511
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3512
|
-
|
|
3513
|
-
</dd>
|
|
3514
|
-
</dl>
|
|
3515
|
-
</dd>
|
|
3516
|
-
</dl>
|
|
3517
|
-
|
|
3518
|
-
</dd>
|
|
3519
|
-
</dl>
|
|
3520
|
-
</details>
|
|
3521
|
-
|
|
3522
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">analyzeCohort</a>() -> void</code></summary>
|
|
3523
|
-
<dl>
|
|
3524
|
-
<dd>
|
|
3525
|
-
|
|
3526
|
-
#### 🔌 Usage
|
|
3527
|
-
|
|
3528
|
-
<dl>
|
|
3529
|
-
<dd>
|
|
3530
|
-
|
|
3531
|
-
<dl>
|
|
3532
|
-
<dd>
|
|
3533
|
-
|
|
3534
|
-
```typescript
|
|
3535
|
-
await client.workflows.analyzeCohort();
|
|
3536
|
-
```
|
|
3537
|
-
|
|
3538
|
-
</dd>
|
|
3539
|
-
</dl>
|
|
3540
|
-
</dd>
|
|
3541
|
-
</dl>
|
|
3542
|
-
|
|
3543
|
-
#### ⚙️ Parameters
|
|
3544
|
-
|
|
3545
|
-
<dl>
|
|
3546
|
-
<dd>
|
|
3547
|
-
|
|
3548
|
-
<dl>
|
|
3549
|
-
<dd>
|
|
3550
|
-
|
|
3551
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3552
|
-
|
|
3553
|
-
</dd>
|
|
3554
|
-
</dl>
|
|
3555
|
-
</dd>
|
|
3556
|
-
</dl>
|
|
3557
|
-
|
|
3558
|
-
</dd>
|
|
3559
|
-
</dl>
|
|
3560
|
-
</details>
|
|
3561
|
-
|
|
3562
|
-
## Workflows Workflows
|
|
3563
|
-
|
|
3564
|
-
<details><summary><code>client.workflows.workflows.<a href="/src/api/resources/workflows/resources/workflows/client/Client.ts">list</a>({ ...params }) -> phenoml.ListWorkflowsResponse</code></summary>
|
|
3442
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">list</a>({ ...params }) -> phenoml.ListWorkflowsResponse</code></summary>
|
|
3565
3443
|
<dl>
|
|
3566
3444
|
<dd>
|
|
3567
3445
|
|
|
@@ -3589,7 +3467,7 @@ Retrieves all workflow definitions for the authenticated user
|
|
|
3589
3467
|
<dd>
|
|
3590
3468
|
|
|
3591
3469
|
```typescript
|
|
3592
|
-
await client.workflows.
|
|
3470
|
+
await client.workflows.list({
|
|
3593
3471
|
verbose: true,
|
|
3594
3472
|
});
|
|
3595
3473
|
```
|
|
@@ -3626,7 +3504,7 @@ await client.workflows.workflows.list({
|
|
|
3626
3504
|
</dl>
|
|
3627
3505
|
</details>
|
|
3628
3506
|
|
|
3629
|
-
<details><summary><code>client.workflows
|
|
3507
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">create</a>({ ...params }) -> phenoml.CreateWorkflowResponse</code></summary>
|
|
3630
3508
|
<dl>
|
|
3631
3509
|
<dd>
|
|
3632
3510
|
|
|
@@ -3654,7 +3532,7 @@ Creates a new workflow definition with graph generation from workflow instructio
|
|
|
3654
3532
|
<dd>
|
|
3655
3533
|
|
|
3656
3534
|
```typescript
|
|
3657
|
-
await client.workflows.
|
|
3535
|
+
await client.workflows.create({
|
|
3658
3536
|
verbose: true,
|
|
3659
3537
|
name: "Patient Data Mapping Workflow",
|
|
3660
3538
|
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
@@ -3699,7 +3577,7 @@ await client.workflows.workflows.create({
|
|
|
3699
3577
|
</dl>
|
|
3700
3578
|
</details>
|
|
3701
3579
|
|
|
3702
|
-
<details><summary><code>client.workflows
|
|
3580
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">get</a>(id, { ...params }) -> phenoml.WorkflowsGetResponse</code></summary>
|
|
3703
3581
|
<dl>
|
|
3704
3582
|
<dd>
|
|
3705
3583
|
|
|
@@ -3727,7 +3605,7 @@ Retrieves a workflow definition by its ID
|
|
|
3727
3605
|
<dd>
|
|
3728
3606
|
|
|
3729
3607
|
```typescript
|
|
3730
|
-
await client.workflows.
|
|
3608
|
+
await client.workflows.get("id", {
|
|
3731
3609
|
verbose: true,
|
|
3732
3610
|
});
|
|
3733
3611
|
```
|
|
@@ -3772,7 +3650,7 @@ await client.workflows.workflows.get("id", {
|
|
|
3772
3650
|
</dl>
|
|
3773
3651
|
</details>
|
|
3774
3652
|
|
|
3775
|
-
<details><summary><code>client.workflows
|
|
3653
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">update</a>(id, { ...params }) -> phenoml.WorkflowsUpdateResponse</code></summary>
|
|
3776
3654
|
<dl>
|
|
3777
3655
|
<dd>
|
|
3778
3656
|
|
|
@@ -3800,7 +3678,7 @@ Updates an existing workflow definition
|
|
|
3800
3678
|
<dd>
|
|
3801
3679
|
|
|
3802
3680
|
```typescript
|
|
3803
|
-
await client.workflows.
|
|
3681
|
+
await client.workflows.update("id", {
|
|
3804
3682
|
verbose: true,
|
|
3805
3683
|
name: "Updated Patient Data Mapping Workflow",
|
|
3806
3684
|
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
@@ -3853,7 +3731,7 @@ await client.workflows.workflows.update("id", {
|
|
|
3853
3731
|
</dl>
|
|
3854
3732
|
</details>
|
|
3855
3733
|
|
|
3856
|
-
<details><summary><code>client.workflows
|
|
3734
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">delete</a>(id) -> phenoml.WorkflowsDeleteResponse</code></summary>
|
|
3857
3735
|
<dl>
|
|
3858
3736
|
<dd>
|
|
3859
3737
|
|
|
@@ -3881,7 +3759,7 @@ Deletes a workflow definition by its ID
|
|
|
3881
3759
|
<dd>
|
|
3882
3760
|
|
|
3883
3761
|
```typescript
|
|
3884
|
-
await client.workflows.
|
|
3762
|
+
await client.workflows.delete("id");
|
|
3885
3763
|
```
|
|
3886
3764
|
|
|
3887
3765
|
</dd>
|
|
@@ -3916,7 +3794,7 @@ await client.workflows.workflows.delete("id");
|
|
|
3916
3794
|
</dl>
|
|
3917
3795
|
</details>
|
|
3918
3796
|
|
|
3919
|
-
<details><summary><code>client.workflows
|
|
3797
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">execute</a>(id, { ...params }) -> phenoml.ExecuteWorkflowResponse</code></summary>
|
|
3920
3798
|
<dl>
|
|
3921
3799
|
<dd>
|
|
3922
3800
|
|
|
@@ -3944,7 +3822,7 @@ Executes a workflow with provided input data and returns results
|
|
|
3944
3822
|
<dd>
|
|
3945
3823
|
|
|
3946
3824
|
```typescript
|
|
3947
|
-
await client.workflows.
|
|
3825
|
+
await client.workflows.execute("id", {
|
|
3948
3826
|
input_data: {
|
|
3949
3827
|
patient_last_name: "Johnson",
|
|
3950
3828
|
patient_first_name: "Mary",
|
|
@@ -3993,375 +3871,3 @@ await client.workflows.workflows.execute("id", {
|
|
|
3993
3871
|
</dd>
|
|
3994
3872
|
</dl>
|
|
3995
3873
|
</details>
|
|
3996
|
-
|
|
3997
|
-
## Workflows McpServer
|
|
3998
|
-
|
|
3999
|
-
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">create</a>() -> void</code></summary>
|
|
4000
|
-
<dl>
|
|
4001
|
-
<dd>
|
|
4002
|
-
|
|
4003
|
-
#### 🔌 Usage
|
|
4004
|
-
|
|
4005
|
-
<dl>
|
|
4006
|
-
<dd>
|
|
4007
|
-
|
|
4008
|
-
<dl>
|
|
4009
|
-
<dd>
|
|
4010
|
-
|
|
4011
|
-
```typescript
|
|
4012
|
-
await client.workflows.mcpServer.create();
|
|
4013
|
-
```
|
|
4014
|
-
|
|
4015
|
-
</dd>
|
|
4016
|
-
</dl>
|
|
4017
|
-
</dd>
|
|
4018
|
-
</dl>
|
|
4019
|
-
|
|
4020
|
-
#### ⚙️ Parameters
|
|
4021
|
-
|
|
4022
|
-
<dl>
|
|
4023
|
-
<dd>
|
|
4024
|
-
|
|
4025
|
-
<dl>
|
|
4026
|
-
<dd>
|
|
4027
|
-
|
|
4028
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
4029
|
-
|
|
4030
|
-
</dd>
|
|
4031
|
-
</dl>
|
|
4032
|
-
</dd>
|
|
4033
|
-
</dl>
|
|
4034
|
-
|
|
4035
|
-
</dd>
|
|
4036
|
-
</dl>
|
|
4037
|
-
</details>
|
|
4038
|
-
|
|
4039
|
-
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">list</a>() -> void</code></summary>
|
|
4040
|
-
<dl>
|
|
4041
|
-
<dd>
|
|
4042
|
-
|
|
4043
|
-
#### 🔌 Usage
|
|
4044
|
-
|
|
4045
|
-
<dl>
|
|
4046
|
-
<dd>
|
|
4047
|
-
|
|
4048
|
-
<dl>
|
|
4049
|
-
<dd>
|
|
4050
|
-
|
|
4051
|
-
```typescript
|
|
4052
|
-
await client.workflows.mcpServer.list();
|
|
4053
|
-
```
|
|
4054
|
-
|
|
4055
|
-
</dd>
|
|
4056
|
-
</dl>
|
|
4057
|
-
</dd>
|
|
4058
|
-
</dl>
|
|
4059
|
-
|
|
4060
|
-
#### ⚙️ Parameters
|
|
4061
|
-
|
|
4062
|
-
<dl>
|
|
4063
|
-
<dd>
|
|
4064
|
-
|
|
4065
|
-
<dl>
|
|
4066
|
-
<dd>
|
|
4067
|
-
|
|
4068
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
4069
|
-
|
|
4070
|
-
</dd>
|
|
4071
|
-
</dl>
|
|
4072
|
-
</dd>
|
|
4073
|
-
</dl>
|
|
4074
|
-
|
|
4075
|
-
</dd>
|
|
4076
|
-
</dl>
|
|
4077
|
-
</details>
|
|
4078
|
-
|
|
4079
|
-
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">get</a>(mcpServerId) -> void</code></summary>
|
|
4080
|
-
<dl>
|
|
4081
|
-
<dd>
|
|
4082
|
-
|
|
4083
|
-
#### 🔌 Usage
|
|
4084
|
-
|
|
4085
|
-
<dl>
|
|
4086
|
-
<dd>
|
|
4087
|
-
|
|
4088
|
-
<dl>
|
|
4089
|
-
<dd>
|
|
4090
|
-
|
|
4091
|
-
```typescript
|
|
4092
|
-
await client.workflows.mcpServer.get("mcp_server_id");
|
|
4093
|
-
```
|
|
4094
|
-
|
|
4095
|
-
</dd>
|
|
4096
|
-
</dl>
|
|
4097
|
-
</dd>
|
|
4098
|
-
</dl>
|
|
4099
|
-
|
|
4100
|
-
#### ⚙️ Parameters
|
|
4101
|
-
|
|
4102
|
-
<dl>
|
|
4103
|
-
<dd>
|
|
4104
|
-
|
|
4105
|
-
<dl>
|
|
4106
|
-
<dd>
|
|
4107
|
-
|
|
4108
|
-
**mcpServerId:** `string`
|
|
4109
|
-
|
|
4110
|
-
</dd>
|
|
4111
|
-
</dl>
|
|
4112
|
-
|
|
4113
|
-
<dl>
|
|
4114
|
-
<dd>
|
|
4115
|
-
|
|
4116
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
4117
|
-
|
|
4118
|
-
</dd>
|
|
4119
|
-
</dl>
|
|
4120
|
-
</dd>
|
|
4121
|
-
</dl>
|
|
4122
|
-
|
|
4123
|
-
</dd>
|
|
4124
|
-
</dl>
|
|
4125
|
-
</details>
|
|
4126
|
-
|
|
4127
|
-
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">delete</a>(mcpServerId) -> void</code></summary>
|
|
4128
|
-
<dl>
|
|
4129
|
-
<dd>
|
|
4130
|
-
|
|
4131
|
-
#### 🔌 Usage
|
|
4132
|
-
|
|
4133
|
-
<dl>
|
|
4134
|
-
<dd>
|
|
4135
|
-
|
|
4136
|
-
<dl>
|
|
4137
|
-
<dd>
|
|
4138
|
-
|
|
4139
|
-
```typescript
|
|
4140
|
-
await client.workflows.mcpServer.delete("mcp_server_id");
|
|
4141
|
-
```
|
|
4142
|
-
|
|
4143
|
-
</dd>
|
|
4144
|
-
</dl>
|
|
4145
|
-
</dd>
|
|
4146
|
-
</dl>
|
|
4147
|
-
|
|
4148
|
-
#### ⚙️ Parameters
|
|
4149
|
-
|
|
4150
|
-
<dl>
|
|
4151
|
-
<dd>
|
|
4152
|
-
|
|
4153
|
-
<dl>
|
|
4154
|
-
<dd>
|
|
4155
|
-
|
|
4156
|
-
**mcpServerId:** `string`
|
|
4157
|
-
|
|
4158
|
-
</dd>
|
|
4159
|
-
</dl>
|
|
4160
|
-
|
|
4161
|
-
<dl>
|
|
4162
|
-
<dd>
|
|
4163
|
-
|
|
4164
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
4165
|
-
|
|
4166
|
-
</dd>
|
|
4167
|
-
</dl>
|
|
4168
|
-
</dd>
|
|
4169
|
-
</dl>
|
|
4170
|
-
|
|
4171
|
-
</dd>
|
|
4172
|
-
</dl>
|
|
4173
|
-
</details>
|
|
4174
|
-
|
|
4175
|
-
## Workflows McpServer Tools
|
|
4176
|
-
|
|
4177
|
-
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">list</a>(mcpServerId) -> void</code></summary>
|
|
4178
|
-
<dl>
|
|
4179
|
-
<dd>
|
|
4180
|
-
|
|
4181
|
-
#### 🔌 Usage
|
|
4182
|
-
|
|
4183
|
-
<dl>
|
|
4184
|
-
<dd>
|
|
4185
|
-
|
|
4186
|
-
<dl>
|
|
4187
|
-
<dd>
|
|
4188
|
-
|
|
4189
|
-
```typescript
|
|
4190
|
-
await client.workflows.mcpServer.tools.list("mcp_server_id");
|
|
4191
|
-
```
|
|
4192
|
-
|
|
4193
|
-
</dd>
|
|
4194
|
-
</dl>
|
|
4195
|
-
</dd>
|
|
4196
|
-
</dl>
|
|
4197
|
-
|
|
4198
|
-
#### ⚙️ Parameters
|
|
4199
|
-
|
|
4200
|
-
<dl>
|
|
4201
|
-
<dd>
|
|
4202
|
-
|
|
4203
|
-
<dl>
|
|
4204
|
-
<dd>
|
|
4205
|
-
|
|
4206
|
-
**mcpServerId:** `string`
|
|
4207
|
-
|
|
4208
|
-
</dd>
|
|
4209
|
-
</dl>
|
|
4210
|
-
|
|
4211
|
-
<dl>
|
|
4212
|
-
<dd>
|
|
4213
|
-
|
|
4214
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
4215
|
-
|
|
4216
|
-
</dd>
|
|
4217
|
-
</dl>
|
|
4218
|
-
</dd>
|
|
4219
|
-
</dl>
|
|
4220
|
-
|
|
4221
|
-
</dd>
|
|
4222
|
-
</dl>
|
|
4223
|
-
</details>
|
|
4224
|
-
|
|
4225
|
-
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">get</a>(mcpServerToolId) -> void</code></summary>
|
|
4226
|
-
<dl>
|
|
4227
|
-
<dd>
|
|
4228
|
-
|
|
4229
|
-
#### 🔌 Usage
|
|
4230
|
-
|
|
4231
|
-
<dl>
|
|
4232
|
-
<dd>
|
|
4233
|
-
|
|
4234
|
-
<dl>
|
|
4235
|
-
<dd>
|
|
4236
|
-
|
|
4237
|
-
```typescript
|
|
4238
|
-
await client.workflows.mcpServer.tools.get("mcp_server_tool_id");
|
|
4239
|
-
```
|
|
4240
|
-
|
|
4241
|
-
</dd>
|
|
4242
|
-
</dl>
|
|
4243
|
-
</dd>
|
|
4244
|
-
</dl>
|
|
4245
|
-
|
|
4246
|
-
#### ⚙️ Parameters
|
|
4247
|
-
|
|
4248
|
-
<dl>
|
|
4249
|
-
<dd>
|
|
4250
|
-
|
|
4251
|
-
<dl>
|
|
4252
|
-
<dd>
|
|
4253
|
-
|
|
4254
|
-
**mcpServerToolId:** `string`
|
|
4255
|
-
|
|
4256
|
-
</dd>
|
|
4257
|
-
</dl>
|
|
4258
|
-
|
|
4259
|
-
<dl>
|
|
4260
|
-
<dd>
|
|
4261
|
-
|
|
4262
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
4263
|
-
|
|
4264
|
-
</dd>
|
|
4265
|
-
</dl>
|
|
4266
|
-
</dd>
|
|
4267
|
-
</dl>
|
|
4268
|
-
|
|
4269
|
-
</dd>
|
|
4270
|
-
</dl>
|
|
4271
|
-
</details>
|
|
4272
|
-
|
|
4273
|
-
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">delete</a>(mcpServerToolId) -> void</code></summary>
|
|
4274
|
-
<dl>
|
|
4275
|
-
<dd>
|
|
4276
|
-
|
|
4277
|
-
#### 🔌 Usage
|
|
4278
|
-
|
|
4279
|
-
<dl>
|
|
4280
|
-
<dd>
|
|
4281
|
-
|
|
4282
|
-
<dl>
|
|
4283
|
-
<dd>
|
|
4284
|
-
|
|
4285
|
-
```typescript
|
|
4286
|
-
await client.workflows.mcpServer.tools.delete("mcp_server_tool_id");
|
|
4287
|
-
```
|
|
4288
|
-
|
|
4289
|
-
</dd>
|
|
4290
|
-
</dl>
|
|
4291
|
-
</dd>
|
|
4292
|
-
</dl>
|
|
4293
|
-
|
|
4294
|
-
#### ⚙️ Parameters
|
|
4295
|
-
|
|
4296
|
-
<dl>
|
|
4297
|
-
<dd>
|
|
4298
|
-
|
|
4299
|
-
<dl>
|
|
4300
|
-
<dd>
|
|
4301
|
-
|
|
4302
|
-
**mcpServerToolId:** `string`
|
|
4303
|
-
|
|
4304
|
-
</dd>
|
|
4305
|
-
</dl>
|
|
4306
|
-
|
|
4307
|
-
<dl>
|
|
4308
|
-
<dd>
|
|
4309
|
-
|
|
4310
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
4311
|
-
|
|
4312
|
-
</dd>
|
|
4313
|
-
</dl>
|
|
4314
|
-
</dd>
|
|
4315
|
-
</dl>
|
|
4316
|
-
|
|
4317
|
-
</dd>
|
|
4318
|
-
</dl>
|
|
4319
|
-
</details>
|
|
4320
|
-
|
|
4321
|
-
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">call</a>(mcpServerToolId) -> void</code></summary>
|
|
4322
|
-
<dl>
|
|
4323
|
-
<dd>
|
|
4324
|
-
|
|
4325
|
-
#### 🔌 Usage
|
|
4326
|
-
|
|
4327
|
-
<dl>
|
|
4328
|
-
<dd>
|
|
4329
|
-
|
|
4330
|
-
<dl>
|
|
4331
|
-
<dd>
|
|
4332
|
-
|
|
4333
|
-
```typescript
|
|
4334
|
-
await client.workflows.mcpServer.tools.call("mcp_server_tool_id");
|
|
4335
|
-
```
|
|
4336
|
-
|
|
4337
|
-
</dd>
|
|
4338
|
-
</dl>
|
|
4339
|
-
</dd>
|
|
4340
|
-
</dl>
|
|
4341
|
-
|
|
4342
|
-
#### ⚙️ Parameters
|
|
4343
|
-
|
|
4344
|
-
<dl>
|
|
4345
|
-
<dd>
|
|
4346
|
-
|
|
4347
|
-
<dl>
|
|
4348
|
-
<dd>
|
|
4349
|
-
|
|
4350
|
-
**mcpServerToolId:** `string`
|
|
4351
|
-
|
|
4352
|
-
</dd>
|
|
4353
|
-
</dl>
|
|
4354
|
-
|
|
4355
|
-
<dl>
|
|
4356
|
-
<dd>
|
|
4357
|
-
|
|
4358
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
4359
|
-
|
|
4360
|
-
</dd>
|
|
4361
|
-
</dl>
|
|
4362
|
-
</dd>
|
|
4363
|
-
</dl>
|
|
4364
|
-
|
|
4365
|
-
</dd>
|
|
4366
|
-
</dl>
|
|
4367
|
-
</details>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.mcpServer = exports.workflows = void 0;
|
|
40
|
-
exports.workflows = __importStar(require("./workflows/index.js"));
|
|
41
|
-
__exportStar(require("./workflows/types/index.js"), exports);
|
|
42
|
-
exports.mcpServer = __importStar(require("./mcpServer/index.js"));
|
|
43
|
-
__exportStar(require("./workflows/client/requests/index.js"), exports);
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
|
|
2
|
-
import * as core from "../../../../../../core/index.js";
|
|
3
|
-
import { Tools } from "../resources/tools/client/Client.js";
|
|
4
|
-
export declare namespace McpServer {
|
|
5
|
-
interface Options extends BaseClientOptions {
|
|
6
|
-
}
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class McpServer {
|
|
11
|
-
protected readonly _options: McpServer.Options;
|
|
12
|
-
protected _tools: Tools | undefined;
|
|
13
|
-
constructor(_options?: McpServer.Options);
|
|
14
|
-
get tools(): Tools;
|
|
15
|
-
/**
|
|
16
|
-
* @param {McpServer.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* await client.workflows.mcpServer.create()
|
|
20
|
-
*/
|
|
21
|
-
create(requestOptions?: McpServer.RequestOptions): core.HttpResponsePromise<void>;
|
|
22
|
-
private __create;
|
|
23
|
-
/**
|
|
24
|
-
* @param {McpServer.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* await client.workflows.mcpServer.list()
|
|
28
|
-
*/
|
|
29
|
-
list(requestOptions?: McpServer.RequestOptions): core.HttpResponsePromise<void>;
|
|
30
|
-
private __list;
|
|
31
|
-
/**
|
|
32
|
-
* @param {string} mcpServerId
|
|
33
|
-
* @param {McpServer.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* await client.workflows.mcpServer.get("mcp_server_id")
|
|
37
|
-
*/
|
|
38
|
-
get(mcpServerId: string, requestOptions?: McpServer.RequestOptions): core.HttpResponsePromise<void>;
|
|
39
|
-
private __get;
|
|
40
|
-
/**
|
|
41
|
-
* @param {string} mcpServerId
|
|
42
|
-
* @param {McpServer.RequestOptions} requestOptions - Request-specific configuration.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* await client.workflows.mcpServer.delete("mcp_server_id")
|
|
46
|
-
*/
|
|
47
|
-
delete(mcpServerId: string, requestOptions?: McpServer.RequestOptions): core.HttpResponsePromise<void>;
|
|
48
|
-
private __delete;
|
|
49
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
50
|
-
}
|