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.
Files changed (46) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/apis/ClientApi.js +78 -0
  3. package/apis/ClientApi.js.map +1 -1
  4. package/apis/ClientApi.ts +134 -0
  5. package/docs/ApplicationDTO.md +0 -2
  6. package/docs/ApplicationWithApplicationCountDTO.md +0 -2
  7. package/docs/ClientApi.md +158 -3
  8. package/docs/CreateApplicationDTO.md +0 -2
  9. package/docs/CreateExternalMCPServerDTO.md +38 -0
  10. package/docs/CreateMCPServerDTO.md +2 -0
  11. package/docs/MCPServerDTO.md +6 -0
  12. package/docs/MCPServerStatusDTO.md +6 -0
  13. package/docs/UpdateApplicationDTO.md +0 -2
  14. package/docs/UpdateMCPServerDTO.md +38 -0
  15. package/models/ApplicationDTO.js +0 -2
  16. package/models/ApplicationDTO.js.map +1 -1
  17. package/models/ApplicationDTO.ts +0 -6
  18. package/models/ApplicationWithApplicationCountDTO.js +0 -2
  19. package/models/ApplicationWithApplicationCountDTO.js.map +1 -1
  20. package/models/ApplicationWithApplicationCountDTO.ts +0 -6
  21. package/models/CreateApplicationDTO.js +0 -2
  22. package/models/CreateApplicationDTO.js.map +1 -1
  23. package/models/CreateApplicationDTO.ts +0 -7
  24. package/models/CreateExternalMCPServerDTO.js +57 -0
  25. package/models/CreateExternalMCPServerDTO.js.map +1 -0
  26. package/models/CreateExternalMCPServerDTO.ts +77 -0
  27. package/models/CreateMCPServerDTO.js +7 -1
  28. package/models/CreateMCPServerDTO.js.map +1 -1
  29. package/models/CreateMCPServerDTO.ts +10 -2
  30. package/models/MCPServerDTO.js +14 -0
  31. package/models/MCPServerDTO.js.map +1 -1
  32. package/models/MCPServerDTO.ts +29 -0
  33. package/models/MCPServerStatusDTO.js +14 -0
  34. package/models/MCPServerStatusDTO.js.map +1 -1
  35. package/models/MCPServerStatusDTO.ts +29 -0
  36. package/models/UpdateApplicationDTO.js +0 -2
  37. package/models/UpdateApplicationDTO.js.map +1 -1
  38. package/models/UpdateApplicationDTO.ts +0 -6
  39. package/models/UpdateMCPServerDTO.js +53 -0
  40. package/models/UpdateMCPServerDTO.js.map +1 -0
  41. package/models/UpdateMCPServerDTO.ts +75 -0
  42. package/models/index.js +2 -0
  43. package/models/index.js.map +1 -1
  44. package/models/index.ts +2 -0
  45. package/package.json +1 -1
  46. package/tsconfig.build.tsbuildinfo +1 -1
