tuix-mcp-host-client 0.0.268 → 0.0.270
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 +0 -4
- package/apis/ClientApi.js +0 -78
- package/apis/ClientApi.js.map +1 -1
- package/apis/ClientApi.ts +0 -134
- package/docs/ApplicationDTO.md +2 -0
- package/docs/ApplicationWithApplicationCountDTO.md +2 -0
- package/docs/ClientApi.md +3 -158
- package/docs/CreateApplicationDTO.md +2 -0
- package/docs/CreateMCPServerDTO.md +0 -2
- package/docs/MCPServerDTO.md +0 -6
- package/docs/MCPServerStatusDTO.md +0 -6
- package/docs/UpdateApplicationDTO.md +2 -0
- package/models/ApplicationDTO.js +2 -0
- package/models/ApplicationDTO.js.map +1 -1
- package/models/ApplicationDTO.ts +6 -0
- package/models/ApplicationWithApplicationCountDTO.js +2 -0
- package/models/ApplicationWithApplicationCountDTO.js.map +1 -1
- package/models/ApplicationWithApplicationCountDTO.ts +6 -0
- package/models/CreateApplicationDTO.js +2 -0
- package/models/CreateApplicationDTO.js.map +1 -1
- package/models/CreateApplicationDTO.ts +7 -0
- package/models/CreateMCPServerDTO.js +1 -7
- package/models/CreateMCPServerDTO.js.map +1 -1
- package/models/CreateMCPServerDTO.ts +2 -10
- package/models/MCPServerDTO.js +0 -14
- package/models/MCPServerDTO.js.map +1 -1
- package/models/MCPServerDTO.ts +0 -29
- package/models/MCPServerStatusDTO.js +0 -14
- package/models/MCPServerStatusDTO.js.map +1 -1
- package/models/MCPServerStatusDTO.ts +0 -29
- package/models/UpdateApplicationDTO.js +2 -0
- package/models/UpdateApplicationDTO.js.map +1 -1
- package/models/UpdateApplicationDTO.ts +6 -0
- package/models/index.js +0 -2
- package/models/index.js.map +1 -1
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/docs/CreateExternalMCPServerDTO.md +0 -38
- package/docs/UpdateMCPServerDTO.md +0 -38
- package/models/CreateExternalMCPServerDTO.js +0 -57
- package/models/CreateExternalMCPServerDTO.js.map +0 -1
- package/models/CreateExternalMCPServerDTO.ts +0 -77
- package/models/UpdateMCPServerDTO.js +0 -53
- package/models/UpdateMCPServerDTO.js.map +0 -1
- package/models/UpdateMCPServerDTO.ts +0 -75
package/docs/ClientApi.md
CHANGED
|
@@ -11,7 +11,6 @@ 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 |
|
|
15
14
|
| [**createMCPServer**](ClientApi.md#createmcpserver) | **POST** /mcp-servers | Create a new MCP server |
|
|
16
15
|
| [**deleteApplication**](ClientApi.md#deleteapplication) | **DELETE** /applications/{applicationId} | Delete an application |
|
|
17
16
|
| [**deleteMCPServer**](ClientApi.md#deletemcpserver) | **DELETE** /mcp-servers/{mcpServerId} | Delete an MCP server |
|
|
@@ -26,7 +25,6 @@ All URIs are relative to *http://localhost:3000*
|
|
|
26
25
|
| [**listMCPServerTools**](ClientApi.md#listmcpservertools) | **GET** /mcp-servers/{mcpServerId}/tools | List tools of an MCP server |
|
|
27
26
|
| [**searchApplicationTools**](ClientApi.md#searchapplicationtools) | **GET** /applications/{applicationId}/tools-search | Search an application\'s MCP tools (debug) |
|
|
28
27
|
| [**updateApplication**](ClientApi.md#updateapplication) | **PATCH** /applications/{applicationId} | Update an application |
|
|
29
|
-
| [**updateMCPServer**](ClientApi.md#updatemcpserver) | **PATCH** /mcp-servers/{mcpServerId} | Update an external MCP server |
|
|
30
28
|
|
|
31
29
|
|
|
32
30
|
|
|
@@ -315,8 +313,6 @@ No authorization required
|
|
|
315
313
|
| **400** | Bad Request | - |
|
|
316
314
|
| **401** | Unauthorized | - |
|
|
317
315
|
| **402** | Payment Required | - |
|
|
318
|
-
| **404** | Application or MCP server not found | - |
|
|
319
|
-
| **409** | An MCP server with the same URL is already attached | - |
|
|
320
316
|
| **500** | Internal Server Error | - |
|
|
321
317
|
|
|
322
318
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -539,7 +535,7 @@ No authorization required
|
|
|
539
535
|
| Status code | Description | Response headers |
|
|
540
536
|
|-------------|-------------|------------------|
|
|
541
537
|
| **201** | Create a application and returns the created application | - |
|
|
542
|
-
| **400** | Return an error if there is a missing or invalid field,
|
|
538
|
+
| **400** | Return an error if there is a missing or invalid field, if aiModelId does not reference an existing AI model, or if sessionDuration is negative | - |
|
|
543
539
|
| **401** | Return an error if the user is not authenticated | - |
|
|
544
540
|
| **402** | Return an error if the trial access has expired | - |
|
|
545
541
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
@@ -548,79 +544,6 @@ No authorization required
|
|
|
548
544
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
549
545
|
|
|
550
546
|
|
|
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
|
-
|
|
624
547
|
## createMCPServer
|
|
625
548
|
|
|
626
549
|
> MCPServerDTO createMCPServer(createMCPServerDTO)
|
|
@@ -684,7 +607,7 @@ No authorization required
|
|
|
684
607
|
| Status code | Description | Response headers |
|
|
685
608
|
|-------------|-------------|------------------|
|
|
686
609
|
| **201** | Created MCP server | - |
|
|
687
|
-
| **400** |
|
|
610
|
+
| **400** | Bad Request | - |
|
|
688
611
|
| **401** | Unauthorized | - |
|
|
689
612
|
| **402** | Payment Required | - |
|
|
690
613
|
| **500** | Internal Server Error | - |
|
|
@@ -1649,7 +1572,7 @@ No authorization required
|
|
|
1649
1572
|
| Status code | Description | Response headers |
|
|
1650
1573
|
|-------------|-------------|------------------|
|
|
1651
1574
|
| **200** | Updates an application and return an updated application if the ID exists | - |
|
|
1652
|
-
| **400** | Return an error if
|
|
1575
|
+
| **400** | Return an error if sessionDuration is negative | - |
|
|
1653
1576
|
| **401** | Return an error if the user is not authenticated | - |
|
|
1654
1577
|
| **402** | Return an error if the trial access has expired | - |
|
|
1655
1578
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
@@ -1658,81 +1581,3 @@ No authorization required
|
|
|
1658
1581
|
|
|
1659
1582
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1660
1583
|
|
|
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,6 +12,7 @@ Name | Type
|
|
|
12
12
|
`name` | string
|
|
13
13
|
`ragApiKey` | string
|
|
14
14
|
`resourceGroupId` | string
|
|
15
|
+
`sessionDuration` | number
|
|
15
16
|
`systemPrompt` | string
|
|
16
17
|
|
|
17
18
|
## Example
|
|
@@ -27,6 +28,7 @@ const example = {
|
|
|
27
28
|
"name": Alpha,
|
|
28
29
|
"ragApiKey": <your-rag-api-key>,
|
|
29
30
|
"resourceGroupId": 123e4567-e89b-12d3-a456-426614174000,
|
|
31
|
+
"sessionDuration": 86400,
|
|
30
32
|
"systemPrompt": application system prompt,
|
|
31
33
|
} satisfies CreateApplicationDTO
|
|
32
34
|
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`apiDocsUrl` | string
|
|
10
|
-
`name` | string
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
@@ -17,7 +16,6 @@ import type { CreateMCPServerDTO } from ''
|
|
|
17
16
|
// TODO: Update the object below with actual values
|
|
18
17
|
const example = {
|
|
19
18
|
"apiDocsUrl": null,
|
|
20
|
-
"name": null,
|
|
21
19
|
} satisfies CreateMCPServerDTO
|
|
22
20
|
|
|
23
21
|
console.log(example)
|
package/docs/MCPServerDTO.md
CHANGED
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`headerNames` | Array<string>
|
|
10
9
|
`id` | string
|
|
11
|
-
`name` | string
|
|
12
10
|
`transport` | string
|
|
13
|
-
`type` | string
|
|
14
11
|
`url` | string
|
|
15
12
|
|
|
16
13
|
## Example
|
|
@@ -20,11 +17,8 @@ import type { MCPServerDTO } from ''
|
|
|
20
17
|
|
|
21
18
|
// TODO: Update the object below with actual values
|
|
22
19
|
const example = {
|
|
23
|
-
"headerNames": null,
|
|
24
20
|
"id": null,
|
|
25
|
-
"name": null,
|
|
26
21
|
"transport": null,
|
|
27
|
-
"type": null,
|
|
28
22
|
"url": null,
|
|
29
23
|
} satisfies MCPServerDTO
|
|
30
24
|
|
|
@@ -6,12 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`headerNames` | Array<string>
|
|
10
9
|
`id` | string
|
|
11
|
-
`name` | string
|
|
12
10
|
`status` | string
|
|
13
11
|
`transport` | string
|
|
14
|
-
`type` | string
|
|
15
12
|
`url` | string
|
|
16
13
|
|
|
17
14
|
## Example
|
|
@@ -21,12 +18,9 @@ import type { MCPServerStatusDTO } from ''
|
|
|
21
18
|
|
|
22
19
|
// TODO: Update the object below with actual values
|
|
23
20
|
const example = {
|
|
24
|
-
"headerNames": null,
|
|
25
21
|
"id": null,
|
|
26
|
-
"name": null,
|
|
27
22
|
"status": null,
|
|
28
23
|
"transport": null,
|
|
29
|
-
"type": null,
|
|
30
24
|
"url": null,
|
|
31
25
|
} satisfies MCPServerStatusDTO
|
|
32
26
|
|
|
@@ -12,6 +12,7 @@ Name | Type
|
|
|
12
12
|
`name` | string
|
|
13
13
|
`ragApiKey` | string
|
|
14
14
|
`resourceGroupId` | string
|
|
15
|
+
`sessionDuration` | number
|
|
15
16
|
`systemPrompt` | string
|
|
16
17
|
|
|
17
18
|
## Example
|
|
@@ -27,6 +28,7 @@ const example = {
|
|
|
27
28
|
"name": null,
|
|
28
29
|
"ragApiKey": null,
|
|
29
30
|
"resourceGroupId": null,
|
|
31
|
+
"sessionDuration": null,
|
|
30
32
|
"systemPrompt": null,
|
|
31
33
|
} satisfies UpdateApplicationDTO
|
|
32
34
|
|
package/models/ApplicationDTO.js
CHANGED
|
@@ -41,6 +41,7 @@ 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'],
|
|
44
45
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
@@ -61,6 +62,7 @@ function ApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
62
|
'name': value['name'],
|
|
62
63
|
'ragApiKey': value['ragApiKey'],
|
|
63
64
|
'resourceGroupId': value['resourceGroupId'],
|
|
65
|
+
'sessionDuration': value['sessionDuration'],
|
|
64
66
|
'systemPrompt': value['systemPrompt'],
|
|
65
67
|
};
|
|
66
68
|
}
|
|
@@ -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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AAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;KACxC,CAAC;AACN,CAAC"}
|
package/models/ApplicationDTO.ts
CHANGED
|
@@ -55,6 +55,10 @@ export interface ApplicationDTO {
|
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
resourceGroupId?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
sessionDuration?: number;
|
|
58
62
|
/**
|
|
59
63
|
*
|
|
60
64
|
*/
|
|
@@ -87,6 +91,7 @@ export function ApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
87
91
|
'name': json['name'] == null ? undefined : json['name'],
|
|
88
92
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
89
93
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
94
|
+
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
90
95
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
91
96
|
};
|
|
92
97
|
}
|
|
@@ -111,6 +116,7 @@ export function ApplicationDTOToJSONTyped(value?: ApplicationDTO | null, ignoreD
|
|
|
111
116
|
'name': value['name'],
|
|
112
117
|
'ragApiKey': value['ragApiKey'],
|
|
113
118
|
'resourceGroupId': value['resourceGroupId'],
|
|
119
|
+
'sessionDuration': value['sessionDuration'],
|
|
114
120
|
'systemPrompt': value['systemPrompt'],
|
|
115
121
|
};
|
|
116
122
|
}
|
|
@@ -42,6 +42,7 @@ 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'],
|
|
45
46
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
46
47
|
};
|
|
47
48
|
}
|
|
@@ -63,6 +64,7 @@ function ApplicationWithApplicationCountDTOToJSONTyped(value, ignoreDiscriminato
|
|
|
63
64
|
'name': value['name'],
|
|
64
65
|
'ragApiKey': value['ragApiKey'],
|
|
65
66
|
'resourceGroupId': value['resourceGroupId'],
|
|
67
|
+
'sessionDuration': value['sessionDuration'],
|
|
66
68
|
'systemPrompt': value['systemPrompt'],
|
|
67
69
|
};
|
|
68
70
|
}
|
|
@@ -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;;AA8DH,oGAEC;AAED,gGAEC;AAED,0GAmBC;AAED,4FAEC;AAED,sGAoBC;AAxDD;;GAEG;AACH,SAAgB,4CAA4C,CAAC,KAAa;IACtE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS;IAChE,OAAO,+CAA+C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,SAAgB,+CAA+C,CAAC,IAAS,EAAE,mBAA4B;IACnG,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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CAAC,IAAI,CAAC,iBAAiB,CAAC;QACxF,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;KAClF,CAAC;AACN,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,KAAiD,EAAE,sBAA+B,KAAK;IACjJ,IAAI,KAAK,IAAI,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,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;KACxC,CAAC;AACN,CAAC"}
|
|
@@ -59,6 +59,10 @@ export interface ApplicationWithApplicationCountDTO {
|
|
|
59
59
|
*
|
|
60
60
|
*/
|
|
61
61
|
resourceGroupId?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
sessionDuration?: number;
|
|
62
66
|
/**
|
|
63
67
|
*
|
|
64
68
|
*/
|
|
@@ -92,6 +96,7 @@ export function ApplicationWithApplicationCountDTOFromJSONTyped(json: any, ignor
|
|
|
92
96
|
'name': json['name'] == null ? undefined : json['name'],
|
|
93
97
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
94
98
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
99
|
+
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
95
100
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
96
101
|
};
|
|
97
102
|
}
|
|
@@ -117,6 +122,7 @@ export function ApplicationWithApplicationCountDTOToJSONTyped(value?: Applicatio
|
|
|
117
122
|
'name': value['name'],
|
|
118
123
|
'ragApiKey': value['ragApiKey'],
|
|
119
124
|
'resourceGroupId': value['resourceGroupId'],
|
|
125
|
+
'sessionDuration': value['sessionDuration'],
|
|
120
126
|
'systemPrompt': value['systemPrompt'],
|
|
121
127
|
};
|
|
122
128
|
}
|
|
@@ -40,6 +40,7 @@ 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'],
|
|
43
44
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
@@ -57,6 +58,7 @@ function CreateApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
58
|
'name': value['name'],
|
|
58
59
|
'ragApiKey': value['ragApiKey'],
|
|
59
60
|
'resourceGroupId': value['resourceGroupId'],
|
|
61
|
+
'sessionDuration': value['sessionDuration'],
|
|
60
62
|
'systemPrompt': value['systemPrompt'],
|
|
61
63
|
};
|
|
62
64
|
}
|
|
@@ -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;;AA+CH,wEAGC;AAED,oEAEC;AAED,8EAeC;AAED,gEAEC;AAED,0EAgBC;AAjDD;;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;QAC5E,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,WAAW,EAAE,IAAI,CAAC,WAAW,C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
+
* SessionDuration is the sliding session lifetime in seconds; 0 means
|
|
48
|
+
* sessions never expire. Defaults to 86400 when omitted.
|
|
49
|
+
*/
|
|
50
|
+
sessionDuration?: number;
|
|
46
51
|
/**
|
|
47
52
|
*
|
|
48
53
|
*/
|
|
@@ -73,6 +78,7 @@ export function CreateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
73
78
|
'name': json['name'],
|
|
74
79
|
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
75
80
|
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
81
|
+
'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
|
|
76
82
|
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
77
83
|
};
|
|
78
84
|
}
|
|
@@ -94,6 +100,7 @@ export function CreateApplicationDTOToJSONTyped(value?: CreateApplicationDTO | n
|
|
|
94
100
|
'name': value['name'],
|
|
95
101
|
'ragApiKey': value['ragApiKey'],
|
|
96
102
|
'resourceGroupId': value['resourceGroupId'],
|
|
103
|
+
'sessionDuration': value['sessionDuration'],
|
|
97
104
|
'systemPrompt': value['systemPrompt'],
|
|
98
105
|
};
|
|
99
106
|
}
|
|
@@ -22,10 +22,6 @@ exports.CreateMCPServerDTOToJSONTyped = CreateMCPServerDTOToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the CreateMCPServerDTO interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfCreateMCPServerDTO(value) {
|
|
25
|
-
if (!('apiDocsUrl' in value) || value['apiDocsUrl'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
25
|
return true;
|
|
30
26
|
}
|
|
31
27
|
function CreateMCPServerDTOFromJSON(json) {
|
|
@@ -36,8 +32,7 @@ function CreateMCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
32
|
return json;
|
|
37
33
|
}
|
|
38
34
|
return {
|
|
39
|
-
'apiDocsUrl': json['apiDocsUrl'],
|
|
40
|
-
'name': json['name'],
|
|
35
|
+
'apiDocsUrl': json['apiDocsUrl'] == null ? undefined : json['apiDocsUrl'],
|
|
41
36
|
};
|
|
42
37
|
}
|
|
43
38
|
function CreateMCPServerDTOToJSON(json) {
|
|
@@ -49,7 +44,6 @@ function CreateMCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
44
|
}
|
|
50
45
|
return {
|
|
51
46
|
'apiDocsUrl': value['apiDocsUrl'],
|
|
52
|
-
'name': value['name'],
|
|
53
47
|
};
|
|
54
48
|
}
|
|
55
49
|
//# sourceMappingURL=CreateMCPServerDTO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateMCPServerDTO.js","sourceRoot":"","sources":["CreateMCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"CreateMCPServerDTO.js","sourceRoot":"","sources":["CreateMCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkBH,oEAEC;AAED,gEAEC;AAED,0EAQC;AAED,4DAEC;AAED,sEASC;AAlCD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;KAC5E,CAAC;AACN,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAiC,EAAE,sBAA+B,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -22,19 +22,13 @@ export interface CreateMCPServerDTO {
|
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
apiDocsUrl
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
25
|
+
apiDocsUrl?: string;
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
/**
|
|
33
29
|
* Check if a given object implements the CreateMCPServerDTO interface.
|
|
34
30
|
*/
|
|
35
31
|
export function instanceOfCreateMCPServerDTO(value: object): value is CreateMCPServerDTO {
|
|
36
|
-
if (!('apiDocsUrl' in value) || value['apiDocsUrl'] === undefined) return false;
|
|
37
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
38
32
|
return true;
|
|
39
33
|
}
|
|
40
34
|
|
|
@@ -48,8 +42,7 @@ export function CreateMCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
48
42
|
}
|
|
49
43
|
return {
|
|
50
44
|
|
|
51
|
-
'apiDocsUrl': json['apiDocsUrl'],
|
|
52
|
-
'name': json['name'],
|
|
45
|
+
'apiDocsUrl': json['apiDocsUrl'] == null ? undefined : json['apiDocsUrl'],
|
|
53
46
|
};
|
|
54
47
|
}
|
|
55
48
|
|
|
@@ -65,7 +58,6 @@ export function CreateMCPServerDTOToJSONTyped(value?: CreateMCPServerDTO | null,
|
|
|
65
58
|
return {
|
|
66
59
|
|
|
67
60
|
'apiDocsUrl': value['apiDocsUrl'],
|
|
68
|
-
'name': value['name'],
|
|
69
61
|
};
|
|
70
62
|
}
|
|
71
63
|
|
package/models/MCPServerDTO.js
CHANGED
|
@@ -13,19 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MCPServerDTOTypeEnum = void 0;
|
|
17
16
|
exports.instanceOfMCPServerDTO = instanceOfMCPServerDTO;
|
|
18
17
|
exports.MCPServerDTOFromJSON = MCPServerDTOFromJSON;
|
|
19
18
|
exports.MCPServerDTOFromJSONTyped = MCPServerDTOFromJSONTyped;
|
|
20
19
|
exports.MCPServerDTOToJSON = MCPServerDTOToJSON;
|
|
21
20
|
exports.MCPServerDTOToJSONTyped = MCPServerDTOToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.MCPServerDTOTypeEnum = {
|
|
26
|
-
Generated: 'generated',
|
|
27
|
-
External: 'external',
|
|
28
|
-
};
|
|
29
21
|
/**
|
|
30
22
|
* Check if a given object implements the MCPServerDTO interface.
|
|
31
23
|
*/
|
|
@@ -42,11 +34,8 @@ function MCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
34
|
return json;
|
|
43
35
|
}
|
|
44
36
|
return {
|
|
45
|
-
'headerNames': json['headerNames'] == null ? undefined : json['headerNames'],
|
|
46
37
|
'id': json['id'],
|
|
47
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
48
38
|
'transport': json['transport'] == null ? undefined : json['transport'],
|
|
49
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
50
39
|
'url': json['url'] == null ? undefined : json['url'],
|
|
51
40
|
};
|
|
52
41
|
}
|
|
@@ -58,11 +47,8 @@ function MCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
47
|
return value;
|
|
59
48
|
}
|
|
60
49
|
return {
|
|
61
|
-
'headerNames': value['headerNames'],
|
|
62
50
|
'id': value['id'],
|
|
63
|
-
'name': value['name'],
|
|
64
51
|
'transport': value['transport'],
|
|
65
|
-
'type': value['type'],
|
|
66
52
|
'url': value['url'],
|
|
67
53
|
};
|
|
68
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MCPServerDTO.js","sourceRoot":"","sources":["MCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG
|
|
1
|
+
{"version":3,"file":"MCPServerDTO.js","sourceRoot":"","sources":["MCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,wDAGC;AAED,oDAEC;AAED,8DAUC;AAED,gDAEC;AAED,0DAWC;AAvCD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS,EAAE,mBAA4B;IAC7E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC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