tuix-mcp-host-client 0.0.271 → 0.0.273
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/.openapi-generator/FILES +4 -0
- package/apis/ClientApi.js +78 -0
- package/apis/ClientApi.js.map +1 -1
- package/apis/ClientApi.ts +134 -0
- package/docs/ApplicationDTO.md +0 -2
- package/docs/ApplicationWithApplicationCountDTO.md +0 -2
- package/docs/ClientApi.md +158 -3
- package/docs/CreateApplicationDTO.md +0 -2
- package/docs/CreateExternalMCPServerDTO.md +38 -0
- package/docs/CreateMCPServerDTO.md +2 -0
- package/docs/MCPServerDTO.md +6 -0
- package/docs/MCPServerStatusDTO.md +6 -0
- package/docs/UpdateApplicationDTO.md +0 -2
- package/docs/UpdateMCPServerDTO.md +38 -0
- package/models/ApplicationDTO.js +0 -2
- package/models/ApplicationDTO.js.map +1 -1
- package/models/ApplicationDTO.ts +0 -6
- package/models/ApplicationWithApplicationCountDTO.js +0 -2
- package/models/ApplicationWithApplicationCountDTO.js.map +1 -1
- package/models/ApplicationWithApplicationCountDTO.ts +0 -6
- package/models/CreateApplicationDTO.js +0 -2
- package/models/CreateApplicationDTO.js.map +1 -1
- package/models/CreateApplicationDTO.ts +0 -7
- package/models/CreateExternalMCPServerDTO.js +57 -0
- package/models/CreateExternalMCPServerDTO.js.map +1 -0
- package/models/CreateExternalMCPServerDTO.ts +77 -0
- package/models/CreateMCPServerDTO.js +7 -1
- package/models/CreateMCPServerDTO.js.map +1 -1
- package/models/CreateMCPServerDTO.ts +10 -2
- package/models/MCPServerDTO.js +14 -0
- package/models/MCPServerDTO.js.map +1 -1
- package/models/MCPServerDTO.ts +29 -0
- package/models/MCPServerStatusDTO.js +14 -0
- package/models/MCPServerStatusDTO.js.map +1 -1
- package/models/MCPServerStatusDTO.ts +29 -0
- package/models/UpdateApplicationDTO.js +0 -2
- package/models/UpdateApplicationDTO.js.map +1 -1
- package/models/UpdateApplicationDTO.ts +0 -6
- package/models/UpdateMCPServerDTO.js +53 -0
- package/models/UpdateMCPServerDTO.js.map +1 -0
- package/models/UpdateMCPServerDTO.ts +75 -0
- package/models/index.js +2 -0
- package/models/index.js.map +1 -1
- package/models/index.ts +2 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/docs/ClientApi.md
CHANGED
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost:3000*
|
|
|
11
11
|
| [**callMCPServerTool**](ClientApi.md#callmcpservertool) | **POST** /mcp-servers/{mcpServerId}/tools/{toolName}/executions | Call a tool of an MCP server |
|
|
12
12
|
| [**createAccount**](ClientApi.md#createaccount) | **POST** /accounts | Creates a new account |
|
|
13
13
|
| [**createApplication**](ClientApi.md#createapplication) | **POST** /applications | Create a new application |
|
|
14
|
+
| [**createExternalMCPServer**](ClientApi.md#createexternalmcpserver) | **POST** /mcp-servers/external | Register an external MCP server |
|
|
14
15
|
| [**createMCPServer**](ClientApi.md#createmcpserver) | **POST** /mcp-servers | Create a new MCP server |
|
|
15
16
|
| [**deleteApplication**](ClientApi.md#deleteapplication) | **DELETE** /applications/{applicationId} | Delete an application |
|
|
16
17
|
| [**deleteMCPServer**](ClientApi.md#deletemcpserver) | **DELETE** /mcp-servers/{mcpServerId} | Delete an MCP server |
|
|
@@ -25,6 +26,7 @@ All URIs are relative to *http://localhost:3000*
|
|
|
25
26
|
| [**listMCPServerTools**](ClientApi.md#listmcpservertools) | **GET** /mcp-servers/{mcpServerId}/tools | List tools of an MCP server |
|
|
26
27
|
| [**searchApplicationTools**](ClientApi.md#searchapplicationtools) | **GET** /applications/{applicationId}/tools-search | Search an application\'s MCP tools (debug) |
|
|
27
28
|
| [**updateApplication**](ClientApi.md#updateapplication) | **PATCH** /applications/{applicationId} | Update an application |
|
|
29
|
+
| [**updateMCPServer**](ClientApi.md#updatemcpserver) | **PATCH** /mcp-servers/{mcpServerId} | Update an external MCP server |
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
|
|
@@ -313,6 +315,8 @@ No authorization required
|
|
|
313
315
|
| **400** | Bad Request | - |
|
|
314
316
|
| **401** | Unauthorized | - |
|
|
315
317
|
| **402** | Payment Required | - |
|
|
318
|
+
| **404** | Application or MCP server not found | - |
|
|
319
|
+
| **409** | An MCP server with the same URL is already attached | - |
|
|
316
320
|
| **500** | Internal Server Error | - |
|
|
317
321
|
|
|
318
322
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -535,7 +539,7 @@ No authorization required
|
|
|
535
539
|
| Status code | Description | Response headers |
|
|
536
540
|
|-------------|-------------|------------------|
|
|
537
541
|
| **201** | Create a application and returns the created application | - |
|
|
538
|
-
| **400** | Return an error if there is a missing or invalid field, if aiModelId does not reference an existing AI model
|
|
542
|
+
| **400** | Return an error if there is a missing or invalid field, or if aiModelId does not reference an existing AI model | - |
|
|
539
543
|
| **401** | Return an error if the user is not authenticated | - |
|
|
540
544
|
| **402** | Return an error if the trial access has expired | - |
|
|
541
545
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
@@ -544,6 +548,79 @@ No authorization required
|
|
|
544
548
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
545
549
|
|
|
546
550
|
|
|
551
|
+
## createExternalMCPServer
|
|
552
|
+
|
|
553
|
+
> MCPServerDTO createExternalMCPServer(createExternalMCPServerDTO)
|
|
554
|
+
|
|
555
|
+
Register an external MCP server
|
|
556
|
+
|
|
557
|
+
Register a third-party MCP server reachable over Streamable HTTP. The server is checked live (initialize + tools/list) with the given headers before it is saved; header values are stored encrypted and never returned.
|
|
558
|
+
|
|
559
|
+
### Example
|
|
560
|
+
|
|
561
|
+
```ts
|
|
562
|
+
import {
|
|
563
|
+
Configuration,
|
|
564
|
+
ClientApi,
|
|
565
|
+
} from '';
|
|
566
|
+
import type { CreateExternalMCPServerRequest } from '';
|
|
567
|
+
|
|
568
|
+
async function example() {
|
|
569
|
+
console.log("🚀 Testing SDK...");
|
|
570
|
+
const api = new ClientApi();
|
|
571
|
+
|
|
572
|
+
const body = {
|
|
573
|
+
// CreateExternalMCPServerDTO | External MCP server data
|
|
574
|
+
createExternalMCPServerDTO: ...,
|
|
575
|
+
} satisfies CreateExternalMCPServerRequest;
|
|
576
|
+
|
|
577
|
+
try {
|
|
578
|
+
const data = await api.createExternalMCPServer(body);
|
|
579
|
+
console.log(data);
|
|
580
|
+
} catch (error) {
|
|
581
|
+
console.error(error);
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
// Run the test
|
|
586
|
+
example().catch(console.error);
|
|
587
|
+
```
|
|
588
|
+
|
|
589
|
+
### Parameters
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
| Name | Type | Description | Notes |
|
|
593
|
+
|------------- | ------------- | ------------- | -------------|
|
|
594
|
+
| **createExternalMCPServerDTO** | [CreateExternalMCPServerDTO](CreateExternalMCPServerDTO.md) | External MCP server data | |
|
|
595
|
+
|
|
596
|
+
### Return type
|
|
597
|
+
|
|
598
|
+
[**MCPServerDTO**](MCPServerDTO.md)
|
|
599
|
+
|
|
600
|
+
### Authorization
|
|
601
|
+
|
|
602
|
+
No authorization required
|
|
603
|
+
|
|
604
|
+
### HTTP request headers
|
|
605
|
+
|
|
606
|
+
- **Content-Type**: `application/json`
|
|
607
|
+
- **Accept**: `application/json`
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
### HTTP response details
|
|
611
|
+
| Status code | Description | Response headers |
|
|
612
|
+
|-------------|-------------|------------------|
|
|
613
|
+
| **201** | Created MCP server | - |
|
|
614
|
+
| **400** | Invalid body, header or URL | - |
|
|
615
|
+
| **401** | Unauthorized | - |
|
|
616
|
+
| **402** | Payment Required | - |
|
|
617
|
+
| **422** | External server rejected the configured credentials | - |
|
|
618
|
+
| **500** | Internal Server Error | - |
|
|
619
|
+
| **502** | External server unreachable or not a valid MCP server | - |
|
|
620
|
+
|
|
621
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
622
|
+
|
|
623
|
+
|
|
547
624
|
## createMCPServer
|
|
548
625
|
|
|
549
626
|
> MCPServerDTO createMCPServer(createMCPServerDTO)
|
|
@@ -607,7 +684,7 @@ No authorization required
|
|
|
607
684
|
| Status code | Description | Response headers |
|
|
608
685
|
|-------------|-------------|------------------|
|
|
609
686
|
| **201** | Created MCP server | - |
|
|
610
|
-
| **400** |
|
|
687
|
+
| **400** | Invalid body, name or apiDocsUrl | - |
|
|
611
688
|
| **401** | Unauthorized | - |
|
|
612
689
|
| **402** | Payment Required | - |
|
|
613
690
|
| **500** | Internal Server Error | - |
|
|
@@ -1572,7 +1649,7 @@ No authorization required
|
|
|
1572
1649
|
| Status code | Description | Response headers |
|
|
1573
1650
|
|-------------|-------------|------------------|
|
|
1574
1651
|
| **200** | Updates an application and return an updated application if the ID exists | - |
|
|
1575
|
-
| **400** | Return an error if
|
|
1652
|
+
| **400** | Return an error if aiModelId does not reference an existing AI model | - |
|
|
1576
1653
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1577
1654
|
| **402** | Return an error if the trial access has expired | - |
|
|
1578
1655
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
@@ -1581,3 +1658,81 @@ No authorization required
|
|
|
1581
1658
|
|
|
1582
1659
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1583
1660
|
|
|
1661
|
+
|
|
1662
|
+
## updateMCPServer
|
|
1663
|
+
|
|
1664
|
+
> MCPServerDTO updateMCPServer(mcpServerId, updateMCPServerDTO)
|
|
1665
|
+
|
|
1666
|
+
Update an external MCP server
|
|
1667
|
+
|
|
1668
|
+
Update name, URL or headers of an external MCP server. Only external servers can be updated. When the URL or headers change, the server is checked live before saving. headers replaces the whole map when present: omit it to keep the current headers, or send {} to remove them. Changing the URL to a different host (scheme, host or port) requires headers to be sent again, so stored credentials are never sent to a new host. A URL change only affects chat sessions started afterwards.
|
|
1669
|
+
|
|
1670
|
+
### Example
|
|
1671
|
+
|
|
1672
|
+
```ts
|
|
1673
|
+
import {
|
|
1674
|
+
Configuration,
|
|
1675
|
+
ClientApi,
|
|
1676
|
+
} from '';
|
|
1677
|
+
import type { UpdateMCPServerRequest } from '';
|
|
1678
|
+
|
|
1679
|
+
async function example() {
|
|
1680
|
+
console.log("🚀 Testing SDK...");
|
|
1681
|
+
const api = new ClientApi();
|
|
1682
|
+
|
|
1683
|
+
const body = {
|
|
1684
|
+
// string | MCP Server ID
|
|
1685
|
+
mcpServerId: mcpServerId_example,
|
|
1686
|
+
// UpdateMCPServerDTO | Fields to update
|
|
1687
|
+
updateMCPServerDTO: ...,
|
|
1688
|
+
} satisfies UpdateMCPServerRequest;
|
|
1689
|
+
|
|
1690
|
+
try {
|
|
1691
|
+
const data = await api.updateMCPServer(body);
|
|
1692
|
+
console.log(data);
|
|
1693
|
+
} catch (error) {
|
|
1694
|
+
console.error(error);
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
// Run the test
|
|
1699
|
+
example().catch(console.error);
|
|
1700
|
+
```
|
|
1701
|
+
|
|
1702
|
+
### Parameters
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
| Name | Type | Description | Notes |
|
|
1706
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1707
|
+
| **mcpServerId** | `string` | MCP Server ID | [Defaults to `undefined`] |
|
|
1708
|
+
| **updateMCPServerDTO** | [UpdateMCPServerDTO](UpdateMCPServerDTO.md) | Fields to update | |
|
|
1709
|
+
|
|
1710
|
+
### Return type
|
|
1711
|
+
|
|
1712
|
+
[**MCPServerDTO**](MCPServerDTO.md)
|
|
1713
|
+
|
|
1714
|
+
### Authorization
|
|
1715
|
+
|
|
1716
|
+
No authorization required
|
|
1717
|
+
|
|
1718
|
+
### HTTP request headers
|
|
1719
|
+
|
|
1720
|
+
- **Content-Type**: `application/json`
|
|
1721
|
+
- **Accept**: `application/json`
|
|
1722
|
+
|
|
1723
|
+
|
|
1724
|
+
### HTTP response details
|
|
1725
|
+
| Status code | Description | Response headers |
|
|
1726
|
+
|-------------|-------------|------------------|
|
|
1727
|
+
| **200** | Updated MCP server | - |
|
|
1728
|
+
| **400** | Invalid body, header or URL, or headers missing for a new host | - |
|
|
1729
|
+
| **401** | Unauthorized | - |
|
|
1730
|
+
| **402** | Payment Required | - |
|
|
1731
|
+
| **404** | Not Found | - |
|
|
1732
|
+
| **409** | MCP server is not external, or the URL is already used in one of its applications | - |
|
|
1733
|
+
| **422** | External server rejected the configured credentials | - |
|
|
1734
|
+
| **500** | Internal Server Error | - |
|
|
1735
|
+
| **502** | External server unreachable or not a valid MCP server | - |
|
|
1736
|
+
|
|
1737
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1738
|
+
|
|
@@ -12,7 +12,6 @@ Name | Type
|
|
|
12
12
|
`name` | string
|
|
13
13
|
`ragApiKey` | string
|
|
14
14
|
`resourceGroupId` | string
|
|
15
|
-
`sessionDuration` | number
|
|
16
15
|
`systemPrompt` | string
|
|
17
16
|
|
|
18
17
|
## Example
|
|
@@ -28,7 +27,6 @@ const example = {
|
|
|
28
27
|
"name": Alpha,
|
|
29
28
|
"ragApiKey": <your-rag-api-key>,
|
|
30
29
|
"resourceGroupId": 123e4567-e89b-12d3-a456-426614174000,
|
|
31
|
-
"sessionDuration": 86400,
|
|
32
30
|
"systemPrompt": application system prompt,
|
|
33
31
|
} satisfies CreateApplicationDTO
|
|
34
32
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# CreateExternalMCPServerDTO
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`headers` | { [key: string]: string; }
|
|
10
|
+
`name` | string
|
|
11
|
+
`url` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { CreateExternalMCPServerDTO } from ''
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"headers": null,
|
|
21
|
+
"name": null,
|
|
22
|
+
"url": null,
|
|
23
|
+
} satisfies CreateExternalMCPServerDTO
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as CreateExternalMCPServerDTO
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`apiDocsUrl` | string
|
|
10
|
+
`name` | string
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import type { CreateMCPServerDTO } from ''
|
|
|
16
17
|
// TODO: Update the object below with actual values
|
|
17
18
|
const example = {
|
|
18
19
|
"apiDocsUrl": null,
|
|
20
|
+
"name": null,
|
|
19
21
|
} satisfies CreateMCPServerDTO
|
|
20
22
|
|
|
21
23
|
console.log(example)
|
package/docs/MCPServerDTO.md
CHANGED
|
@@ -6,8 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`headerNames` | Array<string>
|
|
9
10
|
`id` | string
|
|
11
|
+
`name` | string
|
|
10
12
|
`transport` | string
|
|
13
|
+
`type` | string
|
|
11
14
|
`url` | string
|
|
12
15
|
|
|
13
16
|
## Example
|
|
@@ -17,8 +20,11 @@ import type { MCPServerDTO } from ''
|
|
|
17
20
|
|
|
18
21
|
// TODO: Update the object below with actual values
|
|
19
22
|
const example = {
|
|
23
|
+
"headerNames": null,
|
|
20
24
|
"id": null,
|
|
25
|
+
"name": null,
|
|
21
26
|
"transport": null,
|
|
27
|
+
"type": null,
|
|
22
28
|
"url": null,
|
|
23
29
|
} satisfies MCPServerDTO
|
|
24
30
|
|
|
@@ -6,9 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`headerNames` | Array<string>
|
|
9
10
|
`id` | string
|
|
11
|
+
`name` | string
|
|
10
12
|
`status` | string
|
|
11
13
|
`transport` | string
|
|
14
|
+
`type` | string
|
|
12
15
|
`url` | string
|
|
13
16
|
|
|
14
17
|
## Example
|
|
@@ -18,9 +21,12 @@ import type { MCPServerStatusDTO } from ''
|
|
|
18
21
|
|
|
19
22
|
// TODO: Update the object below with actual values
|
|
20
23
|
const example = {
|
|
24
|
+
"headerNames": null,
|
|
21
25
|
"id": null,
|
|
26
|
+
"name": null,
|
|
22
27
|
"status": null,
|
|
23
28
|
"transport": null,
|
|
29
|
+
"type": null,
|
|
24
30
|
"url": null,
|
|
25
31
|
} satisfies MCPServerStatusDTO
|
|
26
32
|
|
|
@@ -12,7 +12,6 @@ Name | Type
|
|
|
12
12
|
`name` | string
|
|
13
13
|
`ragApiKey` | string
|
|
14
14
|
`resourceGroupId` | string
|
|
15
|
-
`sessionDuration` | number
|
|
16
15
|
`systemPrompt` | string
|
|
17
16
|
|
|
18
17
|
## Example
|
|
@@ -28,7 +27,6 @@ const example = {
|
|
|
28
27
|
"name": null,
|
|
29
28
|
"ragApiKey": null,
|
|
30
29
|
"resourceGroupId": null,
|
|
31
|
-
"sessionDuration": null,
|
|
32
30
|
"systemPrompt": null,
|
|
33
31
|
} satisfies UpdateApplicationDTO
|
|
34
32
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# UpdateMCPServerDTO
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`headers` | { [key: string]: string; }
|
|
10
|
+
`name` | string
|
|
11
|
+
`url` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { UpdateMCPServerDTO } from ''
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"headers": null,
|
|
21
|
+
"name": null,
|
|
22
|
+
"url": null,
|
|
23
|
+
} satisfies UpdateMCPServerDTO
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as UpdateMCPServerDTO
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
package/models/ApplicationDTO.js
CHANGED
|
@@ -41,7 +41,6 @@ function ApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'name': json['name'] == null ? undefined : json['name'],
|
|
42
42
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
43
43
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
44
|
-
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
45
44
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
46
45
|
};
|
|
47
46
|
}
|
|
@@ -62,7 +61,6 @@ function ApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
61
|
'name': value['name'],
|
|
63
62
|
'ragApiKey': value['ragApiKey'],
|
|
64
63
|
'resourceGroupId': value['resourceGroupId'],
|
|
65
|
-
'sessionDuration': value['sessionDuration'],
|
|
66
64
|
'systemPrompt': value['systemPrompt'],
|
|
67
65
|
};
|
|
68
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationDTO.js","sourceRoot":"","sources":["ApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"ApplicationDTO.js","sourceRoot":"","sources":["ApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsDH,4DAEC;AAED,wDAEC;AAED,kEAiBC;AAED,oDAEC;AAED,8DAkBC;AApDD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS,EAAE,mBAA4B;IAC/E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,C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I,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;KACxC,CAAC;AACN,CAAC"}
|
package/models/ApplicationDTO.ts
CHANGED
|
@@ -55,10 +55,6 @@ export interface ApplicationDTO {
|
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
resourceGroupId?: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
sessionDuration?: number;
|
|
62
58
|
/**
|
|
63
59
|
*
|
|
64
60
|
*/
|
|
@@ -91,7 +87,6 @@ export function ApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
91
87
|
'name': json['name'] == null ? undefined : json['name'],
|
|
92
88
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
93
89
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
94
|
-
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
95
90
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
96
91
|
};
|
|
97
92
|
}
|
|
@@ -116,7 +111,6 @@ export function ApplicationDTOToJSONTyped(value?: ApplicationDTO | null, ignoreD
|
|
|
116
111
|
'name': value['name'],
|
|
117
112
|
'ragApiKey': value['ragApiKey'],
|
|
118
113
|
'resourceGroupId': value['resourceGroupId'],
|
|
119
|
-
'sessionDuration': value['sessionDuration'],
|
|
120
114
|
'systemPrompt': value['systemPrompt'],
|
|
121
115
|
};
|
|
122
116
|
}
|
|
@@ -42,7 +42,6 @@ function ApplicationWithApplicationCountDTOFromJSONTyped(json, ignoreDiscriminat
|
|
|
42
42
|
'name': json['name'] == null ? undefined : json['name'],
|
|
43
43
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
44
44
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
45
|
-
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
46
45
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
47
46
|
};
|
|
48
47
|
}
|
|
@@ -64,7 +63,6 @@ function ApplicationWithApplicationCountDTOToJSONTyped(value, ignoreDiscriminato
|
|
|
64
63
|
'name': value['name'],
|
|
65
64
|
'ragApiKey': value['ragApiKey'],
|
|
66
65
|
'resourceGroupId': value['resourceGroupId'],
|
|
67
|
-
'sessionDuration': value['sessionDuration'],
|
|
68
66
|
'systemPrompt': value['systemPrompt'],
|
|
69
67
|
};
|
|
70
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationWithApplicationCountDTO.js","sourceRoot":"","sources":["ApplicationWithApplicationCountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"ApplicationWithApplicationCountDTO.js","sourceRoot":"","sources":["ApplicationWithApplicationCountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0DH,oGAEC;AAED,gGAEC;AAED,0GAkBC;AAED,4FAEC;AAED,sGAmBC;AAtDD;;GAEG;AACH,SAAgB,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O {
|
|
|
59
59
|
*
|
|
60
60
|
*/
|
|
61
61
|
resourceGroupId?: string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
sessionDuration?: number;
|
|
66
62
|
/**
|
|
67
63
|
*
|
|
68
64
|
*/
|
|
@@ -96,7 +92,6 @@ export function ApplicationWithApplicationCountDTOFromJSONTyped(json: any, ignor
|
|
|
96
92
|
'name': json['name'] == null ? undefined : json['name'],
|
|
97
93
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
98
94
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
99
|
-
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
100
95
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
101
96
|
};
|
|
102
97
|
}
|
|
@@ -122,7 +117,6 @@ export function ApplicationWithApplicationCountDTOToJSONTyped(value?: Applicatio
|
|
|
122
117
|
'name': value['name'],
|
|
123
118
|
'ragApiKey': value['ragApiKey'],
|
|
124
119
|
'resourceGroupId': value['resourceGroupId'],
|
|
125
|
-
'sessionDuration': value['sessionDuration'],
|
|
126
120
|
'systemPrompt': value['systemPrompt'],
|
|
127
121
|
};
|
|
128
122
|
}
|
|
@@ -40,7 +40,6 @@ function CreateApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'name': json['name'],
|
|
41
41
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
42
42
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
43
|
-
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
44
43
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
45
44
|
};
|
|
46
45
|
}
|
|
@@ -58,7 +57,6 @@ function CreateApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
57
|
'name': value['name'],
|
|
59
58
|
'ragApiKey': value['ragApiKey'],
|
|
60
59
|
'resourceGroupId': value['resourceGroupId'],
|
|
61
|
-
'sessionDuration': value['sessionDuration'],
|
|
62
60
|
'systemPrompt': value['systemPrompt'],
|
|
63
61
|
};
|
|
64
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApplicationDTO.js","sourceRoot":"","sources":["CreateApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"CreateApplicationDTO.js","sourceRoot":"","sources":["CreateApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0CH,wEAGC;AAED,oEAEC;AAED,8EAcC;AAED,gEAEC;AAED,0EAeC;AA/CD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC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: string;
|
|
46
|
-
/**
|
|
47
|
-
* SessionDuration is the sliding session lifetime in seconds; 0 means
|
|
48
|
-
* sessions never expire. Defaults to 86400 when omitted.
|
|
49
|
-
*/
|
|
50
|
-
sessionDuration?: number;
|
|
51
46
|
/**
|
|
52
47
|
*
|
|
53
48
|
*/
|
|
@@ -78,7 +73,6 @@ export function CreateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
78
73
|
'name': json['name'],
|
|
79
74
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
80
75
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
81
|
-
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
82
76
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
83
77
|
};
|
|
84
78
|
}
|
|
@@ -100,7 +94,6 @@ export function CreateApplicationDTOToJSONTyped(value?: CreateApplicationDTO | n
|
|
|
100
94
|
'name': value['name'],
|
|
101
95
|
'ragApiKey': value['ragApiKey'],
|
|
102
96
|
'resourceGroupId': value['resourceGroupId'],
|
|
103
|
-
'sessionDuration': value['sessionDuration'],
|
|
104
97
|
'systemPrompt': value['systemPrompt'],
|
|
105
98
|
};
|
|
106
99
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tuix MCP Host API
|
|
6
|
+
* Service managing MCP servers for Tuix applications.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCreateExternalMCPServerDTO = instanceOfCreateExternalMCPServerDTO;
|
|
17
|
+
exports.CreateExternalMCPServerDTOFromJSON = CreateExternalMCPServerDTOFromJSON;
|
|
18
|
+
exports.CreateExternalMCPServerDTOFromJSONTyped = CreateExternalMCPServerDTOFromJSONTyped;
|
|
19
|
+
exports.CreateExternalMCPServerDTOToJSON = CreateExternalMCPServerDTOToJSON;
|
|
20
|
+
exports.CreateExternalMCPServerDTOToJSONTyped = CreateExternalMCPServerDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateExternalMCPServerDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateExternalMCPServerDTO(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreateExternalMCPServerDTOFromJSON(json) {
|
|
32
|
+
return CreateExternalMCPServerDTOFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreateExternalMCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'headers': json['headers'] == null ? undefined : json['headers'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'url': json['url'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreateExternalMCPServerDTOToJSON(json) {
|
|
45
|
+
return CreateExternalMCPServerDTOToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreateExternalMCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'headers': value['headers'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'url': value['url'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=CreateExternalMCPServerDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateExternalMCPServerDTO.js","sourceRoot":"","sources":["CreateExternalMCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,oFAIC;AAED,gFAEC;AAED,0FAUC;AAED,4EAEC;AAED,sFAWC;AAxCD;;GAEG;AACH,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;KACrB,CAAC;AACN,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CAAC,KAAyC,EAAE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