tuix-mcp-host-client 0.0.37 → 0.0.39
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.
|
@@ -22,16 +22,8 @@ exports.CreateApplicationDTOToJSONTyped = CreateApplicationDTOToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the CreateApplicationDTO interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfCreateApplicationDTO(value) {
|
|
25
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
26
|
-
return false;
|
|
27
25
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
26
|
return false;
|
|
29
|
-
if (!('ragApiKey' in value) || value['ragApiKey'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('resourceGroupId' in value) || value['resourceGroupId'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('systemPrompt' in value) || value['systemPrompt'] === undefined)
|
|
34
|
-
return false;
|
|
35
27
|
return true;
|
|
36
28
|
}
|
|
37
29
|
function CreateApplicationDTOFromJSON(json) {
|
|
@@ -42,11 +34,11 @@ function CreateApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
34
|
return json;
|
|
43
35
|
}
|
|
44
36
|
return {
|
|
45
|
-
'description': json['description'],
|
|
37
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
46
38
|
'name': json['name'],
|
|
47
|
-
'ragApiKey': json['ragApiKey'],
|
|
48
|
-
'resourceGroupId': json['resourceGroupId'],
|
|
49
|
-
'systemPrompt': json['systemPrompt'],
|
|
39
|
+
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
40
|
+
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
41
|
+
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
50
42
|
};
|
|
51
43
|
}
|
|
52
44
|
function CreateApplicationDTOToJSON(json) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApplicationDTO.js","sourceRoot":"","sources":["CreateApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,
|
|
1
|
+
{"version":3,"file":"CreateApplicationDTO.js","sourceRoot":"","sources":["CreateApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,wEAGC;AAED,oEAEC;AAED,8EAYC;AAED,gEAEC;AAED,0EAaC;AA3CD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,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,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,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;QACxF,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;KAClF,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,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;KACxC,CAAC;AACN,CAAC"}
|
|
@@ -24,7 +24,7 @@ export interface CreateApplicationDTO {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof CreateApplicationDTO
|
|
26
26
|
*/
|
|
27
|
-
description
|
|
27
|
+
description?: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -36,30 +36,26 @@ export interface CreateApplicationDTO {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof CreateApplicationDTO
|
|
38
38
|
*/
|
|
39
|
-
ragApiKey
|
|
39
|
+
ragApiKey?: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof CreateApplicationDTO
|
|
44
44
|
*/
|
|
45
|
-
resourceGroupId
|
|
45
|
+
resourceGroupId?: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof CreateApplicationDTO
|
|
50
50
|
*/
|
|
51
|
-
systemPrompt
|
|
51
|
+
systemPrompt?: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Check if a given object implements the CreateApplicationDTO interface.
|
|
56
56
|
*/
|
|
57
57
|
export function instanceOfCreateApplicationDTO(value: object): value is CreateApplicationDTO {
|
|
58
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
59
58
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
60
|
-
if (!('ragApiKey' in value) || value['ragApiKey'] === undefined) return false;
|
|
61
|
-
if (!('resourceGroupId' in value) || value['resourceGroupId'] === undefined) return false;
|
|
62
|
-
if (!('systemPrompt' in value) || value['systemPrompt'] === undefined) return false;
|
|
63
59
|
return true;
|
|
64
60
|
}
|
|
65
61
|
|
|
@@ -73,11 +69,11 @@ export function CreateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
73
69
|
}
|
|
74
70
|
return {
|
|
75
71
|
|
|
76
|
-
'description': json['description'],
|
|
72
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
77
73
|
'name': json['name'],
|
|
78
|
-
'ragApiKey': json['ragApiKey'],
|
|
79
|
-
'resourceGroupId': json['resourceGroupId'],
|
|
80
|
-
'systemPrompt': json['systemPrompt'],
|
|
74
|
+
'ragApiKey': json['ragApiKey'] == null ? undefined : json['ragApiKey'],
|
|
75
|
+
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
76
|
+
'systemPrompt': json['systemPrompt'] == null ? undefined : json['systemPrompt'],
|
|
81
77
|
};
|
|
82
78
|
}
|
|
83
79
|
|