mtmsdk 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 (69) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +3 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4377 -0
  6. package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -0
  7. package/dist/mtgate_api/@tanstack/react-query.gen.js +2373 -0
  8. package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -0
  9. package/dist/mtgate_api/client/client.d.ts +3 -0
  10. package/dist/mtgate_api/client/client.d.ts.map +1 -0
  11. package/dist/mtgate_api/client/client.js +146 -0
  12. package/dist/mtgate_api/client/client.js.map +1 -0
  13. package/dist/mtgate_api/client/index.d.ts +8 -0
  14. package/dist/mtgate_api/client/index.d.ts.map +1 -0
  15. package/dist/mtgate_api/client/index.js +5 -0
  16. package/dist/mtgate_api/client/index.js.map +1 -0
  17. package/dist/mtgate_api/client/types.d.ts +120 -0
  18. package/dist/mtgate_api/client/types.d.ts.map +1 -0
  19. package/dist/mtgate_api/client/types.js +2 -0
  20. package/dist/mtgate_api/client/types.js.map +1 -0
  21. package/dist/mtgate_api/client/utils.d.ts +46 -0
  22. package/dist/mtgate_api/client/utils.d.ts.map +1 -0
  23. package/dist/mtgate_api/client/utils.js +285 -0
  24. package/dist/mtgate_api/client/utils.js.map +1 -0
  25. package/dist/mtgate_api/client.gen.d.ts +13 -0
  26. package/dist/mtgate_api/client.gen.d.ts.map +1 -0
  27. package/dist/mtgate_api/client.gen.js +6 -0
  28. package/dist/mtgate_api/client.gen.js.map +1 -0
  29. package/dist/mtgate_api/core/auth.d.ts +19 -0
  30. package/dist/mtgate_api/core/auth.d.ts.map +1 -0
  31. package/dist/mtgate_api/core/auth.js +14 -0
  32. package/dist/mtgate_api/core/auth.js.map +1 -0
  33. package/dist/mtgate_api/core/bodySerializer.d.ts +18 -0
  34. package/dist/mtgate_api/core/bodySerializer.d.ts.map +1 -0
  35. package/dist/mtgate_api/core/bodySerializer.js +54 -0
  36. package/dist/mtgate_api/core/bodySerializer.js.map +1 -0
  37. package/dist/mtgate_api/core/params.d.ts +24 -0
  38. package/dist/mtgate_api/core/params.d.ts.map +1 -0
  39. package/dist/mtgate_api/core/params.js +88 -0
  40. package/dist/mtgate_api/core/params.js.map +1 -0
  41. package/dist/mtgate_api/core/pathSerializer.d.ts +34 -0
  42. package/dist/mtgate_api/core/pathSerializer.d.ts.map +1 -0
  43. package/dist/mtgate_api/core/pathSerializer.js +114 -0
  44. package/dist/mtgate_api/core/pathSerializer.js.map +1 -0
  45. package/dist/mtgate_api/core/types.d.ts +74 -0
  46. package/dist/mtgate_api/core/types.d.ts.map +1 -0
  47. package/dist/mtgate_api/core/types.js +2 -0
  48. package/dist/mtgate_api/core/types.js.map +1 -0
  49. package/dist/mtgate_api/index.d.ts +3 -0
  50. package/dist/mtgate_api/index.d.ts.map +1 -0
  51. package/dist/mtgate_api/index.js +4 -0
  52. package/dist/mtgate_api/index.js.map +1 -0
  53. package/dist/mtgate_api/schemas.gen.d.ts +1504 -0
  54. package/dist/mtgate_api/schemas.gen.d.ts.map +1 -0
  55. package/dist/mtgate_api/schemas.gen.js +1544 -0
  56. package/dist/mtgate_api/schemas.gen.js.map +1 -0
  57. package/dist/mtgate_api/sdk.gen.d.ts +184 -0
  58. package/dist/mtgate_api/sdk.gen.d.ts.map +1 -0
  59. package/dist/mtgate_api/sdk.gen.js +791 -0
  60. package/dist/mtgate_api/sdk.gen.js.map +1 -0
  61. package/dist/mtgate_api/types.gen.d.ts +3012 -0
  62. package/dist/mtgate_api/types.gen.d.ts.map +1 -0
  63. package/dist/mtgate_api/types.gen.js +9 -0
  64. package/dist/mtgate_api/types.gen.js.map +1 -0
  65. package/dist/mtgate_api/zod.gen.d.ts +3158 -0
  66. package/dist/mtgate_api/zod.gen.d.ts.map +1 -0
  67. package/dist/mtgate_api/zod.gen.js +2171 -0
  68. package/dist/mtgate_api/zod.gen.js.map +1 -0
  69. package/package.json +61 -0