@@ -0,0 +1,77 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tuix MCP Host API
5
+ * Service managing MCP servers for Tuix applications.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CreateExternalMCPServerDTO
20
+ */
21
+ export interface CreateExternalMCPServerDTO {
22
+ /**
23
+ *
24
+ */
25
+ headers?: { [key: string]: string; };
26
+ /**
27
+ *
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ */
33
+ url: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the CreateExternalMCPServerDTO interface.
38
+ */
39
+ export function instanceOfCreateExternalMCPServerDTO(value: object): value is CreateExternalMCPServerDTO {
40
+ if (!('name' in value) || value['name'] === undefined) return false;
41
+ if (!('url' in value) || value['url'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function CreateExternalMCPServerDTOFromJSON(json: any): CreateExternalMCPServerDTO {
46
+ return CreateExternalMCPServerDTOFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function CreateExternalMCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateExternalMCPServerDTO {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'headers': json['headers'] == null ? undefined : json['headers'],
56
+ 'name': json['name'],
57
+ 'url': json['url'],
58
+ };
59
+ }
60
+
61
+ export function CreateExternalMCPServerDTOToJSON(json: any): CreateExternalMCPServerDTO {
62
+ return CreateExternalMCPServerDTOToJSONTyped(json, false);
63
+ }
64
+
65
+ export function CreateExternalMCPServerDTOToJSONTyped(value?: CreateExternalMCPServerDTO | null, ignoreDiscriminator: boolean = false): any {
66
+ if (value == null) {
67
+ return value;
68
+ }
69
+
70
+ return {
71
+
72
+ 'headers': value['headers'],
73
+ 'name': value['name'],
74
+ 'url': value['url'],
75
+ };
76
+ }
77
+
@@ -22,6 +22,10 @@ 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;
25
29
  return true;
26
30
  }
27
31
  function CreateMCPServerDTOFromJSON(json) {
@@ -32,7 +36,8 @@ function CreateMCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
32
36
  return json;
33
37
  }
34
38
  return {
35
- 'apiDocsUrl': json['apiDocsUrl'] == null ? undefined : json['apiDocsUrl'],
39
+ 'apiDocsUrl': json['apiDocsUrl'],
40
+ 'name': json['name'],
36
41
  };
37
42
  }
38
43
  function CreateMCPServerDTOToJSON(json) {
@@ -44,6 +49,7 @@ function CreateMCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
49
  }
45
50
  return {
46
51
  'apiDocsUrl': value['apiDocsUrl'],
52
+ 'name': value['name'],
47
53
  };
48
54
  }
49
55
  //# sourceMappingURL=CreateMCPServerDTO.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateMCPServerDTO.js","sourceRoot":"","sources":["CreateMCPServerDTO.ts"],"names":[],"mappings":";A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O,KAAK,CAAC;IAChF,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,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;QAChC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,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;QACjC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -22,13 +22,19 @@ export interface CreateMCPServerDTO {
22
22
  /**
23
23
  *
24
24
  */
25
- apiDocsUrl?: string;
25
+ apiDocsUrl: string;
26
+ /**
27
+ *
28
+ */
29
+ name: string;
26
30
  }
27
31
 
28
32
  /**
29
33
  * Check if a given object implements the CreateMCPServerDTO interface.
30
34
  */
31
35
  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;
32
38
  return true;
33
39
  }
34
40
 
@@ -42,7 +48,8 @@ export function CreateMCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator:
42
48
  }
43
49
  return {
44
50
 
45
- 'apiDocsUrl': json['apiDocsUrl'] == null ? undefined : json['apiDocsUrl'],
51
+ 'apiDocsUrl': json['apiDocsUrl'],
52
+ 'name': json['name'],
46
53
  };
47
54
  }
48
55
 
@@ -58,6 +65,7 @@ export function CreateMCPServerDTOToJSONTyped(value?: CreateMCPServerDTO | null,
58
65
  return {
59
66
 
60
67
  'apiDocsUrl': value['apiDocsUrl'],
68
+ 'name': value['name'],
61
69
  };
62
70
  }
63
71
 
@@ -13,11 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MCPServerDTOTypeEnum = void 0;
16
17
  exports.instanceOfMCPServerDTO = instanceOfMCPServerDTO;
17
18
  exports.MCPServerDTOFromJSON = MCPServerDTOFromJSON;
18
19
  exports.MCPServerDTOFromJSONTyped = MCPServerDTOFromJSONTyped;
19
20
  exports.MCPServerDTOToJSON = MCPServerDTOToJSON;
20
21
  exports.MCPServerDTOToJSONTyped = MCPServerDTOToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.MCPServerDTOTypeEnum = {
26
+ Generated: 'generated',
27
+ External: 'external',
28
+ };
21
29
  /**
22
30
  * Check if a given object implements the MCPServerDTO interface.
23
31
  */
@@ -34,8 +42,11 @@ function MCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
34
42
  return json;
35
43
  }
36
44
  return {
45
+ 'headerNames': json['headerNames'] == null ? undefined : json['headerNames'],
37
46
  'id': json['id'],
47
+ 'name': json['name'] == null ? undefined : json['name'],
38
48
  'transport': json['transport'] == null ? undefined : json['transport'],
49
+ 'type': json['type'] == null ? undefined : json['type'],
39
50
  'url': json['url'] == null ? undefined : json['url'],
40
51
  };
41
52
  }
@@ -47,8 +58,11 @@ function MCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
47
58
  return value;
48
59
  }
49
60
  return {
61
+ 'headerNames': value['headerNames'],
50
62
  'id': value['id'],
63
+ 'name': value['name'],
51
64
  'transport': value['transport'],
65
+ 'type': value['type'],
52
66
  'url': value['url'],
53
67
  };
54
68
  }
