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,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.instanceOfCreateAPIKeyRequestDTO = instanceOfCreateAPIKeyRequestDTO;
17
+ exports.CreateAPIKeyRequestDTOFromJSON = CreateAPIKeyRequestDTOFromJSON;
18
+ exports.CreateAPIKeyRequestDTOFromJSONTyped = CreateAPIKeyRequestDTOFromJSONTyped;
19
+ exports.CreateAPIKeyRequestDTOToJSON = CreateAPIKeyRequestDTOToJSON;
20
+ exports.CreateAPIKeyRequestDTOToJSONTyped = CreateAPIKeyRequestDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateAPIKeyRequestDTO interface.
23
+ */
24
+ function instanceOfCreateAPIKeyRequestDTO(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function CreateAPIKeyRequestDTOFromJSON(json) {
30
+ return CreateAPIKeyRequestDTOFromJSONTyped(json, false);
31
+ }
32
+ function CreateAPIKeyRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ };
39
+ }
40
+ function CreateAPIKeyRequestDTOToJSON(json) {
41
+ return CreateAPIKeyRequestDTOToJSONTyped(json, false);
42
+ }
43
+ function CreateAPIKeyRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'name': value['name'],
49
+ };
50
+ }
51
+ //# sourceMappingURL=CreateAPIKeyRequestDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAPIKeyRequestDTO.js","sourceRoot":"","sources":["CreateAPIKeyRequestDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoBH,4EAGC;AAED,wEAEC;AAED,kFAQC;AAED,oEAEC;AAED,8EASC;AAnCD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,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,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAqC,EAAE,sBAA+B,KAAK;IACzH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,66 @@
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 CreateAPIKeyRequestDTO
20
+ */
21
+ export interface CreateAPIKeyRequestDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CreateAPIKeyRequestDTO
26
+ */
27
+ name: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the CreateAPIKeyRequestDTO interface.
32
+ */
33
+ export function instanceOfCreateAPIKeyRequestDTO(value: object): value is CreateAPIKeyRequestDTO {
34
+ if (!('name' in value) || value['name'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function CreateAPIKeyRequestDTOFromJSON(json: any): CreateAPIKeyRequestDTO {
39
+ return CreateAPIKeyRequestDTOFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function CreateAPIKeyRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAPIKeyRequestDTO {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'name': json['name'],
49
+ };
50
+ }
51
+
52
+ export function CreateAPIKeyRequestDTOToJSON(json: any): CreateAPIKeyRequestDTO {
53
+ return CreateAPIKeyRequestDTOToJSONTyped(json, false);
54
+ }
55
+
56
+ export function CreateAPIKeyRequestDTOToJSONTyped(value?: CreateAPIKeyRequestDTO | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'name': value['name'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tuix MCP Host API
6
+ * Service managing MCP servers for Tuix applications.
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreateAPIKeyResponseDTO = instanceOfCreateAPIKeyResponseDTO;
17
+ exports.CreateAPIKeyResponseDTOFromJSON = CreateAPIKeyResponseDTOFromJSON;
18
+ exports.CreateAPIKeyResponseDTOFromJSONTyped = CreateAPIKeyResponseDTOFromJSONTyped;
19
+ exports.CreateAPIKeyResponseDTOToJSON = CreateAPIKeyResponseDTOToJSON;
20
+ exports.CreateAPIKeyResponseDTOToJSONTyped = CreateAPIKeyResponseDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateAPIKeyResponseDTO interface.
23
+ */
24
+ function instanceOfCreateAPIKeyResponseDTO(value) {
25
+ return true;
26
+ }
27
+ function CreateAPIKeyResponseDTOFromJSON(json) {
28
+ return CreateAPIKeyResponseDTOFromJSONTyped(json, false);
29
+ }
30
+ function CreateAPIKeyResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'accountId': json['account_id'] == null ? undefined : json['account_id'],
36
+ 'apiKey': json['api_key'] == null ? undefined : json['api_key'],
37
+ 'createdAt': json['created_at'] == null ? undefined : json['created_at'],
38
+ 'id': json['id'] == null ? undefined : json['id'],
39
+ 'name': json['name'] == null ? undefined : json['name'],
40
+ };
41
+ }
42
+ function CreateAPIKeyResponseDTOToJSON(json) {
43
+ return CreateAPIKeyResponseDTOToJSONTyped(json, false);
44
+ }
45
+ function CreateAPIKeyResponseDTOToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'account_id': value['accountId'],
51
+ 'api_key': value['apiKey'],
52
+ 'created_at': value['createdAt'],
53
+ 'id': value['id'],
54
+ 'name': value['name'],
55
+ };
56
+ }
57
+ //# sourceMappingURL=CreateAPIKeyResponseDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAPIKeyResponseDTO.js","sourceRoot":"","sources":["CreateAPIKeyResponseDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,8EAEC;AAED,0EAEC;AAED,oFAYC;AAED,sEAEC;AAED,gFAaC;AA1CD;;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,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACxE,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAC/D,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACxE,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;KAC1D,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,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC;QAChC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC;QAC1B,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC;QAChC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,97 @@
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 CreateAPIKeyResponseDTO
20
+ */
21
+ export interface CreateAPIKeyResponseDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CreateAPIKeyResponseDTO
26
+ */
27
+ accountId?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof CreateAPIKeyResponseDTO
32
+ */
33
+ apiKey?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof CreateAPIKeyResponseDTO
38
+ */
39
+ createdAt?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof CreateAPIKeyResponseDTO
44
+ */
45
+ id?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof CreateAPIKeyResponseDTO
50
+ */
51
+ name?: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the CreateAPIKeyResponseDTO interface.
56
+ */
57
+ export function instanceOfCreateAPIKeyResponseDTO(value: object): value is CreateAPIKeyResponseDTO {
58
+ return true;
59
+ }
60
+
61
+ export function CreateAPIKeyResponseDTOFromJSON(json: any): CreateAPIKeyResponseDTO {
62
+ return CreateAPIKeyResponseDTOFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function CreateAPIKeyResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAPIKeyResponseDTO {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'accountId': json['account_id'] == null ? undefined : json['account_id'],
72
+ 'apiKey': json['api_key'] == null ? undefined : json['api_key'],
73
+ 'createdAt': json['created_at'] == null ? undefined : json['created_at'],
74
+ 'id': json['id'] == null ? undefined : json['id'],
75
+ 'name': json['name'] == null ? undefined : json['name'],
76
+ };
77
+ }
78
+
79
+ export function CreateAPIKeyResponseDTOToJSON(json: any): CreateAPIKeyResponseDTO {
80
+ return CreateAPIKeyResponseDTOToJSONTyped(json, false);
81
+ }
82
+
83
+ export function CreateAPIKeyResponseDTOToJSONTyped(value?: CreateAPIKeyResponseDTO | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'account_id': value['accountId'],
91
+ 'api_key': value['apiKey'],
92
+ 'created_at': value['createdAt'],
93
+ 'id': value['id'],
94
+ 'name': value['name'],
95
+ };
96
+ }
97
+
@@ -0,0 +1,55 @@
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.instanceOfCreateAccountDTO = instanceOfCreateAccountDTO;
17
+ exports.CreateAccountDTOFromJSON = CreateAccountDTOFromJSON;
18
+ exports.CreateAccountDTOFromJSONTyped = CreateAccountDTOFromJSONTyped;
19
+ exports.CreateAccountDTOToJSON = CreateAccountDTOToJSON;
20
+ exports.CreateAccountDTOToJSONTyped = CreateAccountDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateAccountDTO interface.
23
+ */
24
+ function instanceOfCreateAccountDTO(value) {
25
+ if (!('firstName' in value) || value['firstName'] === undefined)
26
+ return false;
27
+ if (!('lastName' in value) || value['lastName'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function CreateAccountDTOFromJSON(json) {
32
+ return CreateAccountDTOFromJSONTyped(json, false);
33
+ }
34
+ function CreateAccountDTOFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'firstName': json['firstName'],
40
+ 'lastName': json['lastName'],
41
+ };
42
+ }
43
+ function CreateAccountDTOToJSON(json) {
44
+ return CreateAccountDTOToJSONTyped(json, false);
45
+ }
46
+ function CreateAccountDTOToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'firstName': value['firstName'],
52
+ 'lastName': value['lastName'],
53
+ };
54
+ }
55
+ //# sourceMappingURL=CreateAccountDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAccountDTO.js","sourceRoot":"","sources":["CreateAccountDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,gEAIC;AAED,4DAEC;AAED,sEASC;AAED,wDAEC;AAED,kEAUC;AAtCD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS,EAAE,mBAA4B;IACjF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;KAC/B,CAAC;AACN,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,KAA+B,EAAE,sBAA+B,KAAK;IAC7G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;KAChC,CAAC;AACN,CAAC"}
@@ -0,0 +1,75 @@
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 CreateAccountDTO
20
+ */
21
+ export interface CreateAccountDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CreateAccountDTO
26
+ */
27
+ firstName: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof CreateAccountDTO
32
+ */
33
+ lastName: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the CreateAccountDTO interface.
38
+ */
39
+ export function instanceOfCreateAccountDTO(value: object): value is CreateAccountDTO {
40
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
41
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function CreateAccountDTOFromJSON(json: any): CreateAccountDTO {
46
+ return CreateAccountDTOFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function CreateAccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountDTO {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'firstName': json['firstName'],
56
+ 'lastName': json['lastName'],
57
+ };
58
+ }
59
+
60
+ export function CreateAccountDTOToJSON(json: any): CreateAccountDTO {
61
+ return CreateAccountDTOToJSONTyped(json, false);
62
+ }
63
+
64
+ export function CreateAccountDTOToJSONTyped(value?: CreateAccountDTO | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'firstName': value['firstName'],
72
+ 'lastName': value['lastName'],
73
+ };
74
+ }
75
+
@@ -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.instanceOfCreateApplicationDTO = instanceOfCreateApplicationDTO;
17
+ exports.CreateApplicationDTOFromJSON = CreateApplicationDTOFromJSON;
18
+ exports.CreateApplicationDTOFromJSONTyped = CreateApplicationDTOFromJSONTyped;
19
+ exports.CreateApplicationDTOToJSON = CreateApplicationDTOToJSON;
20
+ exports.CreateApplicationDTOToJSONTyped = CreateApplicationDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateApplicationDTO interface.
23
+ */
24
+ function instanceOfCreateApplicationDTO(value) {
25
+ if (!('description' in value) || value['description'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('resourceGroupId' in value) || value['resourceGroupId'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function CreateApplicationDTOFromJSON(json) {
34
+ return CreateApplicationDTOFromJSONTyped(json, false);
35
+ }
36
+ function CreateApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'description': json['description'],
42
+ 'name': json['name'],
43
+ 'resourceGroupId': json['resourceGroupId'],
44
+ };
45
+ }
46
+ function CreateApplicationDTOToJSON(json) {
47
+ return CreateApplicationDTOToJSONTyped(json, false);
48
+ }
49
+ function CreateApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'description': value['description'],
55
+ 'name': value['name'],
56
+ 'resourceGroupId': value['resourceGroupId'],
57
+ };
58
+ }
59
+ //# sourceMappingURL=CreateApplicationDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateApplicationDTO.js","sourceRoot":"","sources":["CreateApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,wEAKC;AAED,oEAEC;AAED,8EAUC;AAED,gEAEC;AAED,0EAWC;AAzCD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,iBAAiB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1F,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,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;KAC7C,CAAC;AACN,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,KAAmC,EAAE,sBAA+B,KAAK;IACrH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;KAC9C,CAAC;AACN,CAAC"}
@@ -0,0 +1,84 @@
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 CreateApplicationDTO
20
+ */
21
+ export interface CreateApplicationDTO {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CreateApplicationDTO
26
+ */
27
+ description: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof CreateApplicationDTO
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof CreateApplicationDTO
38
+ */
39
+ resourceGroupId: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the CreateApplicationDTO interface.
44
+ */
45
+ export function instanceOfCreateApplicationDTO(value: object): value is CreateApplicationDTO {
46
+ if (!('description' in value) || value['description'] === undefined) return false;
47
+ if (!('name' in value) || value['name'] === undefined) return false;
48
+ if (!('resourceGroupId' in value) || value['resourceGroupId'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function CreateApplicationDTOFromJSON(json: any): CreateApplicationDTO {
53
+ return CreateApplicationDTOFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function CreateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateApplicationDTO {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'description': json['description'],
63
+ 'name': json['name'],
64
+ 'resourceGroupId': json['resourceGroupId'],
65
+ };
66
+ }
67
+
68
+ export function CreateApplicationDTOToJSON(json: any): CreateApplicationDTO {
69
+ return CreateApplicationDTOToJSONTyped(json, false);
70
+ }
71
+
72
+ export function CreateApplicationDTOToJSONTyped(value?: CreateApplicationDTO | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'description': value['description'],
80
+ 'name': value['name'],
81
+ 'resourceGroupId': value['resourceGroupId'],
82
+ };
83
+ }
84
+
@@ -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.instanceOfCreateMCPServerDTO = instanceOfCreateMCPServerDTO;
17
+ exports.CreateMCPServerDTOFromJSON = CreateMCPServerDTOFromJSON;
18
+ exports.CreateMCPServerDTOFromJSONTyped = CreateMCPServerDTOFromJSONTyped;
19
+ exports.CreateMCPServerDTOToJSON = CreateMCPServerDTOToJSON;
20
+ exports.CreateMCPServerDTOToJSONTyped = CreateMCPServerDTOToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateMCPServerDTO interface.
23
+ */
24
+ function instanceOfCreateMCPServerDTO(value) {
25
+ return true;
26
+ }
27
+ function CreateMCPServerDTOFromJSON(json) {
28
+ return CreateMCPServerDTOFromJSONTyped(json, false);
29
+ }
30
+ function CreateMCPServerDTOFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'transport': json['transport'] == null ? undefined : json['transport'],
36
+ 'url': json['url'] == null ? undefined : json['url'],
37
+ };
38
+ }
39
+ function CreateMCPServerDTOToJSON(json) {
40
+ return CreateMCPServerDTOToJSONTyped(json, false);
41
+ }
42
+ function CreateMCPServerDTOToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'transport': value['transport'],
48
+ 'url': value['url'],
49
+ };
50
+ }
51
+ //# sourceMappingURL=CreateMCPServerDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateMCPServerDTO.js","sourceRoot":"","sources":["CreateMCPServerDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,oEAEC;AAED,gEAEC;AAED,0EASC;AAED,4DAEC;AAED,sEAUC;AApCD;;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,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,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,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;KACtB,CAAC;AACN,CAAC"}