tuix-mcp-host-client 0.0.1

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 (102) hide show
  1. package/.openapi-generator/FILES +47 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +48 -0
  5. package/apis/ClientApi.js +771 -0
  6. package/apis/ClientApi.js.map +1 -0
  7. package/apis/ClientApi.ts +1142 -0
  8. package/apis/index.js +20 -0
  9. package/apis/index.js.map +1 -0
  10. package/apis/index.ts +3 -0
  11. package/docs/APIKeyDTO.md +40 -0
  12. package/docs/AccountDTO.md +34 -0
  13. package/docs/ApplicationDTO.md +44 -0
  14. package/docs/ApplicationMCPServerDTO.md +36 -0
  15. package/docs/ApplicationWithApplicationCountDTO.md +46 -0
  16. package/docs/ClientApi.md +1397 -0
  17. package/docs/CreateAPIKeyRequestDTO.md +34 -0
  18. package/docs/CreateAPIKeyResponseDTO.md +42 -0
  19. package/docs/CreateAccountDTO.md +36 -0
  20. package/docs/CreateApplicationDTO.md +38 -0
  21. package/docs/CreateMCPServerDTO.md +36 -0
  22. package/docs/ErrorDTO.md +34 -0
  23. package/docs/GetAPIKeysResponseDTO.md +42 -0
  24. package/docs/InternalStreamChatRequest.md +36 -0
  25. package/docs/InternalStreamCreateSessionRequest.md +34 -0
  26. package/docs/InternalStreamCreateSessionResponse.md +38 -0
  27. package/docs/MCPServerDTO.md +38 -0
  28. package/docs/PaginatedApplicationsDTO.md +42 -0
  29. package/docs/PaginatedMCPServerDTO.md +42 -0
  30. package/docs/UpdateApplicationDTO.md +38 -0
  31. package/docs/UpdateMCPServerDTO.md +36 -0
  32. package/index.js +22 -0
  33. package/index.js.map +1 -0
  34. package/index.ts +5 -0
  35. package/models/APIKeyDTO.js +55 -0
  36. package/models/APIKeyDTO.js.map +1 -0
  37. package/models/APIKeyDTO.ts +89 -0
  38. package/models/AccountDTO.js +49 -0
  39. package/models/AccountDTO.js.map +1 -0
  40. package/models/AccountDTO.ts +65 -0
  41. package/models/ApplicationDTO.js +59 -0
  42. package/models/ApplicationDTO.js.map +1 -0
  43. package/models/ApplicationDTO.ts +105 -0
  44. package/models/ApplicationMCPServerDTO.js +51 -0
  45. package/models/ApplicationMCPServerDTO.js.map +1 -0
  46. package/models/ApplicationMCPServerDTO.ts +73 -0
  47. package/models/ApplicationWithApplicationCountDTO.js +61 -0
  48. package/models/ApplicationWithApplicationCountDTO.js.map +1 -0
  49. package/models/ApplicationWithApplicationCountDTO.ts +113 -0
  50. package/models/CreateAPIKeyRequestDTO.js +51 -0
  51. package/models/CreateAPIKeyRequestDTO.js.map +1 -0
  52. package/models/CreateAPIKeyRequestDTO.ts +66 -0
  53. package/models/CreateAPIKeyResponseDTO.js +57 -0
  54. package/models/CreateAPIKeyResponseDTO.js.map +1 -0
  55. package/models/CreateAPIKeyResponseDTO.ts +97 -0
  56. package/models/CreateAccountDTO.js +55 -0
  57. package/models/CreateAccountDTO.js.map +1 -0
  58. package/models/CreateAccountDTO.ts +75 -0
  59. package/models/CreateApplicationDTO.js +59 -0
  60. package/models/CreateApplicationDTO.js.map +1 -0
  61. package/models/CreateApplicationDTO.ts +84 -0
  62. package/models/CreateMCPServerDTO.js +51 -0
  63. package/models/CreateMCPServerDTO.js.map +1 -0
  64. package/models/CreateMCPServerDTO.ts +73 -0
  65. package/models/ErrorDTO.js +49 -0
  66. package/models/ErrorDTO.js.map +1 -0
  67. package/models/ErrorDTO.ts +65 -0
  68. package/models/GetAPIKeysResponseDTO.js +58 -0
  69. package/models/GetAPIKeysResponseDTO.js.map +1 -0
  70. package/models/GetAPIKeysResponseDTO.ts +105 -0
  71. package/models/InternalStreamChatRequest.js +51 -0
  72. package/models/InternalStreamChatRequest.js.map +1 -0
  73. package/models/InternalStreamChatRequest.ts +73 -0
  74. package/models/InternalStreamCreateSessionRequest.js +49 -0
  75. package/models/InternalStreamCreateSessionRequest.js.map +1 -0
  76. package/models/InternalStreamCreateSessionRequest.ts +65 -0
  77. package/models/InternalStreamCreateSessionResponse.js +53 -0
  78. package/models/InternalStreamCreateSessionResponse.js.map +1 -0
  79. package/models/InternalStreamCreateSessionResponse.ts +81 -0
  80. package/models/MCPServerDTO.js +53 -0
  81. package/models/MCPServerDTO.js.map +1 -0
  82. package/models/MCPServerDTO.ts +81 -0
  83. package/models/PaginatedApplicationsDTO.js +68 -0
  84. package/models/PaginatedApplicationsDTO.js.map +1 -0
  85. package/models/PaginatedApplicationsDTO.ts +110 -0
  86. package/models/PaginatedMCPServerDTO.js +58 -0
  87. package/models/PaginatedMCPServerDTO.js.map +1 -0
  88. package/models/PaginatedMCPServerDTO.ts +105 -0
  89. package/models/UpdateApplicationDTO.js +53 -0
  90. package/models/UpdateApplicationDTO.js.map +1 -0
  91. package/models/UpdateApplicationDTO.ts +81 -0
  92. package/models/UpdateMCPServerDTO.js +51 -0
  93. package/models/UpdateMCPServerDTO.js.map +1 -0
  94. package/models/UpdateMCPServerDTO.ts +73 -0
  95. package/models/index.js +39 -0
  96. package/models/index.js.map +1 -0
  97. package/models/index.ts +22 -0
  98. package/package.json +17 -0
  99. package/runtime.js +330 -0
  100. package/runtime.js.map +1 -0
  101. package/runtime.ts +432 -0
  102. package/tsconfig.build.tsbuildinfo +1 -0