@@ -1 +1 @@
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,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;KACvD,CAAC;AACN,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,KAA2B,E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C,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;KACvD,CAAC;AACN,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,KAA2B,EAAE,sBAA+B,KAAK;IACrG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;KACtB,CAAC;AACN,CAAC"}
@@ -19,20 +19,43 @@ import { mapValues } from '../runtime';
19
19
  * @interface MCPServerDTO
20
20
  */
21
21
  export interface MCPServerDTO {
22
+ /**
23
+ *
24
+ */
25
+ headerNames?: Array<string>;
22
26
  /**
23
27
  *
24
28
  */
25
29
  id: string;
30
+ /**
31
+ *
32
+ */
33
+ name?: string;
26
34
  /**
27
35
  *
28
36
  */
29
37
  transport?: string;
38
+ /**
39
+ *
40
+ */
41
+ type?: MCPServerDTOTypeEnum;
30
42
  /**
31
43
  *
32
44
  */
33
45
  url?: string;
34
46
  }
35
47
 
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const MCPServerDTOTypeEnum = {
53
+ Generated: 'generated',
54
+ External: 'external',
55
+ } as const;
56
+ export type MCPServerDTOTypeEnum = typeof MCPServerDTOTypeEnum[keyof typeof MCPServerDTOTypeEnum];
57
+
58
+
36
59
  /**
37
60
  * Check if a given object implements the MCPServerDTO interface.
38
61
  */
@@ -51,8 +74,11 @@ export function MCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator: boolea
51
74
  }
52
75
  return {
53
76
 
77
+ 'headerNames': json['headerNames'] == null ? undefined : json['headerNames'],
54
78
  'id': json['id'],
79
+ 'name': json['name'] == null ? undefined : json['name'],
55
80
  'transport': json['transport'] == null ? undefined : json['transport'],
81
+ 'type': json['type'] == null ? undefined : json['type'],
56
82
  'url': json['url'] == null ? undefined : json['url'],
57
83
  };
58
84
  }
@@ -68,8 +94,11 @@ export function MCPServerDTOToJSONTyped(value?: MCPServerDTO | null, ignoreDiscr
68
94
 
69
95
  return {
70
96
 
97
+ 'headerNames': value['headerNames'],
71
98
  'id': value['id'],
99
+ 'name': value['name'],
72
100
  'transport': value['transport'],
101
+ 'type': value['type'],
73
102
  'url': value['url'],
74
103
  };
75
104
  }
@@ -13,11 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MCPServerStatusDTOTypeEnum = void 0;
16
17
  exports.instanceOfMCPServerStatusDTO = instanceOfMCPServerStatusDTO;
17
18
  exports.MCPServerStatusDTOFromJSON = MCPServerStatusDTOFromJSON;
18
19
  exports.MCPServerStatusDTOFromJSONTyped = MCPServerStatusDTOFromJSONTyped;
19
20
  exports.MCPServerStatusDTOToJSON = MCPServerStatusDTOToJSON;
20
21
  exports.MCPServerStatusDTOToJSONTyped = MCPServerStatusDTOToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.MCPServerStatusDTOTypeEnum = {
26
+ Generated: 'generated',
27
+ External: 'external',
28
+ };
21
29
  /**
22
30
  * Check if a given object implements the MCPServerStatusDTO interface.
23
31
  */
@@ -34,9 +42,12 @@ function MCPServerStatusDTOFromJSONTyped(json, ignoreDiscriminator) {
34
42
  return json;
35
43
  }
36
44
  return {
45
+ 'headerNames': json['headerNames'] == null ? undefined : json['headerNames'],
37
46
  'id': json['id'],
47
+ 'name': json['name'] == null ? undefined : json['name'],
38
48
  'status': json['status'] == null ? undefined : json['status'],
39
49
  'transport': json['transport'] == null ? undefined : json['transport'],
50
+ 'type': json['type'] == null ? undefined : json['type'],
40
51
  'url': json['url'] == null ? undefined : json['url'],
41
52
  };
42
53
  }
@@ -48,9 +59,12 @@ function MCPServerStatusDTOToJSONTyped(value, ignoreDiscriminator = false) {
48
59
  return value;
49
60
  }
50
61
  return {
62
+ 'headerNames': value['headerNames'],
51
63
  'id': value['id'],
64
+ 'name': value['name'],
52
65
  'status': value['status'],
53
66
  'transport': value['transport'],
67
+ 'type': value['type'],
54
68
  'url': value['url'],
55
69
  };
