mtmsdk 0.0.45 → 0.0.47
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/dist/gomtmapi/@tanstack/react-query.gen.d.ts +45 -45
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +69 -69
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +2 -2
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +91 -52
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +91 -56
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +41 -41
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +55 -55
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +120 -131
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +96 -74
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +67 -58
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4 -101
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -14
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +0 -31
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +0 -46
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -2
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -1
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +1 -73
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -77
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -47
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/openclaw/gateway.d.ts.map +1 -1
- package/dist/openclaw/gateway.js +1 -5
- package/dist/openclaw/gateway.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +15 -2
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +55 -2
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +5 -2
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/schema/index.d.ts +0 -9
- package/dist/supabase/schema/index.d.ts.map +1 -1
- package/dist/supabase/schema/index.js +0 -13
- package/dist/supabase/schema/index.js.map +1 -1
- package/dist/supabase/supabase-client.d.ts +985 -739
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +2182 -1689
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/supabase.js.map +1 -1
- package/dist/types/database.schemas.d.ts +1322 -743
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +822 -610
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +1004 -734
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +16 -1
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +32 -48
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -25
- package/dist/types/index.js.map +1 -1
- package/dist/types/rpc.schemas.d.ts +1 -13
- package/dist/types/rpc.schemas.d.ts.map +1 -1
- package/dist/types/rpc.schemas.js +7 -21
- package/dist/types/rpc.schemas.js.map +1 -1
- package/package.json +3 -4
- package/src/gomtmapi/@tanstack/react-query.gen.ts +73 -73
- package/src/gomtmapi/index.ts +2 -2
- package/src/gomtmapi/schemas.gen.ts +92 -58
- package/src/gomtmapi/sdk.gen.ts +58 -58
- package/src/gomtmapi/types.gen.ts +131 -143
- package/src/gomtmapi/zod.gen.ts +72 -64
- package/src/mtgate_api/@tanstack/react-query.gen.ts +3 -18
- package/src/mtgate_api/index.ts +2 -2
- package/src/mtgate_api/schemas.gen.ts +0 -47
- package/src/mtgate_api/sdk.gen.ts +1 -3
- package/src/mtgate_api/types.gen.ts +1 -79
- package/src/mtgate_api/zod.gen.ts +0 -52
- package/src/openclaw/gateway.ts +5 -10
- package/src/sbmng/schemas.gen.ts +55 -2
- package/src/sbmng/types.gen.ts +5 -2
- package/src/supabase/schema/index.ts +0 -20
- package/src/supabase/supabase.ts +4 -2
- package/src/types/database.schemas.ts +956 -732
- package/src/types/database.types.ts +977 -707
- package/src/types/index.ts +33 -66
- package/src/types/rpc.schemas.ts +8 -23
- package/dist/sbapi/@tanstack/react-query.gen.d.ts +0 -3280
- package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/sbapi/@tanstack/react-query.gen.js +0 -6084
- package/dist/sbapi/@tanstack/react-query.gen.js.map +0 -1
- package/dist/sbapi/client/client.gen.d.ts +0 -3
- package/dist/sbapi/client/client.gen.d.ts.map +0 -1
- package/dist/sbapi/client/client.gen.js +0 -236
- package/dist/sbapi/client/client.gen.js.map +0 -1
- package/dist/sbapi/client/index.d.ts +0 -9
- package/dist/sbapi/client/index.d.ts.map +0 -1
- package/dist/sbapi/client/index.js +0 -7
- package/dist/sbapi/client/index.js.map +0 -1
- package/dist/sbapi/client/types.gen.d.ts +0 -118
- package/dist/sbapi/client/types.gen.d.ts.map +0 -1
- package/dist/sbapi/client/types.gen.js +0 -3
- package/dist/sbapi/client/types.gen.js.map +0 -1
- package/dist/sbapi/client/utils.gen.d.ts +0 -34
- package/dist/sbapi/client/utils.gen.d.ts.map +0 -1
- package/dist/sbapi/client/utils.gen.js +0 -232
- package/dist/sbapi/client/utils.gen.js.map +0 -1
- package/dist/sbapi/client.gen.d.ts +0 -13
- package/dist/sbapi/client.gen.d.ts.map +0 -1
- package/dist/sbapi/client.gen.js +0 -4
- package/dist/sbapi/client.gen.js.map +0 -1
- package/dist/sbapi/core/auth.gen.d.ts +0 -19
- package/dist/sbapi/core/auth.gen.d.ts.map +0 -1
- package/dist/sbapi/core/auth.gen.js +0 -15
- package/dist/sbapi/core/auth.gen.js.map +0 -1
- package/dist/sbapi/core/bodySerializer.gen.d.ts +0 -26
- package/dist/sbapi/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/bodySerializer.gen.js +0 -58
- package/dist/sbapi/core/bodySerializer.gen.js.map +0 -1
- package/dist/sbapi/core/params.gen.d.ts +0 -44
- package/dist/sbapi/core/params.gen.d.ts.map +0 -1
- package/dist/sbapi/core/params.gen.js +0 -101
- package/dist/sbapi/core/params.gen.js.map +0 -1
- package/dist/sbapi/core/pathSerializer.gen.d.ts +0 -34
- package/dist/sbapi/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/pathSerializer.gen.js +0 -115
- package/dist/sbapi/core/pathSerializer.gen.js.map +0 -1
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/sbapi/core/queryKeySerializer.gen.js +0 -100
- package/dist/sbapi/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/sbapi/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/sbapi/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/sbapi/core/serverSentEvents.gen.js +0 -138
- package/dist/sbapi/core/serverSentEvents.gen.js.map +0 -1
- package/dist/sbapi/core/types.gen.d.ts +0 -79
- package/dist/sbapi/core/types.gen.d.ts.map +0 -1
- package/dist/sbapi/core/types.gen.js +0 -3
- package/dist/sbapi/core/types.gen.js.map +0 -1
- package/dist/sbapi/core/utils.gen.d.ts +0 -20
- package/dist/sbapi/core/utils.gen.d.ts.map +0 -1
- package/dist/sbapi/core/utils.gen.js +0 -88
- package/dist/sbapi/core/utils.gen.js.map +0 -1
- package/dist/sbapi/index.d.ts +0 -3
- package/dist/sbapi/index.d.ts.map +0 -1
- package/dist/sbapi/index.js +0 -3
- package/dist/sbapi/index.js.map +0 -1
- package/dist/sbapi/schemas.gen.d.ts +0 -2322
- package/dist/sbapi/schemas.gen.d.ts.map +0 -1
- package/dist/sbapi/schemas.gen.js +0 -2596
- package/dist/sbapi/schemas.gen.js.map +0 -1
- package/dist/sbapi/sdk.gen.d.ts +0 -834
- package/dist/sbapi/sdk.gen.d.ts.map +0 -1
- package/dist/sbapi/sdk.gen.js +0 -2466
- package/dist/sbapi/sdk.gen.js.map +0 -1
- package/dist/sbapi/types.gen.d.ts +0 -11726
- package/dist/sbapi/types.gen.d.ts.map +0 -1
- package/dist/sbapi/types.gen.js +0 -3
- package/dist/sbapi/types.gen.js.map +0 -1
- package/dist/sbapi/zod.gen.d.ts +0 -8147
- package/dist/sbapi/zod.gen.d.ts.map +0 -1
- package/dist/sbapi/zod.gen.js +0 -6585
- package/dist/sbapi/zod.gen.js.map +0 -1
- package/src/sbapi/@tanstack/react-query.gen.ts +0 -6591
- package/src/sbapi/client/client.gen.ts +0 -311
- package/src/sbapi/client/index.ts +0 -25
- package/src/sbapi/client/types.gen.ts +0 -241
- package/src/sbapi/client/utils.gen.ts +0 -332
- package/src/sbapi/client.gen.ts +0 -16
- package/src/sbapi/core/auth.gen.ts +0 -42
- package/src/sbapi/core/bodySerializer.gen.ts +0 -100
- package/src/sbapi/core/params.gen.ts +0 -176
- package/src/sbapi/core/pathSerializer.gen.ts +0 -181
- package/src/sbapi/core/queryKeySerializer.gen.ts +0 -136
- package/src/sbapi/core/serverSentEvents.gen.ts +0 -266
- package/src/sbapi/core/types.gen.ts +0 -118
- package/src/sbapi/core/utils.gen.ts +0 -143
- package/src/sbapi/index.ts +0 -4
- package/src/sbapi/schemas.gen.ts +0 -2643
- package/src/sbapi/sdk.gen.ts +0 -2822
- package/src/sbapi/types.gen.ts +0 -12503
- package/src/sbapi/zod.gen.ts +0 -7021
|
@@ -98,6 +98,20 @@ export type BrowserOpenResp = {
|
|
|
98
98
|
task_id?: string;
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
+
/**
|
|
102
|
+
* ChatCompletionRequest schema
|
|
103
|
+
*/
|
|
104
|
+
export type ChatCompletionRequest = {
|
|
105
|
+
max_tokens?: number;
|
|
106
|
+
messages?: Array<{
|
|
107
|
+
content?: string;
|
|
108
|
+
role?: string;
|
|
109
|
+
}>;
|
|
110
|
+
model?: string;
|
|
111
|
+
stream?: boolean;
|
|
112
|
+
temperature?: number;
|
|
113
|
+
};
|
|
114
|
+
|
|
101
115
|
/**
|
|
102
116
|
* CheckUpdateResponse schema
|
|
103
117
|
*/
|
|
@@ -408,34 +422,6 @@ export type SignInRequest = {
|
|
|
408
422
|
session_data?: string;
|
|
409
423
|
};
|
|
410
424
|
|
|
411
|
-
/**
|
|
412
|
-
* StartContainerRequest schema
|
|
413
|
-
*/
|
|
414
|
-
export type StartContainerRequest = {
|
|
415
|
-
/**
|
|
416
|
-
* The ID of the instance to start
|
|
417
|
-
*/
|
|
418
|
-
worker_id: string;
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* StartContainerResponse schema
|
|
423
|
-
*/
|
|
424
|
-
export type StartContainerResponse = {
|
|
425
|
-
/**
|
|
426
|
-
* Detailed error message if status is error
|
|
427
|
-
*/
|
|
428
|
-
error?: string;
|
|
429
|
-
/**
|
|
430
|
-
* The combined stdout/stderr output from the SSH command
|
|
431
|
-
*/
|
|
432
|
-
output?: string;
|
|
433
|
-
/**
|
|
434
|
-
* The status of the operation (success or error)
|
|
435
|
-
*/
|
|
436
|
-
status?: string;
|
|
437
|
-
};
|
|
438
|
-
|
|
439
425
|
/**
|
|
440
426
|
* StartNapcatRequest schema
|
|
441
427
|
*/
|
|
@@ -448,42 +434,44 @@ export type StartNapcatRequest = {
|
|
|
448
434
|
};
|
|
449
435
|
|
|
450
436
|
/**
|
|
451
|
-
*
|
|
437
|
+
* StatusResponse schema
|
|
452
438
|
*/
|
|
453
|
-
export type
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
439
|
+
export type StatusResponse = {
|
|
440
|
+
go_version?: string;
|
|
441
|
+
instance_id?: string;
|
|
442
|
+
mem_alloc_mb?: number;
|
|
443
|
+
mode?: string;
|
|
444
|
+
num_cpu?: number;
|
|
445
|
+
num_goroutine?: number;
|
|
446
|
+
status?: string;
|
|
447
|
+
uptime?: string;
|
|
448
|
+
version?: string;
|
|
458
449
|
};
|
|
459
450
|
|
|
460
451
|
/**
|
|
461
|
-
*
|
|
452
|
+
* TaskExecuteRequest schema
|
|
462
453
|
*/
|
|
463
|
-
export type
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
output?: string;
|
|
472
|
-
/**
|
|
473
|
-
* The status of the operation (success or error)
|
|
474
|
-
*/
|
|
475
|
-
status?: string;
|
|
454
|
+
export type TaskExecuteRequest = {
|
|
455
|
+
code?: string;
|
|
456
|
+
code_type?: string;
|
|
457
|
+
meta?: {
|
|
458
|
+
[key: string]: unknown;
|
|
459
|
+
};
|
|
460
|
+
task_id?: string;
|
|
461
|
+
timeout_seconds?: number;
|
|
476
462
|
};
|
|
477
463
|
|
|
478
464
|
/**
|
|
479
|
-
*
|
|
465
|
+
* TaskExecuteResponse schema
|
|
480
466
|
*/
|
|
481
|
-
export type
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
467
|
+
export type TaskExecuteResponse = {
|
|
468
|
+
error?: string;
|
|
469
|
+
output?: string;
|
|
470
|
+
result?: {
|
|
471
|
+
[key: string]: unknown;
|
|
472
|
+
};
|
|
473
|
+
success?: boolean;
|
|
474
|
+
task_id?: string;
|
|
487
475
|
};
|
|
488
476
|
|
|
489
477
|
/**
|
|
@@ -505,78 +493,6 @@ export type String = string;
|
|
|
505
493
|
*/
|
|
506
494
|
export type UnknownInterface = unknown;
|
|
507
495
|
|
|
508
|
-
export type ActionsStartContainerData = {
|
|
509
|
-
/**
|
|
510
|
-
* Request body for actions.StartContainerRequest
|
|
511
|
-
*/
|
|
512
|
-
body: StartContainerRequest;
|
|
513
|
-
headers?: {
|
|
514
|
-
Accept?: string;
|
|
515
|
-
};
|
|
516
|
-
path?: never;
|
|
517
|
-
query?: never;
|
|
518
|
-
url: '/api/actions/start_container';
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
export type ActionsStartContainerErrors = {
|
|
522
|
-
/**
|
|
523
|
-
* Bad Request _(validation or deserialization error)_
|
|
524
|
-
*/
|
|
525
|
-
400: HttpError;
|
|
526
|
-
/**
|
|
527
|
-
* Internal Server Error _(panics)_
|
|
528
|
-
*/
|
|
529
|
-
500: HttpError;
|
|
530
|
-
default: unknown;
|
|
531
|
-
};
|
|
532
|
-
|
|
533
|
-
export type ActionsStartContainerError = ActionsStartContainerErrors[keyof ActionsStartContainerErrors];
|
|
534
|
-
|
|
535
|
-
export type ActionsStartContainerResponses = {
|
|
536
|
-
/**
|
|
537
|
-
* OK
|
|
538
|
-
*/
|
|
539
|
-
200: StartContainerResponse;
|
|
540
|
-
};
|
|
541
|
-
|
|
542
|
-
export type ActionsStartContainerResponse = ActionsStartContainerResponses[keyof ActionsStartContainerResponses];
|
|
543
|
-
|
|
544
|
-
export type ActionsStopContainerData = {
|
|
545
|
-
/**
|
|
546
|
-
* Request body for actions.StopContainerRequest
|
|
547
|
-
*/
|
|
548
|
-
body: StopContainerRequest;
|
|
549
|
-
headers?: {
|
|
550
|
-
Accept?: string;
|
|
551
|
-
};
|
|
552
|
-
path?: never;
|
|
553
|
-
query?: never;
|
|
554
|
-
url: '/api/actions/stop_container';
|
|
555
|
-
};
|
|
556
|
-
|
|
557
|
-
export type ActionsStopContainerErrors = {
|
|
558
|
-
/**
|
|
559
|
-
* Bad Request _(validation or deserialization error)_
|
|
560
|
-
*/
|
|
561
|
-
400: HttpError;
|
|
562
|
-
/**
|
|
563
|
-
* Internal Server Error _(panics)_
|
|
564
|
-
*/
|
|
565
|
-
500: HttpError;
|
|
566
|
-
default: unknown;
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
export type ActionsStopContainerError = ActionsStopContainerErrors[keyof ActionsStopContainerErrors];
|
|
570
|
-
|
|
571
|
-
export type ActionsStopContainerResponses = {
|
|
572
|
-
/**
|
|
573
|
-
* OK
|
|
574
|
-
*/
|
|
575
|
-
200: StopContainerResponse;
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
export type ActionsStopContainerResponse = ActionsStopContainerResponses[keyof ActionsStopContainerResponses];
|
|
579
|
-
|
|
580
496
|
export type AgentRunData = {
|
|
581
497
|
/**
|
|
582
498
|
* Request body for agent.AgentRunReq
|
|
@@ -1104,17 +1020,53 @@ export type PostApiSystemCheckUpdateResponses = {
|
|
|
1104
1020
|
|
|
1105
1021
|
export type PostApiSystemCheckUpdateResponse = PostApiSystemCheckUpdateResponses[keyof PostApiSystemCheckUpdateResponses];
|
|
1106
1022
|
|
|
1107
|
-
export type
|
|
1023
|
+
export type PostApiSystemPerformUpgradeData = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Request body for system.PerformUpgradeRequest
|
|
1026
|
+
*/
|
|
1027
|
+
body: PerformUpgradeRequest;
|
|
1028
|
+
headers?: {
|
|
1029
|
+
Accept?: string;
|
|
1030
|
+
};
|
|
1031
|
+
path?: never;
|
|
1032
|
+
query?: never;
|
|
1033
|
+
url: '/api/system/perform_upgrade';
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
export type PostApiSystemPerformUpgradeErrors = {
|
|
1037
|
+
/**
|
|
1038
|
+
* Bad Request _(validation or deserialization error)_
|
|
1039
|
+
*/
|
|
1040
|
+
400: HttpError;
|
|
1041
|
+
/**
|
|
1042
|
+
* Internal Server Error _(panics)_
|
|
1043
|
+
*/
|
|
1044
|
+
500: HttpError;
|
|
1045
|
+
default: unknown;
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
export type PostApiSystemPerformUpgradeError = PostApiSystemPerformUpgradeErrors[keyof PostApiSystemPerformUpgradeErrors];
|
|
1049
|
+
|
|
1050
|
+
export type PostApiSystemPerformUpgradeResponses = {
|
|
1051
|
+
/**
|
|
1052
|
+
* OK
|
|
1053
|
+
*/
|
|
1054
|
+
200: PerformUpgradeResponse;
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1057
|
+
export type PostApiSystemPerformUpgradeResponse = PostApiSystemPerformUpgradeResponses[keyof PostApiSystemPerformUpgradeResponses];
|
|
1058
|
+
|
|
1059
|
+
export type GetApiSystemStatusData = {
|
|
1108
1060
|
body?: never;
|
|
1109
1061
|
headers?: {
|
|
1110
1062
|
Accept?: string;
|
|
1111
1063
|
};
|
|
1112
1064
|
path?: never;
|
|
1113
1065
|
query?: never;
|
|
1114
|
-
url: '/api/system/
|
|
1066
|
+
url: '/api/system/status';
|
|
1115
1067
|
};
|
|
1116
1068
|
|
|
1117
|
-
export type
|
|
1069
|
+
export type GetApiSystemStatusErrors = {
|
|
1118
1070
|
/**
|
|
1119
1071
|
* Bad Request _(validation or deserialization error)_
|
|
1120
1072
|
*/
|
|
@@ -1126,31 +1078,31 @@ export type GetApiSystemInfoErrors = {
|
|
|
1126
1078
|
default: unknown;
|
|
1127
1079
|
};
|
|
1128
1080
|
|
|
1129
|
-
export type
|
|
1081
|
+
export type GetApiSystemStatusError = GetApiSystemStatusErrors[keyof GetApiSystemStatusErrors];
|
|
1130
1082
|
|
|
1131
|
-
export type
|
|
1083
|
+
export type GetApiSystemStatusResponses = {
|
|
1132
1084
|
/**
|
|
1133
1085
|
* OK
|
|
1134
1086
|
*/
|
|
1135
|
-
200:
|
|
1087
|
+
200: StatusResponse;
|
|
1136
1088
|
};
|
|
1137
1089
|
|
|
1138
|
-
export type
|
|
1090
|
+
export type GetApiSystemStatusResponse = GetApiSystemStatusResponses[keyof GetApiSystemStatusResponses];
|
|
1139
1091
|
|
|
1140
|
-
export type
|
|
1092
|
+
export type PostApiV1GeminiChatCompletionsData = {
|
|
1141
1093
|
/**
|
|
1142
|
-
* Request body for
|
|
1094
|
+
* Request body for gemini.ChatCompletionRequest
|
|
1143
1095
|
*/
|
|
1144
|
-
body:
|
|
1096
|
+
body: ChatCompletionRequest;
|
|
1145
1097
|
headers?: {
|
|
1146
1098
|
Accept?: string;
|
|
1147
1099
|
};
|
|
1148
1100
|
path?: never;
|
|
1149
1101
|
query?: never;
|
|
1150
|
-
url: '/api/
|
|
1102
|
+
url: '/api/v1/gemini/chat/completions';
|
|
1151
1103
|
};
|
|
1152
1104
|
|
|
1153
|
-
export type
|
|
1105
|
+
export type PostApiV1GeminiChatCompletionsErrors = {
|
|
1154
1106
|
/**
|
|
1155
1107
|
* Bad Request _(validation or deserialization error)_
|
|
1156
1108
|
*/
|
|
@@ -1162,16 +1114,52 @@ export type PostApiSystemPerformUpgradeErrors = {
|
|
|
1162
1114
|
default: unknown;
|
|
1163
1115
|
};
|
|
1164
1116
|
|
|
1165
|
-
export type
|
|
1117
|
+
export type PostApiV1GeminiChatCompletionsError = PostApiV1GeminiChatCompletionsErrors[keyof PostApiV1GeminiChatCompletionsErrors];
|
|
1166
1118
|
|
|
1167
|
-
export type
|
|
1119
|
+
export type PostApiV1GeminiChatCompletionsResponses = {
|
|
1168
1120
|
/**
|
|
1169
1121
|
* OK
|
|
1170
1122
|
*/
|
|
1171
|
-
200:
|
|
1123
|
+
200: UnknownInterface;
|
|
1172
1124
|
};
|
|
1173
1125
|
|
|
1174
|
-
export type
|
|
1126
|
+
export type PostApiV1GeminiChatCompletionsResponse = PostApiV1GeminiChatCompletionsResponses[keyof PostApiV1GeminiChatCompletionsResponses];
|
|
1127
|
+
|
|
1128
|
+
export type PostApiV1TaskExecuteData = {
|
|
1129
|
+
/**
|
|
1130
|
+
* Request body for task_executor.TaskExecuteRequest
|
|
1131
|
+
*/
|
|
1132
|
+
body: TaskExecuteRequest;
|
|
1133
|
+
headers?: {
|
|
1134
|
+
Accept?: string;
|
|
1135
|
+
};
|
|
1136
|
+
path?: never;
|
|
1137
|
+
query?: never;
|
|
1138
|
+
url: '/api/v1/task/execute';
|
|
1139
|
+
};
|
|
1140
|
+
|
|
1141
|
+
export type PostApiV1TaskExecuteErrors = {
|
|
1142
|
+
/**
|
|
1143
|
+
* Bad Request _(validation or deserialization error)_
|
|
1144
|
+
*/
|
|
1145
|
+
400: HttpError;
|
|
1146
|
+
/**
|
|
1147
|
+
* Internal Server Error _(panics)_
|
|
1148
|
+
*/
|
|
1149
|
+
500: HttpError;
|
|
1150
|
+
default: unknown;
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
export type PostApiV1TaskExecuteError = PostApiV1TaskExecuteErrors[keyof PostApiV1TaskExecuteErrors];
|
|
1154
|
+
|
|
1155
|
+
export type PostApiV1TaskExecuteResponses = {
|
|
1156
|
+
/**
|
|
1157
|
+
* OK
|
|
1158
|
+
*/
|
|
1159
|
+
200: TaskExecuteResponse;
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
export type PostApiV1TaskExecuteResponse = PostApiV1TaskExecuteResponses[keyof PostApiV1TaskExecuteResponses];
|
|
1175
1163
|
|
|
1176
1164
|
export type PostApiV1TelegramAuthPasswordData = {
|
|
1177
1165
|
/**
|
package/src/gomtmapi/zod.gen.ts
CHANGED
|
@@ -87,6 +87,20 @@ export const zBrowserOpenResp = z.object({
|
|
|
87
87
|
task_id: z.optional(z.string())
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* ChatCompletionRequest schema
|
|
92
|
+
*/
|
|
93
|
+
export const zChatCompletionRequest = z.object({
|
|
94
|
+
max_tokens: z.optional(z.int()),
|
|
95
|
+
messages: z.optional(z.array(z.object({
|
|
96
|
+
content: z.optional(z.string()),
|
|
97
|
+
role: z.optional(z.string())
|
|
98
|
+
}))),
|
|
99
|
+
model: z.optional(z.string()),
|
|
100
|
+
stream: z.optional(z.boolean()),
|
|
101
|
+
temperature: z.optional(z.number())
|
|
102
|
+
});
|
|
103
|
+
|
|
90
104
|
/**
|
|
91
105
|
* CheckUpdateResponse schema
|
|
92
106
|
*/
|
|
@@ -307,22 +321,6 @@ export const zSignInRequest = z.object({
|
|
|
307
321
|
session_data: z.optional(z.string())
|
|
308
322
|
});
|
|
309
323
|
|
|
310
|
-
/**
|
|
311
|
-
* StartContainerRequest schema
|
|
312
|
-
*/
|
|
313
|
-
export const zStartContainerRequest = z.object({
|
|
314
|
-
worker_id: z.string()
|
|
315
|
-
});
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* StartContainerResponse schema
|
|
319
|
-
*/
|
|
320
|
-
export const zStartContainerResponse = z.object({
|
|
321
|
-
error: z.optional(z.string()),
|
|
322
|
-
output: z.optional(z.string()),
|
|
323
|
-
status: z.optional(z.string())
|
|
324
|
-
});
|
|
325
|
-
|
|
326
324
|
/**
|
|
327
325
|
* StartNapcatRequest schema
|
|
328
326
|
*/
|
|
@@ -335,30 +333,40 @@ export const zStartNapcatRequest = z.object({
|
|
|
335
333
|
});
|
|
336
334
|
|
|
337
335
|
/**
|
|
338
|
-
*
|
|
336
|
+
* StatusResponse schema
|
|
339
337
|
*/
|
|
340
|
-
export const
|
|
341
|
-
|
|
338
|
+
export const zStatusResponse = z.object({
|
|
339
|
+
go_version: z.optional(z.string()),
|
|
340
|
+
instance_id: z.optional(z.string()),
|
|
341
|
+
mem_alloc_mb: z.optional(z.number()),
|
|
342
|
+
mode: z.optional(z.string()),
|
|
343
|
+
num_cpu: z.optional(z.int()),
|
|
344
|
+
num_goroutine: z.optional(z.int()),
|
|
345
|
+
status: z.optional(z.string()),
|
|
346
|
+
uptime: z.optional(z.string()),
|
|
347
|
+
version: z.optional(z.string())
|
|
342
348
|
});
|
|
343
349
|
|
|
344
350
|
/**
|
|
345
|
-
*
|
|
351
|
+
* TaskExecuteRequest schema
|
|
346
352
|
*/
|
|
347
|
-
export const
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
353
|
+
export const zTaskExecuteRequest = z.object({
|
|
354
|
+
code: z.optional(z.string()),
|
|
355
|
+
code_type: z.optional(z.string()),
|
|
356
|
+
meta: z.optional(z.record(z.string(), z.unknown())),
|
|
357
|
+
task_id: z.optional(z.string()),
|
|
358
|
+
timeout_seconds: z.optional(z.int())
|
|
351
359
|
});
|
|
352
360
|
|
|
353
361
|
/**
|
|
354
|
-
*
|
|
362
|
+
* TaskExecuteResponse schema
|
|
355
363
|
*/
|
|
356
|
-
export const
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
364
|
+
export const zTaskExecuteResponse = z.object({
|
|
365
|
+
error: z.optional(z.string()),
|
|
366
|
+
output: z.optional(z.string()),
|
|
367
|
+
result: z.optional(z.record(z.string(), z.unknown())),
|
|
368
|
+
success: z.optional(z.boolean()),
|
|
369
|
+
task_id: z.optional(z.string())
|
|
362
370
|
});
|
|
363
371
|
|
|
364
372
|
/**
|
|
@@ -380,34 +388,6 @@ export const zString = z.string();
|
|
|
380
388
|
*/
|
|
381
389
|
export const zUnknownInterface = z.unknown();
|
|
382
390
|
|
|
383
|
-
export const zActionsStartContainerData = z.object({
|
|
384
|
-
body: zStartContainerRequest,
|
|
385
|
-
path: z.optional(z.never()),
|
|
386
|
-
query: z.optional(z.never()),
|
|
387
|
-
headers: z.optional(z.object({
|
|
388
|
-
Accept: z.optional(z.string())
|
|
389
|
-
}))
|
|
390
|
-
});
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* OK
|
|
394
|
-
*/
|
|
395
|
-
export const zActionsStartContainerResponse = zStartContainerResponse;
|
|
396
|
-
|
|
397
|
-
export const zActionsStopContainerData = z.object({
|
|
398
|
-
body: zStopContainerRequest,
|
|
399
|
-
path: z.optional(z.never()),
|
|
400
|
-
query: z.optional(z.never()),
|
|
401
|
-
headers: z.optional(z.object({
|
|
402
|
-
Accept: z.optional(z.string())
|
|
403
|
-
}))
|
|
404
|
-
});
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* OK
|
|
408
|
-
*/
|
|
409
|
-
export const zActionsStopContainerResponse = zStopContainerResponse;
|
|
410
|
-
|
|
411
391
|
export const zAgentRunData = z.object({
|
|
412
392
|
body: zAgentRunReq,
|
|
413
393
|
path: z.optional(z.never()),
|
|
@@ -617,7 +597,21 @@ export const zPostApiSystemCheckUpdateData = z.object({
|
|
|
617
597
|
*/
|
|
618
598
|
export const zPostApiSystemCheckUpdateResponse = zCheckUpdateResponse;
|
|
619
599
|
|
|
620
|
-
export const
|
|
600
|
+
export const zPostApiSystemPerformUpgradeData = z.object({
|
|
601
|
+
body: zPerformUpgradeRequest,
|
|
602
|
+
path: z.optional(z.never()),
|
|
603
|
+
query: z.optional(z.never()),
|
|
604
|
+
headers: z.optional(z.object({
|
|
605
|
+
Accept: z.optional(z.string())
|
|
606
|
+
}))
|
|
607
|
+
});
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* OK
|
|
611
|
+
*/
|
|
612
|
+
export const zPostApiSystemPerformUpgradeResponse = zPerformUpgradeResponse;
|
|
613
|
+
|
|
614
|
+
export const zGetApiSystemStatusData = z.object({
|
|
621
615
|
body: z.optional(z.never()),
|
|
622
616
|
path: z.optional(z.never()),
|
|
623
617
|
query: z.optional(z.never()),
|
|
@@ -629,10 +623,10 @@ export const zGetApiSystemInfoData = z.object({
|
|
|
629
623
|
/**
|
|
630
624
|
* OK
|
|
631
625
|
*/
|
|
632
|
-
export const
|
|
626
|
+
export const zGetApiSystemStatusResponse = zStatusResponse;
|
|
633
627
|
|
|
634
|
-
export const
|
|
635
|
-
body:
|
|
628
|
+
export const zPostApiV1GeminiChatCompletionsData = z.object({
|
|
629
|
+
body: zChatCompletionRequest,
|
|
636
630
|
path: z.optional(z.never()),
|
|
637
631
|
query: z.optional(z.never()),
|
|
638
632
|
headers: z.optional(z.object({
|
|
@@ -643,7 +637,21 @@ export const zPostApiSystemPerformUpgradeData = z.object({
|
|
|
643
637
|
/**
|
|
644
638
|
* OK
|
|
645
639
|
*/
|
|
646
|
-
export const
|
|
640
|
+
export const zPostApiV1GeminiChatCompletionsResponse = zUnknownInterface;
|
|
641
|
+
|
|
642
|
+
export const zPostApiV1TaskExecuteData = z.object({
|
|
643
|
+
body: zTaskExecuteRequest,
|
|
644
|
+
path: z.optional(z.never()),
|
|
645
|
+
query: z.optional(z.never()),
|
|
646
|
+
headers: z.optional(z.object({
|
|
647
|
+
Accept: z.optional(z.string())
|
|
648
|
+
}))
|
|
649
|
+
});
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* OK
|
|
653
|
+
*/
|
|
654
|
+
export const zPostApiV1TaskExecuteResponse = zTaskExecuteResponse;
|
|
647
655
|
|
|
648
656
|
export const zPostApiV1TelegramAuthPasswordData = z.object({
|
|
649
657
|
body: zPasswordRequest,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { type DefaultError, queryOptions, type UseMutationOptions } from '@tanstack/react-query';
|
|
4
4
|
|
|
5
5
|
import { client } from '../client.gen';
|
|
6
|
-
import { adkAgentRun, agentChatList,
|
|
7
|
-
import type { AdkAgentRunData, AdkAgentRunResponse, AgentChatListData, AgentChatListResponse,
|
|
6
|
+
import { adkAgentRun, agentChatList, agentQuickAction, agentRun, browserOpen, clawdSessionsList, humanTasksList, mcpApiHello, type Options } from '../sdk.gen';
|
|
7
|
+
import type { AdkAgentRunData, AdkAgentRunResponse, AgentChatListData, AgentChatListResponse, AgentQuickActionData, AgentQuickActionResponse, AgentRunData, AgentRunResponse, BrowserOpenData, BrowserOpenResponse, ClawdSessionsListData, HumanTasksListData, HumanTasksListResponse, McpApiHelloData } from '../types.gen';
|
|
8
8
|
|
|
9
9
|
export const adkAgentRunMutation = (options?: Partial<Options<AdkAgentRunData>>): UseMutationOptions<AdkAgentRunResponse, DefaultError, Options<AdkAgentRunData>> => {
|
|
10
10
|
const mutationOptions: UseMutationOptions<AdkAgentRunResponse, DefaultError, Options<AdkAgentRunData>> = {
|
|
@@ -111,21 +111,6 @@ export const agentQuickActionOptions = (options?: Options<AgentQuickActionData>)
|
|
|
111
111
|
queryKey: agentQuickActionQueryKey(options)
|
|
112
112
|
});
|
|
113
113
|
|
|
114
|
-
export const agentChatMessageListQueryKey = (options: Options<AgentChatMessageListData>) => createQueryKey('agentChatMessageList', options);
|
|
115
|
-
|
|
116
|
-
export const agentChatMessageListOptions = (options: Options<AgentChatMessageListData>) => queryOptions<AgentChatMessageListResponse, DefaultError, AgentChatMessageListResponse, ReturnType<typeof agentChatMessageListQueryKey>>({
|
|
117
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
118
|
-
const { data } = await agentChatMessageList({
|
|
119
|
-
...options,
|
|
120
|
-
...queryKey[0],
|
|
121
|
-
signal,
|
|
122
|
-
throwOnError: true
|
|
123
|
-
});
|
|
124
|
-
return data;
|
|
125
|
-
},
|
|
126
|
-
queryKey: agentChatMessageListQueryKey(options)
|
|
127
|
-
});
|
|
128
|
-
|
|
129
114
|
export const humanTasksListQueryKey = (options?: Options<HumanTasksListData>) => createQueryKey('humanTasksList', options);
|
|
130
115
|
|
|
131
116
|
export const humanTasksListOptions = (options?: Options<HumanTasksListData>) => queryOptions<HumanTasksListResponse, DefaultError, HumanTasksListResponse, ReturnType<typeof humanTasksListQueryKey>>({
|
|
@@ -143,7 +128,7 @@ export const humanTasksListOptions = (options?: Options<HumanTasksListData>) =>
|
|
|
143
128
|
|
|
144
129
|
export const mcpApiHelloQueryKey = (options: Options<McpApiHelloData>) => createQueryKey('mcpApiHello', options);
|
|
145
130
|
|
|
146
|
-
export const mcpApiHelloOptions = (options: Options<McpApiHelloData>) => queryOptions<
|
|
131
|
+
export const mcpApiHelloOptions = (options: Options<McpApiHelloData>) => queryOptions<unknown, DefaultError, unknown, ReturnType<typeof mcpApiHelloQueryKey>>({
|
|
147
132
|
queryFn: async ({ queryKey, signal }) => {
|
|
148
133
|
const { data } = await mcpApiHello({
|
|
149
134
|
...options,
|
package/src/mtgate_api/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
export { adkAgentRun, agentChatList,
|
|
4
|
-
export type { AdkAgentRunData, AdkAgentRunResponse, AdkAgentRunResponses, AdkBlob, AdkCodeExecutionResult, AdkExecutableCode, AdkFileData, AdkFunctionCall, AdkFunctionResp, AdkPart, AgentChatItem, AgentChatListData, AgentChatListResponse, AgentChatListResponses,
|
|
3
|
+
export { adkAgentRun, agentChatList, agentQuickAction, agentRun, browserOpen, clawdSessionsList, humanTasksList, mcpApiHello, type Options } from './sdk.gen';
|
|
4
|
+
export type { AdkAgentRunData, AdkAgentRunResponse, AdkAgentRunResponses, AdkBlob, AdkCodeExecutionResult, AdkExecutableCode, AdkFileData, AdkFunctionCall, AdkFunctionResp, AdkPart, AgentChatItem, AgentChatListData, AgentChatListResponse, AgentChatListResponses, AgentQuickActionData, AgentQuickActionItem, AgentQuickActionResponse, AgentQuickActionResponses, AgentRunData, AgentRunReq, AgentRunResponse, AgentRunResponses, AgentRunResult, BrowserOpenData, BrowserOpenResponse, BrowserOpenResponses, ChatlistParams, ClawdSessionsListData, ClientOptions, GenaiContent, HumanTasksListData, HumanTasksListResponse, HumanTasksListResponses, McpApiHelloData, McpApiHelloResponses, MtAgentRunReq, ZMtAgentRun } from './types.gen';
|
|
@@ -288,50 +288,3 @@ export const AgentQuickActionItemSchema = {
|
|
|
288
288
|
'text'
|
|
289
289
|
]
|
|
290
290
|
} as const;
|
|
291
|
-
|
|
292
|
-
export const ChatMessageSchema = {
|
|
293
|
-
type: 'object',
|
|
294
|
-
properties: {
|
|
295
|
-
id: {
|
|
296
|
-
type: 'string'
|
|
297
|
-
},
|
|
298
|
-
created_at: {
|
|
299
|
-
type: 'string',
|
|
300
|
-
format: 'date-time',
|
|
301
|
-
pattern: '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$'
|
|
302
|
-
},
|
|
303
|
-
updated_at: {
|
|
304
|
-
type: 'string',
|
|
305
|
-
format: 'date-time',
|
|
306
|
-
pattern: '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$'
|
|
307
|
-
},
|
|
308
|
-
chat_id: {
|
|
309
|
-
type: 'string'
|
|
310
|
-
},
|
|
311
|
-
role: {
|
|
312
|
-
type: 'string',
|
|
313
|
-
enum: [
|
|
314
|
-
'user',
|
|
315
|
-
'assistant',
|
|
316
|
-
'system',
|
|
317
|
-
'data',
|
|
318
|
-
'control'
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
parts: {},
|
|
322
|
-
attachments: {},
|
|
323
|
-
user_id: {
|
|
324
|
-
type: 'string'
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
required: [
|
|
328
|
-
'id',
|
|
329
|
-
'created_at',
|
|
330
|
-
'updated_at',
|
|
331
|
-
'chat_id',
|
|
332
|
-
'role',
|
|
333
|
-
'parts',
|
|
334
|
-
'attachments',
|
|
335
|
-
'user_id'
|
|
336
|
-
]
|
|
337
|
-
} as const;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
4
4
|
import { client } from './client.gen';
|
|
5
|
-
import type { AdkAgentRunData, AdkAgentRunResponses, AgentChatListData, AgentChatListResponses,
|
|
5
|
+
import type { AdkAgentRunData, AdkAgentRunResponses, AgentChatListData, AgentChatListResponses, AgentQuickActionData, AgentQuickActionResponses, AgentRunData, AgentRunResponses, BrowserOpenData, BrowserOpenResponses, ClawdSessionsListData, HumanTasksListData, HumanTasksListResponses, McpApiHelloData, McpApiHelloResponses } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
8
8
|
/**
|
|
@@ -49,8 +49,6 @@ export const agentRun = <ThrowOnError extends boolean = false>(options?: Options
|
|
|
49
49
|
|
|
50
50
|
export const agentQuickAction = <ThrowOnError extends boolean = false>(options?: Options<AgentQuickActionData, ThrowOnError>) => (options?.client ?? client).get<AgentQuickActionResponses, unknown, ThrowOnError>({ url: '/api/cf/agent/quick_actions', ...options });
|
|
51
51
|
|
|
52
|
-
export const agentChatMessageList = <ThrowOnError extends boolean = false>(options: Options<AgentChatMessageListData, ThrowOnError>) => (options.client ?? client).get<AgentChatMessageListResponses, unknown, ThrowOnError>({ url: '/api/cf/agent/chat_messages', ...options });
|
|
53
|
-
|
|
54
52
|
export const humanTasksList = <ThrowOnError extends boolean = false>(options?: Options<HumanTasksListData, ThrowOnError>) => (options?.client ?? client).get<HumanTasksListResponses, unknown, ThrowOnError>({ url: '/api/cf/human/tasks/list', ...options });
|
|
55
53
|
|
|
56
54
|
export const mcpApiHello = <ThrowOnError extends boolean = false>(options: Options<McpApiHelloData, ThrowOnError>) => (options.client ?? client).get<McpApiHelloResponses, unknown, ThrowOnError>({ url: '/api/cf/mcpapi/hello', ...options });
|