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,81 @@
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 InternalStreamCreateSessionResponse
20
+ */
21
+ export interface InternalStreamCreateSessionResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof InternalStreamCreateSessionResponse
26
+ */
27
+ createdAt?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof InternalStreamCreateSessionResponse
32
+ */
33
+ sessionId?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof InternalStreamCreateSessionResponse
38
+ */
39
+ userId?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the InternalStreamCreateSessionResponse interface.
44
+ */
45
+ export function instanceOfInternalStreamCreateSessionResponse(value: object): value is InternalStreamCreateSessionResponse {
46
+ return true;
47
+ }
48
+
49
+ export function InternalStreamCreateSessionResponseFromJSON(json: any): InternalStreamCreateSessionResponse {
50
+ return InternalStreamCreateSessionResponseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function InternalStreamCreateSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalStreamCreateSessionResponse {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+
59
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
60
+ 'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
61
+ 'userId': json['userId'] == null ? undefined : json['userId'],
62
+ };
63
+ }
64
+
65
+ export function InternalStreamCreateSessionResponseToJSON(json: any): InternalStreamCreateSessionResponse {
66
+ return InternalStreamCreateSessionResponseToJSONTyped(json, false);
67
+ }
68
+
69
+ export function InternalStreamCreateSessionResponseToJSONTyped(value?: InternalStreamCreateSessionResponse | null, ignoreDiscriminator: boolean = false): any {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+
74
+ return {
75
+
76
+ 'createdAt': value['createdAt'],
77
+ 'sessionId': value['sessionId'],
78
+ 'userId': value['userId'],
79
+ };
80
+ }
81
+
@@ -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.instanceOfMCPServerDTO = instanceOfMCPServerDTO;
17
+ exports.MCPServerDTOFromJSON = MCPServerDTOFromJSON;
18
+ exports.MCPServerDTOFromJSONTyped = MCPServerDTOFromJSONTyped;
19
+ exports.MCPServerDTOToJSON = MCPServerDTOToJSON;
20
+ exports.MCPServerDTOToJSONTyped = MCPServerDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the MCPServerDTO interface.
23
+ */
24
+ function instanceOfMCPServerDTO(value) {
25
+ return true;
26
+ }
27
+ function MCPServerDTOFromJSON(json) {
28
+ return MCPServerDTOFromJSONTyped(json, false);
29
+ }
30
+ function MCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ 'transport': json['transport'] == null ? undefined : json['transport'],
37
+ 'url': json['url'] == null ? undefined : json['url'],
38
+ };
39
+ }
40
+ function MCPServerDTOToJSON(json) {
41
+ return MCPServerDTOToJSONTyped(json, false);
42
+ }
43
+ function MCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ 'transport': value['transport'],
50
+ 'url': value['url'],
51
+ };
52
+ }
53
+ //# sourceMappingURL=MCPServerDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MCPServerDTO.js","sourceRoot":"","sources":["MCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,wDAEC;AAED,oDAEC;AAED,8DAUC;AAED,gDAEC;AAED,0DAWC;AAtCD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,KAAa;IAChD,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,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,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,EAAE,sBAA+B,KAAK;IACrG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;KACtB,CAAC;AACN,CAAC"}
@@ -0,0 +1,81 @@
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 MCPServerDTO
20
+ */
21
+ export interface MCPServerDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof MCPServerDTO
26
+ */
27
+ id?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof MCPServerDTO
32
+ */
33
+ transport?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof MCPServerDTO
38
+ */
39
+ url?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the MCPServerDTO interface.
44
+ */
45
+ export function instanceOfMCPServerDTO(value: object): value is MCPServerDTO {
46
+ return true;
47
+ }
48
+
49
+ export function MCPServerDTOFromJSON(json: any): MCPServerDTO {
50
+ return MCPServerDTOFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function MCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MCPServerDTO {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+
59
+ 'id': json['id'] == null ? undefined : json['id'],
60
+ 'transport': json['transport'] == null ? undefined : json['transport'],
61
+ 'url': json['url'] == null ? undefined : json['url'],
62
+ };
63
+ }
64
+
65
+ export function MCPServerDTOToJSON(json: any): MCPServerDTO {
66
+ return MCPServerDTOToJSONTyped(json, false);
67
+ }
68
+
69
+ export function MCPServerDTOToJSONTyped(value?: MCPServerDTO | null, ignoreDiscriminator: boolean = false): any {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+
74
+ return {
75
+
76
+ 'id': value['id'],
77
+ 'transport': value['transport'],
78
+ 'url': value['url'],
79
+ };
80
+ }
81
+
@@ -0,0 +1,68 @@
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.instanceOfPaginatedApplicationsDTO = instanceOfPaginatedApplicationsDTO;
17
+ exports.PaginatedApplicationsDTOFromJSON = PaginatedApplicationsDTOFromJSON;
18
+ exports.PaginatedApplicationsDTOFromJSONTyped = PaginatedApplicationsDTOFromJSONTyped;
19
+ exports.PaginatedApplicationsDTOToJSON = PaginatedApplicationsDTOToJSON;
20
+ exports.PaginatedApplicationsDTOToJSONTyped = PaginatedApplicationsDTOToJSONTyped;
21
+ const ApplicationWithApplicationCountDTO_1 = require("./ApplicationWithApplicationCountDTO");
22
+ /**
23
+ * Check if a given object implements the PaginatedApplicationsDTO interface.
24
+ */
25
+ function instanceOfPaginatedApplicationsDTO(value) {
26
+ if (!('items' in value) || value['items'] === undefined)
27
+ return false;
28
+ if (!('page' in value) || value['page'] === undefined)
29
+ return false;
30
+ if (!('pageSize' in value) || value['pageSize'] === undefined)
31
+ return false;
32
+ if (!('totalItems' in value) || value['totalItems'] === undefined)
33
+ return false;
34
+ if (!('totalPages' in value) || value['totalPages'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ function PaginatedApplicationsDTOFromJSON(json) {
39
+ return PaginatedApplicationsDTOFromJSONTyped(json, false);
40
+ }
41
+ function PaginatedApplicationsDTOFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'items': (json['items'].map(ApplicationWithApplicationCountDTO_1.ApplicationWithApplicationCountDTOFromJSON)),
47
+ 'page': json['page'],
48
+ 'pageSize': json['pageSize'],
49
+ 'totalItems': json['totalItems'],
50
+ 'totalPages': json['totalPages'],
51
+ };
52
+ }
53
+ function PaginatedApplicationsDTOToJSON(json) {
54
+ return PaginatedApplicationsDTOToJSONTyped(json, false);
55
+ }
56
+ function PaginatedApplicationsDTOToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'items': (value['items'].map(ApplicationWithApplicationCountDTO_1.ApplicationWithApplicationCountDTOToJSON)),
62
+ 'page': value['page'],
63
+ 'pageSize': value['pageSize'],
64
+ 'totalItems': value['totalItems'],
65
+ 'totalPages': value['totalPages'],
66
+ };
67
+ }
68
+ //# sourceMappingURL=PaginatedApplicationsDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginatedApplicationsDTO.js","sourceRoot":"","sources":["PaginatedApplicationsDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoDH,gFAOC;AAED,4EAEC;AAED,sFAYC;AAED,wEAEC;AAED,kFAaC;AA5FD,6FAK8C;AAwC9C;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,+EAA0C,CAAC,CAAC;QACxF,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,KAAuC,EAAE,sBAA+B,KAAK;IAC7H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,6EAAwC,CAAC,CAAC;QACvF,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
@@ -0,0 +1,110 @@
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
+ import type { ApplicationWithApplicationCountDTO } from './ApplicationWithApplicationCountDTO';
17
+ import {
18
+ ApplicationWithApplicationCountDTOFromJSON,
19
+ ApplicationWithApplicationCountDTOFromJSONTyped,
20
+ ApplicationWithApplicationCountDTOToJSON,
21
+ ApplicationWithApplicationCountDTOToJSONTyped,
22
+ } from './ApplicationWithApplicationCountDTO';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface PaginatedApplicationsDTO
28
+ */
29
+ export interface PaginatedApplicationsDTO {
30
+ /**
31
+ *
32
+ * @type {Array<ApplicationWithApplicationCountDTO>}
33
+ * @memberof PaginatedApplicationsDTO
34
+ */
35
+ items: Array<ApplicationWithApplicationCountDTO>;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PaginatedApplicationsDTO
40
+ */
41
+ page: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PaginatedApplicationsDTO
46
+ */
47
+ pageSize: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof PaginatedApplicationsDTO
52
+ */
53
+ totalItems: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof PaginatedApplicationsDTO
58
+ */
59
+ totalPages: number;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the PaginatedApplicationsDTO interface.
64
+ */
65
+ export function instanceOfPaginatedApplicationsDTO(value: object): value is PaginatedApplicationsDTO {
66
+ if (!('items' in value) || value['items'] === undefined) return false;
67
+ if (!('page' in value) || value['page'] === undefined) return false;
68
+ if (!('pageSize' in value) || value['pageSize'] === undefined) return false;
69
+ if (!('totalItems' in value) || value['totalItems'] === undefined) return false;
70
+ if (!('totalPages' in value) || value['totalPages'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function PaginatedApplicationsDTOFromJSON(json: any): PaginatedApplicationsDTO {
75
+ return PaginatedApplicationsDTOFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function PaginatedApplicationsDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedApplicationsDTO {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'items': ((json['items'] as Array<any>).map(ApplicationWithApplicationCountDTOFromJSON)),
85
+ 'page': json['page'],
86
+ 'pageSize': json['pageSize'],
87
+ 'totalItems': json['totalItems'],
88
+ 'totalPages': json['totalPages'],
89
+ };
90
+ }
91
+
92
+ export function PaginatedApplicationsDTOToJSON(json: any): PaginatedApplicationsDTO {
93
+ return PaginatedApplicationsDTOToJSONTyped(json, false);
94
+ }
95
+
96
+ export function PaginatedApplicationsDTOToJSONTyped(value?: PaginatedApplicationsDTO | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'items': ((value['items'] as Array<any>).map(ApplicationWithApplicationCountDTOToJSON)),
104
+ 'page': value['page'],
105
+ 'pageSize': value['pageSize'],
106
+ 'totalItems': value['totalItems'],
107
+ 'totalPages': value['totalPages'],
108
+ };
109
+ }
110
+
@@ -0,0 +1,58 @@
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.instanceOfPaginatedMCPServerDTO = instanceOfPaginatedMCPServerDTO;
17
+ exports.PaginatedMCPServerDTOFromJSON = PaginatedMCPServerDTOFromJSON;
18
+ exports.PaginatedMCPServerDTOFromJSONTyped = PaginatedMCPServerDTOFromJSONTyped;
19
+ exports.PaginatedMCPServerDTOToJSON = PaginatedMCPServerDTOToJSON;
20
+ exports.PaginatedMCPServerDTOToJSONTyped = PaginatedMCPServerDTOToJSONTyped;
21
+ const MCPServerDTO_1 = require("./MCPServerDTO");
22
+ /**
23
+ * Check if a given object implements the PaginatedMCPServerDTO interface.
24
+ */
25
+ function instanceOfPaginatedMCPServerDTO(value) {
26
+ return true;
27
+ }
28
+ function PaginatedMCPServerDTOFromJSON(json) {
29
+ return PaginatedMCPServerDTOFromJSONTyped(json, false);
30
+ }
31
+ function PaginatedMCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'items': json['items'] == null ? undefined : (json['items'].map(MCPServerDTO_1.MCPServerDTOFromJSON)),
37
+ 'page': json['page'] == null ? undefined : json['page'],
38
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
39
+ 'totalItems': json['totalItems'] == null ? undefined : json['totalItems'],
40
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
41
+ };
42
+ }
43
+ function PaginatedMCPServerDTOToJSON(json) {
44
+ return PaginatedMCPServerDTOToJSONTyped(json, false);
45
+ }
46
+ function PaginatedMCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'items': value['items'] == null ? undefined : (value['items'].map(MCPServerDTO_1.MCPServerDTOToJSON)),
52
+ 'page': value['page'],
53
+ 'pageSize': value['pageSize'],
54
+ 'totalItems': value['totalItems'],
55
+ 'totalPages': value['totalPages'],
56
+ };
57
+ }
58
+ //# sourceMappingURL=PaginatedMCPServerDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginatedMCPServerDTO.js","sourceRoot":"","sources":["PaginatedMCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoDH,0EAEC;AAED,sEAEC;AAED,gFAYC;AAED,kEAEC;AAED,4EAaC;AAvFD,iDAKwB;AAwCxB;;GAEG;AACH,SAAgB,+BAA+B,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AAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,iCAAkB,CAAC,CAAC;QACtG,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,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
+ import type { MCPServerDTO } from './MCPServerDTO';
17
+ import {
18
+ MCPServerDTOFromJSON,
19
+ MCPServerDTOFromJSONTyped,
20
+ MCPServerDTOToJSON,
21
+ MCPServerDTOToJSONTyped,
22
+ } from './MCPServerDTO';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface PaginatedMCPServerDTO
28
+ */
29
+ export interface PaginatedMCPServerDTO {
30
+ /**
31
+ *
32
+ * @type {Array<MCPServerDTO>}
33
+ * @memberof PaginatedMCPServerDTO
34
+ */
35
+ items?: Array<MCPServerDTO>;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PaginatedMCPServerDTO
40
+ */
41
+ page?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof PaginatedMCPServerDTO
46
+ */
47
+ pageSize?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof PaginatedMCPServerDTO
52
+ */
53
+ totalItems?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof PaginatedMCPServerDTO
58
+ */
59
+ totalPages?: number;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the PaginatedMCPServerDTO interface.
64
+ */
65
+ export function instanceOfPaginatedMCPServerDTO(value: object): value is PaginatedMCPServerDTO {
66
+ return true;
67
+ }
68
+
69
+ export function PaginatedMCPServerDTOFromJSON(json: any): PaginatedMCPServerDTO {
70
+ return PaginatedMCPServerDTOFromJSONTyped(json, false);
71
+ }
72
+
73
+ export function PaginatedMCPServerDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedMCPServerDTO {
74
+ if (json == null) {
75
+ return json;
76
+ }
77
+ return {
78
+
79
+ 'items': json['items'] == null ? undefined : ((json['items'] as Array<any>).map(MCPServerDTOFromJSON)),
80
+ 'page': json['page'] == null ? undefined : json['page'],
81
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
82
+ 'totalItems': json['totalItems'] == null ? undefined : json['totalItems'],
83
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
84
+ };
85
+ }
86
+
87
+ export function PaginatedMCPServerDTOToJSON(json: any): PaginatedMCPServerDTO {
88
+ return PaginatedMCPServerDTOToJSONTyped(json, false);
89
+ }
90
+
91
+ export function PaginatedMCPServerDTOToJSONTyped(value?: PaginatedMCPServerDTO | null, ignoreDiscriminator: boolean = false): any {
92
+ if (value == null) {
93
+ return value;
94
+ }
95
+
96
+ return {
97
+
98
+ 'items': value['items'] == null ? undefined : ((value['items'] as Array<any>).map(MCPServerDTOToJSON)),
99
+ 'page': value['page'],
100
+ 'pageSize': value['pageSize'],
101
+ 'totalItems': value['totalItems'],
102
+ 'totalPages': value['totalPages'],
103
+ };
104
+ }
105
+
@@ -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.instanceOfUpdateApplicationDTO = instanceOfUpdateApplicationDTO;
17
+ exports.UpdateApplicationDTOFromJSON = UpdateApplicationDTOFromJSON;
18
+ exports.UpdateApplicationDTOFromJSONTyped = UpdateApplicationDTOFromJSONTyped;
19
+ exports.UpdateApplicationDTOToJSON = UpdateApplicationDTOToJSON;
20
+ exports.UpdateApplicationDTOToJSONTyped = UpdateApplicationDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateApplicationDTO interface.
23
+ */
24
+ function instanceOfUpdateApplicationDTO(value) {
25
+ return true;
26
+ }
27
+ function UpdateApplicationDTOFromJSON(json) {
28
+ return UpdateApplicationDTOFromJSONTyped(json, false);
29
+ }
30
+ function UpdateApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'description': json['description'] == null ? undefined : json['description'],
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
38
+ };
39
+ }
40
+ function UpdateApplicationDTOToJSON(json) {
41
+ return UpdateApplicationDTOToJSONTyped(json, false);
42
+ }
43
+ function UpdateApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'description': value['description'],
49
+ 'name': value['name'],
50
+ 'resourceGroupId': value['resourceGroupId'],
51
+ };
52
+ }
53
+ //# sourceMappingURL=UpdateApplicationDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateApplicationDTO.js","sourceRoot":"","sources":["UpdateApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,wEAEC;AAED,o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