56
70
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MCPServerStatusDTO.js","sourceRoot":"","sources":["MCPServerStatusDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8BH,oEAGC;AAED,gEAEC;AAED,0EAWC;AAED,4DAEC;AAED,sEAYC;AAzCD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,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,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,I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AAC,KAAK,CAAC;KACvD,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,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;KACtB,CAAC;AACN,CAAC"}
@@ -19,10 +19,18 @@ import { mapValues } from '../runtime';
19
19
  * @interface MCPServerStatusDTO
20
20
  */
21
21
  export interface MCPServerStatusDTO {
22
+ /**
23
+ *
24
+ */
25
+ headerNames?: Array<string>;
22
26
  /**
23
27
  *
24
28
  */
25
29
  id: string;
30
+ /**
31
+ *
32
+ */
33
+ name?: string;
26
34
  /**
27
35
  *
28
36
  */
@@ -31,12 +39,27 @@ export interface MCPServerStatusDTO {
31
39
  *
32
40
  */
33
41
  transport?: string;
42
+ /**
43
+ *
44
+ */
45
+ type?: MCPServerStatusDTOTypeEnum;
34
46
  /**
35
47
  *
36
48
  */
37
49
  url?: string;
38
50
  }
39
51
 
52
+
53
+ /**
54
+ * @export
55
+ */
56
+ export const MCPServerStatusDTOTypeEnum = {
57
+ Generated: 'generated',
58
+ External: 'external',
59
+ } as const;
60
+ export type MCPServerStatusDTOTypeEnum = typeof MCPServerStatusDTOTypeEnum[keyof typeof MCPServerStatusDTOTypeEnum];
61
+
62
+
40
63
  /**
41
64
  * Check if a given object implements the MCPServerStatusDTO interface.
42
65
  */
@@ -55,9 +78,12 @@ export function MCPServerStatusDTOFromJSONTyped(json: any, ignoreDiscriminator:
55
78
  }
56
79
  return {
57
80
 
81
+ 'headerNames': json['headerNames'] == null ? undefined : json['headerNames'],
58
82
  'id': json['id'],
83
+ 'name': json['name'] == null ? undefined : json['name'],
59
84
  'status': json['status'] == null ? undefined : json['status'],
60
85
  'transport': json['transport'] == null ? undefined : json['transport'],
86
+ 'type': json['type'] == null ? undefined : json['type'],
61
87
  'url': json['url'] == null ? undefined : json['url'],
62
88
  };
63
89
  }
@@ -73,9 +99,12 @@ export function MCPServerStatusDTOToJSONTyped(value?: MCPServerStatusDTO | null,
73
99
 
74
100
  return {
75
101
 
102
+ 'headerNames': value['headerNames'],
76
103
  'id': value['id'],
104
+ 'name': value['name'],
77
105
  'status': value['status'],
78
106
  'transport': value['transport'],
107
+ 'type': value['type'],
79
108
  'url': value['url'],
80
109
  };
81
110
  }
@@ -38,7 +38,6 @@ function UpdateApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'name': json['name'] == null ? undefined : json['name'],
39
39
  'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
40
40
  'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
41
- 'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
42
41
  'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
43
42
  };
44
43
  }
@@ -56,7 +55,6 @@ function UpdateApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
56
55
  'name': value['name'],
57
56
  'ragApiKey': value['ragApiKey'],
58
57
  'resourceGroupId': value['resourceGroupId'],
59
- 'sessionDuration': value['sessionDuration'],
60
58
  'systemPrompt': value['systemPrompt'],
61
59
  };
62
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateApplicationDTO.js","sourceRoot":"","sources":["UpdateApplicationDTO.ts"],"names":[],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;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,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"}
@@ -43,10 +43,6 @@ export interface UpdateApplicationDTO {
43
43
  *
44
44
  */
45
45
  resourceGroupId?: string;
46
- /**
47
- *
48
- */
49
- sessionDuration?: number;
50
46
  /**
51
47
  *
52
48
  */
@@ -76,7 +72,6 @@ export function UpdateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator
76
72
  'name': json['name'] == null ? undefined : json['name'],
77
73
  'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
78
74
  'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
79
- 'sessionDuration': json['sessionDuration'] == null ? undefined : json['sessionDuration'],
80
75
  'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
81
76
  };
82
77
  }
