@deepraxis/sdk 0.1.0-dev.9d9e2b6 → 0.1.0-dev.d939e0f
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 +32 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +47 -1
- package/dist/generated/sdk.gen.js +118 -0
- package/dist/generated/types.gen.d.ts +636 -8
- package/dist/operations.generated.d.ts +120 -2
- package/dist/operations.generated.js +152 -8
- package/dist/resources.generated.d.ts +136 -0
- package/dist/resources.generated.js +16 -0
- package/package.json +1 -1
|
@@ -26430,6 +26430,350 @@ export type SetRunFeedbackResponses = {
|
|
|
26430
26430
|
};
|
|
26431
26431
|
};
|
|
26432
26432
|
export type SetRunFeedbackResponse = SetRunFeedbackResponses[keyof SetRunFeedbackResponses];
|
|
26433
|
+
export type ListEndUsersData = {
|
|
26434
|
+
body?: never;
|
|
26435
|
+
path: {
|
|
26436
|
+
/**
|
|
26437
|
+
* Active service agent identifier from agent creation or listing.
|
|
26438
|
+
*/
|
|
26439
|
+
agent_id: string;
|
|
26440
|
+
};
|
|
26441
|
+
query?: {
|
|
26442
|
+
/**
|
|
26443
|
+
* Maximum users per page; defaults to 20.
|
|
26444
|
+
*/
|
|
26445
|
+
limit?: number;
|
|
26446
|
+
/**
|
|
26447
|
+
* next_page from the previous response with the same agent, q and limit.
|
|
26448
|
+
*/
|
|
26449
|
+
page?: string;
|
|
26450
|
+
/**
|
|
26451
|
+
* Case-sensitive literal prefix of external_user_id; omit or use an empty string for all users.
|
|
26452
|
+
*/
|
|
26453
|
+
q?: string;
|
|
26454
|
+
};
|
|
26455
|
+
url: '/agent/v1/agents/{agent_id}/end_users';
|
|
26456
|
+
};
|
|
26457
|
+
export type ListEndUsersErrors = {
|
|
26458
|
+
/**
|
|
26459
|
+
* Invalid identifier, prefix, limit, cursor or blocklist size; correct the reported input.
|
|
26460
|
+
*/
|
|
26461
|
+
400: unknown;
|
|
26462
|
+
/**
|
|
26463
|
+
* Authenticate with a host credential.
|
|
26464
|
+
*/
|
|
26465
|
+
401: unknown;
|
|
26466
|
+
/**
|
|
26467
|
+
* Agent or requested user is unavailable to this caller, or the caller is an end user.
|
|
26468
|
+
*/
|
|
26469
|
+
404: unknown;
|
|
26470
|
+
};
|
|
26471
|
+
export type ListEndUsersResponses = {
|
|
26472
|
+
/**
|
|
26473
|
+
* Matching users and next page cursor.
|
|
26474
|
+
*/
|
|
26475
|
+
200: {
|
|
26476
|
+
/**
|
|
26477
|
+
* Items of this page, in the order requested by the call.
|
|
26478
|
+
*/
|
|
26479
|
+
data: Array<{
|
|
26480
|
+
/**
|
|
26481
|
+
* Host application's user identifier, scoped to this organization and agent.
|
|
26482
|
+
*/
|
|
26483
|
+
external_user_id: string;
|
|
26484
|
+
/**
|
|
26485
|
+
* Earliest session creation or token issuance time; null for a preemptively blocked user with no history.
|
|
26486
|
+
*/
|
|
26487
|
+
first_seen_at: string | null;
|
|
26488
|
+
/**
|
|
26489
|
+
* Latest session update or token issuance time; null when there is no history.
|
|
26490
|
+
*/
|
|
26491
|
+
last_active_at: string | null;
|
|
26492
|
+
/**
|
|
26493
|
+
* Total sessions for this end user on this agent.
|
|
26494
|
+
*/
|
|
26495
|
+
session_count: number;
|
|
26496
|
+
/**
|
|
26497
|
+
* Accumulated recorded session cost in millionths of a US dollar; zero when no cost has been recorded.
|
|
26498
|
+
*/
|
|
26499
|
+
cost_micro_usd: number;
|
|
26500
|
+
/**
|
|
26501
|
+
* Whether the embed policy currently prevents this user from receiving tokens and creating sessions.
|
|
26502
|
+
*/
|
|
26503
|
+
blocked: boolean;
|
|
26504
|
+
}>;
|
|
26505
|
+
/**
|
|
26506
|
+
* Cursor for the same agent, q and limit; null when exhausted.
|
|
26507
|
+
*/
|
|
26508
|
+
next_page: string | null;
|
|
26509
|
+
};
|
|
26510
|
+
};
|
|
26511
|
+
export type ListEndUsersResponse = ListEndUsersResponses[keyof ListEndUsersResponses];
|
|
26512
|
+
export type GetEndUserData = {
|
|
26513
|
+
body?: never;
|
|
26514
|
+
path: {
|
|
26515
|
+
/**
|
|
26516
|
+
* Active service agent identifier from agent creation or listing.
|
|
26517
|
+
*/
|
|
26518
|
+
agent_id: string;
|
|
26519
|
+
/**
|
|
26520
|
+
* Host user identifier supplied at issuance or from end-user listing.
|
|
26521
|
+
*/
|
|
26522
|
+
external_user_id: string;
|
|
26523
|
+
};
|
|
26524
|
+
query?: never;
|
|
26525
|
+
url: '/agent/v1/agents/{agent_id}/end_users/{external_user_id}';
|
|
26526
|
+
};
|
|
26527
|
+
export type GetEndUserErrors = {
|
|
26528
|
+
/**
|
|
26529
|
+
* Invalid identifier, prefix, limit, cursor or blocklist size; correct the reported input.
|
|
26530
|
+
*/
|
|
26531
|
+
400: unknown;
|
|
26532
|
+
/**
|
|
26533
|
+
* Authenticate with a host credential.
|
|
26534
|
+
*/
|
|
26535
|
+
401: unknown;
|
|
26536
|
+
/**
|
|
26537
|
+
* Agent or requested user is unavailable to this caller, or the caller is an end user.
|
|
26538
|
+
*/
|
|
26539
|
+
404: unknown;
|
|
26540
|
+
};
|
|
26541
|
+
export type GetEndUserResponses = {
|
|
26542
|
+
/**
|
|
26543
|
+
* Current end-user view.
|
|
26544
|
+
*/
|
|
26545
|
+
200: {
|
|
26546
|
+
/**
|
|
26547
|
+
* Host application's user identifier, scoped to this organization and agent.
|
|
26548
|
+
*/
|
|
26549
|
+
external_user_id: string;
|
|
26550
|
+
/**
|
|
26551
|
+
* Earliest session creation or token issuance time; null for a preemptively blocked user with no history.
|
|
26552
|
+
*/
|
|
26553
|
+
first_seen_at: string | null;
|
|
26554
|
+
/**
|
|
26555
|
+
* Latest session update or token issuance time; null when there is no history.
|
|
26556
|
+
*/
|
|
26557
|
+
last_active_at: string | null;
|
|
26558
|
+
/**
|
|
26559
|
+
* Total sessions for this end user on this agent.
|
|
26560
|
+
*/
|
|
26561
|
+
session_count: number;
|
|
26562
|
+
/**
|
|
26563
|
+
* Accumulated recorded session cost in millionths of a US dollar; zero when no cost has been recorded.
|
|
26564
|
+
*/
|
|
26565
|
+
cost_micro_usd: number;
|
|
26566
|
+
/**
|
|
26567
|
+
* Whether the embed policy currently prevents this user from receiving tokens and creating sessions.
|
|
26568
|
+
*/
|
|
26569
|
+
blocked: boolean;
|
|
26570
|
+
/**
|
|
26571
|
+
* Up to twenty sessions, ordered by most recent update first.
|
|
26572
|
+
*/
|
|
26573
|
+
recent_sessions: Array<{
|
|
26574
|
+
/**
|
|
26575
|
+
* Public sesn_ session identifier, usable with session retrieval.
|
|
26576
|
+
*/
|
|
26577
|
+
id: string;
|
|
26578
|
+
/**
|
|
26579
|
+
* Session title, or null when unset.
|
|
26580
|
+
*/
|
|
26581
|
+
title: string | null;
|
|
26582
|
+
/**
|
|
26583
|
+
* Session entry surface, or null when no surface was recorded.
|
|
26584
|
+
*/
|
|
26585
|
+
source: string | null;
|
|
26586
|
+
/**
|
|
26587
|
+
* Session creation time in UTC.
|
|
26588
|
+
*/
|
|
26589
|
+
created_at: string;
|
|
26590
|
+
/**
|
|
26591
|
+
* Most recent session update time in UTC.
|
|
26592
|
+
*/
|
|
26593
|
+
updated_at: string;
|
|
26594
|
+
}>;
|
|
26595
|
+
};
|
|
26596
|
+
};
|
|
26597
|
+
export type GetEndUserResponse = GetEndUserResponses[keyof GetEndUserResponses];
|
|
26598
|
+
export type RevokeEndUserTokensData = {
|
|
26599
|
+
body?: never;
|
|
26600
|
+
path: {
|
|
26601
|
+
/**
|
|
26602
|
+
* Active service agent identifier from agent creation or listing.
|
|
26603
|
+
*/
|
|
26604
|
+
agent_id: string;
|
|
26605
|
+
/**
|
|
26606
|
+
* Host user identifier supplied at issuance or from end-user listing.
|
|
26607
|
+
*/
|
|
26608
|
+
external_user_id: string;
|
|
26609
|
+
};
|
|
26610
|
+
query?: never;
|
|
26611
|
+
url: '/agent/v1/agents/{agent_id}/end_users/{external_user_id}/revoke_tokens';
|
|
26612
|
+
};
|
|
26613
|
+
export type RevokeEndUserTokensErrors = {
|
|
26614
|
+
/**
|
|
26615
|
+
* Invalid identifier, prefix, limit, cursor or blocklist size; correct the reported input.
|
|
26616
|
+
*/
|
|
26617
|
+
400: unknown;
|
|
26618
|
+
/**
|
|
26619
|
+
* Authenticate with a host credential.
|
|
26620
|
+
*/
|
|
26621
|
+
401: unknown;
|
|
26622
|
+
/**
|
|
26623
|
+
* Agent or requested user is unavailable to this caller, or the caller is an end user.
|
|
26624
|
+
*/
|
|
26625
|
+
404: unknown;
|
|
26626
|
+
/**
|
|
26627
|
+
* Credential revocation failed; grant timestamps remain unchanged. A requested block remains in effect; retry to finish revocation.
|
|
26628
|
+
*/
|
|
26629
|
+
502: unknown;
|
|
26630
|
+
};
|
|
26631
|
+
export type RevokeEndUserTokensResponses = {
|
|
26632
|
+
/**
|
|
26633
|
+
* Number of newly revoked grants.
|
|
26634
|
+
*/
|
|
26635
|
+
200: {
|
|
26636
|
+
/**
|
|
26637
|
+
* Number of previously unrevoked grants marked revoked by this request.
|
|
26638
|
+
*/
|
|
26639
|
+
revoked: number;
|
|
26640
|
+
};
|
|
26641
|
+
};
|
|
26642
|
+
export type RevokeEndUserTokensResponse = RevokeEndUserTokensResponses[keyof RevokeEndUserTokensResponses];
|
|
26643
|
+
export type BlockEndUserData = {
|
|
26644
|
+
body?: never;
|
|
26645
|
+
path: {
|
|
26646
|
+
/**
|
|
26647
|
+
* Active service agent identifier from agent creation or listing.
|
|
26648
|
+
*/
|
|
26649
|
+
agent_id: string;
|
|
26650
|
+
/**
|
|
26651
|
+
* Host user identifier supplied at issuance or from end-user listing.
|
|
26652
|
+
*/
|
|
26653
|
+
external_user_id: string;
|
|
26654
|
+
};
|
|
26655
|
+
query?: never;
|
|
26656
|
+
url: '/agent/v1/agents/{agent_id}/end_users/{external_user_id}/block';
|
|
26657
|
+
};
|
|
26658
|
+
export type BlockEndUserErrors = {
|
|
26659
|
+
/**
|
|
26660
|
+
* Invalid identifier, prefix, limit, cursor or blocklist size; correct the reported input.
|
|
26661
|
+
*/
|
|
26662
|
+
400: unknown;
|
|
26663
|
+
/**
|
|
26664
|
+
* Authenticate with a host credential.
|
|
26665
|
+
*/
|
|
26666
|
+
401: unknown;
|
|
26667
|
+
/**
|
|
26668
|
+
* Agent or requested user is unavailable to this caller, or the caller is an end user.
|
|
26669
|
+
*/
|
|
26670
|
+
404: unknown;
|
|
26671
|
+
/**
|
|
26672
|
+
* Configure an embed policy before blocking or unblocking; retry if a concurrent policy update caused the conflict.
|
|
26673
|
+
*/
|
|
26674
|
+
409: unknown;
|
|
26675
|
+
/**
|
|
26676
|
+
* Credential revocation failed; grant timestamps remain unchanged. A requested block remains in effect; retry to finish revocation.
|
|
26677
|
+
*/
|
|
26678
|
+
502: unknown;
|
|
26679
|
+
};
|
|
26680
|
+
export type BlockEndUserResponses = {
|
|
26681
|
+
/**
|
|
26682
|
+
* Current end-user view.
|
|
26683
|
+
*/
|
|
26684
|
+
200: {
|
|
26685
|
+
/**
|
|
26686
|
+
* Host application's user identifier, scoped to this organization and agent.
|
|
26687
|
+
*/
|
|
26688
|
+
external_user_id: string;
|
|
26689
|
+
/**
|
|
26690
|
+
* Earliest session creation or token issuance time; null for a preemptively blocked user with no history.
|
|
26691
|
+
*/
|
|
26692
|
+
first_seen_at: string | null;
|
|
26693
|
+
/**
|
|
26694
|
+
* Latest session update or token issuance time; null when there is no history.
|
|
26695
|
+
*/
|
|
26696
|
+
last_active_at: string | null;
|
|
26697
|
+
/**
|
|
26698
|
+
* Total sessions for this end user on this agent.
|
|
26699
|
+
*/
|
|
26700
|
+
session_count: number;
|
|
26701
|
+
/**
|
|
26702
|
+
* Accumulated recorded session cost in millionths of a US dollar; zero when no cost has been recorded.
|
|
26703
|
+
*/
|
|
26704
|
+
cost_micro_usd: number;
|
|
26705
|
+
/**
|
|
26706
|
+
* Whether the embed policy currently prevents this user from receiving tokens and creating sessions.
|
|
26707
|
+
*/
|
|
26708
|
+
blocked: boolean;
|
|
26709
|
+
};
|
|
26710
|
+
};
|
|
26711
|
+
export type BlockEndUserResponse = BlockEndUserResponses[keyof BlockEndUserResponses];
|
|
26712
|
+
export type UnblockEndUserData = {
|
|
26713
|
+
body?: never;
|
|
26714
|
+
path: {
|
|
26715
|
+
/**
|
|
26716
|
+
* Active service agent identifier from agent creation or listing.
|
|
26717
|
+
*/
|
|
26718
|
+
agent_id: string;
|
|
26719
|
+
/**
|
|
26720
|
+
* Host user identifier supplied at issuance or from end-user listing.
|
|
26721
|
+
*/
|
|
26722
|
+
external_user_id: string;
|
|
26723
|
+
};
|
|
26724
|
+
query?: never;
|
|
26725
|
+
url: '/agent/v1/agents/{agent_id}/end_users/{external_user_id}/unblock';
|
|
26726
|
+
};
|
|
26727
|
+
export type UnblockEndUserErrors = {
|
|
26728
|
+
/**
|
|
26729
|
+
* Invalid identifier, prefix, limit, cursor or blocklist size; correct the reported input.
|
|
26730
|
+
*/
|
|
26731
|
+
400: unknown;
|
|
26732
|
+
/**
|
|
26733
|
+
* Authenticate with a host credential.
|
|
26734
|
+
*/
|
|
26735
|
+
401: unknown;
|
|
26736
|
+
/**
|
|
26737
|
+
* Agent or requested user is unavailable to this caller, or the caller is an end user.
|
|
26738
|
+
*/
|
|
26739
|
+
404: unknown;
|
|
26740
|
+
/**
|
|
26741
|
+
* Configure an embed policy before blocking or unblocking; retry if a concurrent policy update caused the conflict.
|
|
26742
|
+
*/
|
|
26743
|
+
409: unknown;
|
|
26744
|
+
};
|
|
26745
|
+
export type UnblockEndUserResponses = {
|
|
26746
|
+
/**
|
|
26747
|
+
* Current end-user view.
|
|
26748
|
+
*/
|
|
26749
|
+
200: {
|
|
26750
|
+
/**
|
|
26751
|
+
* Host application's user identifier, scoped to this organization and agent.
|
|
26752
|
+
*/
|
|
26753
|
+
external_user_id: string;
|
|
26754
|
+
/**
|
|
26755
|
+
* Earliest session creation or token issuance time; null for a preemptively blocked user with no history.
|
|
26756
|
+
*/
|
|
26757
|
+
first_seen_at: string | null;
|
|
26758
|
+
/**
|
|
26759
|
+
* Latest session update or token issuance time; null when there is no history.
|
|
26760
|
+
*/
|
|
26761
|
+
last_active_at: string | null;
|
|
26762
|
+
/**
|
|
26763
|
+
* Total sessions for this end user on this agent.
|
|
26764
|
+
*/
|
|
26765
|
+
session_count: number;
|
|
26766
|
+
/**
|
|
26767
|
+
* Accumulated recorded session cost in millionths of a US dollar; zero when no cost has been recorded.
|
|
26768
|
+
*/
|
|
26769
|
+
cost_micro_usd: number;
|
|
26770
|
+
/**
|
|
26771
|
+
* Whether the embed policy currently prevents this user from receiving tokens and creating sessions.
|
|
26772
|
+
*/
|
|
26773
|
+
blocked: boolean;
|
|
26774
|
+
};
|
|
26775
|
+
};
|
|
26776
|
+
export type UnblockEndUserResponse = UnblockEndUserResponses[keyof UnblockEndUserResponses];
|
|
26433
26777
|
export type ListEmbedTokensData = {
|
|
26434
26778
|
body?: never;
|
|
26435
26779
|
path?: never;
|
|
@@ -28588,11 +28932,11 @@ export type ForkSessionResponses = {
|
|
|
28588
28932
|
*/
|
|
28589
28933
|
description: null | string;
|
|
28590
28934
|
/**
|
|
28591
|
-
*
|
|
28935
|
+
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
28592
28936
|
*/
|
|
28593
28937
|
mcp_servers: Array<{
|
|
28594
28938
|
/**
|
|
28595
|
-
*
|
|
28939
|
+
* Streamable HTTP transport.
|
|
28596
28940
|
*/
|
|
28597
28941
|
type: 'url';
|
|
28598
28942
|
/**
|
|
@@ -28600,9 +28944,69 @@ export type ForkSessionResponses = {
|
|
|
28600
28944
|
*/
|
|
28601
28945
|
name: string;
|
|
28602
28946
|
/**
|
|
28603
|
-
*
|
|
28947
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
28604
28948
|
*/
|
|
28605
28949
|
url: string;
|
|
28950
|
+
/**
|
|
28951
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
28952
|
+
*/
|
|
28953
|
+
headers?: {
|
|
28954
|
+
[key: string]: string;
|
|
28955
|
+
};
|
|
28956
|
+
/**
|
|
28957
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
28958
|
+
*/
|
|
28959
|
+
timeout_ms?: number;
|
|
28960
|
+
} | {
|
|
28961
|
+
/**
|
|
28962
|
+
* Legacy SSE transport.
|
|
28963
|
+
*/
|
|
28964
|
+
type: 'sse';
|
|
28965
|
+
/**
|
|
28966
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
28967
|
+
*/
|
|
28968
|
+
name: string;
|
|
28969
|
+
/**
|
|
28970
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
28971
|
+
*/
|
|
28972
|
+
url: string;
|
|
28973
|
+
/**
|
|
28974
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
28975
|
+
*/
|
|
28976
|
+
headers?: {
|
|
28977
|
+
[key: string]: string;
|
|
28978
|
+
};
|
|
28979
|
+
/**
|
|
28980
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
28981
|
+
*/
|
|
28982
|
+
timeout_ms?: number;
|
|
28983
|
+
} | {
|
|
28984
|
+
/**
|
|
28985
|
+
* Run a command on the agent computer.
|
|
28986
|
+
*/
|
|
28987
|
+
type: 'stdio';
|
|
28988
|
+
/**
|
|
28989
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
28990
|
+
*/
|
|
28991
|
+
name: string;
|
|
28992
|
+
/**
|
|
28993
|
+
* Executable command on the agent computer.
|
|
28994
|
+
*/
|
|
28995
|
+
command: string;
|
|
28996
|
+
/**
|
|
28997
|
+
* Command arguments; omitted means no arguments.
|
|
28998
|
+
*/
|
|
28999
|
+
args?: Array<string>;
|
|
29000
|
+
/**
|
|
29001
|
+
* Praxis extension: environment variables for the command on the agent computer.
|
|
29002
|
+
*/
|
|
29003
|
+
env?: {
|
|
29004
|
+
[key: string]: string;
|
|
29005
|
+
};
|
|
29006
|
+
/**
|
|
29007
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
29008
|
+
*/
|
|
29009
|
+
timeout_ms?: number;
|
|
28606
29010
|
}>;
|
|
28607
29011
|
/**
|
|
28608
29012
|
* Model identifier and configuration.
|
|
@@ -28693,11 +29097,11 @@ export type ForkSessionResponses = {
|
|
|
28693
29097
|
*/
|
|
28694
29098
|
description: null | string;
|
|
28695
29099
|
/**
|
|
28696
|
-
*
|
|
29100
|
+
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
28697
29101
|
*/
|
|
28698
29102
|
mcp_servers: Array<{
|
|
28699
29103
|
/**
|
|
28700
|
-
*
|
|
29104
|
+
* Streamable HTTP transport.
|
|
28701
29105
|
*/
|
|
28702
29106
|
type: 'url';
|
|
28703
29107
|
/**
|
|
@@ -28705,9 +29109,69 @@ export type ForkSessionResponses = {
|
|
|
28705
29109
|
*/
|
|
28706
29110
|
name: string;
|
|
28707
29111
|
/**
|
|
28708
|
-
*
|
|
29112
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
29113
|
+
*/
|
|
29114
|
+
url: string;
|
|
29115
|
+
/**
|
|
29116
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
29117
|
+
*/
|
|
29118
|
+
headers?: {
|
|
29119
|
+
[key: string]: string;
|
|
29120
|
+
};
|
|
29121
|
+
/**
|
|
29122
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
29123
|
+
*/
|
|
29124
|
+
timeout_ms?: number;
|
|
29125
|
+
} | {
|
|
29126
|
+
/**
|
|
29127
|
+
* Legacy SSE transport.
|
|
29128
|
+
*/
|
|
29129
|
+
type: 'sse';
|
|
29130
|
+
/**
|
|
29131
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
29132
|
+
*/
|
|
29133
|
+
name: string;
|
|
29134
|
+
/**
|
|
29135
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
28709
29136
|
*/
|
|
28710
29137
|
url: string;
|
|
29138
|
+
/**
|
|
29139
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
29140
|
+
*/
|
|
29141
|
+
headers?: {
|
|
29142
|
+
[key: string]: string;
|
|
29143
|
+
};
|
|
29144
|
+
/**
|
|
29145
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
29146
|
+
*/
|
|
29147
|
+
timeout_ms?: number;
|
|
29148
|
+
} | {
|
|
29149
|
+
/**
|
|
29150
|
+
* Run a command on the agent computer.
|
|
29151
|
+
*/
|
|
29152
|
+
type: 'stdio';
|
|
29153
|
+
/**
|
|
29154
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
29155
|
+
*/
|
|
29156
|
+
name: string;
|
|
29157
|
+
/**
|
|
29158
|
+
* Executable command on the agent computer.
|
|
29159
|
+
*/
|
|
29160
|
+
command: string;
|
|
29161
|
+
/**
|
|
29162
|
+
* Command arguments; omitted means no arguments.
|
|
29163
|
+
*/
|
|
29164
|
+
args?: Array<string>;
|
|
29165
|
+
/**
|
|
29166
|
+
* Praxis extension: environment variables for the command on the agent computer.
|
|
29167
|
+
*/
|
|
29168
|
+
env?: {
|
|
29169
|
+
[key: string]: string;
|
|
29170
|
+
};
|
|
29171
|
+
/**
|
|
29172
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
29173
|
+
*/
|
|
29174
|
+
timeout_ms?: number;
|
|
28711
29175
|
}>;
|
|
28712
29176
|
/**
|
|
28713
29177
|
* Model identifier and configuration.
|
|
@@ -30108,6 +30572,14 @@ export type ForkSessionResponses = {
|
|
|
30108
30572
|
*/
|
|
30109
30573
|
message_id: string;
|
|
30110
30574
|
} | null;
|
|
30575
|
+
/**
|
|
30576
|
+
* End-user identifier associated with the session, or null when none is recorded. Own-face extension; use external_user_id on sessions.list to find this user's sessions.
|
|
30577
|
+
*/
|
|
30578
|
+
readonly external_user_id: string | null;
|
|
30579
|
+
/**
|
|
30580
|
+
* Origin of the session: kit, iframe, hosted, api or automation; null when unavailable. Own-face extension; use source on sessions.list to filter by origin.
|
|
30581
|
+
*/
|
|
30582
|
+
readonly source: 'kit' | 'iframe' | 'hosted' | 'api' | 'automation' | null;
|
|
30111
30583
|
};
|
|
30112
30584
|
};
|
|
30113
30585
|
export type ForkSessionResponse = ForkSessionResponses[keyof ForkSessionResponses];
|
|
@@ -35974,9 +36446,9 @@ export type ListOrganizationFeedbackData = {
|
|
|
35974
36446
|
path?: never;
|
|
35975
36447
|
query?: {
|
|
35976
36448
|
/**
|
|
35977
|
-
* Only feedback in
|
|
36449
|
+
* Only feedback in these phases: a comma-separated list of open, awaiting_customer, in_progress, resolved or closed, for example open,in_progress; see the phase field of a feedback for what each means.
|
|
35978
36450
|
*/
|
|
35979
|
-
phase?:
|
|
36451
|
+
phase?: string;
|
|
35980
36452
|
/**
|
|
35981
36453
|
* Case-insensitive text matched against titles and message bodies.
|
|
35982
36454
|
*/
|
|
@@ -36075,6 +36547,32 @@ export type ListOrganizationFeedbackResponses = {
|
|
|
36075
36547
|
* When the feedback last changed.
|
|
36076
36548
|
*/
|
|
36077
36549
|
update_time: string;
|
|
36550
|
+
/**
|
|
36551
|
+
* How the feedback was submitted; only the kind is shown, never who.
|
|
36552
|
+
*/
|
|
36553
|
+
reporter?: {
|
|
36554
|
+
/**
|
|
36555
|
+
* user means a signed-in person, api_key means an API key, agent_session means an AI agent session.
|
|
36556
|
+
*/
|
|
36557
|
+
type?: 'user' | 'api_key' | 'agent_session';
|
|
36558
|
+
};
|
|
36559
|
+
/**
|
|
36560
|
+
* The latest message you can see, for list rows; phase-change events do not count.
|
|
36561
|
+
*/
|
|
36562
|
+
last_message_preview?: {
|
|
36563
|
+
/**
|
|
36564
|
+
* customer means your organization wrote it; staff means the support team; system means the automatic acknowledgement.
|
|
36565
|
+
*/
|
|
36566
|
+
author_kind?: 'customer' | 'staff' | 'system';
|
|
36567
|
+
/**
|
|
36568
|
+
* Plain text of the message, at most 120 characters.
|
|
36569
|
+
*/
|
|
36570
|
+
body?: string;
|
|
36571
|
+
/**
|
|
36572
|
+
* When the message was written.
|
|
36573
|
+
*/
|
|
36574
|
+
create_time?: string;
|
|
36575
|
+
} | null;
|
|
36078
36576
|
/**
|
|
36079
36577
|
* Files attached to this item; metadata only, bytes are never inlined.
|
|
36080
36578
|
*/
|
|
@@ -36216,6 +36714,54 @@ export type CreateOrganizationFeedbackResponses = {
|
|
|
36216
36714
|
};
|
|
36217
36715
|
};
|
|
36218
36716
|
export type CreateOrganizationFeedbackResponse = CreateOrganizationFeedbackResponses[keyof CreateOrganizationFeedbackResponses];
|
|
36717
|
+
export type GetOrganizationFeedbackCountsData = {
|
|
36718
|
+
body?: never;
|
|
36719
|
+
path?: never;
|
|
36720
|
+
query?: never;
|
|
36721
|
+
url: '/organization/v1/feedback/counts';
|
|
36722
|
+
};
|
|
36723
|
+
export type GetOrganizationFeedbackCountsErrors = {
|
|
36724
|
+
/**
|
|
36725
|
+
* Missing or invalid credential; authenticate with a valid API key, Console session, or machine token.
|
|
36726
|
+
*/
|
|
36727
|
+
401: unknown;
|
|
36728
|
+
};
|
|
36729
|
+
export type GetOrganizationFeedbackCountsResponses = {
|
|
36730
|
+
/**
|
|
36731
|
+
* Counts per phase.
|
|
36732
|
+
*/
|
|
36733
|
+
200: {
|
|
36734
|
+
/**
|
|
36735
|
+
* Object type tag, always feedback.counts.
|
|
36736
|
+
*/
|
|
36737
|
+
object: 'feedback.counts';
|
|
36738
|
+
/**
|
|
36739
|
+
* Feedback in phase open: submitted and not yet picked up.
|
|
36740
|
+
*/
|
|
36741
|
+
open: number;
|
|
36742
|
+
/**
|
|
36743
|
+
* Feedback in phase awaiting_customer: support is waiting for your reply.
|
|
36744
|
+
*/
|
|
36745
|
+
awaiting_customer: number;
|
|
36746
|
+
/**
|
|
36747
|
+
* Feedback in phase in_progress: support is working on it.
|
|
36748
|
+
*/
|
|
36749
|
+
in_progress: number;
|
|
36750
|
+
/**
|
|
36751
|
+
* Feedback in phase resolved: answered and marked solved.
|
|
36752
|
+
*/
|
|
36753
|
+
resolved: number;
|
|
36754
|
+
/**
|
|
36755
|
+
* Feedback in phase closed: closed without further action.
|
|
36756
|
+
*/
|
|
36757
|
+
closed: number;
|
|
36758
|
+
/**
|
|
36759
|
+
* All feedback of your organization.
|
|
36760
|
+
*/
|
|
36761
|
+
total: number;
|
|
36762
|
+
};
|
|
36763
|
+
};
|
|
36764
|
+
export type GetOrganizationFeedbackCountsResponse = GetOrganizationFeedbackCountsResponses[keyof GetOrganizationFeedbackCountsResponses];
|
|
36219
36765
|
export type GetOrganizationFeedbackData = {
|
|
36220
36766
|
body?: never;
|
|
36221
36767
|
path: {
|
|
@@ -36302,6 +36848,32 @@ export type GetOrganizationFeedbackResponses = {
|
|
|
36302
36848
|
* When the feedback last changed.
|
|
36303
36849
|
*/
|
|
36304
36850
|
update_time: string;
|
|
36851
|
+
/**
|
|
36852
|
+
* How the feedback was submitted; only the kind is shown, never who.
|
|
36853
|
+
*/
|
|
36854
|
+
reporter?: {
|
|
36855
|
+
/**
|
|
36856
|
+
* user means a signed-in person, api_key means an API key, agent_session means an AI agent session.
|
|
36857
|
+
*/
|
|
36858
|
+
type?: 'user' | 'api_key' | 'agent_session';
|
|
36859
|
+
};
|
|
36860
|
+
/**
|
|
36861
|
+
* The latest message you can see, for list rows; phase-change events do not count.
|
|
36862
|
+
*/
|
|
36863
|
+
last_message_preview?: {
|
|
36864
|
+
/**
|
|
36865
|
+
* customer means your organization wrote it; staff means the support team; system means the automatic acknowledgement.
|
|
36866
|
+
*/
|
|
36867
|
+
author_kind?: 'customer' | 'staff' | 'system';
|
|
36868
|
+
/**
|
|
36869
|
+
* Plain text of the message, at most 120 characters.
|
|
36870
|
+
*/
|
|
36871
|
+
body?: string;
|
|
36872
|
+
/**
|
|
36873
|
+
* When the message was written.
|
|
36874
|
+
*/
|
|
36875
|
+
create_time?: string;
|
|
36876
|
+
} | null;
|
|
36305
36877
|
/**
|
|
36306
36878
|
* Files attached to this item; metadata only, bytes are never inlined.
|
|
36307
36879
|
*/
|
|
@@ -36393,6 +36965,10 @@ export type ListOrganizationFeedbackMessagesResponses = {
|
|
|
36393
36965
|
* customer means your organization wrote it; staff means the support team wrote it; system means a recorded event or the automatic acknowledgement.
|
|
36394
36966
|
*/
|
|
36395
36967
|
kind?: 'customer' | 'staff' | 'system';
|
|
36968
|
+
/**
|
|
36969
|
+
* Display name of the support team member; present only when kind is staff.
|
|
36970
|
+
*/
|
|
36971
|
+
name?: string;
|
|
36396
36972
|
};
|
|
36397
36973
|
/**
|
|
36398
36974
|
* Markdown text of the message.
|
|
@@ -36532,6 +37108,10 @@ export type CreateOrganizationFeedbackMessageResponses = {
|
|
|
36532
37108
|
* customer means your organization wrote it; staff means the support team wrote it; system means a recorded event or the automatic acknowledgement.
|
|
36533
37109
|
*/
|
|
36534
37110
|
kind?: 'customer' | 'staff' | 'system';
|
|
37111
|
+
/**
|
|
37112
|
+
* Display name of the support team member; present only when kind is staff.
|
|
37113
|
+
*/
|
|
37114
|
+
name?: string;
|
|
36535
37115
|
};
|
|
36536
37116
|
/**
|
|
36537
37117
|
* Markdown text of the message.
|
|
@@ -41735,6 +42315,14 @@ export type SessionsListData = {
|
|
|
41735
42315
|
*/
|
|
41736
42316
|
limit?: number;
|
|
41737
42317
|
page?: null | string;
|
|
42318
|
+
/**
|
|
42319
|
+
* Filter by an exact end-user identifier (1–128 characters: A-Z, a-z, 0-9, underscore, dot, colon, at sign or hyphen). Keep this filter unchanged when following page.
|
|
42320
|
+
*/
|
|
42321
|
+
external_user_id?: string;
|
|
42322
|
+
/**
|
|
42323
|
+
* Filter by session origin: kit, iframe, hosted, api or automation. Keep this filter unchanged when following page.
|
|
42324
|
+
*/
|
|
42325
|
+
source?: 'kit' | 'iframe' | 'hosted' | 'api' | 'automation';
|
|
41738
42326
|
};
|
|
41739
42327
|
url: '/agent/v1/sessions';
|
|
41740
42328
|
};
|
|
@@ -41958,6 +42546,14 @@ export type SessionsListResponses = {
|
|
|
41958
42546
|
*/
|
|
41959
42547
|
message_id: string;
|
|
41960
42548
|
} | null;
|
|
42549
|
+
/**
|
|
42550
|
+
* End-user identifier associated with the session, or null when none is recorded. Own-face extension; use external_user_id on sessions.list to find this user's sessions.
|
|
42551
|
+
*/
|
|
42552
|
+
readonly external_user_id: string | null;
|
|
42553
|
+
/**
|
|
42554
|
+
* Origin of the session: kit, iframe, hosted, api or automation; null when unavailable. Own-face extension; use source on sessions.list to filter by origin.
|
|
42555
|
+
*/
|
|
42556
|
+
readonly source: 'kit' | 'iframe' | 'hosted' | 'api' | 'automation' | null;
|
|
41961
42557
|
}>;
|
|
41962
42558
|
/**
|
|
41963
42559
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -42259,6 +42855,14 @@ export type SessionsCreateResponses = {
|
|
|
42259
42855
|
*/
|
|
42260
42856
|
message_id: string;
|
|
42261
42857
|
} | null;
|
|
42858
|
+
/**
|
|
42859
|
+
* End-user identifier associated with the session, or null when none is recorded. Own-face extension; use external_user_id on sessions.list to find this user's sessions.
|
|
42860
|
+
*/
|
|
42861
|
+
readonly external_user_id: string | null;
|
|
42862
|
+
/**
|
|
42863
|
+
* Origin of the session: kit, iframe, hosted, api or automation; null when unavailable. Own-face extension; use source on sessions.list to filter by origin.
|
|
42864
|
+
*/
|
|
42865
|
+
readonly source: 'kit' | 'iframe' | 'hosted' | 'api' | 'automation' | null;
|
|
42262
42866
|
};
|
|
42263
42867
|
};
|
|
42264
42868
|
export type SessionsCreateResponse = SessionsCreateResponses[keyof SessionsCreateResponses];
|
|
@@ -42489,6 +43093,14 @@ export type SessionsRetrieveResponses = {
|
|
|
42489
43093
|
*/
|
|
42490
43094
|
message_id: string;
|
|
42491
43095
|
} | null;
|
|
43096
|
+
/**
|
|
43097
|
+
* End-user identifier associated with the session, or null when none is recorded. Own-face extension; use external_user_id on sessions.list to find this user's sessions.
|
|
43098
|
+
*/
|
|
43099
|
+
readonly external_user_id: string | null;
|
|
43100
|
+
/**
|
|
43101
|
+
* Origin of the session: kit, iframe, hosted, api or automation; null when unavailable. Own-face extension; use source on sessions.list to filter by origin.
|
|
43102
|
+
*/
|
|
43103
|
+
readonly source: 'kit' | 'iframe' | 'hosted' | 'api' | 'automation' | null;
|
|
42492
43104
|
};
|
|
42493
43105
|
};
|
|
42494
43106
|
export type SessionsRetrieveResponse = SessionsRetrieveResponses[keyof SessionsRetrieveResponses];
|
|
@@ -42759,6 +43371,14 @@ export type SessionsUpdateResponses = {
|
|
|
42759
43371
|
*/
|
|
42760
43372
|
message_id: string;
|
|
42761
43373
|
} | null;
|
|
43374
|
+
/**
|
|
43375
|
+
* End-user identifier associated with the session, or null when none is recorded. Own-face extension; use external_user_id on sessions.list to find this user's sessions.
|
|
43376
|
+
*/
|
|
43377
|
+
readonly external_user_id: string | null;
|
|
43378
|
+
/**
|
|
43379
|
+
* Origin of the session: kit, iframe, hosted, api or automation; null when unavailable. Own-face extension; use source on sessions.list to filter by origin.
|
|
43380
|
+
*/
|
|
43381
|
+
readonly source: 'kit' | 'iframe' | 'hosted' | 'api' | 'automation' | null;
|
|
42762
43382
|
};
|
|
42763
43383
|
};
|
|
42764
43384
|
export type SessionsUpdateResponse = SessionsUpdateResponses[keyof SessionsUpdateResponses];
|
|
@@ -42989,6 +43609,14 @@ export type SessionsArchiveResponses = {
|
|
|
42989
43609
|
*/
|
|
42990
43610
|
message_id: string;
|
|
42991
43611
|
} | null;
|
|
43612
|
+
/**
|
|
43613
|
+
* End-user identifier associated with the session, or null when none is recorded. Own-face extension; use external_user_id on sessions.list to find this user's sessions.
|
|
43614
|
+
*/
|
|
43615
|
+
readonly external_user_id: string | null;
|
|
43616
|
+
/**
|
|
43617
|
+
* Origin of the session: kit, iframe, hosted, api or automation; null when unavailable. Own-face extension; use source on sessions.list to filter by origin.
|
|
43618
|
+
*/
|
|
43619
|
+
readonly source: 'kit' | 'iframe' | 'hosted' | 'api' | 'automation' | null;
|
|
42992
43620
|
};
|
|
42993
43621
|
};
|
|
42994
43622
|
export type SessionsArchiveResponse = SessionsArchiveResponses[keyof SessionsArchiveResponses];
|