@@ -0,0 +1,791 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { client as _heyApiClient } from "./client.gen";
3
+ export const agentChatbotList = (options) => {
4
+ return (options?.client ?? _heyApiClient).get({
5
+ url: "/api/cf/agents/chatbot/chatbot",
6
+ ...options,
7
+ });
8
+ };
9
+ export const agentChatbotCreate = (options) => {
10
+ return (options?.client ?? _heyApiClient).post({
11
+ url: "/api/cf/agents/chatbot/chatbot",
12
+ ...options,
13
+ headers: {
14
+ "Content-Type": "application/json",
15
+ ...options?.headers,
16
+ },
17
+ });
18
+ };
19
+ export const agentChatbotDelete = (options) => {
20
+ return (options.client ?? _heyApiClient).delete({
21
+ url: "/api/cf/agents/chatbot/chatbot/{id}",
22
+ ...options,
23
+ });
24
+ };
25
+ export const agentChatbotGet = (options) => {
26
+ return (options.client ?? _heyApiClient).get({
27
+ url: "/api/cf/agents/chatbot/chatbot/{id}",
28
+ ...options,
29
+ });
30
+ };
31
+ export const agentChatbotUpdate = (options) => {
32
+ return (options.client ?? _heyApiClient).put({
33
+ url: "/api/cf/agents/chatbot/chatbot/{id}",
34
+ ...options,
35
+ headers: {
36
+ "Content-Type": "application/json",
37
+ ...options.headers,
38
+ },
39
+ });
40
+ };
41
+ export const workerAgentStartNapcat = (options) => {
42
+ return (options?.client ?? _heyApiClient).get({
43
+ url: "/api/cf/agents/worker-agent/agents/worker-agent/start-napcat",
44
+ ...options,
45
+ });
46
+ };
47
+ export const agentHandlerGetInfo = (options) => {
48
+ return (options?.client ?? _heyApiClient).post({
49
+ url: "/api/cf/agents/agents-handlers/agent_info",
50
+ ...options,
51
+ headers: {
52
+ "Content-Type": "application/json",
53
+ ...options?.headers,
54
+ },
55
+ });
56
+ };
57
+ export const a2aGetAgentCard = (options) => {
58
+ return (options.client ?? _heyApiClient).get({
59
+ url: "/api/cf/agents/{agent}/.well-known/agent-card.json",
60
+ ...options,
61
+ });
62
+ };
63
+ export const a2aRpc = (options) => {
64
+ return (options.client ?? _heyApiClient).post({
65
+ url: "/api/cf/agents/{agent}",
66
+ ...options,
67
+ headers: {
68
+ "Content-Type": "application/json",
69
+ ...options.headers,
70
+ },
71
+ });
72
+ };
73
+ /**
74
+ * 调用mtmai demo功能
75
+ * 通过honoapi调用mtmai,mtmai内部调用honoapi客户端添加新用户
76
+ */
77
+ export const agentsMtmaiDemo = (options) => {
78
+ return (options?.client ?? _heyApiClient).post({
79
+ url: "/api/cf/mtmai-demo",
80
+ ...options,
81
+ headers: {
82
+ "Content-Type": "application/json",
83
+ ...options?.headers,
84
+ },
85
+ });
86
+ };
87
+ export const authRegister = (options) => {
88
+ return (options?.client ?? _heyApiClient).post({
89
+ url: "/api/cf/auth/register",
90
+ ...options,
91
+ headers: {
92
+ "Content-Type": "application/json",
93
+ ...options?.headers,
94
+ },
95
+ });
96
+ };
97
+ export const authLogin = (options) => {
98
+ return (options?.client ?? _heyApiClient).post({
99
+ url: "/api/cf/auth/login",
100
+ ...options,
101
+ headers: {
102
+ "Content-Type": "application/json",
103
+ ...options?.headers,
104
+ },
105
+ });
106
+ };
107
+ export const authVerify = (options) => {
108
+ return (options?.client ?? _heyApiClient).post({
109
+ url: "/api/cf/auth/verify",
110
+ ...options,
111
+ headers: {
112
+ "Content-Type": "application/json",
113
+ ...options?.headers,
114
+ },
115
+ });
116
+ };
117
+ export const authSession = (options) => {
118
+ return (options?.client ?? _heyApiClient).get({
119
+ url: "/api/cf/auth/session",
120
+ ...options,
121
+ });
122
+ };
123
+ export const usersList = (options) => {
124
+ return (options?.client ?? _heyApiClient).get({
125
+ url: "/api/cf/users",
126
+ ...options,
127
+ });
128
+ };
129
+ export const usersCreate = (options) => {
130
+ return (options?.client ?? _heyApiClient).post({
131
+ url: "/api/cf/users",
132
+ ...options,
133
+ headers: {
134
+ "Content-Type": "application/json",
135
+ ...options?.headers,
136
+ },
137
+ });
138
+ };
139
+ export const usersDelete = (options) => {
140
+ return (options.client ?? _heyApiClient).delete({
141
+ url: "/api/cf/users/{id}",
142
+ ...options,
143
+ });
144
+ };
145
+ export const usersGet = (options) => {
146
+ return (options.client ?? _heyApiClient).get({
147
+ url: "/api/cf/users/{id}",
148
+ ...options,
149
+ });
150
+ };
151
+ export const usersUpdate = (options) => {
152
+ return (options.client ?? _heyApiClient).put({
153
+ url: "/api/cf/users/{id}",
154
+ ...options,
155
+ headers: {
156
+ "Content-Type": "application/json",
157
+ ...options.headers,
158
+ },
159
+ });
160
+ };
161
+ export const sysConfigGet = (options) => {
162
+ return (options?.client ?? _heyApiClient).get({
163
+ url: "/api/cf/sysconfig",
164
+ ...options,
165
+ });
166
+ };
167
+ export const pAccountsList = (options) => {
168
+ return (options.client ?? _heyApiClient).get({
169
+ url: "/api/cf/p-accounts",
170
+ ...options,
171
+ });
172
+ };
173
+ export const pAccountsCreate = (options) => {
174
+ return (options?.client ?? _heyApiClient).post({
175
+ url: "/api/cf/p-accounts",
176
+ ...options,
177
+ headers: {
178
+ "Content-Type": "application/json",
179
+ ...options?.headers,
180
+ },
181
+ });
182
+ };
183
+ export const pAccountsDelete = (options) => {
184
+ return (options.client ?? _heyApiClient).delete({
185
+ url: "/api/cf/p-accounts/{id}",
186
+ ...options,
187
+ });
188
+ };
189
+ export const pAccountsGet = (options) => {
190
+ return (options.client ?? _heyApiClient).get({
191
+ url: "/api/cf/p-accounts/{id}",
192
+ ...options,
193
+ });
194
+ };
195
+ export const pAccountsUpdate = (options) => {
196
+ return (options.client ?? _heyApiClient).put({
197
+ url: "/api/cf/p-accounts/{id}",
198
+ ...options,
199
+ headers: {
200
+ "Content-Type": "application/json",
201
+ ...options.headers,
202
+ },
203
+ });
204
+ };
205
+ export const platformsList = (options) => {
206
+ return (options?.client ?? _heyApiClient).get({
207
+ url: "/api/cf/platforms",
208
+ ...options,
209
+ });
210
+ };
211
+ export const platformsCreate = (options) => {
212
+ return (options?.client ?? _heyApiClient).post({
213
+ url: "/api/cf/platforms",
214
+ ...options,
215
+ headers: {
216
+ "Content-Type": "application/json",
217
+ ...options?.headers,
218
+ },
219
+ });
220
+ };
221
+ export const platformsDelete = (options) => {
222
+ return (options.client ?? _heyApiClient).delete({
223
+ url: "/api/cf/platforms/{id}",
224
+ ...options,
225
+ });
226
+ };
227
+ export const platformsGet = (options) => {
228
+ return (options.client ?? _heyApiClient).get({
229
+ url: "/api/cf/platforms/{id}",
230
+ ...options,
231
+ });
232
+ };
233
+ export const platformsUpdate = (options) => {
234
+ return (options.client ?? _heyApiClient).put({
235
+ url: "/api/cf/platforms/{id}",
236
+ ...options,
237
+ headers: {
238
+ "Content-Type": "application/json",
239
+ ...options.headers,
240
+ },
241
+ });
242
+ };
243
+ export const proxiesList = (options) => {
244
+ return (options?.client ?? _heyApiClient).get({
245
+ url: "/api/cf/proxies",
246
+ ...options,
247
+ });
248
+ };
249
+ export const proxiesDelete = (options) => {
250
+ return (options.client ?? _heyApiClient).delete({
251
+ url: "/api/cf/proxies/{proxyId}",
252
+ ...options,
253
+ });
254
+ };
255
+ export const proxiesGet = (options) => {
256
+ return (options.client ?? _heyApiClient).get({
257
+ url: "/api/cf/proxies/{proxyId}",
258
+ ...options,
259
+ });
260
+ };
261
+ export const proxiesUpsert = (options) => {
262
+ return (options?.client ?? _heyApiClient).put({
263
+ url: "/api/cf/proxies/upsert",
264
+ ...options,
265
+ headers: {
266
+ "Content-Type": "application/json",
267
+ ...options?.headers,
268
+ },
269
+ });
270
+ };
271
+ export const sandboxList = (options) => {
272
+ return (options?.client ?? _heyApiClient).get({
273
+ url: "/api/cf/sandboxes",
274
+ ...options,
275
+ });
276
+ };
277
+ export const sandboxCreate = (options) => {
278
+ return (options?.client ?? _heyApiClient).post({
279
+ url: "/api/cf/sandboxes",
280
+ ...options,
281
+ headers: {
282
+ "Content-Type": "application/json",
283
+ ...options?.headers,
284
+ },
285
+ });
286
+ };
287
+ export const sandboxDelete = (options) => {
288
+ return (options.client ?? _heyApiClient).delete({
289
+ url: "/api/cf/sandboxes/{id}",
290
+ ...options,
291
+ });
292
+ };
293
+ export const sandboxGet = (options) => {
294
+ return (options.client ?? _heyApiClient).get({
295
+ url: "/api/cf/sandboxes/{id}",
296
+ ...options,
297
+ });
298
+ };
299
+ export const sandboxUpdate = (options) => {
300
+ return (options.client ?? _heyApiClient).put({
301
+ url: "/api/cf/sandboxes/{id}",
302
+ ...options,
303
+ headers: {
304
+ "Content-Type": "application/json",
305
+ ...options.headers,
306
+ },
307
+ });
308
+ };
309
+ export const sandboxStart = (options) => {
310
+ return (options.client ?? _heyApiClient).post({
311
+ url: "/api/cf/sandboxes/{id}/start",
312
+ ...options,
313
+ headers: {
314
+ "Content-Type": "application/json",
315
+ ...options.headers,
316
+ },
317
+ });
318
+ };
319
+ export const sandboxCallback = (options) => {
320
+ return (options.client ?? _heyApiClient).post({
321
+ url: "/api/cf/sandboxes/{id}/callback",
322
+ ...options,
323
+ headers: {
324
+ "Content-Type": "application/json",
325
+ ...options.headers,
326
+ },
327
+ });
328
+ };
329
+ export const tenantsList = (options) => {
330
+ return (options?.client ?? _heyApiClient).get({
331
+ url: "/api/cf/tenants",
332
+ ...options,
333
+ });
334
+ };
335
+ export const tenantsCreate = (options) => {
336
+ return (options?.client ?? _heyApiClient).post({
337
+ url: "/api/cf/tenants",
338
+ ...options,
339
+ headers: {
340
+ "Content-Type": "application/json",
341
+ ...options?.headers,
342
+ },
343
+ });
344
+ };
345
+ export const tenantsDelete = (options) => {
346
+ return (options.client ?? _heyApiClient).delete({
347
+ url: "/api/cf/tenants/{tenantId}",
348
+ ...options,
349
+ });
350
+ };
351
+ export const tenantsGet = (options) => {
352
+ return (options.client ?? _heyApiClient).get({
353
+ url: "/api/cf/tenants/{tenantId}",
354
+ ...options,
355
+ });
356
+ };
357
+ export const tenantsUpdate = (options) => {
358
+ return (options.client ?? _heyApiClient).put({
359
+ url: "/api/cf/tenants/{tenantId}",
360
+ ...options,
361
+ headers: {
362
+ "Content-Type": "application/json",
363
+ ...options.headers,
364
+ },
365
+ });
366
+ };
367
+ export const cloudflareChatbotList = (options) => {
368
+ return (options?.client ?? _heyApiClient).get({
369
+ url: "/api/cf/cf/chatbot",
370
+ ...options,
371
+ });
372
+ };
373
+ export const cloudflareChatbotCreate = (options) => {
374
+ return (options?.client ?? _heyApiClient).post({
375
+ url: "/api/cf/cf/chatbot",
376
+ ...options,
377
+ headers: {
378
+ "Content-Type": "application/json",
379
+ ...options?.headers,
380
+ },
381
+ });
382
+ };
383
+ export const cloudflareChatbotDelete = (options) => {
384
+ return (options.client ?? _heyApiClient).delete({
385
+ url: "/api/cf/cf/chatbot/{id}",
386
+ ...options,
387
+ });
388
+ };
389
+ export const cloudflareChatbotGet = (options) => {
390
+ return (options.client ?? _heyApiClient).get({
391
+ url: "/api/cf/cf/chatbot/{id}",
392
+ ...options,
393
+ });
394
+ };
395
+ export const blogPostsList = (options) => {
396
+ return (options?.client ?? _heyApiClient).get({
397
+ url: "/api/cf/cf/posts",
398
+ ...options,
399
+ });
400
+ };
401
+ export const tunnelList = (options) => {
402
+ return (options?.client ?? _heyApiClient).get({
403
+ url: "/api/cf/cf/tunnel/list",
404
+ ...options,
405
+ });
406
+ };
407
+ export const tunnelGet = (options) => {
408
+ return (options?.client ?? _heyApiClient).get({
409
+ url: "/api/cf/cf/tunnel/get",
410
+ ...options,
411
+ });
412
+ };
413
+ export const dashuiGet = (options) => {
414
+ return (options?.client ?? _heyApiClient).get({
415
+ url: "/api/cf/dashui-data",
416
+ ...options,
417
+ });
418
+ };
419
+ export const sysConfig = (options) => {
420
+ return (options?.client ?? _heyApiClient).get({
421
+ url: "/api/cf/sys/config",
422
+ ...options,
423
+ });
424
+ };
425
+ export const workflowTrigger = (options) => {
426
+ return (options?.client ?? _heyApiClient).post({
427
+ url: "/api/cf/workflows",
428
+ ...options,
429
+ });
430
+ };
431
+ export const setupStatus = (options) => {
432
+ return (options?.client ?? _heyApiClient).get({
433
+ url: "/api/cf/setup/status",
434
+ ...options,
435
+ });
436
+ };
437
+ export const setupInitialize = (options) => {
438
+ return (options?.client ?? _heyApiClient).post({
439
+ url: "/api/cf/setup",
440
+ ...options,
441
+ headers: {
442
+ "Content-Type": "application/json",
443
+ ...options?.headers,
444
+ },
445
+ });
446
+ };
447
+ export const configGomtmGet = (options) => {
448
+ return (options.client ?? _heyApiClient).get({
449
+ url: "/api/cf/configs/gomtm_config/{name}",
450
+ ...options,
451
+ });
452
+ };
453
+ export const singboxConfigGet = (options) => {
454
+ return (options.client ?? _heyApiClient).get({
455
+ url: "/api/cf/tunnel/singbox/{name}",
456
+ ...options,
457
+ });
458
+ };
459
+ export const siteList = (options) => {
460
+ return (options?.client ?? _heyApiClient).get({
461
+ url: "/api/cf/site",
462
+ ...options,
463
+ });
464
+ };
465
+ export const siteCreate = (options) => {
466
+ return (options?.client ?? _heyApiClient).post({
467
+ url: "/api/cf/site",
468
+ ...options,
469
+ headers: {
470
+ "Content-Type": "application/json",
471
+ ...options?.headers,
472
+ },
473
+ });
474
+ };
475
+ export const siteDelete = (options) => {
476
+ return (options.client ?? _heyApiClient).delete({
477
+ url: "/api/cf/site/{id}",
478
+ ...options,
479
+ });
480
+ };
481
+ export const siteGet = (options) => {
482
+ return (options.client ?? _heyApiClient).get({
483
+ url: "/api/cf/site/{id}",
484
+ ...options,
485
+ });
486
+ };
487
+ export const siteUpdate = (options) => {
488
+ return (options.client ?? _heyApiClient).put({
489
+ url: "/api/cf/{id}",
490
+ ...options,
491
+ headers: {
492
+ "Content-Type": "application/json",
493
+ ...options.headers,
494
+ },
495
+ });
496
+ };
497
+ export const blogPostsList2 = (options) => {
498
+ return (options?.client ?? _heyApiClient).get({
499
+ url: "/api/cf/posts",
500
+ ...options,
501
+ });
502
+ };
503
+ export const blogPostsCreate = (options) => {
504
+ return (options?.client ?? _heyApiClient).post({
505
+ url: "/api/cf/posts",
506
+ ...options,
507
+ headers: {
508
+ "Content-Type": "application/json",
509
+ ...options?.headers,
510
+ },
511
+ });
512
+ };
513
+ export const blogPostsDelete = (options) => {
514
+ return (options.client ?? _heyApiClient).delete({
515
+ url: "/api/cf/posts/{id}",
516
+ ...options,
517
+ });
518
+ };
519
+ export const blogPostsGetById = (options) => {
520
+ return (options.client ?? _heyApiClient).get({
521
+ url: "/api/cf/posts/{id}",
522
+ ...options,
523
+ });
524
+ };
525
+ export const blogPostsUpdate = (options) => {
526
+ return (options.client ?? _heyApiClient).put({
527
+ url: "/api/cf/posts/{id}",
528
+ ...options,
529
+ headers: {
530
+ "Content-Type": "application/json",
531
+ ...options.headers,
532
+ },
533
+ });
534
+ };
535
+ export const blogPostsGetBySlug = (options) => {
536
+ return (options.client ?? _heyApiClient).get({
537
+ url: "/api/cf/posts/slug/{slug}",
538
+ ...options,
539
+ });
540
+ };
541
+ export const sitehostList = (options) => {
542
+ return (options.client ?? _heyApiClient).get({
543
+ url: "/api/cf/site-hosts/{id}",
544
+ ...options,
545
+ });
546
+ };
547
+ export const sitehostCreate = (options) => {
548
+ return (options.client ?? _heyApiClient).post({
549
+ url: "/api/cf/site-hosts/{id}",
550
+ ...options,
551
+ headers: {
552
+ "Content-Type": "application/json",
553
+ ...options.headers,
554
+ },
555
+ });
556
+ };
557
+ export const sitehostDelete = (options) => {
558
+ return (options.client ?? _heyApiClient).delete({
559
+ url: "/api/cf/site-hosts/{id}/{hostId}",
560
+ ...options,
561
+ });
562
+ };
563
+ /**
564
+ * 创建ADK会话
565
+ * 创建新的ADK会话实例
566
+ */
567
+ export const adkSessionCreate = (options) => {
568
+ return (options?.client ?? _heyApiClient).post({
569
+ url: "/api/cf/adk/session/create",
570
+ ...options,
571
+ headers: {
572
+ "Content-Type": "application/json",
573
+ ...options?.headers,
574
+ },
575
+ });
576
+ };
577
+ /**
578
+ * 获取ADK会话
579
+ * 根据会话ID获取ADK会话详情
580
+ */
581
+ export const adkSessionGet = (options) => {
582
+ return (options?.client ?? _heyApiClient).post({
583
+ url: "/api/cf/adk/session/get",
584
+ ...options,
585
+ headers: {
586
+ "Content-Type": "application/json",
587
+ ...options?.headers,
588
+ },
589
+ });
590
+ };
591
+ /**
592
+ * 列出ADK会话
593
+ * 获取指定应用和用户的所有ADK会话列表
594
+ */
595
+ export const adkSessionList = (options) => {
596
+ return (options?.client ?? _heyApiClient).get({
597
+ url: "/api/cf/adk/session/list",
598
+ ...options,
599
+ });
600
+ };
601
+ /**
602
+ * 删除ADK会话
603
+ * 删除指定的ADK会话
604
+ */
605
+ export const adkSessionDelete = (options) => {
606
+ return (options?.client ?? _heyApiClient).post({
607
+ url: "/api/cf/adk/session/delete",
608
+ ...options,
609
+ headers: {
610
+ "Content-Type": "application/json",
611
+ ...options?.headers,
612
+ },
613
+ });
614
+ };
615
+ /**
616
+ * 向ADK会话添加事件
617
+ * 向指定的ADK会话添加新事件
618
+ */
619
+ export const adkSessionAppendEvent = (options) => {
620
+ return (options?.client ?? _heyApiClient).post({
621
+ url: "/api/cf/adk/session/append-event",
622
+ ...options,
623
+ headers: {
624
+ "Content-Type": "application/json",
625
+ ...options?.headers,
626
+ },
627
+ });
628
+ };
629
+ /**
630
+ * 保存ADK Artifact
631
+ * 保存新的ADK Artifact版本
632
+ */
633
+ export const adkArtifactSave = (options) => {
634
+ return (options?.client ?? _heyApiClient).post({
635
+ url: "/api/cf/adk/artifact/save",
636
+ ...options,
637
+ headers: {
638
+ "Content-Type": "application/json",
639
+ ...options?.headers,
640
+ },
641
+ });
642
+ };
643
+ /**
644
+ * 加载ADK Artifact
645
+ * 根据参数加载ADK Artifact
646
+ */
647
+ export const adkArtifactLoad = (options) => {
648
+ return (options?.client ?? _heyApiClient).post({
649
+ url: "/api/cf/adk/artifact/load",
650
+ ...options,
651
+ headers: {
652
+ "Content-Type": "application/json",
653
+ ...options?.headers,
654
+ },
655
+ });
656
+ };
657
+ /**
658
+ * 列出ADK Artifacts
659
+ * 获取ADK artifacts列表(包含完整信息)
660
+ */
661
+ export const adkArtifactList = (options) => {
662
+ return (options?.client ?? _heyApiClient).get({
663
+ url: "/api/cf/adk/artifact/list",
664
+ ...options,
665
+ });
666
+ };
667
+ /**
668
+ * 列出ADK Artifact文件名
669
+ * 获取指定会话的所有artifact文件名列表
670
+ */
671
+ export const adkArtifactListKeys = (options) => {
672
+ return (options.client ?? _heyApiClient).get({
673
+ url: "/api/cf/adk/artifact/list-keys",
674
+ ...options,
675
+ });
676
+ };
677
+ /**
678
+ * 删除ADK Artifact
679
+ * 删除指定的ADK Artifact
680
+ */
681
+ export const adkArtifactDelete = (options) => {
682
+ return (options?.client ?? _heyApiClient).post({
683
+ url: "/api/cf/adk/artifact/delete",
684
+ ...options,
685
+ headers: {
686
+ "Content-Type": "application/json",
687
+ ...options?.headers,
688
+ },
689
+ });
690
+ };
691
+ /**
692
+ * 列出ADK Artifact版本
693
+ * 获取指定artifact的所有版本列表
694
+ */
695
+ export const adkArtifactListVersions = (options) => {
696
+ return (options.client ?? _heyApiClient).get({
697
+ url: "/api/cf/adk/artifact/list-versions",
698
+ ...options,
699
+ });
700
+ };
701
+ /**
702
+ * 添加会话到内存
703
+ * 将会话及其事件添加到内存服务中
704
+ */
705
+ export const adkMemoryAddSession = (options) => {
706
+ return (options?.client ?? _heyApiClient).post({
707
+ url: "/api/cf/adk/memory/add-session",
708
+ ...options,
709
+ headers: {
710
+ "Content-Type": "application/json",
711
+ ...options?.headers,
712
+ },
713
+ });
714
+ };
715
+ /**
716
+ * 列出ADK记忆
717
+ * 获取ADK记忆列表
718
+ */
719
+ export const adkMemoryList = (options) => {
720
+ return (options?.client ?? _heyApiClient).get({
721
+ url: "/api/cf/adk/memory/list",
722
+ ...options,
723
+ });
724
+ };
725
+ /**
726
+ * 搜索内存
727
+ * 根据查询条件搜索内存中的相关内容
728
+ */
729
+ export const adkMemorySearch = (options) => {
730
+ return (options?.client ?? _heyApiClient).post({
731
+ url: "/api/cf/adk/memory/search",
732
+ ...options,
733
+ headers: {
734
+ "Content-Type": "application/json",
735
+ ...options?.headers,
736
+ },
737
+ });
738
+ };
739
+ /**
740
+ * 保存ADK任务
741
+ * 保存或更新ADK任务实例
742
+ */
743
+ export const adkTaskSave = (options) => {
744
+ return (options?.client ?? _heyApiClient).post({
745
+ url: "/api/cf/adk/task/save",
746
+ ...options,
747
+ headers: {
748
+ "Content-Type": "application/json",
749
+ ...options?.headers,
750
+ },
751
+ });
752
+ };
753
+ /**
754
+ * 获取ADK任务
755
+ * 根据任务ID获取ADK任务详情
756
+ */
757
+ export const adkTaskGet = (options) => {
758
+ return (options?.client ?? _heyApiClient).post({
759
+ url: "/api/cf/adk/task/get",
760
+ ...options,
761
+ headers: {
762
+ "Content-Type": "application/json",
763
+ ...options?.headers,
764
+ },
765
+ });
766
+ };
767
+ /**
768
+ * 列出ADK任务
769
+ * 获取ADK任务列表
770
+ */
771
+ export const adkTaskList = (options) => {
772
+ return (options?.client ?? _heyApiClient).get({
773
+ url: "/api/cf/adk/task/list",
774
+ ...options,
775
+ });
776
+ };
777
+ /**
778
+ * 删除ADK任务
779
+ * 删除指定的ADK任务
780
+ */
781
+ export const adkTaskDelete = (options) => {
782
+ return (options?.client ?? _heyApiClient).post({
783
+ url: "/api/cf/adk/task/delete",
784
+ ...options,
785
+ headers: {
786
+ "Content-Type": "application/json",
787
+ ...options?.headers,
788
+ },
789
+ });
790
+ };
791
+ //# sourceMappingURL=sdk.gen.js.map