@@ -98,7 +93,6 @@ export function UpdateApplicationDTOToJSONTyped(value?: UpdateApplicationDTO | n
98
93
  'name': value['name'],
99
94
  'ragApiKey': value['ragApiKey'],
100
95
  'resourceGroupId': value['resourceGroupId'],
101
- 'sessionDuration': value['sessionDuration'],
102
96
  'systemPrompt': value['systemPrompt'],
103
97
  };
104
98
  }
@@ -0,0 +1,53 @@
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.instanceOfUpdateMCPServerDTO = instanceOfUpdateMCPServerDTO;
17
+ exports.UpdateMCPServerDTOFromJSON = UpdateMCPServerDTOFromJSON;
18
+ exports.UpdateMCPServerDTOFromJSONTyped = UpdateMCPServerDTOFromJSONTyped;
19
+ exports.UpdateMCPServerDTOToJSON = UpdateMCPServerDTOToJSON;
20
+ exports.UpdateMCPServerDTOToJSONTyped = UpdateMCPServerDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateMCPServerDTO interface.
23
+ */
24
+ function instanceOfUpdateMCPServerDTO(value) {
25
+ return true;
26
+ }
27
+ function UpdateMCPServerDTOFromJSON(json) {
28
+ return UpdateMCPServerDTOFromJSONTyped(json, false);
29
+ }
30
+ function UpdateMCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'headers': json['headers'] == null ? undefined : json['headers'],
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'url': json['url'] == null ? undefined : json['url'],
38
+ };
39
+ }
40
+ function UpdateMCPServerDTOToJSON(json) {
41
+ return UpdateMCPServerDTOToJSONTyped(json, false);
42
+ }
43
+ function UpdateMCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'headers': value['headers'],
49
+ 'name': value['name'],
50
+ 'url': value['url'],
51
+ };
52
+ }
53
+ //# sourceMappingURL=UpdateMCPServerDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateMCPServerDTO.js","sourceRoot":"","sources":["UpdateMCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,oEAEC;AAED,gEAEC;AAED,0EAUC;AAED,4DAEC;AA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The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateMCPServerDTO
20
+ */
21
+ export interface UpdateMCPServerDTO {
22
+ /**
23
+ *
24
+ */
25
+ headers?: { [key: string]: string; };
26
+ /**
27
+ *
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ */
33
+ url?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the UpdateMCPServerDTO interface.
38
+ */
39
+ export function instanceOfUpdateMCPServerDTO(value: object): value is UpdateMCPServerDTO {
40
+ return true;
41
+ }
42
+
43
+ export function UpdateMCPServerDTOFromJSON(json: any): UpdateMCPServerDTO {
44
+ return UpdateMCPServerDTOFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function UpdateMCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateMCPServerDTO {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'headers': json['headers'] == null ? undefined : json['headers'],
54
+ 'name': json['name'] == null ? undefined : json['name'],
55
+ 'url': json['url'] == null ? undefined : json['url'],
56
+ };
57
+ }
58
+
59
+ export function UpdateMCPServerDTOToJSON(json: any): UpdateMCPServerDTO {
60
+ return UpdateMCPServerDTOToJSONTyped(json, false);
61
+ }
62
+
63
+ export function UpdateMCPServerDTOToJSONTyped(value?: UpdateMCPServerDTO | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'headers': value['headers'],
71
+ 'name': value['name'],
72
+ 'url': value['url'],
73
+ };
74
+ }
75
+
package/models/index.js CHANGED
@@ -28,6 +28,7 @@ __exportStar(require("./CreateAPIKeyRequestDTO"), exports);
28
28
  __exportStar(require("./CreateAPIKeyResponseDTO"), exports);
29
29
  __exportStar(require("./CreateAccountDTO"), exports);
30
30
  __exportStar(require("./CreateApplicationDTO"), exports);
31
+ __exportStar(require("./CreateExternalMCPServerDTO"), exports);
31
32
  __exportStar(require("./CreateMCPServerDTO"), exports);
32
33
  __exportStar(require("./ErrorDTO"), exports);
33
34
  __exportStar(require("./GetAPIKeysResponseDTO"), exports);
@@ -41,4 +42,5 @@ __exportStar(require("./SearchToolsResponseDTO"), exports);
41
42
  __exportStar(require("./ToolDTO"), exports);
42
43
  __exportStar(require("./ToolMatchDTO"), exports);
43
44
  __exportStar(require("./UpdateApplicationDTO"), exports);
