@deepraxis/sdk 0.1.0-dev.7ee6a7d → 0.1.0-dev.9d9e2b6
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/METHODS.md +10 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +26 -2
- package/dist/generated/sdk.gen.js +77 -1
- package/dist/generated/types.gen.d.ts +751 -73
- package/dist/operations.generated.d.ts +112 -3
- package/dist/operations.generated.js +141 -3
- package/dist/resources.generated.d.ts +144 -32
- package/dist/resources.generated.js +6 -0
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
16
16
|
inference_geo?: string;
|
|
17
17
|
speed?: "standard" | "fast";
|
|
18
18
|
settings?: {
|
|
19
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
19
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
multiagent: null | Types.AgentManaged39;
|
|
@@ -146,7 +146,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
146
146
|
inference_geo?: string;
|
|
147
147
|
speed?: "standard" | "fast";
|
|
148
148
|
settings?: {
|
|
149
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
149
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
multiagent: null | Types.AgentManaged39;
|
|
@@ -277,7 +277,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
277
277
|
inference_geo?: string;
|
|
278
278
|
speed?: "standard" | "fast";
|
|
279
279
|
settings?: {
|
|
280
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
280
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
283
|
multiagent: null | Types.AgentManaged39;
|
|
@@ -409,7 +409,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
409
409
|
inference_geo?: string;
|
|
410
410
|
speed?: "standard" | "fast";
|
|
411
411
|
settings?: {
|
|
412
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
412
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
413
413
|
};
|
|
414
414
|
};
|
|
415
415
|
multiagent: null | Types.AgentManaged39;
|
|
@@ -539,7 +539,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
539
539
|
inference_geo?: string;
|
|
540
540
|
speed?: "standard" | "fast";
|
|
541
541
|
settings?: {
|
|
542
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
542
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
543
543
|
};
|
|
544
544
|
};
|
|
545
545
|
multiagent: null | Types.AgentManaged39;
|
|
@@ -671,7 +671,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
671
671
|
inference_geo?: string;
|
|
672
672
|
speed?: "standard" | "fast";
|
|
673
673
|
settings?: {
|
|
674
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
674
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
675
675
|
};
|
|
676
676
|
};
|
|
677
677
|
multiagent: null | Types.AgentManaged39;
|
|
@@ -1234,7 +1234,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1234
1234
|
inference_geo?: string;
|
|
1235
1235
|
speed?: "standard" | "fast";
|
|
1236
1236
|
settings?: {
|
|
1237
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1237
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1238
1238
|
};
|
|
1239
1239
|
};
|
|
1240
1240
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -1265,13 +1265,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
1265
1265
|
model?: {
|
|
1266
1266
|
id: string;
|
|
1267
1267
|
thinking: {
|
|
1268
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
1268
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
1269
1269
|
can_disable: boolean;
|
|
1270
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
1270
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
1271
1271
|
} | null;
|
|
1272
1272
|
};
|
|
1273
1273
|
thinking?: {
|
|
1274
|
-
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1274
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1275
1275
|
} | null;
|
|
1276
1276
|
forked_from?: {
|
|
1277
1277
|
session_id: string;
|
|
@@ -1353,7 +1353,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1353
1353
|
inference_geo?: string;
|
|
1354
1354
|
speed?: "standard" | "fast";
|
|
1355
1355
|
settings?: {
|
|
1356
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1356
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1357
1357
|
};
|
|
1358
1358
|
};
|
|
1359
1359
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -1384,13 +1384,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
1384
1384
|
model?: {
|
|
1385
1385
|
id: string;
|
|
1386
1386
|
thinking: {
|
|
1387
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
1387
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
1388
1388
|
can_disable: boolean;
|
|
1389
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
1389
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
1390
1390
|
} | null;
|
|
1391
1391
|
};
|
|
1392
1392
|
thinking?: {
|
|
1393
|
-
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1393
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1394
1394
|
} | null;
|
|
1395
1395
|
forked_from?: {
|
|
1396
1396
|
session_id: string;
|
|
@@ -1453,6 +1453,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
1453
1453
|
};
|
|
1454
1454
|
source?: "app" | "codemode";
|
|
1455
1455
|
parent_tool_use_id?: string;
|
|
1456
|
+
title?: string;
|
|
1457
|
+
input_titles?: {
|
|
1458
|
+
[key: string]: string;
|
|
1459
|
+
};
|
|
1456
1460
|
} | {
|
|
1457
1461
|
id: string;
|
|
1458
1462
|
mcp_tool_use_id: string;
|
|
@@ -1630,7 +1634,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1630
1634
|
inference_geo?: string;
|
|
1631
1635
|
speed?: "standard" | "fast";
|
|
1632
1636
|
settings?: {
|
|
1633
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
1637
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1634
1638
|
};
|
|
1635
1639
|
};
|
|
1636
1640
|
multiagent: null | {
|
|
@@ -2072,13 +2076,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2072
2076
|
model?: {
|
|
2073
2077
|
id: string;
|
|
2074
2078
|
thinking: {
|
|
2075
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2079
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
2076
2080
|
can_disable: boolean;
|
|
2077
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2081
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2078
2082
|
} | null;
|
|
2079
2083
|
};
|
|
2080
2084
|
thinking?: {
|
|
2081
|
-
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2085
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2082
2086
|
} | null;
|
|
2083
2087
|
forked_from?: {
|
|
2084
2088
|
session_id: string;
|
|
@@ -2098,7 +2102,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2098
2102
|
inference_geo?: string;
|
|
2099
2103
|
speed?: "standard" | "fast";
|
|
2100
2104
|
settings?: {
|
|
2101
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2105
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2102
2106
|
};
|
|
2103
2107
|
};
|
|
2104
2108
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2129,13 +2133,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2129
2133
|
model?: {
|
|
2130
2134
|
id: string;
|
|
2131
2135
|
thinking: {
|
|
2132
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2136
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
2133
2137
|
can_disable: boolean;
|
|
2134
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2138
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2135
2139
|
} | null;
|
|
2136
2140
|
};
|
|
2137
2141
|
thinking?: {
|
|
2138
|
-
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2142
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2139
2143
|
} | null;
|
|
2140
2144
|
forked_from?: {
|
|
2141
2145
|
session_id: string;
|
|
@@ -2173,7 +2177,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2173
2177
|
inference_geo?: string;
|
|
2174
2178
|
speed?: "standard" | "fast";
|
|
2175
2179
|
settings?: {
|
|
2176
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2180
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2177
2181
|
};
|
|
2178
2182
|
};
|
|
2179
2183
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2204,13 +2208,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2204
2208
|
model?: {
|
|
2205
2209
|
id: string;
|
|
2206
2210
|
thinking: {
|
|
2207
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2211
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
2208
2212
|
can_disable: boolean;
|
|
2209
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2213
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2210
2214
|
} | null;
|
|
2211
2215
|
};
|
|
2212
2216
|
thinking?: {
|
|
2213
|
-
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2217
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2214
2218
|
} | null;
|
|
2215
2219
|
forked_from?: {
|
|
2216
2220
|
session_id: string;
|
|
@@ -2230,9 +2234,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2230
2234
|
id: string;
|
|
2231
2235
|
display_name: string;
|
|
2232
2236
|
thinking: {
|
|
2233
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2237
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
2234
2238
|
can_disable: boolean;
|
|
2235
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2239
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2236
2240
|
} | null;
|
|
2237
2241
|
};
|
|
2238
2242
|
total_tokens: number | null;
|
|
@@ -2360,6 +2364,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2360
2364
|
};
|
|
2361
2365
|
};
|
|
2362
2366
|
source?: "app" | "codemode";
|
|
2367
|
+
title?: string;
|
|
2368
|
+
input_titles?: {
|
|
2369
|
+
[key: string]: string;
|
|
2370
|
+
};
|
|
2363
2371
|
} | {
|
|
2364
2372
|
id: string;
|
|
2365
2373
|
mcp_tool_use_id: string;
|
|
@@ -2499,7 +2507,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2499
2507
|
inference_geo?: string;
|
|
2500
2508
|
speed?: "standard" | "fast";
|
|
2501
2509
|
settings?: {
|
|
2502
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2510
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2503
2511
|
};
|
|
2504
2512
|
};
|
|
2505
2513
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2530,13 +2538,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2530
2538
|
model?: {
|
|
2531
2539
|
id: string;
|
|
2532
2540
|
thinking: {
|
|
2533
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh">;
|
|
2541
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
2534
2542
|
can_disable: boolean;
|
|
2535
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | null;
|
|
2543
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2536
2544
|
} | null;
|
|
2537
2545
|
};
|
|
2538
2546
|
thinking?: {
|
|
2539
|
-
effort: "low" | "medium" | "high" | "xhigh" | "none";
|
|
2547
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2540
2548
|
} | null;
|
|
2541
2549
|
forked_from?: {
|
|
2542
2550
|
session_id: string;
|
|
@@ -3574,6 +3582,110 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3574
3582
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
|
|
3575
3583
|
id: string;
|
|
3576
3584
|
}>;
|
|
3585
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackData> | undefined) => Promise<{
|
|
3586
|
+
object: "page";
|
|
3587
|
+
data: Array<{
|
|
3588
|
+
object: "feedback";
|
|
3589
|
+
id: string;
|
|
3590
|
+
title?: string | null;
|
|
3591
|
+
type?: string | null;
|
|
3592
|
+
message: string;
|
|
3593
|
+
phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
|
|
3594
|
+
status: "unresolved" | "resolved" | "ignored";
|
|
3595
|
+
source: "console" | "api" | "codemode";
|
|
3596
|
+
url?: string | null;
|
|
3597
|
+
first_response_due_time?: string | null;
|
|
3598
|
+
first_response_time?: string | null;
|
|
3599
|
+
last_message_time: string;
|
|
3600
|
+
unread: boolean;
|
|
3601
|
+
create_time: string;
|
|
3602
|
+
update_time: string;
|
|
3603
|
+
attachments: Array<{
|
|
3604
|
+
id?: string;
|
|
3605
|
+
name?: string;
|
|
3606
|
+
content_type?: string;
|
|
3607
|
+
size?: number;
|
|
3608
|
+
create_time?: string;
|
|
3609
|
+
}>;
|
|
3610
|
+
}>;
|
|
3611
|
+
has_more: boolean;
|
|
3612
|
+
next_page: string | null;
|
|
3613
|
+
}>;
|
|
3614
|
+
messages: {
|
|
3615
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackMessageData>) => Promise<{
|
|
3616
|
+
object: "feedback.message";
|
|
3617
|
+
id: string;
|
|
3618
|
+
feedback_id: string;
|
|
3619
|
+
author: {
|
|
3620
|
+
kind?: "customer" | "staff" | "system";
|
|
3621
|
+
};
|
|
3622
|
+
body: string;
|
|
3623
|
+
event?: {
|
|
3624
|
+
type?: "phase_changed" | "assigned";
|
|
3625
|
+
from?: string | null;
|
|
3626
|
+
to?: string | null;
|
|
3627
|
+
} | null;
|
|
3628
|
+
attachments: Array<{
|
|
3629
|
+
id?: string;
|
|
3630
|
+
name?: string;
|
|
3631
|
+
content_type?: string;
|
|
3632
|
+
size?: number;
|
|
3633
|
+
create_time?: string;
|
|
3634
|
+
}>;
|
|
3635
|
+
create_time: string;
|
|
3636
|
+
}>;
|
|
3637
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationFeedbackMessagesData>) => Promise<{
|
|
3638
|
+
object: "page";
|
|
3639
|
+
data: Array<{
|
|
3640
|
+
object: "feedback.message";
|
|
3641
|
+
id: string;
|
|
3642
|
+
feedback_id: string;
|
|
3643
|
+
author: {
|
|
3644
|
+
kind?: "customer" | "staff" | "system";
|
|
3645
|
+
};
|
|
3646
|
+
body: string;
|
|
3647
|
+
event?: {
|
|
3648
|
+
type?: "phase_changed" | "assigned";
|
|
3649
|
+
from?: string | null;
|
|
3650
|
+
to?: string | null;
|
|
3651
|
+
} | null;
|
|
3652
|
+
attachments: Array<{
|
|
3653
|
+
id?: string;
|
|
3654
|
+
name?: string;
|
|
3655
|
+
content_type?: string;
|
|
3656
|
+
size?: number;
|
|
3657
|
+
create_time?: string;
|
|
3658
|
+
}>;
|
|
3659
|
+
create_time: string;
|
|
3660
|
+
}>;
|
|
3661
|
+
has_more: boolean;
|
|
3662
|
+
next_page: string | null;
|
|
3663
|
+
}>;
|
|
3664
|
+
};
|
|
3665
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackData>) => Promise<{
|
|
3666
|
+
object: "feedback";
|
|
3667
|
+
id: string;
|
|
3668
|
+
title?: string | null;
|
|
3669
|
+
type?: string | null;
|
|
3670
|
+
message: string;
|
|
3671
|
+
phase: "open" | "awaiting_customer" | "in_progress" | "resolved" | "closed";
|
|
3672
|
+
status: "unresolved" | "resolved" | "ignored";
|
|
3673
|
+
source: "console" | "api" | "codemode";
|
|
3674
|
+
url?: string | null;
|
|
3675
|
+
first_response_due_time?: string | null;
|
|
3676
|
+
first_response_time?: string | null;
|
|
3677
|
+
last_message_time: string;
|
|
3678
|
+
unread: boolean;
|
|
3679
|
+
create_time: string;
|
|
3680
|
+
update_time: string;
|
|
3681
|
+
attachments: Array<{
|
|
3682
|
+
id?: string;
|
|
3683
|
+
name?: string;
|
|
3684
|
+
content_type?: string;
|
|
3685
|
+
size?: number;
|
|
3686
|
+
create_time?: string;
|
|
3687
|
+
}>;
|
|
3688
|
+
}>;
|
|
3577
3689
|
};
|
|
3578
3690
|
usage: {
|
|
3579
3691
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -571,6 +571,12 @@ export function createOrganization(transport) {
|
|
|
571
571
|
},
|
|
572
572
|
feedback: {
|
|
573
573
|
create: bind(transport, sdk.createOrganizationFeedback),
|
|
574
|
+
list: bind(transport, sdk.listOrganizationFeedback),
|
|
575
|
+
messages: {
|
|
576
|
+
create: bind(transport, sdk.createOrganizationFeedbackMessage),
|
|
577
|
+
list: bind(transport, sdk.listOrganizationFeedbackMessages),
|
|
578
|
+
},
|
|
579
|
+
retrieve: bind(transport, sdk.getOrganizationFeedback),
|
|
574
580
|
},
|
|
575
581
|
usage: {
|
|
576
582
|
list: bind(transport, sdk.listOrganizationUsage),
|