@komputer-ai/sdk 0.11.1 → 0.11.3

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 (211) hide show
  1. package/.openapi-generator/FILES +69 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/README.md +147 -122
  4. package/dist/apis/AgentsApi.d.ts +173 -0
  5. package/dist/apis/AgentsApi.js +383 -0
  6. package/dist/apis/ConnectorsApi.d.ts +118 -0
  7. package/dist/apis/ConnectorsApi.js +247 -0
  8. package/dist/apis/MemoriesApi.d.ts +115 -0
  9. package/dist/apis/MemoriesApi.js +252 -0
  10. package/dist/apis/OfficesApi.d.ts +98 -0
  11. package/dist/apis/OfficesApi.js +208 -0
  12. package/dist/apis/SchedulesApi.d.ts +111 -0
  13. package/dist/apis/SchedulesApi.js +252 -0
  14. package/dist/apis/SecretsApi.d.ts +98 -0
  15. package/dist/apis/SecretsApi.js +211 -0
  16. package/dist/apis/SkillsApi.d.ts +115 -0
  17. package/dist/apis/SkillsApi.js +252 -0
  18. package/dist/apis/TemplatesApi.d.ts +56 -0
  19. package/dist/apis/TemplatesApi.js +109 -0
  20. package/dist/apis/index.d.ts +8 -0
  21. package/dist/apis/index.js +26 -0
  22. package/dist/client.d.ts +175 -0
  23. package/dist/client.js +293 -0
  24. package/dist/esm/apis/AgentsApi.d.ts +173 -0
  25. package/dist/esm/apis/AgentsApi.js +379 -0
  26. package/dist/esm/apis/ConnectorsApi.d.ts +118 -0
  27. package/dist/esm/apis/ConnectorsApi.js +243 -0
  28. package/dist/esm/apis/MemoriesApi.d.ts +115 -0
  29. package/dist/esm/apis/MemoriesApi.js +248 -0
  30. package/dist/esm/apis/OfficesApi.d.ts +98 -0
  31. package/dist/esm/apis/OfficesApi.js +204 -0
  32. package/dist/esm/apis/SchedulesApi.d.ts +111 -0
  33. package/dist/esm/apis/SchedulesApi.js +248 -0
  34. package/dist/esm/apis/SecretsApi.d.ts +98 -0
  35. package/dist/esm/apis/SecretsApi.js +207 -0
  36. package/dist/esm/apis/SkillsApi.d.ts +115 -0
  37. package/dist/esm/apis/SkillsApi.js +248 -0
  38. package/dist/esm/apis/TemplatesApi.d.ts +56 -0
  39. package/dist/esm/apis/TemplatesApi.js +105 -0
  40. package/dist/esm/apis/index.d.ts +8 -0
  41. package/dist/esm/client.d.ts +175 -0
  42. package/dist/esm/client.js +289 -0
  43. package/{src/index.ts → dist/esm/index.d.ts} +0 -2
  44. package/dist/esm/index.js +6 -0
  45. package/dist/esm/models/AgentListResponse.d.ts +33 -0
  46. package/dist/esm/models/AgentListResponse.js +42 -0
  47. package/dist/esm/models/AgentResponse.d.ts +134 -0
  48. package/dist/esm/models/AgentResponse.js +75 -0
  49. package/dist/esm/models/ConnectorResponse.d.ts +104 -0
  50. package/{src/models/ConnectorResponse.ts → dist/esm/models/ConnectorResponse.js} +6 -102
  51. package/dist/esm/models/CreateAgentRequest.d.ts +104 -0
  52. package/dist/esm/models/CreateAgentRequest.js +69 -0
  53. package/dist/esm/models/CreateConnectorRequest.d.ts +92 -0
  54. package/{src/models/CreateConnectorRequest.ts → dist/esm/models/CreateConnectorRequest.js} +12 -93
  55. package/dist/esm/models/CreateMemoryRequest.d.ts +50 -0
  56. package/{src/models/CreateMemoryRequest.ts → dist/esm/models/CreateMemoryRequest.js} +10 -50
  57. package/dist/esm/models/CreateScheduleAgentSpec.d.ts +56 -0
  58. package/{src/models/CreateScheduleAgentSpec.ts → dist/esm/models/CreateScheduleAgentSpec.js} +6 -54
  59. package/dist/esm/models/CreateScheduleRequest.d.ts +81 -0
  60. package/dist/esm/models/CreateScheduleRequest.js +64 -0
  61. package/dist/esm/models/CreateSecretRequest.d.ts +46 -0
  62. package/dist/esm/models/CreateSecretRequest.js +49 -0
  63. package/dist/esm/models/CreateSkillRequest.d.ts +50 -0
  64. package/dist/esm/models/CreateSkillRequest.js +53 -0
  65. package/dist/esm/models/MemoryResponse.d.ts +68 -0
  66. package/dist/esm/models/MemoryResponse.js +53 -0
  67. package/dist/esm/models/OfficeListResponse.d.ts +33 -0
  68. package/dist/esm/models/OfficeListResponse.js +42 -0
  69. package/dist/esm/models/OfficeMemberResponse.d.ts +50 -0
  70. package/dist/esm/models/OfficeMemberResponse.js +47 -0
  71. package/dist/esm/models/OfficeResponse.d.ts +93 -0
  72. package/dist/esm/models/OfficeResponse.js +62 -0
  73. package/dist/esm/models/PatchAgentRequest.d.ts +80 -0
  74. package/{src/models/PatchAgentRequest.ts → dist/esm/models/PatchAgentRequest.js} +6 -78
  75. package/dist/esm/models/PatchMemoryRequest.d.ts +38 -0
  76. package/dist/esm/models/PatchMemoryRequest.js +43 -0
  77. package/dist/esm/models/PatchScheduleRequest.d.ts +32 -0
  78. package/dist/esm/models/PatchScheduleRequest.js +41 -0
  79. package/dist/esm/models/PatchSkillRequest.d.ts +38 -0
  80. package/{src/models/PatchSkillRequest.ts → dist/esm/models/PatchSkillRequest.js} +6 -36
  81. package/dist/esm/models/ScheduleListResponse.d.ts +33 -0
  82. package/dist/esm/models/ScheduleListResponse.js +42 -0
  83. package/dist/esm/models/ScheduleResponse.d.ts +140 -0
  84. package/dist/esm/models/ScheduleResponse.js +77 -0
  85. package/dist/esm/models/SecretListResponse.d.ts +33 -0
  86. package/dist/esm/models/SecretListResponse.js +42 -0
  87. package/dist/esm/models/SecretResponse.d.ts +74 -0
  88. package/dist/esm/models/SecretResponse.js +55 -0
  89. package/dist/esm/models/SkillResponse.d.ts +74 -0
  90. package/dist/esm/models/SkillResponse.js +55 -0
  91. package/dist/esm/models/UpdateSecretRequest.d.ts +40 -0
  92. package/{src/models/UpdateSecretRequest.ts → dist/esm/models/UpdateSecretRequest.js} +8 -37
  93. package/dist/esm/models/index.d.ts +24 -0
  94. package/dist/esm/runtime.d.ts +184 -0
  95. package/dist/esm/runtime.js +349 -0
  96. package/dist/esm/watch.d.ts +32 -0
  97. package/dist/esm/watch.js +96 -0
  98. package/dist/index.d.ts +5 -0
  99. package/dist/index.js +24 -0
  100. package/dist/models/AgentListResponse.d.ts +33 -0
  101. package/dist/models/AgentListResponse.js +49 -0
  102. package/dist/models/AgentResponse.d.ts +134 -0
  103. package/{src/models/AgentResponse.ts → dist/models/AgentResponse.js} +13 -132
  104. package/dist/models/ConnectorResponse.d.ts +104 -0
  105. package/dist/models/ConnectorResponse.js +72 -0
  106. package/dist/models/CreateAgentRequest.d.ts +104 -0
  107. package/dist/models/CreateAgentRequest.js +76 -0
  108. package/dist/models/CreateConnectorRequest.d.ts +92 -0
  109. package/dist/models/CreateConnectorRequest.js +74 -0
  110. package/dist/models/CreateMemoryRequest.d.ts +50 -0
  111. package/dist/models/CreateMemoryRequest.js +58 -0
  112. package/dist/models/CreateScheduleAgentSpec.d.ts +56 -0
  113. package/dist/models/CreateScheduleAgentSpec.js +56 -0
  114. package/dist/models/CreateScheduleRequest.d.ts +81 -0
  115. package/dist/models/CreateScheduleRequest.js +71 -0
  116. package/dist/models/CreateSecretRequest.d.ts +46 -0
  117. package/dist/models/CreateSecretRequest.js +56 -0
  118. package/dist/models/CreateSkillRequest.d.ts +50 -0
  119. package/{src/models/CreateSkillRequest.ts → dist/models/CreateSkillRequest.js} +19 -51
  120. package/dist/models/MemoryResponse.d.ts +68 -0
  121. package/{src/models/MemoryResponse.ts → dist/models/MemoryResponse.js} +13 -66
  122. package/dist/models/OfficeListResponse.d.ts +33 -0
  123. package/dist/models/OfficeListResponse.js +49 -0
  124. package/dist/models/OfficeMemberResponse.d.ts +50 -0
  125. package/{src/models/OfficeMemberResponse.ts → dist/models/OfficeMemberResponse.js} +13 -48
  126. package/dist/models/OfficeResponse.d.ts +93 -0
  127. package/dist/models/OfficeResponse.js +69 -0
  128. package/dist/models/PatchAgentRequest.d.ts +80 -0
  129. package/dist/models/PatchAgentRequest.js +64 -0
  130. package/dist/models/PatchMemoryRequest.d.ts +38 -0
  131. package/{src/models/PatchMemoryRequest.ts → dist/models/PatchMemoryRequest.js} +13 -36
  132. package/dist/models/PatchScheduleRequest.d.ts +32 -0
  133. package/{src/models/PatchScheduleRequest.ts → dist/models/PatchScheduleRequest.js} +13 -30
  134. package/dist/models/PatchSkillRequest.d.ts +38 -0
  135. package/dist/models/PatchSkillRequest.js +50 -0
  136. package/dist/models/ScheduleListResponse.d.ts +33 -0
  137. package/dist/models/ScheduleListResponse.js +49 -0
  138. package/dist/models/ScheduleResponse.d.ts +140 -0
  139. package/{src/models/ScheduleResponse.ts → dist/models/ScheduleResponse.js} +13 -138
  140. package/dist/models/SecretListResponse.d.ts +33 -0
  141. package/dist/models/SecretListResponse.js +49 -0
  142. package/dist/models/SecretResponse.d.ts +74 -0
  143. package/{src/models/SecretResponse.ts → dist/models/SecretResponse.js} +13 -72
  144. package/dist/models/SkillResponse.d.ts +74 -0
  145. package/{src/models/SkillResponse.ts → dist/models/SkillResponse.js} +13 -72
  146. package/dist/models/UpdateSecretRequest.d.ts +40 -0
  147. package/dist/models/UpdateSecretRequest.js +52 -0
  148. package/dist/models/index.d.ts +24 -0
  149. package/dist/models/index.js +42 -0
  150. package/dist/runtime.d.ts +184 -0
  151. package/dist/runtime.js +365 -0
  152. package/dist/watch.d.ts +32 -0
  153. package/dist/watch.js +100 -0
  154. package/package.json +6 -3
  155. package/.openapi-generator-ignore +0 -31
  156. package/docs/AgentListResponse.md +0 -34
  157. package/docs/AgentResponse.md +0 -68
  158. package/docs/AgentsApi.md +0 -584
  159. package/docs/ConnectorResponse.md +0 -58
  160. package/docs/ConnectorsApi.md +0 -366
  161. package/docs/CreateAgentRequest.md +0 -58
  162. package/docs/CreateConnectorRequest.md +0 -54
  163. package/docs/CreateMemoryRequest.md +0 -40
  164. package/docs/CreateScheduleAgentSpec.md +0 -42
  165. package/docs/CreateScheduleRequest.md +0 -50
  166. package/docs/CreateSecretRequest.md +0 -38
  167. package/docs/CreateSkillRequest.md +0 -40
  168. package/docs/MemoriesApi.md +0 -368
  169. package/docs/MemoryResponse.md +0 -46
  170. package/docs/OfficeListResponse.md +0 -34
  171. package/docs/OfficeMemberResponse.md +0 -40
  172. package/docs/OfficeResponse.md +0 -54
  173. package/docs/OfficesApi.md +0 -300
  174. package/docs/PatchAgentRequest.md +0 -50
  175. package/docs/PatchMemoryRequest.md +0 -36
  176. package/docs/PatchScheduleRequest.md +0 -34
  177. package/docs/PatchSkillRequest.md +0 -36
  178. package/docs/ScheduleListResponse.md +0 -34
  179. package/docs/ScheduleResponse.md +0 -70
  180. package/docs/SchedulesApi.md +0 -369
  181. package/docs/SecretListResponse.md +0 -34
  182. package/docs/SecretResponse.md +0 -48
  183. package/docs/SecretsApi.md +0 -298
  184. package/docs/SkillResponse.md +0 -48
  185. package/docs/SkillsApi.md +0 -368
  186. package/docs/TemplatesApi.md +0 -138
  187. package/docs/UpdateSecretRequest.md +0 -36
  188. package/src/apis/AgentsApi.ts +0 -485
  189. package/src/apis/ConnectorsApi.ts +0 -301
  190. package/src/apis/MemoriesApi.ts +0 -315
  191. package/src/apis/OfficesApi.ts +0 -253
  192. package/src/apis/SchedulesApi.ts +0 -318
  193. package/src/apis/SecretsApi.ts +0 -267
  194. package/src/apis/SkillsApi.ts +0 -315
  195. package/src/apis/TemplatesApi.ts +0 -109
  196. package/src/client.test.ts +0 -88
  197. package/src/client.ts +0 -212
  198. package/src/models/AgentListResponse.ts +0 -73
  199. package/src/models/CreateAgentRequest.ts +0 -163
  200. package/src/models/CreateScheduleRequest.ts +0 -140
  201. package/src/models/CreateSecretRequest.ts +0 -83
  202. package/src/models/OfficeListResponse.ts +0 -73
  203. package/src/models/OfficeResponse.ts +0 -153
  204. package/src/models/ScheduleListResponse.ts +0 -73
  205. package/src/models/SecretListResponse.ts +0 -73
  206. package/src/runtime.ts +0 -450
  207. package/src/watch.ts +0 -89
  208. package/tsconfig.esm.json +0 -7
  209. package/tsconfig.json +0 -18
  210. /package/{src/apis/index.ts → dist/esm/apis/index.js} +0 -0
  211. /package/{src/models/index.ts → dist/esm/models/index.js} +0 -0
