@komputer-ai/sdk 0.11.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.
- package/.openapi-generator-ignore +31 -0
- package/README.md +147 -0
- package/docs/AgentListResponse.md +34 -0
- package/docs/AgentResponse.md +68 -0
- package/docs/AgentsApi.md +584 -0
- package/docs/ConnectorResponse.md +58 -0
- package/docs/ConnectorsApi.md +366 -0
- package/docs/CreateAgentRequest.md +58 -0
- package/docs/CreateConnectorRequest.md +54 -0
- package/docs/CreateMemoryRequest.md +40 -0
- package/docs/CreateScheduleAgentSpec.md +42 -0
- package/docs/CreateScheduleRequest.md +50 -0
- package/docs/CreateSecretRequest.md +38 -0
- package/docs/CreateSkillRequest.md +40 -0
- package/docs/MemoriesApi.md +368 -0
- package/docs/MemoryResponse.md +46 -0
- package/docs/OfficeListResponse.md +34 -0
- package/docs/OfficeMemberResponse.md +40 -0
- package/docs/OfficeResponse.md +54 -0
- package/docs/OfficesApi.md +300 -0
- package/docs/PatchAgentRequest.md +50 -0
- package/docs/PatchMemoryRequest.md +36 -0
- package/docs/PatchScheduleRequest.md +34 -0
- package/docs/PatchSkillRequest.md +36 -0
- package/docs/ScheduleListResponse.md +34 -0
- package/docs/ScheduleResponse.md +70 -0
- package/docs/SchedulesApi.md +369 -0
- package/docs/SecretListResponse.md +34 -0
- package/docs/SecretResponse.md +48 -0
- package/docs/SecretsApi.md +298 -0
- package/docs/SkillResponse.md +48 -0
- package/docs/SkillsApi.md +368 -0
- package/docs/TemplatesApi.md +138 -0
- package/docs/UpdateSecretRequest.md +36 -0
- package/package.json +27 -0
- package/src/apis/AgentsApi.ts +485 -0
- package/src/apis/ConnectorsApi.ts +301 -0
- package/src/apis/MemoriesApi.ts +315 -0
- package/src/apis/OfficesApi.ts +253 -0
- package/src/apis/SchedulesApi.ts +318 -0
- package/src/apis/SecretsApi.ts +267 -0
- package/src/apis/SkillsApi.ts +315 -0
- package/src/apis/TemplatesApi.ts +109 -0
- package/src/apis/index.ts +10 -0
- package/src/client.test.ts +88 -0
- package/src/client.ts +212 -0
- package/src/index.ts +7 -0
- package/src/models/AgentListResponse.ts +73 -0
- package/src/models/AgentResponse.ts +201 -0
- package/src/models/ConnectorResponse.ts +161 -0
- package/src/models/CreateAgentRequest.ts +163 -0
- package/src/models/CreateConnectorRequest.ts +148 -0
- package/src/models/CreateMemoryRequest.ts +91 -0
- package/src/models/CreateScheduleAgentSpec.ts +97 -0
- package/src/models/CreateScheduleRequest.ts +140 -0
- package/src/models/CreateSecretRequest.ts +83 -0
- package/src/models/CreateSkillRequest.ts +92 -0
- package/src/models/MemoryResponse.ts +113 -0
- package/src/models/OfficeListResponse.ts +73 -0
- package/src/models/OfficeMemberResponse.ts +89 -0
- package/src/models/OfficeResponse.ts +153 -0
- package/src/models/PatchAgentRequest.ts +129 -0
- package/src/models/PatchMemoryRequest.ts +73 -0
- package/src/models/PatchScheduleRequest.ts +65 -0
- package/src/models/PatchSkillRequest.ts +73 -0
- package/src/models/ScheduleListResponse.ts +73 -0
- package/src/models/ScheduleResponse.ts +209 -0
- package/src/models/SecretListResponse.ts +73 -0
- package/src/models/SecretResponse.ts +121 -0
- package/src/models/SkillResponse.ts +121 -0
- package/src/models/UpdateSecretRequest.ts +74 -0
- package/src/models/index.ts +26 -0
- package/src/runtime.ts +450 -0
- package/src/watch.ts +89 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* komputer.ai API
|
|
5
|
+
* API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
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 ScheduleResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface ScheduleResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ScheduleResponse
|
|
26
|
+
*/
|
|
27
|
+
agentName?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof ScheduleResponse
|
|
32
|
+
*/
|
|
33
|
+
autoDelete?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ScheduleResponse
|
|
38
|
+
*/
|
|
39
|
+
createdAt?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ScheduleResponse
|
|
44
|
+
*/
|
|
45
|
+
failedRuns?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof ScheduleResponse
|
|
50
|
+
*/
|
|
51
|
+
keepAgents?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ScheduleResponse
|
|
56
|
+
*/
|
|
57
|
+
lastRunCostUSD?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ScheduleResponse
|
|
62
|
+
*/
|
|
63
|
+
lastRunStatus?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ScheduleResponse
|
|
68
|
+
*/
|
|
69
|
+
lastRunTime?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ScheduleResponse
|
|
74
|
+
*/
|
|
75
|
+
lastRunTokens?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ScheduleResponse
|
|
80
|
+
*/
|
|
81
|
+
name?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof ScheduleResponse
|
|
86
|
+
*/
|
|
87
|
+
namespace?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof ScheduleResponse
|
|
92
|
+
*/
|
|
93
|
+
nextRunTime?: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof ScheduleResponse
|
|
98
|
+
*/
|
|
99
|
+
phase?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof ScheduleResponse
|
|
104
|
+
*/
|
|
105
|
+
runCount?: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof ScheduleResponse
|
|
110
|
+
*/
|
|
111
|
+
schedule?: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof ScheduleResponse
|
|
116
|
+
*/
|
|
117
|
+
successfulRuns?: number;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof ScheduleResponse
|
|
122
|
+
*/
|
|
123
|
+
timezone?: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof ScheduleResponse
|
|
128
|
+
*/
|
|
129
|
+
totalCostUSD?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {number}
|
|
133
|
+
* @memberof ScheduleResponse
|
|
134
|
+
*/
|
|
135
|
+
totalTokens?: number;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Check if a given object implements the ScheduleResponse interface.
|
|
140
|
+
*/
|
|
141
|
+
export function instanceOfScheduleResponse(value: object): value is ScheduleResponse {
|
|
142
|
+
return true;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function ScheduleResponseFromJSON(json: any): ScheduleResponse {
|
|
146
|
+
return ScheduleResponseFromJSONTyped(json, false);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function ScheduleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleResponse {
|
|
150
|
+
if (json == null) {
|
|
151
|
+
return json;
|
|
152
|
+
}
|
|
153
|
+
return {
|
|
154
|
+
|
|
155
|
+
'agentName': json['agentName'] == null ? undefined : json['agentName'],
|
|
156
|
+
'autoDelete': json['autoDelete'] == null ? undefined : json['autoDelete'],
|
|
157
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
158
|
+
'failedRuns': json['failedRuns'] == null ? undefined : json['failedRuns'],
|
|
159
|
+
'keepAgents': json['keepAgents'] == null ? undefined : json['keepAgents'],
|
|
160
|
+
'lastRunCostUSD': json['lastRunCostUSD'] == null ? undefined : json['lastRunCostUSD'],
|
|
161
|
+
'lastRunStatus': json['lastRunStatus'] == null ? undefined : json['lastRunStatus'],
|
|
162
|
+
'lastRunTime': json['lastRunTime'] == null ? undefined : json['lastRunTime'],
|
|
163
|
+
'lastRunTokens': json['lastRunTokens'] == null ? undefined : json['lastRunTokens'],
|
|
164
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
165
|
+
'namespace': json['namespace'] == null ? undefined : json['namespace'],
|
|
166
|
+
'nextRunTime': json['nextRunTime'] == null ? undefined : json['nextRunTime'],
|
|
167
|
+
'phase': json['phase'] == null ? undefined : json['phase'],
|
|
168
|
+
'runCount': json['runCount'] == null ? undefined : json['runCount'],
|
|
169
|
+
'schedule': json['schedule'] == null ? undefined : json['schedule'],
|
|
170
|
+
'successfulRuns': json['successfulRuns'] == null ? undefined : json['successfulRuns'],
|
|
171
|
+
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
172
|
+
'totalCostUSD': json['totalCostUSD'] == null ? undefined : json['totalCostUSD'],
|
|
173
|
+
'totalTokens': json['totalTokens'] == null ? undefined : json['totalTokens'],
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function ScheduleResponseToJSON(json: any): ScheduleResponse {
|
|
178
|
+
return ScheduleResponseToJSONTyped(json, false);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export function ScheduleResponseToJSONTyped(value?: ScheduleResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
182
|
+
if (value == null) {
|
|
183
|
+
return value;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return {
|
|
187
|
+
|
|
188
|
+
'agentName': value['agentName'],
|
|
189
|
+
'autoDelete': value['autoDelete'],
|
|
190
|
+
'createdAt': value['createdAt'],
|
|
191
|
+
'failedRuns': value['failedRuns'],
|
|
192
|
+
'keepAgents': value['keepAgents'],
|
|
193
|
+
'lastRunCostUSD': value['lastRunCostUSD'],
|
|
194
|
+
'lastRunStatus': value['lastRunStatus'],
|
|
195
|
+
'lastRunTime': value['lastRunTime'],
|
|
196
|
+
'lastRunTokens': value['lastRunTokens'],
|
|
197
|
+
'name': value['name'],
|
|
198
|
+
'namespace': value['namespace'],
|
|
199
|
+
'nextRunTime': value['nextRunTime'],
|
|
200
|
+
'phase': value['phase'],
|
|
201
|
+
'runCount': value['runCount'],
|
|
202
|
+
'schedule': value['schedule'],
|
|
203
|
+
'successfulRuns': value['successfulRuns'],
|
|
204
|
+
'timezone': value['timezone'],
|
|
205
|
+
'totalCostUSD': value['totalCostUSD'],
|
|
206
|
+
'totalTokens': value['totalTokens'],
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* komputer.ai API
|
|
5
|
+
* API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
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 { SecretResponse } from './SecretResponse';
|
|
17
|
+
import {
|
|
18
|
+
SecretResponseFromJSON,
|
|
19
|
+
SecretResponseFromJSONTyped,
|
|
20
|
+
SecretResponseToJSON,
|
|
21
|
+
SecretResponseToJSONTyped,
|
|
22
|
+
} from './SecretResponse';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SecretListResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface SecretListResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<SecretResponse>}
|
|
33
|
+
* @memberof SecretListResponse
|
|
34
|
+
*/
|
|
35
|
+
secrets?: Array<SecretResponse>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SecretListResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSecretListResponse(value: object): value is SecretListResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SecretListResponseFromJSON(json: any): SecretListResponse {
|
|
46
|
+
return SecretListResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SecretListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecretListResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'secrets': json['secrets'] == null ? undefined : ((json['secrets'] as Array<any>).map(SecretResponseFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SecretListResponseToJSON(json: any): SecretListResponse {
|
|
60
|
+
return SecretListResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SecretListResponseToJSONTyped(value?: SecretListResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'secrets': value['secrets'] == null ? undefined : ((value['secrets'] as Array<any>).map(SecretResponseToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* komputer.ai API
|
|
5
|
+
* API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
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 SecretResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface SecretResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SecretResponse
|
|
26
|
+
*/
|
|
27
|
+
agentName?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof SecretResponse
|
|
32
|
+
*/
|
|
33
|
+
agentNames?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof SecretResponse
|
|
38
|
+
*/
|
|
39
|
+
attachedAgents?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SecretResponse
|
|
44
|
+
*/
|
|
45
|
+
createdAt?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof SecretResponse
|
|
50
|
+
*/
|
|
51
|
+
keys?: Array<string>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof SecretResponse
|
|
56
|
+
*/
|
|
57
|
+
managed?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof SecretResponse
|
|
62
|
+
*/
|
|
63
|
+
name?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof SecretResponse
|
|
68
|
+
*/
|
|
69
|
+
namespace?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the SecretResponse interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfSecretResponse(value: object): value is SecretResponse {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function SecretResponseFromJSON(json: any): SecretResponse {
|
|
80
|
+
return SecretResponseFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function SecretResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecretResponse {
|
|
84
|
+
if (json == null) {
|
|
85
|
+
return json;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'agentName': json['agentName'] == null ? undefined : json['agentName'],
|
|
90
|
+
'agentNames': json['agentNames'] == null ? undefined : json['agentNames'],
|
|
91
|
+
'attachedAgents': json['attachedAgents'] == null ? undefined : json['attachedAgents'],
|
|
92
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
93
|
+
'keys': json['keys'] == null ? undefined : json['keys'],
|
|
94
|
+
'managed': json['managed'] == null ? undefined : json['managed'],
|
|
95
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
96
|
+
'namespace': json['namespace'] == null ? undefined : json['namespace'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function SecretResponseToJSON(json: any): SecretResponse {
|
|
101
|
+
return SecretResponseToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function SecretResponseToJSONTyped(value?: SecretResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'agentName': value['agentName'],
|
|
112
|
+
'agentNames': value['agentNames'],
|
|
113
|
+
'attachedAgents': value['attachedAgents'],
|
|
114
|
+
'createdAt': value['createdAt'],
|
|
115
|
+
'keys': value['keys'],
|
|
116
|
+
'managed': value['managed'],
|
|
117
|
+
'name': value['name'],
|
|
118
|
+
'namespace': value['namespace'],
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* komputer.ai API
|
|
5
|
+
* API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
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 SkillResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface SkillResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof SkillResponse
|
|
26
|
+
*/
|
|
27
|
+
agentNames?: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof SkillResponse
|
|
32
|
+
*/
|
|
33
|
+
attachedAgents?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SkillResponse
|
|
38
|
+
*/
|
|
39
|
+
content?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SkillResponse
|
|
44
|
+
*/
|
|
45
|
+
createdAt?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SkillResponse
|
|
50
|
+
*/
|
|
51
|
+
description?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof SkillResponse
|
|
56
|
+
*/
|
|
57
|
+
isDefault?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof SkillResponse
|
|
62
|
+
*/
|
|
63
|
+
name?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof SkillResponse
|
|
68
|
+
*/
|
|
69
|
+
namespace?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the SkillResponse interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfSkillResponse(value: object): value is SkillResponse {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function SkillResponseFromJSON(json: any): SkillResponse {
|
|
80
|
+
return SkillResponseFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function SkillResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillResponse {
|
|
84
|
+
if (json == null) {
|
|
85
|
+
return json;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'agentNames': json['agentNames'] == null ? undefined : json['agentNames'],
|
|
90
|
+
'attachedAgents': json['attachedAgents'] == null ? undefined : json['attachedAgents'],
|
|
91
|
+
'content': json['content'] == null ? undefined : json['content'],
|
|
92
|
+
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
93
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
94
|
+
'isDefault': json['isDefault'] == null ? undefined : json['isDefault'],
|
|
95
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
96
|
+
'namespace': json['namespace'] == null ? undefined : json['namespace'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function SkillResponseToJSON(json: any): SkillResponse {
|
|
101
|
+
return SkillResponseToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function SkillResponseToJSONTyped(value?: SkillResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'agentNames': value['agentNames'],
|
|
112
|
+
'attachedAgents': value['attachedAgents'],
|
|
113
|
+
'content': value['content'],
|
|
114
|
+
'createdAt': value['createdAt'],
|
|
115
|
+
'description': value['description'],
|
|
116
|
+
'isDefault': value['isDefault'],
|
|
117
|
+
'name': value['name'],
|
|
118
|
+
'namespace': value['namespace'],
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* komputer.ai API
|
|
5
|
+
* API-first platform for running persistent Claude AI agents on Kubernetes. Designed to be driven by external systems — create agents, send tasks, and stream real-time results via REST + WebSocket.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
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 UpdateSecretRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateSecretRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {{ [key: string]: string; }}
|
|
25
|
+
* @memberof UpdateSecretRequest
|
|
26
|
+
*/
|
|
27
|
+
data: { [key: string]: string; };
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateSecretRequest
|
|
32
|
+
*/
|
|
33
|
+
namespace?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateSecretRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateSecretRequest(value: object): value is UpdateSecretRequest {
|
|
40
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function UpdateSecretRequestFromJSON(json: any): UpdateSecretRequest {
|
|
45
|
+
return UpdateSecretRequestFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function UpdateSecretRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSecretRequest {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
|
|
54
|
+
'data': json['data'],
|
|
55
|
+
'namespace': json['namespace'] == null ? undefined : json['namespace'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UpdateSecretRequestToJSON(json: any): UpdateSecretRequest {
|
|
60
|
+
return UpdateSecretRequestToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function UpdateSecretRequestToJSONTyped(value?: UpdateSecretRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'],
|
|
71
|
+
'namespace': value['namespace'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './AgentListResponse';
|
|
4
|
+
export * from './AgentResponse';
|
|
5
|
+
export * from './ConnectorResponse';
|
|
6
|
+
export * from './CreateAgentRequest';
|
|
7
|
+
export * from './CreateConnectorRequest';
|
|
8
|
+
export * from './CreateMemoryRequest';
|
|
9
|
+
export * from './CreateScheduleAgentSpec';
|
|
10
|
+
export * from './CreateScheduleRequest';
|
|
11
|
+
export * from './CreateSecretRequest';
|
|
12
|
+
export * from './CreateSkillRequest';
|
|
13
|
+
export * from './MemoryResponse';
|
|
14
|
+
export * from './OfficeListResponse';
|
|
15
|
+
export * from './OfficeMemberResponse';
|
|
16
|
+
export * from './OfficeResponse';
|
|
17
|
+
export * from './PatchAgentRequest';
|
|
18
|
+
export * from './PatchMemoryRequest';
|
|
19
|
+
export * from './PatchScheduleRequest';
|
|
20
|
+
export * from './PatchSkillRequest';
|
|
21
|
+
export * from './ScheduleListResponse';
|
|
22
|
+
export * from './ScheduleResponse';
|
|
23
|
+
export * from './SecretListResponse';
|
|
24
|
+
export * from './SecretResponse';
|
|
25
|
+
export * from './SkillResponse';
|
|
26
|
+
export * from './UpdateSecretRequest';
|