tuix-mcp-host-client 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/apis/ClientApi.js +163 -0
- package/apis/ClientApi.js.map +1 -1
- package/apis/ClientApi.ts +265 -0
- package/docs/ClientApi.md +300 -0
- package/docs/CreateRoleDTO.md +34 -0
- package/docs/PaginatedRoleDTO.md +42 -0
- package/docs/RoleDTO.md +40 -0
- package/docs/UpdateRoleDTO.md +36 -0
- package/models/CreateRoleDTO.js +51 -0
- package/models/CreateRoleDTO.js.map +1 -0
- package/models/CreateRoleDTO.ts +66 -0
- package/models/PaginatedRoleDTO.js +58 -0
- package/models/PaginatedRoleDTO.js.map +1 -0
- package/models/PaginatedRoleDTO.ts +105 -0
- package/models/RoleDTO.js +55 -0
- package/models/RoleDTO.js.map +1 -0
- package/models/RoleDTO.ts +89 -0
- package/models/UpdateRoleDTO.js +51 -0
- package/models/UpdateRoleDTO.js.map +1 -0
- package/models/UpdateRoleDTO.ts +73 -0
- package/models/index.js +4 -0
- package/models/index.js.map +1 -1
- package/models/index.ts +4 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -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 { RoleDTO } from './RoleDTO';
|
|
17
|
+
import {
|
|
18
|
+
RoleDTOFromJSON,
|
|
19
|
+
RoleDTOFromJSONTyped,
|
|
20
|
+
RoleDTOToJSON,
|
|
21
|
+
RoleDTOToJSONTyped,
|
|
22
|
+
} from './RoleDTO';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface PaginatedRoleDTO
|
|
28
|
+
*/
|
|
29
|
+
export interface PaginatedRoleDTO {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<RoleDTO>}
|
|
33
|
+
* @memberof PaginatedRoleDTO
|
|
34
|
+
*/
|
|
35
|
+
items?: Array<RoleDTO>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PaginatedRoleDTO
|
|
40
|
+
*/
|
|
41
|
+
page?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PaginatedRoleDTO
|
|
46
|
+
*/
|
|
47
|
+
pageSize?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PaginatedRoleDTO
|
|
52
|
+
*/
|
|
53
|
+
totalItems?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PaginatedRoleDTO
|
|
58
|
+
*/
|
|
59
|
+
totalPages?: number;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the PaginatedRoleDTO interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfPaginatedRoleDTO(value: object): value is PaginatedRoleDTO {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function PaginatedRoleDTOFromJSON(json: any): PaginatedRoleDTO {
|
|
70
|
+
return PaginatedRoleDTOFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function PaginatedRoleDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRoleDTO {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'items': json['items'] == null ? undefined : ((json['items'] as Array<any>).map(RoleDTOFromJSON)),
|
|
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 PaginatedRoleDTOToJSON(json: any): PaginatedRoleDTO {
|
|
88
|
+
return PaginatedRoleDTOToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function PaginatedRoleDTOToJSONTyped(value?: PaginatedRoleDTO | 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(RoleDTOToJSON)),
|
|
99
|
+
'page': value['page'],
|
|
100
|
+
'pageSize': value['pageSize'],
|
|
101
|
+
'totalItems': value['totalItems'],
|
|
102
|
+
'totalPages': value['totalPages'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -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.instanceOfRoleDTO = instanceOfRoleDTO;
|
|
17
|
+
exports.RoleDTOFromJSON = RoleDTOFromJSON;
|
|
18
|
+
exports.RoleDTOFromJSONTyped = RoleDTOFromJSONTyped;
|
|
19
|
+
exports.RoleDTOToJSON = RoleDTOToJSON;
|
|
20
|
+
exports.RoleDTOToJSONTyped = RoleDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RoleDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRoleDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function RoleDTOFromJSON(json) {
|
|
28
|
+
return RoleDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function RoleDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'applicationId': json['applicationId'] == null ? undefined : json['applicationId'],
|
|
36
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
37
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
38
|
+
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function RoleDTOToJSON(json) {
|
|
42
|
+
return RoleDTOToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function RoleDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'applicationId': value['applicationId'],
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'permissions': value['permissions'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=RoleDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleDTO.js","sourceRoot":"","sources":["RoleDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsCH,8CAEC;AAED,0CAEC;AAED,oDAWC;AAED,sCAEC;AAED,gDAYC;AAxCD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,KAAa;IAC3C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,eAAe,CAAC,IAAS;IACrC,OAAO,oBAAoB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAS,EAAE,mBAA4B;IACxE,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,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,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,aAAa,CAAC,IAAS;IACnC,OAAO,kBAAkB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC;AAED,SAAgB,kBAAkB,CAAC,KAAsB,EAAE,sBAA+B,KAAK;IAC3F,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;KACtC,CAAC;AACN,CAAC"}
|
|
@@ -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 RoleDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface RoleDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RoleDTO
|
|
26
|
+
*/
|
|
27
|
+
applicationId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RoleDTO
|
|
32
|
+
*/
|
|
33
|
+
id?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof RoleDTO
|
|
38
|
+
*/
|
|
39
|
+
name?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof RoleDTO
|
|
44
|
+
*/
|
|
45
|
+
permissions?: Array<string>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the RoleDTO interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfRoleDTO(value: object): value is RoleDTO {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function RoleDTOFromJSON(json: any): RoleDTO {
|
|
56
|
+
return RoleDTOFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function RoleDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleDTO {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'applicationId': json['applicationId'] == null ? undefined : json['applicationId'],
|
|
66
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
67
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
68
|
+
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function RoleDTOToJSON(json: any): RoleDTO {
|
|
73
|
+
return RoleDTOToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function RoleDTOToJSONTyped(value?: RoleDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'applicationId': value['applicationId'],
|
|
84
|
+
'id': value['id'],
|
|
85
|
+
'name': value['name'],
|
|
86
|
+
'permissions': value['permissions'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -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.instanceOfUpdateRoleDTO = instanceOfUpdateRoleDTO;
|
|
17
|
+
exports.UpdateRoleDTOFromJSON = UpdateRoleDTOFromJSON;
|
|
18
|
+
exports.UpdateRoleDTOFromJSONTyped = UpdateRoleDTOFromJSONTyped;
|
|
19
|
+
exports.UpdateRoleDTOToJSON = UpdateRoleDTOToJSON;
|
|
20
|
+
exports.UpdateRoleDTOToJSONTyped = UpdateRoleDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateRoleDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateRoleDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateRoleDTOFromJSON(json) {
|
|
28
|
+
return UpdateRoleDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateRoleDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UpdateRoleDTOToJSON(json) {
|
|
40
|
+
return UpdateRoleDTOToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UpdateRoleDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': value['name'],
|
|
48
|
+
'permissions': value['permissions'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=UpdateRoleDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateRoleDTO.js","sourceRoot":"","sources":["UpdateRoleDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,0DAEC;AAED,sDAEC;AAED,gEASC;AAED,kDAEC;AAED,4DAUC;AApCD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KAAa;IACjD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,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,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,KAA4B,EAAE,sBAA+B,KAAK;IACvG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,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 UpdateRoleDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateRoleDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateRoleDTO
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof UpdateRoleDTO
|
|
32
|
+
*/
|
|
33
|
+
permissions?: Array<string>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateRoleDTO interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateRoleDTO(value: object): value is UpdateRoleDTO {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function UpdateRoleDTOFromJSON(json: any): UpdateRoleDTO {
|
|
44
|
+
return UpdateRoleDTOFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function UpdateRoleDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRoleDTO {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
54
|
+
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function UpdateRoleDTOToJSON(json: any): UpdateRoleDTO {
|
|
59
|
+
return UpdateRoleDTOToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function UpdateRoleDTOToJSONTyped(value?: UpdateRoleDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'name': value['name'],
|
|
70
|
+
'permissions': value['permissions'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
package/models/index.js
CHANGED
|
@@ -26,12 +26,16 @@ __exportStar(require("./CreateAPIKeyResponseDTO"), exports);
|
|
|
26
26
|
__exportStar(require("./CreateAccountDTO"), exports);
|
|
27
27
|
__exportStar(require("./CreateApplicationDTO"), exports);
|
|
28
28
|
__exportStar(require("./CreateMCPServerDTO"), exports);
|
|
29
|
+
__exportStar(require("./CreateRoleDTO"), exports);
|
|
29
30
|
__exportStar(require("./ErrorDTO"), exports);
|
|
30
31
|
__exportStar(require("./GetAPIKeysResponseDTO"), exports);
|
|
31
32
|
__exportStar(require("./MCPServerDTO"), exports);
|
|
32
33
|
__exportStar(require("./PaginatedApplicationMCPServerDTO"), exports);
|
|
33
34
|
__exportStar(require("./PaginatedApplicationsDTO"), exports);
|
|
34
35
|
__exportStar(require("./PaginatedMCPServerDTO"), exports);
|
|
36
|
+
__exportStar(require("./PaginatedRoleDTO"), exports);
|
|
37
|
+
__exportStar(require("./RoleDTO"), exports);
|
|
35
38
|
__exportStar(require("./UpdateApplicationDTO"), exports);
|
|
36
39
|
__exportStar(require("./UpdateMCPServerDTO"), exports);
|
|
40
|
+
__exportStar(require("./UpdateRoleDTO"), exports);
|
|
37
41
|
//# sourceMappingURL=index.js.map
|
package/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,4DAA0C;AAC1C,uEAAqD;AACrD,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,uDAAqC;AACrC,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,qEAAmD;AACnD,6DAA2C;AAC3C,0DAAwC;AACxC,yDAAuC;AACvC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,4DAA0C;AAC1C,uEAAqD;AACrD,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,uDAAqC;AACrC,kDAAgC;AAChC,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,qEAAmD;AACnD,6DAA2C;AAC3C,0DAAwC;AACxC,qDAAmC;AACnC,4CAA0B;AAC1B,yDAAuC;AACvC,uDAAqC;AACrC,kDAAgC"}
|
package/models/index.ts
CHANGED
|
@@ -10,11 +10,15 @@ export * from './CreateAPIKeyResponseDTO';
|
|
|
10
10
|
export * from './CreateAccountDTO';
|
|
11
11
|
export * from './CreateApplicationDTO';
|
|
12
12
|
export * from './CreateMCPServerDTO';
|
|
13
|
+
export * from './CreateRoleDTO';
|
|
13
14
|
export * from './ErrorDTO';
|
|
14
15
|
export * from './GetAPIKeysResponseDTO';
|
|
15
16
|
export * from './MCPServerDTO';
|
|
16
17
|
export * from './PaginatedApplicationMCPServerDTO';
|
|
17
18
|
export * from './PaginatedApplicationsDTO';
|
|
18
19
|
export * from './PaginatedMCPServerDTO';
|
|
20
|
+
export * from './PaginatedRoleDTO';
|
|
21
|
+
export * from './RoleDTO';
|
|
19
22
|
export * from './UpdateApplicationDTO';
|
|
20
23
|
export * from './UpdateMCPServerDTO';
|
|
24
|
+
export * from './UpdateRoleDTO';
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/APIKeyDTO.ts","./models/AccountDTO.ts","./models/ApplicationDTO.ts","./models/ApplicationMCPServerDTO.ts","./models/ApplicationWithApplicationCountDTO.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/PaginatedApplicationMCPServerDTO.ts","./models/PaginatedApplicationsDTO.ts","./models/PaginatedMCPServerDTO.ts","./models/UpdateApplicationDTO.ts","./models/UpdateMCPServerDTO.ts","./models/index.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/APIKeyDTO.ts","./models/AccountDTO.ts","./models/ApplicationDTO.ts","./models/ApplicationMCPServerDTO.ts","./models/ApplicationWithApplicationCountDTO.ts","./models/CreateAPIKeyRequestDTO.ts","./models/CreateAPIKeyResponseDTO.ts","./models/CreateAccountDTO.ts","./models/CreateApplicationDTO.ts","./models/CreateMCPServerDTO.ts","./models/CreateRoleDTO.ts","./models/ErrorDTO.ts","./models/GetAPIKeysResponseDTO.ts","./models/MCPServerDTO.ts","./models/PaginatedApplicationMCPServerDTO.ts","./models/PaginatedApplicationsDTO.ts","./models/PaginatedMCPServerDTO.ts","./models/PaginatedRoleDTO.ts","./models/RoleDTO.ts","./models/UpdateApplicationDTO.ts","./models/UpdateMCPServerDTO.ts","./models/UpdateRoleDTO.ts","./models/index.ts"],"version":"5.9.3"}
|