@@ -1,300 +0,0 @@
1
- # OfficesApi
2
-
3
- All URIs are relative to *http://localhost:8080/api/v1*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**deleteOffice**](OfficesApi.md#deleteoffice) | **DELETE** /offices/{name} | Delete office |
8
- | [**getOffice**](OfficesApi.md#getoffice) | **GET** /offices/{name} | Get office details |
9
- | [**getOfficeEvents**](OfficesApi.md#getofficeevents) | **GET** /offices/{name}/events | Get office events |
10
- | [**listOffices**](OfficesApi.md#listoffices) | **GET** /offices | List offices |
11
-
12
-
13
-
14
- ## deleteOffice
15
-
16
- > { [key: string]: string; } deleteOffice(name, namespace)
17
-
18
- Delete office
19
-
20
- Deletes the office CR and cleans up Redis event streams for all member agents.
21
-
22
- ### Example
23
-
24
- ```ts
25
- import {
26
- Configuration,
27
- OfficesApi,
28
- } from 'komputer-ai';
29
- import type { DeleteOfficeRequest } from 'komputer-ai';
30
-
31
- async function example() {
32
- console.log("🚀 Testing komputer-ai SDK...");
33
- const api = new OfficesApi();
34
-
35
- const body = {
36
- // string | Office name
37
- name: name_example,
38
- // string | Kubernetes namespace (optional)
39
- namespace: namespace_example,
40
- } satisfies DeleteOfficeRequest;
41
-
42
- try {
43
- const data = await api.deleteOffice(body);
44
- console.log(data);
45
- } catch (error) {
46
- console.error(error);
47
- }
48
- }
49
-
50
- // Run the test
51
- example().catch(console.error);
52
- ```
53
-
54
- ### Parameters
55
-
56
-
57
- | Name | Type | Description | Notes |
58
- |------------- | ------------- | ------------- | -------------|
59
- | **name** | `string` | Office name | [Defaults to `undefined`] |
60
- | **namespace** | `string` | Kubernetes namespace | [Optional] [Defaults to `undefined`] |
61
-
62
- ### Return type
63
-
64
- **{ [key: string]: string; }**
65
-
66
- ### Authorization
67
-
68
- No authorization required
69
-
70
- ### HTTP request headers
71
-
72
- - **Content-Type**: Not defined
73
- - **Accept**: `application/json`
74
-
75
-
76
- ### HTTP response details
77
- | Status code | Description | Response headers |
78
- |-------------|-------------|------------------|
79
- | **200** | Office deleted | - |
80
- | **404** | Office not found | - |
81
- | **500** | Internal error | - |
82
-
83
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
84
-
85
-
86
- ## getOffice
87
-
88
- > OfficeResponse getOffice(name, namespace)
89
-
90
- Get office details
91
-
92
- Returns the current status and member list for a single office.
93
-
94
- ### Example
95
-
96
- ```ts
97
- import {
98
- Configuration,
99
- OfficesApi,
100
- } from 'komputer-ai';
101
- import type { GetOfficeRequest } from 'komputer-ai';
102
-
103
- async function example() {
104
- console.log("🚀 Testing komputer-ai SDK...");
105
- const api = new OfficesApi();
106
-
107
- const body = {
108
- // string | Office name
109
- name: name_example,
110
- // string | Kubernetes namespace (optional)
111
- namespace: namespace_example,
112
- } satisfies GetOfficeRequest;
113
-
114
- try {
115
- const data = await api.getOffice(body);
116
- console.log(data);
117
- } catch (error) {
118
- console.error(error);
119
- }
120
- }
121
-
122
- // Run the test
123
- example().catch(console.error);
124
- ```
125
-
126
- ### Parameters
127
-
128
-
129
- | Name | Type | Description | Notes |
130
- |------------- | ------------- | ------------- | -------------|
131
- | **name** | `string` | Office name | [Defaults to `undefined`] |
132
- | **namespace** | `string` | Kubernetes namespace | [Optional] [Defaults to `undefined`] |
133
-
134
- ### Return type
135
-
136
- [**OfficeResponse**](OfficeResponse.md)
137
-
138
- ### Authorization
139
-
140
- No authorization required
141
-
142
- ### HTTP request headers
143
-
144
- - **Content-Type**: Not defined
145
- - **Accept**: `application/json`
146
-
147
-
148
- ### HTTP response details
149
- | Status code | Description | Response headers |
150
- |-------------|-------------|------------------|
151
- | **200** | Office details | - |
152
- | **404** | Office not found | - |
153
- | **500** | Internal error | - |
154
-
155
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
156
-
157
-
158
- ## getOfficeEvents
159
-
160
- > { [key: string]: any; } getOfficeEvents(name, namespace, limit)
161
-
162
- Get office events
163
-
164
- Returns merged events from all member agent Redis streams, sorted chronologically.
165
-
166
- ### Example
167
-
168
- ```ts
169
- import {
170
- Configuration,
171
- OfficesApi,
172
- } from 'komputer-ai';
173
- import type { GetOfficeEventsRequest } from 'komputer-ai';
174
-
175
- async function example() {
176
- console.log("🚀 Testing komputer-ai SDK...");
177
- const api = new OfficesApi();
178
-
179
- const body = {
180
- // string | Office name
181
- name: name_example,
182
- // string | Kubernetes namespace (optional)
183
- namespace: namespace_example,
184
- // number | Max events to return (1-200) (optional)
185
- limit: 56,
186
- } satisfies GetOfficeEventsRequest;
187
-
188
- try {
189
- const data = await api.getOfficeEvents(body);
190
- console.log(data);
191
- } catch (error) {
192
- console.error(error);
193
- }
194
- }
195
-
196
- // Run the test
197
- example().catch(console.error);
198
- ```
199
-
200
- ### Parameters
201
-
202
-
203
- | Name | Type | Description | Notes |
204
- |------------- | ------------- | ------------- | -------------|
205
- | **name** | `string` | Office name | [Defaults to `undefined`] |
206
- | **namespace** | `string` | Kubernetes namespace | [Optional] [Defaults to `undefined`] |
207
- | **limit** | `number` | Max events to return (1-200) | [Optional] [Defaults to `50`] |
208
-
209
- ### Return type
210
-
211
- **{ [key: string]: any; }**
212
-
213
- ### Authorization
214
-
215
- No authorization required
216
-
217
- ### HTTP request headers
218
-
219
- - **Content-Type**: Not defined
220
- - **Accept**: `application/json`
221
-
222
-
223
- ### HTTP response details
224
- | Status code | Description | Response headers |
225
- |-------------|-------------|------------------|
226
- | **200** | Office events | - |
227
- | **400** | Invalid limit parameter | - |
228
- | **404** | Office not found | - |
229
- | **500** | Internal error | - |
230
-
231
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
232
-
233
-
234
- ## listOffices
235
-
236
- > OfficeListResponse listOffices(namespace)
237
-
238
- List offices
239
-
240
- Returns all offices with their current status in the specified namespace.
241
-
242
- ### Example
243
-
244
- ```ts
245
- import {
246
- Configuration,
247
- OfficesApi,
248
- } from 'komputer-ai';
249
- import type { ListOfficesRequest } from 'komputer-ai';
250
-
251
- async function example() {
252
- console.log("🚀 Testing komputer-ai SDK...");
253
- const api = new OfficesApi();
254
-
255
- const body = {
256
- // string | Kubernetes namespace (optional)
257
- namespace: namespace_example,
258
- } satisfies ListOfficesRequest;
259
-
260
- try {
261
- const data = await api.listOffices(body);
262
- console.log(data);
263
- } catch (error) {
264
- console.error(error);
265
- }
266
- }
267
-
268
- // Run the test
269
- example().catch(console.error);
270
- ```
271
-
272
- ### Parameters
273
-
274
-
275
- | Name | Type | Description | Notes |
276
- |------------- | ------------- | ------------- | -------------|
277
- | **namespace** | `string` | Kubernetes namespace | [Optional] [Defaults to `undefined`] |
278
-
279
- ### Return type
280
-
281
- [**OfficeListResponse**](OfficeListResponse.md)
282
-
283
- ### Authorization
284
-
285
- No authorization required
286
-
287
- ### HTTP request headers
288
-
289
- - **Content-Type**: Not defined
290
- - **Accept**: `application/json`
291
-
292
-
293
- ### HTTP response details
294
- | Status code | Description | Response headers |
295
- |-------------|-------------|------------------|
296
- | **200** | List of offices | - |
297
- | **500** | Internal error | - |
298
-
299
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
300
-
@@ -1,50 +0,0 @@
1
-
2
- # PatchAgentRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `connectors` | Array<string>
10
- `instructions` | string
11
- `lifecycle` | string
12
- `memories` | Array<string>
13
- `model` | string
14
- `secretRefs` | Array<string>
15
- `skills` | Array<string>
16
- `systemPrompt` | string
17
- `templateRef` | string
18
-
19
- ## Example
20
-
21
- ```typescript
22
- import type { PatchAgentRequest } from 'komputer-ai'
23
-
24
- // TODO: Update the object below with actual values
25
- const example = {
26
- "connectors": null,
27
- "instructions": null,
28
- "lifecycle": null,
29
- "memories": null,
30
- "model": null,
31
- "secretRefs": null,
32
- "skills": null,
33
- "systemPrompt": null,
34
- "templateRef": null,
35
- } satisfies PatchAgentRequest
36
-
37
- console.log(example)
38
-
39
- // Convert the instance to a JSON string
40
- const exampleJSON: string = JSON.stringify(example)
41
- console.log(exampleJSON)
42
-
43
- // Parse the JSON string back to an object
44
- const exampleParsed = JSON.parse(exampleJSON) as PatchAgentRequest
45
- console.log(exampleParsed)
46
- ```
47
-
48
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
-
50
-
@@ -1,36 +0,0 @@
1
-
2
- # PatchMemoryRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `content` | string
10
- `description` | string
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { PatchMemoryRequest } from 'komputer-ai'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "content": null,
20
- "description": null,
21
- } satisfies PatchMemoryRequest
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as PatchMemoryRequest
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,34 +0,0 @@
1
-
2
- # PatchScheduleRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `schedule` | string
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { PatchScheduleRequest } from 'komputer-ai'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "schedule": null,
19
- } satisfies PatchScheduleRequest
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as PatchScheduleRequest
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,36 +0,0 @@
1
-
2
- # PatchSkillRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `content` | string
10
- `description` | string
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { PatchSkillRequest } from 'komputer-ai'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "content": null,
20
- "description": null,
21
- } satisfies PatchSkillRequest
22
-
23
- console.log(example)
24
-
25
- // Convert the instance to a JSON string
26
- const exampleJSON: string = JSON.stringify(example)
27
- console.log(exampleJSON)
28
-
29
- // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as PatchSkillRequest
31
- console.log(exampleParsed)
32
- ```
33
-
34
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
-
36
-
@@ -1,34 +0,0 @@
1
-
2
- # ScheduleListResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `schedules` | [Array<ScheduleResponse>](ScheduleResponse.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { ScheduleListResponse } from 'komputer-ai'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "schedules": null,
19
- } satisfies ScheduleListResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as ScheduleListResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,70 +0,0 @@
1
-
2
- # ScheduleResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `agentName` | string
10
- `autoDelete` | boolean
11
- `createdAt` | string
12
- `failedRuns` | number
13
- `keepAgents` | boolean
14
- `lastRunCostUSD` | string
15
- `lastRunStatus` | string
16
- `lastRunTime` | string
17
- `lastRunTokens` | number
18
- `name` | string
19
- `namespace` | string
20
- `nextRunTime` | string
21
- `phase` | string
22
- `runCount` | number
23
- `schedule` | string
24
- `successfulRuns` | number
25
- `timezone` | string
26
- `totalCostUSD` | string
27
- `totalTokens` | number
28
-
29
- ## Example
30
-
31
- ```typescript
32
- import type { ScheduleResponse } from 'komputer-ai'
33
-
34
- // TODO: Update the object below with actual values
35
- const example = {
36
- "agentName": null,
37
- "autoDelete": null,
38
- "createdAt": null,
39
- "failedRuns": null,
40
- "keepAgents": null,
41
- "lastRunCostUSD": null,
42
- "lastRunStatus": null,
43
- "lastRunTime": null,
44
- "lastRunTokens": null,
45
- "name": null,
46
- "namespace": null,
47
- "nextRunTime": null,
48
- "phase": null,
49
- "runCount": null,
50
- "schedule": null,
51
- "successfulRuns": null,
52
- "timezone": null,
53
- "totalCostUSD": null,
54
- "totalTokens": null,
55
- } satisfies ScheduleResponse
56
-
57
- console.log(example)
58
-
59
- // Convert the instance to a JSON string
60
- const exampleJSON: string = JSON.stringify(example)
61
- console.log(exampleJSON)
62
-
63
- // Parse the JSON string back to an object
64
- const exampleParsed = JSON.parse(exampleJSON) as ScheduleResponse
65
- console.log(exampleParsed)
66
- ```
67
-
68
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
69
-
70
-