@deepraxis/sdk 0.1.0-dev.c6c496f → 0.1.0-dev.cdc78ae
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 +247 -1
- package/dist/core/client.d.ts +9 -1
- package/dist/core/client.js +6 -0
- package/dist/core/transport.d.ts +5 -0
- package/dist/core/transport.js +6 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +570 -94
- package/dist/generated/sdk.gen.js +1554 -142
- package/dist/generated/types.gen.d.ts +21835 -10781
- package/dist/helpers/application-publish.d.ts +24 -4
- package/dist/helpers/application-publish.js +53 -3
- package/dist/helpers/database-count.d.ts +17 -0
- package/dist/helpers/database-count.js +11 -0
- package/dist/helpers/file-upload.d.ts +24 -0
- package/dist/helpers/file-upload.js +113 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +2509 -106
- package/dist/operations.generated.js +7148 -4268
- package/dist/resources.generated.d.ts +1469 -135
- package/dist/resources.generated.js +151 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
13
|
model: {
|
|
14
|
-
id:
|
|
14
|
+
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
17
17
|
speed?: "standard" | "fast";
|
|
@@ -27,6 +27,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
27
27
|
type: "agent";
|
|
28
28
|
updated_at: string;
|
|
29
29
|
version: number;
|
|
30
|
+
active_version: number;
|
|
31
|
+
created_by: {
|
|
32
|
+
type: "user";
|
|
33
|
+
id: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
} | {
|
|
36
|
+
type: "api_key";
|
|
37
|
+
id: string;
|
|
38
|
+
} | null;
|
|
39
|
+
note: string | null;
|
|
40
|
+
bindings: Array<{
|
|
41
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
42
|
+
id: string;
|
|
43
|
+
access: "read_only" | "read_write" | "invoke";
|
|
44
|
+
instructions?: string;
|
|
45
|
+
enabled?: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
type: "search" | "browser";
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
}>;
|
|
30
50
|
kind: "personal" | "service";
|
|
31
51
|
computer_id?: string;
|
|
32
52
|
subagent_model?: string | null;
|
|
@@ -132,6 +152,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
132
152
|
models?: {
|
|
133
153
|
allowed: Array<string>;
|
|
134
154
|
};
|
|
155
|
+
avatar: string | null;
|
|
156
|
+
creation_source: string | null;
|
|
157
|
+
identity_number: string | null;
|
|
158
|
+
environment_id?: string | null;
|
|
159
|
+
vault_ids?: Array<string>;
|
|
160
|
+
status: "active" | "archived";
|
|
135
161
|
}>;
|
|
136
162
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
137
163
|
id: string;
|
|
@@ -141,7 +167,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
141
167
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
142
168
|
metadata: Types.AgentManaged37;
|
|
143
169
|
model: {
|
|
144
|
-
id:
|
|
170
|
+
id: string;
|
|
145
171
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
146
172
|
inference_geo?: string;
|
|
147
173
|
speed?: "standard" | "fast";
|
|
@@ -157,6 +183,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
157
183
|
type: "agent";
|
|
158
184
|
updated_at: string;
|
|
159
185
|
version: number;
|
|
186
|
+
active_version: number;
|
|
187
|
+
created_by: {
|
|
188
|
+
type: "user";
|
|
189
|
+
id: string;
|
|
190
|
+
name?: string;
|
|
191
|
+
} | {
|
|
192
|
+
type: "api_key";
|
|
193
|
+
id: string;
|
|
194
|
+
} | null;
|
|
195
|
+
note: string | null;
|
|
196
|
+
bindings: Array<{
|
|
197
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
198
|
+
id: string;
|
|
199
|
+
access: "read_only" | "read_write" | "invoke";
|
|
200
|
+
instructions?: string;
|
|
201
|
+
enabled?: boolean;
|
|
202
|
+
} | {
|
|
203
|
+
type: "search" | "browser";
|
|
204
|
+
enabled?: boolean;
|
|
205
|
+
}>;
|
|
160
206
|
kind: "personal" | "service";
|
|
161
207
|
computer_id?: string;
|
|
162
208
|
subagent_model?: string | null;
|
|
@@ -262,7 +308,122 @@ export declare function createAgent(transport: Transport): {
|
|
|
262
308
|
models?: {
|
|
263
309
|
allowed: Array<string>;
|
|
264
310
|
};
|
|
311
|
+
avatar: string | null;
|
|
312
|
+
creation_source: string | null;
|
|
313
|
+
identity_number: string | null;
|
|
314
|
+
environment_id?: string | null;
|
|
315
|
+
vault_ids?: Array<string>;
|
|
316
|
+
status: "active" | "archived";
|
|
265
317
|
}>;
|
|
318
|
+
customers: {
|
|
319
|
+
auth: {
|
|
320
|
+
accessTokens: {
|
|
321
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
322
|
+
type: "customer_access_token";
|
|
323
|
+
access_token: string;
|
|
324
|
+
expires_at: string;
|
|
325
|
+
session_expires_at: string;
|
|
326
|
+
customer: {
|
|
327
|
+
id: string;
|
|
328
|
+
type: "identified" | "anonymous";
|
|
329
|
+
};
|
|
330
|
+
}>;
|
|
331
|
+
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
332
|
+
renew: {
|
|
333
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
334
|
+
type: "customer_access_token";
|
|
335
|
+
access_token: string;
|
|
336
|
+
expires_at: string;
|
|
337
|
+
session_expires_at: string;
|
|
338
|
+
customer: {
|
|
339
|
+
id: string;
|
|
340
|
+
type: "identified" | "anonymous";
|
|
341
|
+
};
|
|
342
|
+
}>;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
grantCodes: {
|
|
346
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
347
|
+
type: "customer_grant_code";
|
|
348
|
+
code: string;
|
|
349
|
+
customer_id: string;
|
|
350
|
+
expires_at: string;
|
|
351
|
+
}>;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
endUsers: {
|
|
356
|
+
block: {
|
|
357
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
|
|
358
|
+
external_user_id: string;
|
|
359
|
+
first_seen_at: string | null;
|
|
360
|
+
last_active_at: string | null;
|
|
361
|
+
session_count: number;
|
|
362
|
+
cost_micro_usd: number;
|
|
363
|
+
blocked: boolean;
|
|
364
|
+
}>;
|
|
365
|
+
};
|
|
366
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
|
|
367
|
+
id: string;
|
|
368
|
+
status: "pending";
|
|
369
|
+
}>;
|
|
370
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
|
|
371
|
+
data: Array<{
|
|
372
|
+
external_user_id: string;
|
|
373
|
+
first_seen_at: string | null;
|
|
374
|
+
last_active_at: string | null;
|
|
375
|
+
session_count: number;
|
|
376
|
+
cost_micro_usd: number;
|
|
377
|
+
blocked: boolean;
|
|
378
|
+
}>;
|
|
379
|
+
next_page: string | null;
|
|
380
|
+
}>;
|
|
381
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
|
|
382
|
+
external_user_id: string;
|
|
383
|
+
first_seen_at: string | null;
|
|
384
|
+
last_active_at: string | null;
|
|
385
|
+
session_count: number;
|
|
386
|
+
cost_micro_usd: number;
|
|
387
|
+
blocked: boolean;
|
|
388
|
+
recent_sessions: Array<{
|
|
389
|
+
id: string;
|
|
390
|
+
title: string | null;
|
|
391
|
+
source: string | null;
|
|
392
|
+
created_at: string;
|
|
393
|
+
updated_at: string;
|
|
394
|
+
}>;
|
|
395
|
+
}>;
|
|
396
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
|
|
397
|
+
id: string;
|
|
398
|
+
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
399
|
+
counts: {
|
|
400
|
+
sessions?: number;
|
|
401
|
+
events?: number;
|
|
402
|
+
messages?: number;
|
|
403
|
+
d1_rows?: number;
|
|
404
|
+
attachments?: number;
|
|
405
|
+
};
|
|
406
|
+
snapshot_key?: string;
|
|
407
|
+
error?: string;
|
|
408
|
+
created_at: string;
|
|
409
|
+
updated_at: string;
|
|
410
|
+
}>;
|
|
411
|
+
revokeTokens: {
|
|
412
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
|
|
413
|
+
revoked: number;
|
|
414
|
+
}>;
|
|
415
|
+
};
|
|
416
|
+
unblock: {
|
|
417
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
|
|
418
|
+
external_user_id: string;
|
|
419
|
+
first_seen_at: string | null;
|
|
420
|
+
last_active_at: string | null;
|
|
421
|
+
session_count: number;
|
|
422
|
+
cost_micro_usd: number;
|
|
423
|
+
blocked: boolean;
|
|
424
|
+
}>;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
266
427
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
267
428
|
data: Array<{
|
|
268
429
|
id: string;
|
|
@@ -272,7 +433,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
272
433
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
273
434
|
metadata: Types.AgentManaged37;
|
|
274
435
|
model: {
|
|
275
|
-
id:
|
|
436
|
+
id: string;
|
|
276
437
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
277
438
|
inference_geo?: string;
|
|
278
439
|
speed?: "standard" | "fast";
|
|
@@ -288,6 +449,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
288
449
|
type: "agent";
|
|
289
450
|
updated_at: string;
|
|
290
451
|
version: number;
|
|
452
|
+
active_version: number;
|
|
453
|
+
created_by: {
|
|
454
|
+
type: "user";
|
|
455
|
+
id: string;
|
|
456
|
+
name?: string;
|
|
457
|
+
} | {
|
|
458
|
+
type: "api_key";
|
|
459
|
+
id: string;
|
|
460
|
+
} | null;
|
|
461
|
+
note: string | null;
|
|
462
|
+
bindings: Array<{
|
|
463
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
464
|
+
id: string;
|
|
465
|
+
access: "read_only" | "read_write" | "invoke";
|
|
466
|
+
instructions?: string;
|
|
467
|
+
enabled?: boolean;
|
|
468
|
+
} | {
|
|
469
|
+
type: "search" | "browser";
|
|
470
|
+
enabled?: boolean;
|
|
471
|
+
}>;
|
|
291
472
|
kind: "personal" | "service";
|
|
292
473
|
computer_id?: string;
|
|
293
474
|
subagent_model?: string | null;
|
|
@@ -393,6 +574,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
393
574
|
models?: {
|
|
394
575
|
allowed: Array<string>;
|
|
395
576
|
};
|
|
577
|
+
avatar: string | null;
|
|
578
|
+
creation_source: string | null;
|
|
579
|
+
identity_number: string | null;
|
|
580
|
+
environment_id?: string | null;
|
|
581
|
+
vault_ids?: Array<string>;
|
|
582
|
+
status: "active" | "archived";
|
|
396
583
|
}>;
|
|
397
584
|
next_page: string | null;
|
|
398
585
|
}>;
|
|
@@ -404,7 +591,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
404
591
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
405
592
|
metadata: Types.AgentManaged37;
|
|
406
593
|
model: {
|
|
407
|
-
id:
|
|
594
|
+
id: string;
|
|
408
595
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
409
596
|
inference_geo?: string;
|
|
410
597
|
speed?: "standard" | "fast";
|
|
@@ -420,6 +607,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
420
607
|
type: "agent";
|
|
421
608
|
updated_at: string;
|
|
422
609
|
version: number;
|
|
610
|
+
active_version: number;
|
|
611
|
+
created_by: {
|
|
612
|
+
type: "user";
|
|
613
|
+
id: string;
|
|
614
|
+
name?: string;
|
|
615
|
+
} | {
|
|
616
|
+
type: "api_key";
|
|
617
|
+
id: string;
|
|
618
|
+
} | null;
|
|
619
|
+
note: string | null;
|
|
620
|
+
bindings: Array<{
|
|
621
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
622
|
+
id: string;
|
|
623
|
+
access: "read_only" | "read_write" | "invoke";
|
|
624
|
+
instructions?: string;
|
|
625
|
+
enabled?: boolean;
|
|
626
|
+
} | {
|
|
627
|
+
type: "search" | "browser";
|
|
628
|
+
enabled?: boolean;
|
|
629
|
+
}>;
|
|
423
630
|
kind: "personal" | "service";
|
|
424
631
|
computer_id?: string;
|
|
425
632
|
subagent_model?: string | null;
|
|
@@ -525,138 +732,888 @@ export declare function createAgent(transport: Transport): {
|
|
|
525
732
|
models?: {
|
|
526
733
|
allowed: Array<string>;
|
|
527
734
|
};
|
|
735
|
+
avatar: string | null;
|
|
736
|
+
creation_source: string | null;
|
|
737
|
+
identity_number: string | null;
|
|
738
|
+
environment_id?: string | null;
|
|
739
|
+
vault_ids?: Array<string>;
|
|
740
|
+
status: "active" | "archived";
|
|
528
741
|
}>;
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
742
|
+
unarchive: {
|
|
743
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
744
|
+
id: string;
|
|
745
|
+
archived_at: null | string;
|
|
746
|
+
created_at: string;
|
|
747
|
+
description: null | string;
|
|
748
|
+
mcp_servers: Array<{
|
|
749
|
+
type: "url";
|
|
750
|
+
name: string;
|
|
751
|
+
url: string;
|
|
752
|
+
headers?: {
|
|
753
|
+
[key: string]: string;
|
|
754
|
+
};
|
|
755
|
+
timeout_ms?: number;
|
|
756
|
+
} | {
|
|
757
|
+
type: "sse";
|
|
758
|
+
name: string;
|
|
759
|
+
url: string;
|
|
760
|
+
headers?: {
|
|
761
|
+
[key: string]: string;
|
|
762
|
+
};
|
|
763
|
+
timeout_ms?: number;
|
|
764
|
+
} | {
|
|
765
|
+
type: "stdio";
|
|
766
|
+
name: string;
|
|
767
|
+
command: string;
|
|
768
|
+
args?: Array<string>;
|
|
769
|
+
env?: {
|
|
770
|
+
[key: string]: string;
|
|
771
|
+
};
|
|
772
|
+
timeout_ms?: number;
|
|
773
|
+
}>;
|
|
774
|
+
metadata: {
|
|
775
|
+
[key: string]: string;
|
|
543
776
|
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
hooks?: {
|
|
572
|
-
SessionStart?: Array<{
|
|
573
|
-
matcher?: string;
|
|
574
|
-
hooks: Array<{
|
|
575
|
-
type: "command";
|
|
576
|
-
command: string;
|
|
577
|
-
timeout?: number;
|
|
578
|
-
async?: boolean;
|
|
579
|
-
enabled?: boolean;
|
|
580
|
-
}>;
|
|
777
|
+
model: {
|
|
778
|
+
id: string;
|
|
779
|
+
effort?: {
|
|
780
|
+
type: "low";
|
|
781
|
+
} | {
|
|
782
|
+
type: "medium";
|
|
783
|
+
} | {
|
|
784
|
+
type: "high";
|
|
785
|
+
} | {
|
|
786
|
+
type: "xhigh";
|
|
787
|
+
} | {
|
|
788
|
+
type: "max";
|
|
789
|
+
};
|
|
790
|
+
inference_geo?: string;
|
|
791
|
+
speed?: "standard" | "fast";
|
|
792
|
+
settings?: {
|
|
793
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
multiagent: null | {
|
|
797
|
+
agents: Array<{
|
|
798
|
+
id: string;
|
|
799
|
+
type: "agent";
|
|
800
|
+
version: number;
|
|
801
|
+
} | {
|
|
802
|
+
model: string;
|
|
803
|
+
type: "advisor";
|
|
581
804
|
}>;
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
805
|
+
type: "coordinator";
|
|
806
|
+
};
|
|
807
|
+
name: string;
|
|
808
|
+
skills: Array<{
|
|
809
|
+
skill_id: string;
|
|
810
|
+
type: "anthropic";
|
|
811
|
+
version: string;
|
|
812
|
+
} | {
|
|
813
|
+
skill_id: string;
|
|
814
|
+
type: "custom";
|
|
815
|
+
version: string;
|
|
816
|
+
}>;
|
|
817
|
+
system: null | string;
|
|
818
|
+
tools: Array<{
|
|
819
|
+
configs: Array<{
|
|
820
|
+
enabled: boolean;
|
|
821
|
+
name: "bash";
|
|
822
|
+
permission_policy: {
|
|
823
|
+
type: "always_allow";
|
|
824
|
+
} | {
|
|
825
|
+
type: "always_ask";
|
|
826
|
+
} | {
|
|
827
|
+
type: "auto";
|
|
828
|
+
};
|
|
829
|
+
type: "bash";
|
|
830
|
+
} | {
|
|
831
|
+
enabled: boolean;
|
|
832
|
+
name: "edit";
|
|
833
|
+
permission_policy: {
|
|
834
|
+
type: "always_allow";
|
|
835
|
+
} | {
|
|
836
|
+
type: "always_ask";
|
|
837
|
+
} | {
|
|
838
|
+
type: "auto";
|
|
839
|
+
};
|
|
840
|
+
type: "edit";
|
|
841
|
+
} | {
|
|
842
|
+
enabled: boolean;
|
|
843
|
+
name: "read";
|
|
844
|
+
permission_policy: {
|
|
845
|
+
type: "always_allow";
|
|
846
|
+
} | {
|
|
847
|
+
type: "always_ask";
|
|
848
|
+
} | {
|
|
849
|
+
type: "auto";
|
|
850
|
+
};
|
|
851
|
+
type: "read";
|
|
852
|
+
} | {
|
|
853
|
+
enabled: boolean;
|
|
854
|
+
name: "write";
|
|
855
|
+
permission_policy: {
|
|
856
|
+
type: "always_allow";
|
|
857
|
+
} | {
|
|
858
|
+
type: "always_ask";
|
|
859
|
+
} | {
|
|
860
|
+
type: "auto";
|
|
861
|
+
};
|
|
862
|
+
type: "write";
|
|
863
|
+
} | {
|
|
864
|
+
enabled: boolean;
|
|
865
|
+
name: "glob";
|
|
866
|
+
permission_policy: {
|
|
867
|
+
type: "always_allow";
|
|
868
|
+
} | {
|
|
869
|
+
type: "always_ask";
|
|
870
|
+
} | {
|
|
871
|
+
type: "auto";
|
|
872
|
+
};
|
|
873
|
+
type: "glob";
|
|
874
|
+
} | {
|
|
875
|
+
enabled: boolean;
|
|
876
|
+
name: "grep";
|
|
877
|
+
permission_policy: {
|
|
878
|
+
type: "always_allow";
|
|
879
|
+
} | {
|
|
880
|
+
type: "always_ask";
|
|
881
|
+
} | {
|
|
882
|
+
type: "auto";
|
|
883
|
+
};
|
|
884
|
+
type: "grep";
|
|
885
|
+
} | {
|
|
886
|
+
enabled: boolean;
|
|
887
|
+
name: "web_fetch";
|
|
888
|
+
permission_policy: {
|
|
889
|
+
type: "always_allow";
|
|
890
|
+
} | {
|
|
891
|
+
type: "always_ask";
|
|
892
|
+
} | {
|
|
893
|
+
type: "auto";
|
|
894
|
+
};
|
|
895
|
+
type: "web_fetch";
|
|
896
|
+
allowed_domains?: Array<string>;
|
|
897
|
+
blocked_domains?: Array<string>;
|
|
898
|
+
max_content_tokens?: null | number;
|
|
899
|
+
} | {
|
|
900
|
+
enabled: boolean;
|
|
901
|
+
name: "web_search";
|
|
902
|
+
permission_policy: {
|
|
903
|
+
type: "always_allow";
|
|
904
|
+
} | {
|
|
905
|
+
type: "always_ask";
|
|
906
|
+
} | {
|
|
907
|
+
type: "auto";
|
|
908
|
+
};
|
|
909
|
+
type: "web_search";
|
|
910
|
+
allowed_domains?: Array<string>;
|
|
911
|
+
blocked_domains?: Array<string>;
|
|
912
|
+
user_location?: null | {
|
|
913
|
+
type: "approximate";
|
|
914
|
+
city?: null | string;
|
|
915
|
+
country?: null | string;
|
|
916
|
+
region?: null | string;
|
|
917
|
+
timezone?: null | string;
|
|
918
|
+
};
|
|
919
|
+
} | {
|
|
920
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
921
|
+
enabled: boolean;
|
|
922
|
+
permission_policy: {
|
|
923
|
+
type: "always_allow" | "always_ask";
|
|
924
|
+
};
|
|
925
|
+
}>;
|
|
926
|
+
default_config: {
|
|
927
|
+
enabled: boolean;
|
|
928
|
+
permission_policy: {
|
|
929
|
+
type: "always_allow";
|
|
930
|
+
} | {
|
|
931
|
+
type: "always_ask";
|
|
932
|
+
} | {
|
|
933
|
+
type: "auto";
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
type: "agent_toolset_20260401";
|
|
937
|
+
} | {
|
|
938
|
+
type: "mcp_toolset";
|
|
939
|
+
mcp_server_name: string;
|
|
940
|
+
default_config?: {
|
|
941
|
+
enabled?: boolean | null;
|
|
942
|
+
permission_policy?: null | {
|
|
943
|
+
type: "always_allow" | "always_ask";
|
|
944
|
+
};
|
|
945
|
+
} | null;
|
|
946
|
+
configs?: Array<{
|
|
947
|
+
name: string;
|
|
948
|
+
enabled?: boolean | null;
|
|
949
|
+
permission_policy?: null | {
|
|
950
|
+
type: "always_allow" | "always_ask";
|
|
951
|
+
};
|
|
952
|
+
}> | null;
|
|
953
|
+
} | {
|
|
954
|
+
description: string;
|
|
955
|
+
input_schema: {
|
|
956
|
+
type: "object";
|
|
957
|
+
properties?: null | {
|
|
958
|
+
[key: string]: unknown;
|
|
959
|
+
};
|
|
960
|
+
required?: null | Array<string>;
|
|
961
|
+
[key: string]: unknown;
|
|
962
|
+
};
|
|
963
|
+
name: string;
|
|
964
|
+
type: "custom";
|
|
965
|
+
}>;
|
|
966
|
+
type: "agent";
|
|
967
|
+
updated_at: string;
|
|
968
|
+
version: number;
|
|
969
|
+
active_version: number;
|
|
970
|
+
created_by: {
|
|
971
|
+
type: "user";
|
|
972
|
+
id: string;
|
|
973
|
+
name?: string;
|
|
974
|
+
} | {
|
|
975
|
+
type: "api_key";
|
|
976
|
+
id: string;
|
|
977
|
+
} | null;
|
|
978
|
+
note: string | null;
|
|
979
|
+
bindings: Array<{
|
|
980
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
981
|
+
id: string;
|
|
982
|
+
access: "read_only" | "read_write" | "invoke";
|
|
983
|
+
instructions?: string;
|
|
984
|
+
enabled?: boolean;
|
|
985
|
+
} | {
|
|
986
|
+
type: "search" | "browser";
|
|
987
|
+
enabled?: boolean;
|
|
988
|
+
}>;
|
|
989
|
+
kind: "personal" | "service";
|
|
990
|
+
computer_id?: string;
|
|
991
|
+
subagent_model?: string | null;
|
|
992
|
+
subagents?: Array<{
|
|
993
|
+
name: string;
|
|
994
|
+
description: string;
|
|
995
|
+
prompt: string;
|
|
996
|
+
tools?: Array<string>;
|
|
997
|
+
disallowed_tools?: Array<string>;
|
|
998
|
+
model?: string;
|
|
999
|
+
}> | null;
|
|
1000
|
+
commands?: Array<{
|
|
1001
|
+
name: string;
|
|
1002
|
+
description?: string;
|
|
1003
|
+
argument_hint?: string;
|
|
1004
|
+
prompt: string;
|
|
1005
|
+
}> | null;
|
|
1006
|
+
settings?: {
|
|
1007
|
+
hooks?: {
|
|
1008
|
+
SessionStart?: Array<{
|
|
1009
|
+
matcher?: string;
|
|
1010
|
+
hooks: Array<{
|
|
1011
|
+
type: "command";
|
|
1012
|
+
command: string;
|
|
1013
|
+
timeout?: number;
|
|
1014
|
+
async?: boolean;
|
|
1015
|
+
enabled?: boolean;
|
|
1016
|
+
}>;
|
|
1017
|
+
}>;
|
|
1018
|
+
UserPromptSubmit?: Array<{
|
|
1019
|
+
matcher?: string;
|
|
1020
|
+
hooks: Array<{
|
|
1021
|
+
type: "command";
|
|
1022
|
+
command: string;
|
|
1023
|
+
timeout?: number;
|
|
1024
|
+
async?: boolean;
|
|
1025
|
+
enabled?: boolean;
|
|
1026
|
+
}>;
|
|
1027
|
+
}>;
|
|
1028
|
+
PreToolUse?: Array<{
|
|
1029
|
+
matcher?: string;
|
|
1030
|
+
hooks: Array<{
|
|
1031
|
+
type: "command";
|
|
1032
|
+
command: string;
|
|
1033
|
+
timeout?: number;
|
|
1034
|
+
async?: boolean;
|
|
1035
|
+
enabled?: boolean;
|
|
1036
|
+
}>;
|
|
1037
|
+
}>;
|
|
1038
|
+
PermissionRequest?: Array<{
|
|
1039
|
+
matcher?: string;
|
|
1040
|
+
hooks: Array<{
|
|
1041
|
+
type: "command";
|
|
1042
|
+
command: string;
|
|
1043
|
+
timeout?: number;
|
|
1044
|
+
async?: boolean;
|
|
1045
|
+
enabled?: boolean;
|
|
1046
|
+
}>;
|
|
1047
|
+
}>;
|
|
1048
|
+
PostToolUse?: Array<{
|
|
1049
|
+
matcher?: string;
|
|
1050
|
+
hooks: Array<{
|
|
1051
|
+
type: "command";
|
|
1052
|
+
command: string;
|
|
1053
|
+
timeout?: number;
|
|
1054
|
+
async?: boolean;
|
|
1055
|
+
enabled?: boolean;
|
|
1056
|
+
}>;
|
|
1057
|
+
}>;
|
|
1058
|
+
PostToolUseFailure?: Array<{
|
|
1059
|
+
matcher?: string;
|
|
1060
|
+
hooks: Array<{
|
|
1061
|
+
type: "command";
|
|
1062
|
+
command: string;
|
|
1063
|
+
timeout?: number;
|
|
1064
|
+
async?: boolean;
|
|
1065
|
+
enabled?: boolean;
|
|
1066
|
+
}>;
|
|
1067
|
+
}>;
|
|
1068
|
+
Stop?: Array<{
|
|
1069
|
+
matcher?: string;
|
|
1070
|
+
hooks: Array<{
|
|
1071
|
+
type: "command";
|
|
1072
|
+
command: string;
|
|
1073
|
+
timeout?: number;
|
|
1074
|
+
async?: boolean;
|
|
1075
|
+
enabled?: boolean;
|
|
1076
|
+
}>;
|
|
1077
|
+
}>;
|
|
1078
|
+
};
|
|
1079
|
+
allowManagedHooksOnly?: boolean;
|
|
1080
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1081
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1082
|
+
autoMemoryEnabled?: boolean;
|
|
1083
|
+
disabled?: {
|
|
1084
|
+
subagents?: Array<string>;
|
|
1085
|
+
commands?: Array<string>;
|
|
1086
|
+
skills?: Array<string>;
|
|
1087
|
+
mcpServers?: Array<string>;
|
|
1088
|
+
hooks?: Array<string>;
|
|
1089
|
+
};
|
|
1090
|
+
} | null;
|
|
1091
|
+
models?: {
|
|
1092
|
+
allowed: Array<string>;
|
|
1093
|
+
};
|
|
1094
|
+
avatar: string | null;
|
|
1095
|
+
creation_source: string | null;
|
|
1096
|
+
identity_number: string | null;
|
|
1097
|
+
environment_id?: string | null;
|
|
1098
|
+
vault_ids?: Array<string>;
|
|
1099
|
+
status: "active" | "archived";
|
|
1100
|
+
}>;
|
|
1101
|
+
};
|
|
1102
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
|
|
1103
|
+
id: string;
|
|
1104
|
+
archived_at: null | string;
|
|
1105
|
+
created_at: string;
|
|
1106
|
+
description: null | string;
|
|
1107
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1108
|
+
metadata: Types.AgentManaged37;
|
|
1109
|
+
model: {
|
|
1110
|
+
id: string;
|
|
1111
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1112
|
+
inference_geo?: string;
|
|
1113
|
+
speed?: "standard" | "fast";
|
|
1114
|
+
settings?: {
|
|
1115
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
multiagent: null | Types.AgentManaged39;
|
|
1119
|
+
name: string;
|
|
1120
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1121
|
+
system: null | string;
|
|
1122
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1123
|
+
type: "agent";
|
|
1124
|
+
updated_at: string;
|
|
1125
|
+
version: number;
|
|
1126
|
+
active_version: number;
|
|
1127
|
+
created_by: {
|
|
1128
|
+
type: "user";
|
|
1129
|
+
id: string;
|
|
1130
|
+
name?: string;
|
|
1131
|
+
} | {
|
|
1132
|
+
type: "api_key";
|
|
1133
|
+
id: string;
|
|
1134
|
+
} | null;
|
|
1135
|
+
note: string | null;
|
|
1136
|
+
bindings: Array<{
|
|
1137
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1138
|
+
id: string;
|
|
1139
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1140
|
+
instructions?: string;
|
|
1141
|
+
enabled?: boolean;
|
|
1142
|
+
} | {
|
|
1143
|
+
type: "search" | "browser";
|
|
1144
|
+
enabled?: boolean;
|
|
1145
|
+
}>;
|
|
1146
|
+
kind: "personal" | "service";
|
|
1147
|
+
computer_id?: string;
|
|
1148
|
+
subagent_model?: string | null;
|
|
1149
|
+
subagents?: Array<{
|
|
1150
|
+
name: string;
|
|
1151
|
+
description: string;
|
|
1152
|
+
prompt: string;
|
|
1153
|
+
tools?: Array<string>;
|
|
1154
|
+
disallowed_tools?: Array<string>;
|
|
1155
|
+
model?: string;
|
|
1156
|
+
}> | null;
|
|
1157
|
+
commands?: Array<{
|
|
1158
|
+
name: string;
|
|
1159
|
+
description?: string;
|
|
1160
|
+
argument_hint?: string;
|
|
1161
|
+
prompt: string;
|
|
1162
|
+
}> | null;
|
|
1163
|
+
settings?: {
|
|
1164
|
+
hooks?: {
|
|
1165
|
+
SessionStart?: Array<{
|
|
1166
|
+
matcher?: string;
|
|
1167
|
+
hooks: Array<{
|
|
1168
|
+
type: "command";
|
|
1169
|
+
command: string;
|
|
1170
|
+
timeout?: number;
|
|
1171
|
+
async?: boolean;
|
|
1172
|
+
enabled?: boolean;
|
|
1173
|
+
}>;
|
|
1174
|
+
}>;
|
|
1175
|
+
UserPromptSubmit?: Array<{
|
|
1176
|
+
matcher?: string;
|
|
1177
|
+
hooks: Array<{
|
|
1178
|
+
type: "command";
|
|
1179
|
+
command: string;
|
|
1180
|
+
timeout?: number;
|
|
1181
|
+
async?: boolean;
|
|
1182
|
+
enabled?: boolean;
|
|
1183
|
+
}>;
|
|
1184
|
+
}>;
|
|
1185
|
+
PreToolUse?: Array<{
|
|
1186
|
+
matcher?: string;
|
|
1187
|
+
hooks: Array<{
|
|
1188
|
+
type: "command";
|
|
1189
|
+
command: string;
|
|
1190
|
+
timeout?: number;
|
|
1191
|
+
async?: boolean;
|
|
1192
|
+
enabled?: boolean;
|
|
1193
|
+
}>;
|
|
1194
|
+
}>;
|
|
1195
|
+
PermissionRequest?: Array<{
|
|
1196
|
+
matcher?: string;
|
|
1197
|
+
hooks: Array<{
|
|
1198
|
+
type: "command";
|
|
1199
|
+
command: string;
|
|
1200
|
+
timeout?: number;
|
|
1201
|
+
async?: boolean;
|
|
1202
|
+
enabled?: boolean;
|
|
1203
|
+
}>;
|
|
1204
|
+
}>;
|
|
1205
|
+
PostToolUse?: Array<{
|
|
1206
|
+
matcher?: string;
|
|
1207
|
+
hooks: Array<{
|
|
1208
|
+
type: "command";
|
|
1209
|
+
command: string;
|
|
1210
|
+
timeout?: number;
|
|
1211
|
+
async?: boolean;
|
|
1212
|
+
enabled?: boolean;
|
|
1213
|
+
}>;
|
|
1214
|
+
}>;
|
|
1215
|
+
PostToolUseFailure?: Array<{
|
|
1216
|
+
matcher?: string;
|
|
1217
|
+
hooks: Array<{
|
|
1218
|
+
type: "command";
|
|
1219
|
+
command: string;
|
|
1220
|
+
timeout?: number;
|
|
1221
|
+
async?: boolean;
|
|
1222
|
+
enabled?: boolean;
|
|
1223
|
+
}>;
|
|
1224
|
+
}>;
|
|
1225
|
+
Stop?: Array<{
|
|
1226
|
+
matcher?: string;
|
|
1227
|
+
hooks: Array<{
|
|
1228
|
+
type: "command";
|
|
1229
|
+
command: string;
|
|
1230
|
+
timeout?: number;
|
|
1231
|
+
async?: boolean;
|
|
1232
|
+
enabled?: boolean;
|
|
1233
|
+
}>;
|
|
1234
|
+
}>;
|
|
1235
|
+
};
|
|
1236
|
+
allowManagedHooksOnly?: boolean;
|
|
1237
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1238
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1239
|
+
autoMemoryEnabled?: boolean;
|
|
1240
|
+
disabled?: {
|
|
1241
|
+
subagents?: Array<string>;
|
|
1242
|
+
commands?: Array<string>;
|
|
1243
|
+
skills?: Array<string>;
|
|
1244
|
+
mcpServers?: Array<string>;
|
|
1245
|
+
hooks?: Array<string>;
|
|
1246
|
+
};
|
|
1247
|
+
} | null;
|
|
1248
|
+
models?: {
|
|
1249
|
+
allowed: Array<string>;
|
|
1250
|
+
};
|
|
1251
|
+
avatar: string | null;
|
|
1252
|
+
creation_source: string | null;
|
|
1253
|
+
identity_number: string | null;
|
|
1254
|
+
environment_id?: string | null;
|
|
1255
|
+
vault_ids?: Array<string>;
|
|
1256
|
+
status: "active" | "archived";
|
|
1257
|
+
}>;
|
|
1258
|
+
versions: {
|
|
1259
|
+
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1260
|
+
id: string;
|
|
1261
|
+
archived_at: null | string;
|
|
1262
|
+
created_at: string;
|
|
1263
|
+
description: null | string;
|
|
1264
|
+
mcp_servers: Array<{
|
|
1265
|
+
type: "url";
|
|
1266
|
+
name: string;
|
|
1267
|
+
url: string;
|
|
1268
|
+
headers?: {
|
|
1269
|
+
[key: string]: string;
|
|
1270
|
+
};
|
|
1271
|
+
timeout_ms?: number;
|
|
1272
|
+
} | {
|
|
1273
|
+
type: "sse";
|
|
1274
|
+
name: string;
|
|
1275
|
+
url: string;
|
|
1276
|
+
headers?: {
|
|
1277
|
+
[key: string]: string;
|
|
1278
|
+
};
|
|
1279
|
+
timeout_ms?: number;
|
|
1280
|
+
} | {
|
|
1281
|
+
type: "stdio";
|
|
1282
|
+
name: string;
|
|
1283
|
+
command: string;
|
|
1284
|
+
args?: Array<string>;
|
|
1285
|
+
env?: {
|
|
1286
|
+
[key: string]: string;
|
|
1287
|
+
};
|
|
1288
|
+
timeout_ms?: number;
|
|
1289
|
+
}>;
|
|
1290
|
+
metadata: {
|
|
1291
|
+
[key: string]: string;
|
|
1292
|
+
};
|
|
1293
|
+
model: {
|
|
1294
|
+
id: string;
|
|
1295
|
+
effort?: {
|
|
1296
|
+
type: "low";
|
|
1297
|
+
} | {
|
|
1298
|
+
type: "medium";
|
|
1299
|
+
} | {
|
|
1300
|
+
type: "high";
|
|
1301
|
+
} | {
|
|
1302
|
+
type: "xhigh";
|
|
1303
|
+
} | {
|
|
1304
|
+
type: "max";
|
|
1305
|
+
};
|
|
1306
|
+
inference_geo?: string;
|
|
1307
|
+
speed?: "standard" | "fast";
|
|
1308
|
+
settings?: {
|
|
1309
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
multiagent: null | {
|
|
1313
|
+
agents: Array<{
|
|
1314
|
+
id: string;
|
|
1315
|
+
type: "agent";
|
|
1316
|
+
version: number;
|
|
1317
|
+
} | {
|
|
1318
|
+
model: string;
|
|
1319
|
+
type: "advisor";
|
|
1320
|
+
}>;
|
|
1321
|
+
type: "coordinator";
|
|
1322
|
+
};
|
|
1323
|
+
name: string;
|
|
1324
|
+
skills: Array<{
|
|
1325
|
+
skill_id: string;
|
|
1326
|
+
type: "anthropic";
|
|
1327
|
+
version: string;
|
|
1328
|
+
} | {
|
|
1329
|
+
skill_id: string;
|
|
1330
|
+
type: "custom";
|
|
1331
|
+
version: string;
|
|
1332
|
+
}>;
|
|
1333
|
+
system: null | string;
|
|
1334
|
+
tools: Array<{
|
|
1335
|
+
configs: Array<{
|
|
1336
|
+
enabled: boolean;
|
|
1337
|
+
name: "bash";
|
|
1338
|
+
permission_policy: {
|
|
1339
|
+
type: "always_allow";
|
|
1340
|
+
} | {
|
|
1341
|
+
type: "always_ask";
|
|
1342
|
+
} | {
|
|
1343
|
+
type: "auto";
|
|
1344
|
+
};
|
|
1345
|
+
type: "bash";
|
|
1346
|
+
} | {
|
|
1347
|
+
enabled: boolean;
|
|
1348
|
+
name: "edit";
|
|
1349
|
+
permission_policy: {
|
|
1350
|
+
type: "always_allow";
|
|
1351
|
+
} | {
|
|
1352
|
+
type: "always_ask";
|
|
1353
|
+
} | {
|
|
1354
|
+
type: "auto";
|
|
1355
|
+
};
|
|
1356
|
+
type: "edit";
|
|
1357
|
+
} | {
|
|
1358
|
+
enabled: boolean;
|
|
1359
|
+
name: "read";
|
|
1360
|
+
permission_policy: {
|
|
1361
|
+
type: "always_allow";
|
|
1362
|
+
} | {
|
|
1363
|
+
type: "always_ask";
|
|
1364
|
+
} | {
|
|
1365
|
+
type: "auto";
|
|
1366
|
+
};
|
|
1367
|
+
type: "read";
|
|
1368
|
+
} | {
|
|
1369
|
+
enabled: boolean;
|
|
1370
|
+
name: "write";
|
|
1371
|
+
permission_policy: {
|
|
1372
|
+
type: "always_allow";
|
|
1373
|
+
} | {
|
|
1374
|
+
type: "always_ask";
|
|
1375
|
+
} | {
|
|
1376
|
+
type: "auto";
|
|
1377
|
+
};
|
|
1378
|
+
type: "write";
|
|
1379
|
+
} | {
|
|
1380
|
+
enabled: boolean;
|
|
1381
|
+
name: "glob";
|
|
1382
|
+
permission_policy: {
|
|
1383
|
+
type: "always_allow";
|
|
1384
|
+
} | {
|
|
1385
|
+
type: "always_ask";
|
|
1386
|
+
} | {
|
|
1387
|
+
type: "auto";
|
|
1388
|
+
};
|
|
1389
|
+
type: "glob";
|
|
1390
|
+
} | {
|
|
1391
|
+
enabled: boolean;
|
|
1392
|
+
name: "grep";
|
|
1393
|
+
permission_policy: {
|
|
1394
|
+
type: "always_allow";
|
|
1395
|
+
} | {
|
|
1396
|
+
type: "always_ask";
|
|
1397
|
+
} | {
|
|
1398
|
+
type: "auto";
|
|
1399
|
+
};
|
|
1400
|
+
type: "grep";
|
|
1401
|
+
} | {
|
|
1402
|
+
enabled: boolean;
|
|
1403
|
+
name: "web_fetch";
|
|
1404
|
+
permission_policy: {
|
|
1405
|
+
type: "always_allow";
|
|
1406
|
+
} | {
|
|
1407
|
+
type: "always_ask";
|
|
1408
|
+
} | {
|
|
1409
|
+
type: "auto";
|
|
1410
|
+
};
|
|
1411
|
+
type: "web_fetch";
|
|
1412
|
+
allowed_domains?: Array<string>;
|
|
1413
|
+
blocked_domains?: Array<string>;
|
|
1414
|
+
max_content_tokens?: null | number;
|
|
1415
|
+
} | {
|
|
1416
|
+
enabled: boolean;
|
|
1417
|
+
name: "web_search";
|
|
1418
|
+
permission_policy: {
|
|
1419
|
+
type: "always_allow";
|
|
1420
|
+
} | {
|
|
1421
|
+
type: "always_ask";
|
|
1422
|
+
} | {
|
|
1423
|
+
type: "auto";
|
|
1424
|
+
};
|
|
1425
|
+
type: "web_search";
|
|
1426
|
+
allowed_domains?: Array<string>;
|
|
1427
|
+
blocked_domains?: Array<string>;
|
|
1428
|
+
user_location?: null | {
|
|
1429
|
+
type: "approximate";
|
|
1430
|
+
city?: null | string;
|
|
1431
|
+
country?: null | string;
|
|
1432
|
+
region?: null | string;
|
|
1433
|
+
timezone?: null | string;
|
|
1434
|
+
};
|
|
1435
|
+
} | {
|
|
1436
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1437
|
+
enabled: boolean;
|
|
1438
|
+
permission_policy: {
|
|
1439
|
+
type: "always_allow" | "always_ask";
|
|
1440
|
+
};
|
|
1441
|
+
}>;
|
|
1442
|
+
default_config: {
|
|
1443
|
+
enabled: boolean;
|
|
1444
|
+
permission_policy: {
|
|
1445
|
+
type: "always_allow";
|
|
1446
|
+
} | {
|
|
1447
|
+
type: "always_ask";
|
|
1448
|
+
} | {
|
|
1449
|
+
type: "auto";
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
type: "agent_toolset_20260401";
|
|
1453
|
+
} | {
|
|
1454
|
+
type: "mcp_toolset";
|
|
1455
|
+
mcp_server_name: string;
|
|
1456
|
+
default_config?: {
|
|
1457
|
+
enabled?: boolean | null;
|
|
1458
|
+
permission_policy?: null | {
|
|
1459
|
+
type: "always_allow" | "always_ask";
|
|
1460
|
+
};
|
|
1461
|
+
} | null;
|
|
1462
|
+
configs?: Array<{
|
|
1463
|
+
name: string;
|
|
1464
|
+
enabled?: boolean | null;
|
|
1465
|
+
permission_policy?: null | {
|
|
1466
|
+
type: "always_allow" | "always_ask";
|
|
1467
|
+
};
|
|
1468
|
+
}> | null;
|
|
1469
|
+
} | {
|
|
1470
|
+
description: string;
|
|
1471
|
+
input_schema: {
|
|
1472
|
+
type: "object";
|
|
1473
|
+
properties?: null | {
|
|
1474
|
+
[key: string]: unknown;
|
|
1475
|
+
};
|
|
1476
|
+
required?: null | Array<string>;
|
|
1477
|
+
[key: string]: unknown;
|
|
1478
|
+
};
|
|
1479
|
+
name: string;
|
|
1480
|
+
type: "custom";
|
|
1481
|
+
}>;
|
|
1482
|
+
type: "agent";
|
|
1483
|
+
updated_at: string;
|
|
1484
|
+
version: number;
|
|
1485
|
+
active_version: number;
|
|
1486
|
+
created_by: {
|
|
1487
|
+
type: "user";
|
|
1488
|
+
id: string;
|
|
1489
|
+
name?: string;
|
|
1490
|
+
} | {
|
|
1491
|
+
type: "api_key";
|
|
1492
|
+
id: string;
|
|
1493
|
+
} | null;
|
|
1494
|
+
note: string | null;
|
|
1495
|
+
bindings: Array<{
|
|
1496
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1497
|
+
id: string;
|
|
1498
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1499
|
+
instructions?: string;
|
|
1500
|
+
enabled?: boolean;
|
|
1501
|
+
} | {
|
|
1502
|
+
type: "search" | "browser";
|
|
1503
|
+
enabled?: boolean;
|
|
1504
|
+
}>;
|
|
1505
|
+
kind: "personal" | "service";
|
|
1506
|
+
computer_id?: string;
|
|
1507
|
+
subagent_model?: string | null;
|
|
1508
|
+
subagents?: Array<{
|
|
1509
|
+
name: string;
|
|
1510
|
+
description: string;
|
|
1511
|
+
prompt: string;
|
|
1512
|
+
tools?: Array<string>;
|
|
1513
|
+
disallowed_tools?: Array<string>;
|
|
1514
|
+
model?: string;
|
|
1515
|
+
}> | null;
|
|
1516
|
+
commands?: Array<{
|
|
1517
|
+
name: string;
|
|
1518
|
+
description?: string;
|
|
1519
|
+
argument_hint?: string;
|
|
1520
|
+
prompt: string;
|
|
1521
|
+
}> | null;
|
|
1522
|
+
settings?: {
|
|
1523
|
+
hooks?: {
|
|
1524
|
+
SessionStart?: Array<{
|
|
1525
|
+
matcher?: string;
|
|
1526
|
+
hooks: Array<{
|
|
1527
|
+
type: "command";
|
|
1528
|
+
command: string;
|
|
1529
|
+
timeout?: number;
|
|
1530
|
+
async?: boolean;
|
|
1531
|
+
enabled?: boolean;
|
|
1532
|
+
}>;
|
|
1533
|
+
}>;
|
|
1534
|
+
UserPromptSubmit?: Array<{
|
|
1535
|
+
matcher?: string;
|
|
1536
|
+
hooks: Array<{
|
|
1537
|
+
type: "command";
|
|
1538
|
+
command: string;
|
|
1539
|
+
timeout?: number;
|
|
1540
|
+
async?: boolean;
|
|
1541
|
+
enabled?: boolean;
|
|
1542
|
+
}>;
|
|
590
1543
|
}>;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
1544
|
+
PreToolUse?: Array<{
|
|
1545
|
+
matcher?: string;
|
|
1546
|
+
hooks: Array<{
|
|
1547
|
+
type: "command";
|
|
1548
|
+
command: string;
|
|
1549
|
+
timeout?: number;
|
|
1550
|
+
async?: boolean;
|
|
1551
|
+
enabled?: boolean;
|
|
1552
|
+
}>;
|
|
600
1553
|
}>;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
1554
|
+
PermissionRequest?: Array<{
|
|
1555
|
+
matcher?: string;
|
|
1556
|
+
hooks: Array<{
|
|
1557
|
+
type: "command";
|
|
1558
|
+
command: string;
|
|
1559
|
+
timeout?: number;
|
|
1560
|
+
async?: boolean;
|
|
1561
|
+
enabled?: boolean;
|
|
1562
|
+
}>;
|
|
610
1563
|
}>;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
1564
|
+
PostToolUse?: Array<{
|
|
1565
|
+
matcher?: string;
|
|
1566
|
+
hooks: Array<{
|
|
1567
|
+
type: "command";
|
|
1568
|
+
command: string;
|
|
1569
|
+
timeout?: number;
|
|
1570
|
+
async?: boolean;
|
|
1571
|
+
enabled?: boolean;
|
|
1572
|
+
}>;
|
|
620
1573
|
}>;
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
1574
|
+
PostToolUseFailure?: Array<{
|
|
1575
|
+
matcher?: string;
|
|
1576
|
+
hooks: Array<{
|
|
1577
|
+
type: "command";
|
|
1578
|
+
command: string;
|
|
1579
|
+
timeout?: number;
|
|
1580
|
+
async?: boolean;
|
|
1581
|
+
enabled?: boolean;
|
|
1582
|
+
}>;
|
|
630
1583
|
}>;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
1584
|
+
Stop?: Array<{
|
|
1585
|
+
matcher?: string;
|
|
1586
|
+
hooks: Array<{
|
|
1587
|
+
type: "command";
|
|
1588
|
+
command: string;
|
|
1589
|
+
timeout?: number;
|
|
1590
|
+
async?: boolean;
|
|
1591
|
+
enabled?: boolean;
|
|
1592
|
+
}>;
|
|
640
1593
|
}>;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
1594
|
+
};
|
|
1595
|
+
allowManagedHooksOnly?: boolean;
|
|
1596
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1597
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1598
|
+
autoMemoryEnabled?: boolean;
|
|
1599
|
+
disabled?: {
|
|
1600
|
+
subagents?: Array<string>;
|
|
1601
|
+
commands?: Array<string>;
|
|
1602
|
+
skills?: Array<string>;
|
|
1603
|
+
mcpServers?: Array<string>;
|
|
1604
|
+
hooks?: Array<string>;
|
|
1605
|
+
};
|
|
1606
|
+
} | null;
|
|
1607
|
+
models?: {
|
|
1608
|
+
allowed: Array<string>;
|
|
653
1609
|
};
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
1610
|
+
avatar: string | null;
|
|
1611
|
+
creation_source: string | null;
|
|
1612
|
+
identity_number: string | null;
|
|
1613
|
+
environment_id?: string | null;
|
|
1614
|
+
vault_ids?: Array<string>;
|
|
1615
|
+
status: "active" | "archived";
|
|
1616
|
+
}>;
|
|
660
1617
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
661
1618
|
data: Array<{
|
|
662
1619
|
id: string;
|
|
@@ -666,7 +1623,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
666
1623
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
667
1624
|
metadata: Types.AgentManaged37;
|
|
668
1625
|
model: {
|
|
669
|
-
id:
|
|
1626
|
+
id: string;
|
|
670
1627
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
671
1628
|
inference_geo?: string;
|
|
672
1629
|
speed?: "standard" | "fast";
|
|
@@ -682,6 +1639,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
682
1639
|
type: "agent";
|
|
683
1640
|
updated_at: string;
|
|
684
1641
|
version: number;
|
|
1642
|
+
active_version: number;
|
|
1643
|
+
active: boolean;
|
|
1644
|
+
created_by: {
|
|
1645
|
+
type: "user";
|
|
1646
|
+
id: string;
|
|
1647
|
+
name?: string;
|
|
1648
|
+
} | {
|
|
1649
|
+
type: "api_key";
|
|
1650
|
+
id: string;
|
|
1651
|
+
} | null;
|
|
1652
|
+
note: string | null;
|
|
1653
|
+
bindings: Array<{
|
|
1654
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1655
|
+
id: string;
|
|
1656
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1657
|
+
instructions?: string;
|
|
1658
|
+
enabled?: boolean;
|
|
1659
|
+
} | {
|
|
1660
|
+
type: "search" | "browser";
|
|
1661
|
+
enabled?: boolean;
|
|
1662
|
+
}>;
|
|
685
1663
|
kind: "personal" | "service";
|
|
686
1664
|
computer_id?: string;
|
|
687
1665
|
subagent_model?: string | null;
|
|
@@ -787,6 +1765,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
787
1765
|
models?: {
|
|
788
1766
|
allowed: Array<string>;
|
|
789
1767
|
};
|
|
1768
|
+
avatar: string | null;
|
|
1769
|
+
creation_source: string | null;
|
|
1770
|
+
identity_number: string | null;
|
|
1771
|
+
environment_id?: string | null;
|
|
1772
|
+
vault_ids?: Array<string>;
|
|
1773
|
+
status: "active" | "archived";
|
|
790
1774
|
}>;
|
|
791
1775
|
next_page: string | null;
|
|
792
1776
|
}>;
|
|
@@ -798,6 +1782,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
798
1782
|
id: string;
|
|
799
1783
|
name: string;
|
|
800
1784
|
sandbox_id: string | null;
|
|
1785
|
+
machine_state: "not_started" | "provisioned";
|
|
801
1786
|
environment_id: string | null;
|
|
802
1787
|
status: "active" | "archived";
|
|
803
1788
|
created_at: string;
|
|
@@ -820,12 +1805,16 @@ export declare function createAgent(transport: Transport): {
|
|
|
820
1805
|
sandbox_id: string;
|
|
821
1806
|
envd_access_token: string;
|
|
822
1807
|
template_id: string;
|
|
1808
|
+
tier: "light" | "heavy";
|
|
1809
|
+
lease_id: string | null;
|
|
1810
|
+
lease_expires_at: string | null;
|
|
823
1811
|
}>;
|
|
824
1812
|
create: (options: import("./core/transport.js").CallOptions<Types.ComputersCreateData>) => Promise<{
|
|
825
1813
|
type: "computer";
|
|
826
1814
|
id: string;
|
|
827
1815
|
name: string;
|
|
828
1816
|
sandbox_id: string | null;
|
|
1817
|
+
machine_state: "not_started" | "provisioned";
|
|
829
1818
|
environment_id: string | null;
|
|
830
1819
|
status: "active" | "archived";
|
|
831
1820
|
created_at: string;
|
|
@@ -849,15 +1838,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
849
1838
|
updated_at: string | null;
|
|
850
1839
|
}>;
|
|
851
1840
|
has_more: false;
|
|
1841
|
+
tier: "light" | "heavy";
|
|
852
1842
|
}>;
|
|
853
1843
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
854
1844
|
};
|
|
1845
|
+
leases: {
|
|
1846
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
1847
|
+
id: string;
|
|
1848
|
+
type: "computer_lease_released";
|
|
1849
|
+
}>;
|
|
1850
|
+
renew: {
|
|
1851
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenewComputerLeaseData>) => Promise<{
|
|
1852
|
+
lease_id: string;
|
|
1853
|
+
lease_expires_at: string;
|
|
1854
|
+
}>;
|
|
1855
|
+
};
|
|
1856
|
+
};
|
|
855
1857
|
list: (options?: import("./core/transport.js").CallOptions<Types.ComputersListData> | undefined) => Promise<{
|
|
856
1858
|
data: Array<{
|
|
857
1859
|
type: "computer";
|
|
858
1860
|
id: string;
|
|
859
1861
|
name: string;
|
|
860
1862
|
sandbox_id: string | null;
|
|
1863
|
+
machine_state: "not_started" | "provisioned";
|
|
861
1864
|
environment_id: string | null;
|
|
862
1865
|
status: "active" | "archived";
|
|
863
1866
|
created_at: string;
|
|
@@ -872,6 +1875,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
872
1875
|
id: string;
|
|
873
1876
|
name: string;
|
|
874
1877
|
sandbox_id: string | null;
|
|
1878
|
+
machine_state: "not_started" | "provisioned";
|
|
875
1879
|
environment_id: string | null;
|
|
876
1880
|
status: "active" | "archived";
|
|
877
1881
|
created_at: string;
|
|
@@ -880,12 +1884,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
880
1884
|
implementation: "virtual" | "sandbox";
|
|
881
1885
|
storage_bytes: number;
|
|
882
1886
|
file_count: number;
|
|
1887
|
+
stats_complete: boolean;
|
|
883
1888
|
}>;
|
|
884
1889
|
update: (options: import("./core/transport.js").CallOptions<Types.ComputersUpdateData>) => Promise<{
|
|
885
1890
|
type: "computer";
|
|
886
1891
|
id: string;
|
|
887
1892
|
name: string;
|
|
888
1893
|
sandbox_id: string | null;
|
|
1894
|
+
machine_state: "not_started" | "provisioned";
|
|
889
1895
|
environment_id: string | null;
|
|
890
1896
|
status: "active" | "archived";
|
|
891
1897
|
created_at: string;
|
|
@@ -1169,8 +2175,82 @@ export declare function createAgent(transport: Transport): {
|
|
|
1169
2175
|
};
|
|
1170
2176
|
}>;
|
|
1171
2177
|
};
|
|
2178
|
+
embed: {
|
|
2179
|
+
exchange: {
|
|
2180
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2181
|
+
token: string;
|
|
2182
|
+
expires_at: string;
|
|
2183
|
+
}>;
|
|
2184
|
+
};
|
|
2185
|
+
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2186
|
+
agent?: {
|
|
2187
|
+
name?: string;
|
|
2188
|
+
avatar?: string;
|
|
2189
|
+
};
|
|
2190
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2191
|
+
launcher?: {
|
|
2192
|
+
type: "none" | "bubble" | "mascot";
|
|
2193
|
+
pack?: {
|
|
2194
|
+
preset?: "mint" | "cat" | "bot";
|
|
2195
|
+
images?: {
|
|
2196
|
+
idle: string;
|
|
2197
|
+
greet?: string;
|
|
2198
|
+
listening?: string;
|
|
2199
|
+
thinking?: string;
|
|
2200
|
+
talking?: string;
|
|
2201
|
+
"talking-2"?: string;
|
|
2202
|
+
sorry?: string;
|
|
2203
|
+
sleep?: string;
|
|
2204
|
+
};
|
|
2205
|
+
};
|
|
2206
|
+
image?: string;
|
|
2207
|
+
motion?: "float" | "none";
|
|
2208
|
+
position?: "bottom-right" | "bottom-left";
|
|
2209
|
+
label?: string;
|
|
2210
|
+
};
|
|
2211
|
+
header?: {
|
|
2212
|
+
title?: string;
|
|
2213
|
+
subtitle?: string;
|
|
2214
|
+
icon?: string;
|
|
2215
|
+
};
|
|
2216
|
+
theme?: {
|
|
2217
|
+
colorScheme?: "light" | "dark" | "system";
|
|
2218
|
+
accent?: string;
|
|
2219
|
+
surface?: string;
|
|
2220
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
2221
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2222
|
+
density?: "compact" | "normal" | "spacious";
|
|
2223
|
+
fontFamily?: string;
|
|
2224
|
+
fontSize?: number;
|
|
2225
|
+
};
|
|
2226
|
+
locale?: "zh" | "en";
|
|
2227
|
+
startScreen?: {
|
|
2228
|
+
greeting?: string;
|
|
2229
|
+
prompts?: Array<{
|
|
2230
|
+
label: string;
|
|
2231
|
+
prompt: string;
|
|
2232
|
+
}>;
|
|
2233
|
+
};
|
|
2234
|
+
composer?: {
|
|
2235
|
+
placeholder?: string;
|
|
2236
|
+
};
|
|
2237
|
+
disclaimer?: string;
|
|
2238
|
+
footer?: string;
|
|
2239
|
+
history?: {
|
|
2240
|
+
enabled?: boolean;
|
|
2241
|
+
};
|
|
2242
|
+
}>;
|
|
2243
|
+
};
|
|
1172
2244
|
embedTokens: {
|
|
2245
|
+
anonymous: {
|
|
2246
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2247
|
+
token: string;
|
|
2248
|
+
expires_at: string;
|
|
2249
|
+
visitor_secret?: string;
|
|
2250
|
+
}>;
|
|
2251
|
+
};
|
|
1173
2252
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2253
|
+
hosted_url?: string;
|
|
1174
2254
|
id: string;
|
|
1175
2255
|
token: string;
|
|
1176
2256
|
expires_at: string;
|
|
@@ -1229,7 +2309,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1229
2309
|
description: null | string;
|
|
1230
2310
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1231
2311
|
model: {
|
|
1232
|
-
id:
|
|
2312
|
+
id: string;
|
|
1233
2313
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1234
2314
|
inference_geo?: string;
|
|
1235
2315
|
speed?: "standard" | "fast";
|
|
@@ -1277,6 +2357,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1277
2357
|
session_id: string;
|
|
1278
2358
|
message_id: string;
|
|
1279
2359
|
} | null;
|
|
2360
|
+
readonly external_user_id: string | null;
|
|
2361
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
1280
2362
|
}>;
|
|
1281
2363
|
backgroundTasks: {
|
|
1282
2364
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
|
|
@@ -1348,7 +2430,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1348
2430
|
description: null | string;
|
|
1349
2431
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1350
2432
|
model: {
|
|
1351
|
-
id:
|
|
2433
|
+
id: string;
|
|
1352
2434
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1353
2435
|
inference_geo?: string;
|
|
1354
2436
|
speed?: "standard" | "fast";
|
|
@@ -1396,7 +2478,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
1396
2478
|
session_id: string;
|
|
1397
2479
|
message_id: string;
|
|
1398
2480
|
} | null;
|
|
2481
|
+
readonly external_user_id: string | null;
|
|
2482
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
1399
2483
|
}>;
|
|
2484
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
1400
2485
|
events: {
|
|
1401
2486
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
1402
2487
|
data: Array<{
|
|
@@ -1404,6 +2489,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1404
2489
|
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
1405
2490
|
type: "user.message";
|
|
1406
2491
|
processed_at?: null | string;
|
|
2492
|
+
praxis_context?: {
|
|
2493
|
+
items: Array<{
|
|
2494
|
+
name: string;
|
|
2495
|
+
value: string;
|
|
2496
|
+
}>;
|
|
2497
|
+
};
|
|
1407
2498
|
message_id?: string;
|
|
1408
2499
|
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
1409
2500
|
id: string;
|
|
@@ -1584,7 +2675,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
1584
2675
|
next_page: string | null;
|
|
1585
2676
|
}>;
|
|
1586
2677
|
send: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsSendData>) => Promise<{
|
|
1587
|
-
data?: Array<
|
|
2678
|
+
data?: Array<{
|
|
2679
|
+
id: string;
|
|
2680
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
2681
|
+
type: "user.message";
|
|
2682
|
+
processed_at?: null | string;
|
|
2683
|
+
praxis_context?: {
|
|
2684
|
+
items: Array<{
|
|
2685
|
+
name: string;
|
|
2686
|
+
value: string;
|
|
2687
|
+
}>;
|
|
2688
|
+
};
|
|
2689
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
|
|
1588
2690
|
id: string;
|
|
1589
2691
|
type: "user.steer";
|
|
1590
2692
|
event_id: string;
|
|
@@ -1617,9 +2719,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1617
2719
|
type: "url";
|
|
1618
2720
|
name: string;
|
|
1619
2721
|
url: string;
|
|
2722
|
+
headers?: {
|
|
2723
|
+
[key: string]: string;
|
|
2724
|
+
};
|
|
2725
|
+
timeout_ms?: number;
|
|
2726
|
+
} | {
|
|
2727
|
+
type: "sse";
|
|
2728
|
+
name: string;
|
|
2729
|
+
url: string;
|
|
2730
|
+
headers?: {
|
|
2731
|
+
[key: string]: string;
|
|
2732
|
+
};
|
|
2733
|
+
timeout_ms?: number;
|
|
2734
|
+
} | {
|
|
2735
|
+
type: "stdio";
|
|
2736
|
+
name: string;
|
|
2737
|
+
command: string;
|
|
2738
|
+
args?: Array<string>;
|
|
2739
|
+
env?: {
|
|
2740
|
+
[key: string]: string;
|
|
2741
|
+
};
|
|
2742
|
+
timeout_ms?: number;
|
|
1620
2743
|
}>;
|
|
1621
2744
|
model: {
|
|
1622
|
-
id:
|
|
2745
|
+
id: string;
|
|
1623
2746
|
effort?: {
|
|
1624
2747
|
type: "low";
|
|
1625
2748
|
} | {
|
|
@@ -1648,9 +2771,30 @@ export declare function createAgent(transport: Transport): {
|
|
|
1648
2771
|
type: "url";
|
|
1649
2772
|
name: string;
|
|
1650
2773
|
url: string;
|
|
2774
|
+
headers?: {
|
|
2775
|
+
[key: string]: string;
|
|
2776
|
+
};
|
|
2777
|
+
timeout_ms?: number;
|
|
2778
|
+
} | {
|
|
2779
|
+
type: "sse";
|
|
2780
|
+
name: string;
|
|
2781
|
+
url: string;
|
|
2782
|
+
headers?: {
|
|
2783
|
+
[key: string]: string;
|
|
2784
|
+
};
|
|
2785
|
+
timeout_ms?: number;
|
|
2786
|
+
} | {
|
|
2787
|
+
type: "stdio";
|
|
2788
|
+
name: string;
|
|
2789
|
+
command: string;
|
|
2790
|
+
args?: Array<string>;
|
|
2791
|
+
env?: {
|
|
2792
|
+
[key: string]: string;
|
|
2793
|
+
};
|
|
2794
|
+
timeout_ms?: number;
|
|
1651
2795
|
}>;
|
|
1652
2796
|
model: {
|
|
1653
|
-
id:
|
|
2797
|
+
id: string;
|
|
1654
2798
|
effort?: {
|
|
1655
2799
|
type: "low";
|
|
1656
2800
|
} | {
|
|
@@ -2088,6 +3232,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2088
3232
|
session_id: string;
|
|
2089
3233
|
message_id: string;
|
|
2090
3234
|
} | null;
|
|
3235
|
+
readonly external_user_id: string | null;
|
|
3236
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2091
3237
|
}>;
|
|
2092
3238
|
list: (options?: import("./core/transport.js").CallOptions<Types.SessionsListData> | undefined) => Promise<{
|
|
2093
3239
|
data: Array<{
|
|
@@ -2097,7 +3243,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2097
3243
|
description: null | string;
|
|
2098
3244
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2099
3245
|
model: {
|
|
2100
|
-
id:
|
|
3246
|
+
id: string;
|
|
2101
3247
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2102
3248
|
inference_geo?: string;
|
|
2103
3249
|
speed?: "standard" | "fast";
|
|
@@ -2145,6 +3291,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2145
3291
|
session_id: string;
|
|
2146
3292
|
message_id: string;
|
|
2147
3293
|
} | null;
|
|
3294
|
+
readonly external_user_id: string | null;
|
|
3295
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2148
3296
|
}>;
|
|
2149
3297
|
next_page: string | null;
|
|
2150
3298
|
}>;
|
|
@@ -2172,7 +3320,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2172
3320
|
description: null | string;
|
|
2173
3321
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2174
3322
|
model: {
|
|
2175
|
-
id:
|
|
3323
|
+
id: string;
|
|
2176
3324
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2177
3325
|
inference_geo?: string;
|
|
2178
3326
|
speed?: "standard" | "fast";
|
|
@@ -2220,6 +3368,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2220
3368
|
session_id: string;
|
|
2221
3369
|
message_id: string;
|
|
2222
3370
|
} | null;
|
|
3371
|
+
readonly external_user_id: string | null;
|
|
3372
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2223
3373
|
}>;
|
|
2224
3374
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
2225
3375
|
type: "session_compaction";
|
|
@@ -2315,6 +3465,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2315
3465
|
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
2316
3466
|
type: "user.message";
|
|
2317
3467
|
processed_at?: null | string;
|
|
3468
|
+
praxis_context?: {
|
|
3469
|
+
items: Array<{
|
|
3470
|
+
name: string;
|
|
3471
|
+
value: string;
|
|
3472
|
+
}>;
|
|
3473
|
+
};
|
|
2318
3474
|
message_id?: string;
|
|
2319
3475
|
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
2320
3476
|
id: string;
|
|
@@ -2502,7 +3658,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2502
3658
|
description: null | string;
|
|
2503
3659
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2504
3660
|
model: {
|
|
2505
|
-
id:
|
|
3661
|
+
id: string;
|
|
2506
3662
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2507
3663
|
inference_geo?: string;
|
|
2508
3664
|
speed?: "standard" | "fast";
|
|
@@ -2550,8 +3706,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
2550
3706
|
session_id: string;
|
|
2551
3707
|
message_id: string;
|
|
2552
3708
|
} | null;
|
|
3709
|
+
readonly external_user_id: string | null;
|
|
3710
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2553
3711
|
}>;
|
|
2554
3712
|
};
|
|
3713
|
+
skills: {
|
|
3714
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SkillsCreateData>) => Promise<Types.AgentManaged308>;
|
|
3715
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SkillsDeleteData>) => Promise<Types.AgentManaged310>;
|
|
3716
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.SkillsListData> | undefined) => Promise<{
|
|
3717
|
+
data: Array<Types.AgentManaged308>;
|
|
3718
|
+
next_page: string | null;
|
|
3719
|
+
}>;
|
|
3720
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsRetrieveData>) => Promise<Types.AgentManaged308>;
|
|
3721
|
+
versions: {
|
|
3722
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsCreateData>) => Promise<Types.AgentManaged311>;
|
|
3723
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDeleteData>) => Promise<Types.AgentManaged312>;
|
|
3724
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsListData>) => Promise<{
|
|
3725
|
+
data: Array<Types.AgentManaged311>;
|
|
3726
|
+
next_page: string | null;
|
|
3727
|
+
}>;
|
|
3728
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsRetrieveData>) => Promise<Types.AgentManaged311>;
|
|
3729
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDownloadData>) => Promise<Blob | File>;
|
|
3730
|
+
};
|
|
3731
|
+
};
|
|
2555
3732
|
toolsets: {
|
|
2556
3733
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
|
|
2557
3734
|
data: Array<{
|
|
@@ -2624,6 +3801,11 @@ export declare function createApplication(transport: Transport): {
|
|
|
2624
3801
|
};
|
|
2625
3802
|
update: (options: import("./core/transport.js").CallOptions<Types.ApplicationUpdateWorkerData>) => Promise<Types.ApplicationWorker>;
|
|
2626
3803
|
versions: {
|
|
3804
|
+
assets: {
|
|
3805
|
+
retrieveManifest: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionAssetManifestData>) => Promise<{
|
|
3806
|
+
manifest: Types.ApplicationAssetManifest;
|
|
3807
|
+
}>;
|
|
3808
|
+
};
|
|
2627
3809
|
create: (options: import("./core/transport.js").CallOptions<Types.ApplicationCreateVersionData>) => Promise<Types.ApplicationCreateVersionResult>;
|
|
2628
3810
|
list: (options: import("./core/transport.js").CallOptions<Types.ApplicationListVersionsData>) => Promise<import("./automation.js").Page<Types.ApplicationVersion>>;
|
|
2629
3811
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.ApplicationGetVersionData>) => Promise<Types.ApplicationVersion>;
|
|
@@ -2877,6 +4059,14 @@ export declare function createFile(transport: Transport): {
|
|
|
2877
4059
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
2878
4060
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
|
|
2879
4061
|
};
|
|
4062
|
+
uploads: {
|
|
4063
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4064
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4065
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4066
|
+
parts: {
|
|
4067
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
4068
|
+
};
|
|
4069
|
+
};
|
|
2880
4070
|
};
|
|
2881
4071
|
export declare function createKnowledge(transport: Transport): {
|
|
2882
4072
|
vectorStores: {
|
|
@@ -3579,6 +4769,17 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3579
4769
|
}>;
|
|
3580
4770
|
};
|
|
3581
4771
|
feedback: {
|
|
4772
|
+
counts: {
|
|
4773
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationFeedbackCountsData> | undefined) => Promise<{
|
|
4774
|
+
object: "feedback.counts";
|
|
4775
|
+
open: number;
|
|
4776
|
+
awaiting_customer: number;
|
|
4777
|
+
in_progress: number;
|
|
4778
|
+
resolved: number;
|
|
4779
|
+
closed: number;
|
|
4780
|
+
total: number;
|
|
4781
|
+
}>;
|
|
4782
|
+
};
|
|
3582
4783
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateOrganizationFeedbackData>) => Promise<{
|
|
3583
4784
|
id: string;
|
|
3584
4785
|
}>;
|
|
@@ -3600,6 +4801,14 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3600
4801
|
unread: boolean;
|
|
3601
4802
|
create_time: string;
|
|
3602
4803
|
update_time: string;
|
|
4804
|
+
reporter?: {
|
|
4805
|
+
type?: "user" | "api_key" | "agent_session";
|
|
4806
|
+
};
|
|
4807
|
+
last_message_preview?: {
|
|
4808
|
+
author_kind?: "customer" | "staff" | "system";
|
|
4809
|
+
body?: string;
|
|
4810
|
+
create_time?: string;
|
|
4811
|
+
} | null;
|
|
3603
4812
|
attachments: Array<{
|
|
3604
4813
|
id?: string;
|
|
3605
4814
|
name?: string;
|
|
@@ -3618,6 +4827,7 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3618
4827
|
feedback_id: string;
|
|
3619
4828
|
author: {
|
|
3620
4829
|
kind?: "customer" | "staff" | "system";
|
|
4830
|
+
name?: string;
|
|
3621
4831
|
};
|
|
3622
4832
|
body: string;
|
|
3623
4833
|
event?: {
|
|
@@ -3642,6 +4852,7 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3642
4852
|
feedback_id: string;
|
|
3643
4853
|
author: {
|
|
3644
4854
|
kind?: "customer" | "staff" | "system";
|
|
4855
|
+
name?: string;
|
|
3645
4856
|
};
|
|
3646
4857
|
body: string;
|
|
3647
4858
|
event?: {
|
|
@@ -3678,6 +4889,14 @@ export declare function createOrganization(transport: Transport): {
|
|
|
3678
4889
|
unread: boolean;
|
|
3679
4890
|
create_time: string;
|
|
3680
4891
|
update_time: string;
|
|
4892
|
+
reporter?: {
|
|
4893
|
+
type?: "user" | "api_key" | "agent_session";
|
|
4894
|
+
};
|
|
4895
|
+
last_message_preview?: {
|
|
4896
|
+
author_kind?: "customer" | "staff" | "system";
|
|
4897
|
+
body?: string;
|
|
4898
|
+
create_time?: string;
|
|
4899
|
+
} | null;
|
|
3681
4900
|
attachments: Array<{
|
|
3682
4901
|
id?: string;
|
|
3683
4902
|
name?: string;
|
|
@@ -3891,6 +5110,120 @@ export declare function createSearch(transport: Transport): {
|
|
|
3891
5110
|
}>;
|
|
3892
5111
|
};
|
|
3893
5112
|
};
|
|
5113
|
+
export declare function createTicket(transport: Transport): {
|
|
5114
|
+
activity: {
|
|
5115
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
|
|
5116
|
+
activity: Array<Types.TicketActivity>;
|
|
5117
|
+
next_page_token: string;
|
|
5118
|
+
}>;
|
|
5119
|
+
};
|
|
5120
|
+
comments: {
|
|
5121
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
|
|
5122
|
+
reactions: {
|
|
5123
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5124
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5125
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
|
|
5126
|
+
reactions: Array<Types.TicketReaction>;
|
|
5127
|
+
next_page_token: string;
|
|
5128
|
+
}>;
|
|
5129
|
+
};
|
|
5130
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5131
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5132
|
+
};
|
|
5133
|
+
labels: {
|
|
5134
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
|
|
5135
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
|
|
5136
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
|
|
5137
|
+
labels: Array<Types.TicketLabel>;
|
|
5138
|
+
next_page_token: string;
|
|
5139
|
+
}>;
|
|
5140
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
|
|
5141
|
+
};
|
|
5142
|
+
milestones: {
|
|
5143
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
|
|
5144
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
|
|
5145
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
|
|
5146
|
+
milestones: Array<Types.TicketMilestone>;
|
|
5147
|
+
next_page_token: string;
|
|
5148
|
+
}>;
|
|
5149
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5150
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5151
|
+
};
|
|
5152
|
+
repositories: {
|
|
5153
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
|
|
5154
|
+
repositories: Array<Types.TicketRepository>;
|
|
5155
|
+
next_page_token: string;
|
|
5156
|
+
}>;
|
|
5157
|
+
};
|
|
5158
|
+
tickets: {
|
|
5159
|
+
comments: {
|
|
5160
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
|
|
5161
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
|
|
5162
|
+
comments: Array<Types.TicketComment>;
|
|
5163
|
+
next_page_token: string;
|
|
5164
|
+
}>;
|
|
5165
|
+
};
|
|
5166
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
|
|
5167
|
+
deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
|
|
5168
|
+
dependencies: {
|
|
5169
|
+
blockedBy: {
|
|
5170
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
|
|
5171
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
|
|
5172
|
+
};
|
|
5173
|
+
retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
|
|
5174
|
+
tickets: Array<Types.TicketRecord>;
|
|
5175
|
+
next_page_token: string;
|
|
5176
|
+
}>;
|
|
5177
|
+
retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
|
|
5178
|
+
tickets: Array<Types.TicketRecord>;
|
|
5179
|
+
next_page_token: string;
|
|
5180
|
+
}>;
|
|
5181
|
+
};
|
|
5182
|
+
events: {
|
|
5183
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
|
|
5184
|
+
events: Array<Types.TicketEvent>;
|
|
5185
|
+
next_page_token: string;
|
|
5186
|
+
}>;
|
|
5187
|
+
};
|
|
5188
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
|
|
5189
|
+
tickets: Array<Types.TicketRecord>;
|
|
5190
|
+
next_page_token: string;
|
|
5191
|
+
total_size?: number;
|
|
5192
|
+
}>;
|
|
5193
|
+
reactions: {
|
|
5194
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5195
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5196
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
|
|
5197
|
+
reactions: Array<Types.TicketReaction>;
|
|
5198
|
+
next_page_token: string;
|
|
5199
|
+
}>;
|
|
5200
|
+
};
|
|
5201
|
+
relations: {
|
|
5202
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
|
|
5203
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
|
|
5204
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
|
|
5205
|
+
tickets: Array<Types.TicketRecord>;
|
|
5206
|
+
next_page_token: string;
|
|
5207
|
+
}>;
|
|
5208
|
+
};
|
|
5209
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5210
|
+
subTickets: {
|
|
5211
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
|
|
5212
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
|
|
5213
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
|
|
5214
|
+
tickets: Array<Types.TicketRecord>;
|
|
5215
|
+
next_page_token: string;
|
|
5216
|
+
}>;
|
|
5217
|
+
};
|
|
5218
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5219
|
+
updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
|
|
5220
|
+
};
|
|
5221
|
+
types: {
|
|
5222
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
|
|
5223
|
+
types: Array<Types.TicketType>;
|
|
5224
|
+
}>;
|
|
5225
|
+
};
|
|
5226
|
+
};
|
|
3894
5227
|
export declare function createVault(transport: Transport): {
|
|
3895
5228
|
authorizations: {
|
|
3896
5229
|
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
|
|
@@ -3960,5 +5293,6 @@ export declare const resourceFactories: {
|
|
|
3960
5293
|
organization: typeof createOrganization;
|
|
3961
5294
|
sandbox: typeof createSandbox;
|
|
3962
5295
|
search: typeof createSearch;
|
|
5296
|
+
ticket: typeof createTicket;
|
|
3963
5297
|
vault: typeof createVault;
|
|
3964
5298
|
};
|