@@ -0,0 +1,89 @@
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 APIKeyDTO
20
+ */
21
+ export interface APIKeyDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof APIKeyDTO
26
+ */
27
+ apiKeyToDisplay?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof APIKeyDTO
32
+ */
33
+ createdAt?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof APIKeyDTO
38
+ */
39
+ id?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof APIKeyDTO
44
+ */
45
+ name?: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the APIKeyDTO interface.
50
+ */
51
+ export function instanceOfAPIKeyDTO(value: object): value is APIKeyDTO {
52
+ return true;
53
+ }
54
+
55
+ export function APIKeyDTOFromJSON(json: any): APIKeyDTO {
56
+ return APIKeyDTOFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function APIKeyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): APIKeyDTO {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'apiKeyToDisplay': json['api_key_to_display'] == null ? undefined : json['api_key_to_display'],
66
+ 'createdAt': json['created_at'] == null ? undefined : json['created_at'],
67
+ 'id': json['id'] == null ? undefined : json['id'],
68
+ 'name': json['name'] == null ? undefined : json['name'],
69
+ };
70
+ }
71
+
72
+ export function APIKeyDTOToJSON(json: any): APIKeyDTO {
73
+ return APIKeyDTOToJSONTyped(json, false);
74
+ }
75
+
76
+ export function APIKeyDTOToJSONTyped(value?: APIKeyDTO | null, ignoreDiscriminator: boolean = false): any {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+
81
+ return {
82
+
83
+ 'api_key_to_display': value['apiKeyToDisplay'],
84
+ 'created_at': value['createdAt'],
85
+ 'id': value['id'],
86
+ 'name': value['name'],
87
+ };
88
+ }
89
+
@@ -0,0 +1,49 @@
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.instanceOfAccountDTO = instanceOfAccountDTO;
17
+ exports.AccountDTOFromJSON = AccountDTOFromJSON;
18
+ exports.AccountDTOFromJSONTyped = AccountDTOFromJSONTyped;
19
+ exports.AccountDTOToJSON = AccountDTOToJSON;
20
+ exports.AccountDTOToJSONTyped = AccountDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AccountDTO interface.
23
+ */
24
+ function instanceOfAccountDTO(value) {
25
+ return true;
26
+ }
27
+ function AccountDTOFromJSON(json) {
28
+ return AccountDTOFromJSONTyped(json, false);
29
+ }
30
+ function AccountDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ };
37
+ }
38
+ function AccountDTOToJSON(json) {
39
+ return AccountDTOToJSONTyped(json, false);
40
+ }
41
+ function AccountDTOToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'id': value['id'],
47
+ };
48
+ }
49
+ //# sourceMappingURL=AccountDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["AccountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoBH,oDAEC;AAED,gDAEC;AAED,0DAQC;AAED,4CAEC;AAED,sDASC;AAlCD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,KAAa;IAC9C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS,EAAE,mBAA4B;IAC3E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;KACpD,CAAC;AACN,CAAC;AAED,SAAgB,gBAAgB,CAAC,IAAS;IACtC,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,qBAAqB,CAAC,KAAyB,EAAE,sBAA+B,KAAK;IACjG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;KACpB,CAAC;AACN,CAAC"}
@@ -0,0 +1,65 @@
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 AccountDTO
20
+ */
21
+ export interface AccountDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AccountDTO
26
+ */
27
+ id?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the AccountDTO interface.
32
+ */
33
+ export function instanceOfAccountDTO(value: object): value is AccountDTO {
34
+ return true;
35
+ }
36
+
37
+ export function AccountDTOFromJSON(json: any): AccountDTO {
38
+ return AccountDTOFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function AccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountDTO {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'id': json['id'] == null ? undefined : json['id'],
48
+ };
49
+ }
50
+
51
+ export function AccountDTOToJSON(json: any): AccountDTO {
52
+ return AccountDTOToJSONTyped(json, false);
53
+ }
54
+
55
+ export function AccountDTOToJSONTyped(value?: AccountDTO | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'id': value['id'],
63
+ };
64
+ }
65
+
@@ -0,0 +1,59 @@
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.instanceOfApplicationDTO = instanceOfApplicationDTO;
17
+ exports.ApplicationDTOFromJSON = ApplicationDTOFromJSON;
18
+ exports.ApplicationDTOFromJSONTyped = ApplicationDTOFromJSONTyped;
19
+ exports.ApplicationDTOToJSON = ApplicationDTOToJSON;
20
+ exports.ApplicationDTOToJSONTyped = ApplicationDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApplicationDTO interface.
23
+ */
24
+ function instanceOfApplicationDTO(value) {
25
+ return true;
26
+ }
27
+ function ApplicationDTOFromJSON(json) {
28
+ return ApplicationDTOFromJSONTyped(json, false);
29
+ }
30
+ function ApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'accountId': json['accountId'] == null ? undefined : json['accountId'],
36
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
37
+ 'description': json['description'] == null ? undefined : json['description'],
38
+ 'id': json['id'] == null ? undefined : json['id'],
39
+ 'name': json['name'] == null ? undefined : json['name'],
40
+ 'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
41
+ };
42
+ }
43
+ function ApplicationDTOToJSON(json) {
44
+ return ApplicationDTOToJSONTyped(json, false);
45
+ }
46
+ function ApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'accountId': value['accountId'],
52
+ 'createdAt': value['createdAt'],
53
+ 'description': value['description'],
54
+ 'id': value['id'],
55
+ 'name': value['name'],
56
+ 'resourceGroupId': value['resourceGroupId'],
57
+ };
58
+ }
59
+ //# sourceMappingURL=ApplicationDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationDTO.js","sourceRoot":"","sources":["ApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkDH,4DAEC;AAED,wDAEC;AAED,kEAaC;AAED,oDAEC;AAED,8DAcC;AA5CD;;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,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,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;KAC3F,CAAC;AACN,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS;IAC1C,OAAO,yBAAyB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,KAA6B,EAAE,sBAA+B,KAAK;IACzG,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,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;KAC9C,CAAC;AACN,CAAC"}
@@ -0,0 +1,105 @@
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 ApplicationDTO
20
+ */
21
+ export interface ApplicationDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApplicationDTO
26
+ */
27
+ accountId?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApplicationDTO
32
+ */
33
+ createdAt?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApplicationDTO
38
+ */
39
+ description?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApplicationDTO
44
+ */
45
+ id?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ApplicationDTO
50
+ */
51
+ name?: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ApplicationDTO
56
+ */
57
+ resourceGroupId?: string;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the ApplicationDTO interface.
62
+ */
63
+ export function instanceOfApplicationDTO(value: object): value is ApplicationDTO {
64
+ return true;
65
+ }
66
+
67
+ export function ApplicationDTOFromJSON(json: any): ApplicationDTO {
68
+ return ApplicationDTOFromJSONTyped(json, false);
69
+ }
70
+
71
+ export function ApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationDTO {
72
+ if (json == null) {
73
+ return json;
74
+ }
75
+ return {
76
+
77
+ 'accountId': json['accountId'] == null ? undefined : json['accountId'],
78
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
79
+ 'description': json['description'] == null ? undefined : json['description'],
80
+ 'id': json['id'] == null ? undefined : json['id'],
81
+ 'name': json['name'] == null ? undefined : json['name'],
82
+ 'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
83
+ };
84
+ }
85
+
86
+ export function ApplicationDTOToJSON(json: any): ApplicationDTO {
87
+ return ApplicationDTOToJSONTyped(json, false);
88
+ }
89
+
90
+ export function ApplicationDTOToJSONTyped(value?: ApplicationDTO | null, ignoreDiscriminator: boolean = false): any {
91
+ if (value == null) {
92
+ return value;
93
+ }
94
+
95
+ return {
96
+
97
+ 'accountId': value['accountId'],
98
+ 'createdAt': value['createdAt'],
99
+ 'description': value['description'],
100
+ 'id': value['id'],
101
+ 'name': value['name'],
102
+ 'resourceGroupId': value['resourceGroupId'],
103
+ };
104
+ }
105
+
@@ -0,0 +1,51 @@
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.instanceOfApplicationMCPServerDTO = instanceOfApplicationMCPServerDTO;
17
+ exports.ApplicationMCPServerDTOFromJSON = ApplicationMCPServerDTOFromJSON;
18
+ exports.ApplicationMCPServerDTOFromJSONTyped = ApplicationMCPServerDTOFromJSONTyped;
19
+ exports.ApplicationMCPServerDTOToJSON = ApplicationMCPServerDTOToJSON;
20
+ exports.ApplicationMCPServerDTOToJSONTyped = ApplicationMCPServerDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApplicationMCPServerDTO interface.
23
+ */
24
+ function instanceOfApplicationMCPServerDTO(value) {
25
+ return true;
26
+ }
27
+ function ApplicationMCPServerDTOFromJSON(json) {
28
+ return ApplicationMCPServerDTOFromJSONTyped(json, false);
29
+ }
30
+ function ApplicationMCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'applicationId': json['applicationId'] == null ? undefined : json['applicationId'],
36
+ 'mcpServerId': json['mcpServerId'] == null ? undefined : json['mcpServerId'],
37
+ };
38
+ }
39
+ function ApplicationMCPServerDTOToJSON(json) {
40
+ return ApplicationMCPServerDTOToJSONTyped(json, false);
41
+ }
42
+ function ApplicationMCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'applicationId': value['applicationId'],
48
+ 'mcpServerId': value['mcpServerId'],
49
+ };
50
+ }
51
+ //# sourceMappingURL=ApplicationMCPServerDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationMCPServerDTO.js","sourceRoot":"","sources":["ApplicationMCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,8EAEC;AAED,0EAEC;AAED,oFASC;AAED,sEAEC;AAED,gFAUC;AApCD;;GAEG;AACH,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAClF,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;KAC/E,CAAC;AACN,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;KACtC,CAAC;AACN,CAAC"}
@@ -0,0 +1,73 @@
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 ApplicationMCPServerDTO
20
+ */
21
+ export interface ApplicationMCPServerDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApplicationMCPServerDTO
26
+ */
27
+ applicationId?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApplicationMCPServerDTO
32
+ */
33
+ mcpServerId?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ApplicationMCPServerDTO interface.
38
+ */
39
+ export function instanceOfApplicationMCPServerDTO(value: object): value is ApplicationMCPServerDTO {
40
+ return true;
41
+ }
42
+
43
+ export function ApplicationMCPServerDTOFromJSON(json: any): ApplicationMCPServerDTO {
44
+ return ApplicationMCPServerDTOFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function ApplicationMCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationMCPServerDTO {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'applicationId': json['applicationId'] == null ? undefined : json['applicationId'],
54
+ 'mcpServerId': json['mcpServerId'] == null ? undefined : json['mcpServerId'],
55
+ };
56
+ }
57
+
58
+ export function ApplicationMCPServerDTOToJSON(json: any): ApplicationMCPServerDTO {
59
+ return ApplicationMCPServerDTOToJSONTyped(json, false);
60
+ }
61
+
62
+ export function ApplicationMCPServerDTOToJSONTyped(value?: ApplicationMCPServerDTO | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'applicationId': value['applicationId'],
70
+ 'mcpServerId': value['mcpServerId'],
71
+ };
72
+ }
73
+
@@ -0,0 +1,61 @@
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.instanceOfApplicationWithApplicationCountDTO = instanceOfApplicationWithApplicationCountDTO;
17
+ exports.ApplicationWithApplicationCountDTOFromJSON = ApplicationWithApplicationCountDTOFromJSON;
18
+ exports.ApplicationWithApplicationCountDTOFromJSONTyped = ApplicationWithApplicationCountDTOFromJSONTyped;
19
+ exports.ApplicationWithApplicationCountDTOToJSON = ApplicationWithApplicationCountDTOToJSON;
20
+ exports.ApplicationWithApplicationCountDTOToJSONTyped = ApplicationWithApplicationCountDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApplicationWithApplicationCountDTO interface.
23
+ */
24
+ function instanceOfApplicationWithApplicationCountDTO(value) {
25
+ return true;
26
+ }
27
+ function ApplicationWithApplicationCountDTOFromJSON(json) {
28
+ return ApplicationWithApplicationCountDTOFromJSONTyped(json, false);
29
+ }
30
+ function ApplicationWithApplicationCountDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'accountId': json['accountId'] == null ? undefined : json['accountId'],
36
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
37
+ 'description': json['description'] == null ? undefined : json['description'],
38
+ 'id': json['id'] == null ? undefined : json['id'],
39
+ 'mcpServersCount': json['mcpServersCount'] == null ? undefined : json['mcpServersCount'],
40
+ 'name': json['name'] == null ? undefined : json['name'],
41
+ 'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
42
+ };
43
+ }
44
+ function ApplicationWithApplicationCountDTOToJSON(json) {
45
+ return ApplicationWithApplicationCountDTOToJSONTyped(json, false);
46
+ }
47
+ function ApplicationWithApplicationCountDTOToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'accountId': value['accountId'],
53
+ 'createdAt': value['createdAt'],
54
+ 'description': value['description'],
55
+ 'id': value['id'],
56
+ 'mcpServersCount': value['mcpServersCount'],
57
+ 'name': value['name'],
58
+ 'resourceGroupId': value['resourceGroupId'],
59
+ };
60
+ }
61
+ //# sourceMappingURL=ApplicationWithApplicationCountDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationWithApplicationCountDTO.js","sourceRoot":"","sources":["ApplicationWithApplicationCountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAwDH,oGAEC;AAED,gGAEC;AAED,0GAcC;AAED,4FAEC;AAED,sGAeC;AA9CD;;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,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,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,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;QACxF,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;KAC3F,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,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;KAC9C,CAAC;AACN,CAAC"}
@@ -0,0 +1,113 @@
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 ApplicationWithApplicationCountDTO
20
+ */
21
+ export interface ApplicationWithApplicationCountDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApplicationWithApplicationCountDTO
26
+ */
27
+ accountId?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApplicationWithApplicationCountDTO
32
+ */
33
+ createdAt?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApplicationWithApplicationCountDTO
38
+ */
39
+ description?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApplicationWithApplicationCountDTO
44
+ */
45
+ id?: string;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof ApplicationWithApplicationCountDTO
50
+ */
51
+ mcpServersCount?: number;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ApplicationWithApplicationCountDTO
56
+ */
57
+ name?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ApplicationWithApplicationCountDTO
62
+ */
63
+ resourceGroupId?: string;
64
+ }
65
+
66
+ /**
67
+ * Check if a given object implements the ApplicationWithApplicationCountDTO interface.
68
+ */
69
+ export function instanceOfApplicationWithApplicationCountDTO(value: object): value is ApplicationWithApplicationCountDTO {
70
+ return true;
71
+ }
72
+
73
+ export function ApplicationWithApplicationCountDTOFromJSON(json: any): ApplicationWithApplicationCountDTO {
74
+ return ApplicationWithApplicationCountDTOFromJSONTyped(json, false);
75
+ }
76
+
77
+ export function ApplicationWithApplicationCountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationWithApplicationCountDTO {
78
+ if (json == null) {
79
+ return json;
80
+ }
81
+ return {
82
+
83
+ 'accountId': json['accountId'] == null ? undefined : json['accountId'],
84
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
85
+ 'description': json['description'] == null ? undefined : json['description'],
86
+ 'id': json['id'] == null ? undefined : json['id'],
87
+ 'mcpServersCount': json['mcpServersCount'] == null ? undefined : json['mcpServersCount'],
88
+ 'name': json['name'] == null ? undefined : json['name'],
89
+ 'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
90
+ };
91
+ }
92
+
93
+ export function ApplicationWithApplicationCountDTOToJSON(json: any): ApplicationWithApplicationCountDTO {
94
+ return ApplicationWithApplicationCountDTOToJSONTyped(json, false);
95
+ }
96
+
97
+ export function ApplicationWithApplicationCountDTOToJSONTyped(value?: ApplicationWithApplicationCountDTO | null, ignoreDiscriminator: boolean = false): any {
98
+ if (value == null) {
99
+ return value;
100
+ }
101
+
102
+ return {
103
+
104
+ 'accountId': value['accountId'],
105
+ 'createdAt': value['createdAt'],
106
+ 'description': value['description'],
107
+ 'id': value['id'],
108
+ 'mcpServersCount': value['mcpServersCount'],
109
+ 'name': value['name'],
110
+ 'resourceGroupId': value['resourceGroupId'],
111
+ };
112
+ }
113
+