45
+ __exportStar(require("./UpdateMCPServerDTO"), exports);
44
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,4DAA0C;AAC1C,uEAAqD;AACrD,yDAAuC;AACvC,+DAA6C;AAC7C,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,uDAAqC;AACrC,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,uDAAqC;AACrC,qDAAmC;AACnC,qEAAmD;AACnD,6DAA2C;AAC3C,0DAAwC;AACxC,2DAAyC;AACzC,4CAA0B;AAC1B,iDAA+B;AAC/B,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,4DAA0C;AAC1C,uEAAqD;AACrD,yDAAuC;AACvC,+DAA6C;AAC7C,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,+DAA6C;AAC7C,uDAAqC;AACrC,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,uDAAqC;AACrC,qDAAmC;AACnC,qEAAmD;AACnD,6DAA2C;AAC3C,0DAAwC;AACxC,2DAAyC;AACzC,4CAA0B;AAC1B,iDAA+B;AAC/B,yDAAuC;AACvC,uDAAqC"}
package/models/index.ts CHANGED
@@ -12,6 +12,7 @@ export * from './CreateAPIKeyRequestDTO';
12
12
  export * from './CreateAPIKeyResponseDTO';
13
13
  export * from './CreateAccountDTO';
14
14
  export * from './CreateApplicationDTO';
15
+ export * from './CreateExternalMCPServerDTO';
15
16
  export * from './CreateMCPServerDTO';
16
17
  export * from './ErrorDTO';
17
18
  export * from './GetAPIKeysResponseDTO';
@@ -25,3 +26,4 @@ export * from './SearchToolsResponseDTO';
25
26
  export * from './ToolDTO';
26
27
  export * from './ToolMatchDTO';
27
28
  export * from './UpdateApplicationDTO';
29
+ export * from './UpdateMCPServerDTO';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuix-mcp-host-client",
3
- "version": "0.0.271",
3
+ "version": "0.0.273",
4
4
  "description": "This package facilitates the client request to tuix tuix-mcp-host",
5
5
  "main": "index.js",
6
6
  "private": false,
@@ -1 +1 @@
1
- {"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/AIModelDTO.ts","./models/APIKeyDTO.ts","./models/AccountDTO.ts","./models/ApplicationDTO.ts","./models/ApplicationMCPServerDTO.ts","./models/ApplicationWithApplicationCountDTO.ts","./models/CallMCPServerToolDTO.ts","./models/CallMCPServerToolResultDTO.ts","./models/CreateAPIKeyRequestDTO.ts","./models/CreateAPIKeyResponseDTO.ts","./models/CreateAccountDTO.ts","./models/CreateApplicationDTO.ts","./models/CreateMCPServerDTO.ts","./models/ErrorDTO.ts","./models/GetAPIKeysResponseDTO.ts","./models/MCPServerDTO.ts","./models/MCPServerStatusDTO.ts","./models/MCPServerToolDTO.ts","./models/PaginatedApplicationMCPServerDTO.ts","./models/PaginatedApplicationsDTO.ts","./models/PaginatedMCPServerDTO.ts","./models/SearchToolsResponseDTO.ts","./models/ToolDTO.ts","./models/ToolMatchDTO.ts","./models/UpdateApplicationDTO.ts","./models/index.ts"],"version":"5.9.3"}
1
+ {"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/AIModelDTO.ts","./models/APIKeyDTO.ts","./models/AccountDTO.ts","./models/ApplicationDTO.ts","./models/ApplicationMCPServerDTO.ts","./models/ApplicationWithApplicationCountDTO.ts","./models/CallMCPServerToolDTO.ts","./models/CallMCPServerToolResultDTO.ts","./models/CreateAPIKeyRequestDTO.ts","./models/CreateAPIKeyResponseDTO.ts","./models/CreateAccountDTO.ts","./models/CreateApplicationDTO.ts","./models/CreateExternalMCPServerDTO.ts","./models/CreateMCPServerDTO.ts","./models/ErrorDTO.ts","./models/GetAPIKeysResponseDTO.ts","./models/MCPServerDTO.ts","./models/MCPServerStatusDTO.ts","./models/MCPServerToolDTO.ts","./models/PaginatedApplicationMCPServerDTO.ts","./models/PaginatedApplicationsDTO.ts","./models/PaginatedMCPServerDTO.ts","./models/SearchToolsResponseDTO.ts","./models/ToolDTO.ts","./models/ToolMatchDTO.ts","./models/UpdateApplicationDTO.ts","./models/UpdateMCPServerDTO.ts","./models/index.ts"],"version":"5.9.3"}