@deepraxis/sdk 0.1.1-dev.80337c3 → 0.1.1-dev.830431a
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 +18 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +35 -5
- package/dist/generated/sdk.gen.js +82 -4
- package/dist/generated/types.gen.d.ts +543 -3
- package/dist/operations.generated.js +163 -4
- package/dist/resources.generated.d.ts +23 -0
- package/dist/resources.generated.js +16 -0
- package/package.json +1 -1
|
@@ -2382,6 +2382,91 @@ export type AgentSseEvent = ({
|
|
|
2382
2382
|
task_id: string | null;
|
|
2383
2383
|
}>;
|
|
2384
2384
|
};
|
|
2385
|
+
} | {
|
|
2386
|
+
/**
|
|
2387
|
+
* Always `system.notification_suppressed`. SSE event name of this frame; its data is a system.notification_suppressed payload. Pending background notifications started no run because the session hit its wake quota; reason says which.
|
|
2388
|
+
*/
|
|
2389
|
+
event?: 'system.notification_suppressed';
|
|
2390
|
+
/**
|
|
2391
|
+
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
2392
|
+
*/
|
|
2393
|
+
data?: {
|
|
2394
|
+
/**
|
|
2395
|
+
* Text of the block.
|
|
2396
|
+
*/
|
|
2397
|
+
id: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Always `system.notification_suppressed`. Pending background notifications started no run because the session hit its wake quota; reason says which.
|
|
2400
|
+
*/
|
|
2401
|
+
type: 'system.notification_suppressed';
|
|
2402
|
+
/**
|
|
2403
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
2404
|
+
*/
|
|
2405
|
+
processed_at: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Text of the block.
|
|
2408
|
+
*/
|
|
2409
|
+
session_thread_id?: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* The wake quota that held the batch.
|
|
2412
|
+
*/
|
|
2413
|
+
reason: 'hourly' | 'daily' | 'loop';
|
|
2414
|
+
/**
|
|
2415
|
+
* The pending system inputs that were dropped without a run.
|
|
2416
|
+
*/
|
|
2417
|
+
system_input_ids: Array<string>;
|
|
2418
|
+
/**
|
|
2419
|
+
* The distinct source kinds of those inputs, such as background_task or monitor.
|
|
2420
|
+
*/
|
|
2421
|
+
source_kinds: Array<string>;
|
|
2422
|
+
/**
|
|
2423
|
+
* A platform sentence that explains the pause; never the notification text.
|
|
2424
|
+
*/
|
|
2425
|
+
content: Array<{
|
|
2426
|
+
/**
|
|
2427
|
+
* Always `text`. A text block.
|
|
2428
|
+
*/
|
|
2429
|
+
type: 'text';
|
|
2430
|
+
/**
|
|
2431
|
+
* Text of the block.
|
|
2432
|
+
*/
|
|
2433
|
+
text: string;
|
|
2434
|
+
}>;
|
|
2435
|
+
};
|
|
2436
|
+
} | {
|
|
2437
|
+
/**
|
|
2438
|
+
* Always `system.notification_recorded`. SSE event name of this frame; its data is a system.notification_recorded payload. Pending background notifications were recorded without a run because the agent has no model.
|
|
2439
|
+
*/
|
|
2440
|
+
event?: 'system.notification_recorded';
|
|
2441
|
+
/**
|
|
2442
|
+
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
2443
|
+
*/
|
|
2444
|
+
data?: {
|
|
2445
|
+
/**
|
|
2446
|
+
* Text of the block.
|
|
2447
|
+
*/
|
|
2448
|
+
id: string;
|
|
2449
|
+
/**
|
|
2450
|
+
* Always `system.notification_recorded`. Pending background notifications were recorded without a run because the agent has no model.
|
|
2451
|
+
*/
|
|
2452
|
+
type: 'system.notification_recorded';
|
|
2453
|
+
/**
|
|
2454
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
2455
|
+
*/
|
|
2456
|
+
processed_at: string;
|
|
2457
|
+
/**
|
|
2458
|
+
* Text of the block.
|
|
2459
|
+
*/
|
|
2460
|
+
session_thread_id?: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* The pending system inputs that were recorded without a run.
|
|
2463
|
+
*/
|
|
2464
|
+
system_input_ids: Array<string>;
|
|
2465
|
+
/**
|
|
2466
|
+
* The distinct source kinds of those inputs.
|
|
2467
|
+
*/
|
|
2468
|
+
source_kinds: Array<string>;
|
|
2469
|
+
};
|
|
2385
2470
|
} | {
|
|
2386
2471
|
/**
|
|
2387
2472
|
* Always `session.forked`. SSE event name of this frame; its data is a session.forked payload. The session was created by forking another session.
|
|
@@ -2733,7 +2818,7 @@ export type AgentSseEvent = ({
|
|
|
2733
2818
|
/**
|
|
2734
2819
|
* Server-Sent Events event name of this frame.
|
|
2735
2820
|
*/
|
|
2736
|
-
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
2821
|
+
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'system.notification_suppressed' | 'system.notification_recorded' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
2737
2822
|
data: AgentSseData;
|
|
2738
2823
|
};
|
|
2739
2824
|
/**
|
|
@@ -20649,6 +20734,84 @@ export type SearchValidationError = {
|
|
|
20649
20734
|
};
|
|
20650
20735
|
}>;
|
|
20651
20736
|
};
|
|
20737
|
+
/**
|
|
20738
|
+
* What to share and the limits of its link.
|
|
20739
|
+
*/
|
|
20740
|
+
export type ShareCreateShareInput = {
|
|
20741
|
+
resource: ShareShareResource;
|
|
20742
|
+
/**
|
|
20743
|
+
* ISO 8601 instant after which the link answers 410; omit or null for a link that never expires, and it must be in the future.
|
|
20744
|
+
*/
|
|
20745
|
+
expire_time?: string | null;
|
|
20746
|
+
/**
|
|
20747
|
+
* Ask viewers to open the content without a download prompt; a limit, not a guarantee, because anyone who can read it can save it. Defaults to false.
|
|
20748
|
+
*/
|
|
20749
|
+
prevents_download?: boolean;
|
|
20750
|
+
};
|
|
20751
|
+
/**
|
|
20752
|
+
* One share, which is one revocable link to one object.
|
|
20753
|
+
*/
|
|
20754
|
+
export type ShareSharePermission = {
|
|
20755
|
+
/**
|
|
20756
|
+
* Share id, shr_ followed by 32 lowercase letters or digits; use it to retrieve or delete the share.
|
|
20757
|
+
*/
|
|
20758
|
+
id: string;
|
|
20759
|
+
/**
|
|
20760
|
+
* Object type tag; always share.permission.
|
|
20761
|
+
*/
|
|
20762
|
+
object: 'share.permission';
|
|
20763
|
+
/**
|
|
20764
|
+
* The organization that owns the share, taken from the credential that created it.
|
|
20765
|
+
*/
|
|
20766
|
+
organization_id: string;
|
|
20767
|
+
resource: ShareShareResource;
|
|
20768
|
+
/**
|
|
20769
|
+
* What the link grants; read only.
|
|
20770
|
+
*/
|
|
20771
|
+
roles: Array<'read'>;
|
|
20772
|
+
link: ShareSharePermissionLink;
|
|
20773
|
+
/**
|
|
20774
|
+
* ISO 8601 instant after which the link answers 410, or null when it never expires.
|
|
20775
|
+
*/
|
|
20776
|
+
expire_time: string | null;
|
|
20777
|
+
/**
|
|
20778
|
+
* Current state of the link; expired is derived from expire_time and revoked comes from delete.
|
|
20779
|
+
*/
|
|
20780
|
+
status: 'active' | 'expired' | 'revoked';
|
|
20781
|
+
/**
|
|
20782
|
+
* Who created the share, in the form user:{id}; the user behind the API key or session that made the call.
|
|
20783
|
+
*/
|
|
20784
|
+
created_by: string;
|
|
20785
|
+
/**
|
|
20786
|
+
* When the share was created, ISO 8601.
|
|
20787
|
+
*/
|
|
20788
|
+
create_time: string;
|
|
20789
|
+
/**
|
|
20790
|
+
* When the share was deleted, ISO 8601, or null while it has not been.
|
|
20791
|
+
*/
|
|
20792
|
+
revoke_time: string | null;
|
|
20793
|
+
/**
|
|
20794
|
+
* How many times the link was opened.
|
|
20795
|
+
*/
|
|
20796
|
+
open_count: number;
|
|
20797
|
+
/**
|
|
20798
|
+
* When the link was last opened, ISO 8601, or null if it never was.
|
|
20799
|
+
*/
|
|
20800
|
+
last_open_time: string | null;
|
|
20801
|
+
};
|
|
20802
|
+
/**
|
|
20803
|
+
* One page of shares, newest first.
|
|
20804
|
+
*/
|
|
20805
|
+
export type ShareSharePermissionPage = {
|
|
20806
|
+
/**
|
|
20807
|
+
* Shares in this page; continue with next_page_token when it is not null.
|
|
20808
|
+
*/
|
|
20809
|
+
data: Array<ShareSharePermission>;
|
|
20810
|
+
/**
|
|
20811
|
+
* Opaque token for page_token on the next request; null when no more shares remain.
|
|
20812
|
+
*/
|
|
20813
|
+
next_page_token: string | null;
|
|
20814
|
+
};
|
|
20652
20815
|
/**
|
|
20653
20816
|
* The genre catalog as this caller may use it today.
|
|
20654
20817
|
*/
|
|
@@ -20714,7 +20877,7 @@ export type StudioPlatform = {
|
|
|
20714
20877
|
*/
|
|
20715
20878
|
available_from?: 's3' | 's5' | 's7';
|
|
20716
20879
|
/**
|
|
20717
|
-
* Limit names still unconfirmed against the platform documentation; treat the listed values as provisional.
|
|
20880
|
+
* Limit names still unconfirmed against the platform documentation; treat the listed values as provisional. A name here is spelled as the matching `limits` key is, so it can be looked up there.
|
|
20718
20881
|
*/
|
|
20719
20882
|
unverified?: Array<string>;
|
|
20720
20883
|
};
|
|
@@ -25105,6 +25268,73 @@ export type AgentSseData = {
|
|
|
25105
25268
|
*/
|
|
25106
25269
|
task_id: string | null;
|
|
25107
25270
|
}>;
|
|
25271
|
+
} | {
|
|
25272
|
+
/**
|
|
25273
|
+
* Text of the block.
|
|
25274
|
+
*/
|
|
25275
|
+
id: string;
|
|
25276
|
+
/**
|
|
25277
|
+
* Always `system.notification_suppressed`. Pending background notifications started no run because the session hit its wake quota; reason says which.
|
|
25278
|
+
*/
|
|
25279
|
+
type: 'system.notification_suppressed';
|
|
25280
|
+
/**
|
|
25281
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
25282
|
+
*/
|
|
25283
|
+
processed_at: string;
|
|
25284
|
+
/**
|
|
25285
|
+
* Text of the block.
|
|
25286
|
+
*/
|
|
25287
|
+
session_thread_id?: string;
|
|
25288
|
+
/**
|
|
25289
|
+
* The wake quota that held the batch.
|
|
25290
|
+
*/
|
|
25291
|
+
reason: 'hourly' | 'daily' | 'loop';
|
|
25292
|
+
/**
|
|
25293
|
+
* The pending system inputs that were dropped without a run.
|
|
25294
|
+
*/
|
|
25295
|
+
system_input_ids: Array<string>;
|
|
25296
|
+
/**
|
|
25297
|
+
* The distinct source kinds of those inputs, such as background_task or monitor.
|
|
25298
|
+
*/
|
|
25299
|
+
source_kinds: Array<string>;
|
|
25300
|
+
/**
|
|
25301
|
+
* A platform sentence that explains the pause; never the notification text.
|
|
25302
|
+
*/
|
|
25303
|
+
content: Array<{
|
|
25304
|
+
/**
|
|
25305
|
+
* Always `text`. A text block.
|
|
25306
|
+
*/
|
|
25307
|
+
type: 'text';
|
|
25308
|
+
/**
|
|
25309
|
+
* Text of the block.
|
|
25310
|
+
*/
|
|
25311
|
+
text: string;
|
|
25312
|
+
}>;
|
|
25313
|
+
} | {
|
|
25314
|
+
/**
|
|
25315
|
+
* Text of the block.
|
|
25316
|
+
*/
|
|
25317
|
+
id: string;
|
|
25318
|
+
/**
|
|
25319
|
+
* Always `system.notification_recorded`. Pending background notifications were recorded without a run because the agent has no model.
|
|
25320
|
+
*/
|
|
25321
|
+
type: 'system.notification_recorded';
|
|
25322
|
+
/**
|
|
25323
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
25324
|
+
*/
|
|
25325
|
+
processed_at: string;
|
|
25326
|
+
/**
|
|
25327
|
+
* Text of the block.
|
|
25328
|
+
*/
|
|
25329
|
+
session_thread_id?: string;
|
|
25330
|
+
/**
|
|
25331
|
+
* The pending system inputs that were recorded without a run.
|
|
25332
|
+
*/
|
|
25333
|
+
system_input_ids: Array<string>;
|
|
25334
|
+
/**
|
|
25335
|
+
* The distinct source kinds of those inputs.
|
|
25336
|
+
*/
|
|
25337
|
+
source_kinds: Array<string>;
|
|
25108
25338
|
} | {
|
|
25109
25339
|
/**
|
|
25110
25340
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -36053,6 +36283,62 @@ export type SandboxTemplateBuild = {
|
|
|
36053
36283
|
diskSizeMB?: SandboxDiskSizeMb;
|
|
36054
36284
|
envdVersion?: SandboxEnvdVersion;
|
|
36055
36285
|
};
|
|
36286
|
+
/**
|
|
36287
|
+
* The object a share exposes, named by a type and an id.
|
|
36288
|
+
*/
|
|
36289
|
+
export type ShareShareResource = {
|
|
36290
|
+
/**
|
|
36291
|
+
* What kind of object is shared; file, canvas and media_asset create today.
|
|
36292
|
+
*/
|
|
36293
|
+
type: 'file' | 'artifact' | 'canvas' | 'media_asset';
|
|
36294
|
+
/**
|
|
36295
|
+
* Id of the object within its type. For a file, the id from the File API; for a canvas, the canvas id (cvs_...); for a media_asset, library_id/asset_id with a real library id (lib_...), never the default alias. An object that does not exist in this organization answers 404 RESOURCE_NOT_FOUND.
|
|
36296
|
+
*/
|
|
36297
|
+
id: string;
|
|
36298
|
+
};
|
|
36299
|
+
/**
|
|
36300
|
+
* The link a share hands out.
|
|
36301
|
+
*/
|
|
36302
|
+
export type ShareSharePermissionLink = {
|
|
36303
|
+
/**
|
|
36304
|
+
* What the link allows; view, which is read-only, is the only type.
|
|
36305
|
+
*/
|
|
36306
|
+
type: 'view';
|
|
36307
|
+
/**
|
|
36308
|
+
* Who can open the link; anonymous, meaning anyone holding it, is the only scope.
|
|
36309
|
+
*/
|
|
36310
|
+
scope: 'anonymous';
|
|
36311
|
+
/**
|
|
36312
|
+
* Whether the link asks viewers not to download; a limit, not a guarantee.
|
|
36313
|
+
*/
|
|
36314
|
+
prevents_download: boolean;
|
|
36315
|
+
/**
|
|
36316
|
+
* The link address to give to people; present only in the creation response, since the service stores a hash of it and cannot show it again.
|
|
36317
|
+
*/
|
|
36318
|
+
web_url?: string;
|
|
36319
|
+
};
|
|
36320
|
+
/**
|
|
36321
|
+
* The error envelope of every non-2xx response on this face.
|
|
36322
|
+
*/
|
|
36323
|
+
export type ShareShareError = {
|
|
36324
|
+
/**
|
|
36325
|
+
* Failure details; choose a recovery action from the operation's status and code descriptions.
|
|
36326
|
+
*/
|
|
36327
|
+
error: {
|
|
36328
|
+
/**
|
|
36329
|
+
* Machine-readable failure category such as INVALID_PARAMS or PERMISSION_NOT_FOUND; see the operation's error responses for what triggers each.
|
|
36330
|
+
*/
|
|
36331
|
+
code: string;
|
|
36332
|
+
/**
|
|
36333
|
+
* Human-readable reason; it names the offending field or condition and the action to take.
|
|
36334
|
+
*/
|
|
36335
|
+
message: string;
|
|
36336
|
+
/**
|
|
36337
|
+
* The request field or query parameter that caused the failure, or null when the failure concerns the request as a whole.
|
|
36338
|
+
*/
|
|
36339
|
+
param?: string | null;
|
|
36340
|
+
};
|
|
36341
|
+
};
|
|
36056
36342
|
/**
|
|
36057
36343
|
* One genre as configuration: the names the seven layers take for this kind of writing, the properties a draft carries, and the checks the software can decide.
|
|
36058
36344
|
*/
|
|
@@ -45695,6 +45981,10 @@ export type SandboxTemplateId = string;
|
|
|
45695
45981
|
* Build identifier returned by templates.create. It must belong to the selected template in your organization.
|
|
45696
45982
|
*/
|
|
45697
45983
|
export type SandboxBuildId = string;
|
|
45984
|
+
/**
|
|
45985
|
+
* Share id returned by shares.create or shares.list, in the form shr_ followed by 32 lowercase letters or digits; a link address is not accepted.
|
|
45986
|
+
*/
|
|
45987
|
+
export type ShareShareId = string;
|
|
45698
45988
|
/**
|
|
45699
45989
|
* Genre key from the genre list, such as novel_long or xiaohongshu_note; pass the key exactly, never the display name.
|
|
45700
45990
|
*/
|
|
@@ -47013,6 +47303,86 @@ export type GetAgentConsolidationResponses = {
|
|
|
47013
47303
|
};
|
|
47014
47304
|
};
|
|
47015
47305
|
export type GetAgentConsolidationResponse = GetAgentConsolidationResponses[keyof GetAgentConsolidationResponses];
|
|
47306
|
+
export type ListAgentInboxLettersData = {
|
|
47307
|
+
body?: never;
|
|
47308
|
+
path: {
|
|
47309
|
+
/**
|
|
47310
|
+
* The assume agent: its agent_… id, eight character identity number or handle, from agents.list or the praxis-assume MCP URL; resolved in your organization. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
47311
|
+
*/
|
|
47312
|
+
agent_id: string;
|
|
47313
|
+
};
|
|
47314
|
+
query?: {
|
|
47315
|
+
/**
|
|
47316
|
+
* Only true is accepted, which is also the default; this read lists waiting (unread) letters and nothing else.
|
|
47317
|
+
*/
|
|
47318
|
+
unread?: true;
|
|
47319
|
+
/**
|
|
47320
|
+
* How many of the newest unread letters to return, 1 to 50 (default 20); unread always counts every waiting letter.
|
|
47321
|
+
*/
|
|
47322
|
+
limit?: number;
|
|
47323
|
+
};
|
|
47324
|
+
url: '/agent/v1/agents/{agent_id}/inbox/letters';
|
|
47325
|
+
};
|
|
47326
|
+
export type ListAgentInboxLettersErrors = {
|
|
47327
|
+
/**
|
|
47328
|
+
* INVALID_PARAMS: limit is outside 1 to 50 or a query parameter is unsupported; ASSUME_AGENT_REQUIRED: the agent is not an assume agent, which is woken for mail by itself.
|
|
47329
|
+
*/
|
|
47330
|
+
400: unknown;
|
|
47331
|
+
/**
|
|
47332
|
+
* Authenticate with your organization API key or a console session.
|
|
47333
|
+
*/
|
|
47334
|
+
401: unknown;
|
|
47335
|
+
/**
|
|
47336
|
+
* permission_error: the credential's role or bound resources do not allow this operation. Use a key with access to the agent domain and its resources.
|
|
47337
|
+
*/
|
|
47338
|
+
403: AgentError;
|
|
47339
|
+
/**
|
|
47340
|
+
* AGENT_NOT_FOUND: no agent with this reference exists in your organization; list agents with agents.list.
|
|
47341
|
+
*/
|
|
47342
|
+
404: unknown;
|
|
47343
|
+
/**
|
|
47344
|
+
* UPSTREAM_UNAVAILABLE: the letters could not be read right now; retry later.
|
|
47345
|
+
*/
|
|
47346
|
+
502: unknown;
|
|
47347
|
+
};
|
|
47348
|
+
export type ListAgentInboxLettersError = ListAgentInboxLettersErrors[keyof ListAgentInboxLettersErrors];
|
|
47349
|
+
export type ListAgentInboxLettersResponses = {
|
|
47350
|
+
/**
|
|
47351
|
+
* The waiting mail: the full unread count and the newest unread letters. Nothing was marked read.
|
|
47352
|
+
*/
|
|
47353
|
+
200: {
|
|
47354
|
+
/**
|
|
47355
|
+
* How many delivered letters the agent has not read yet; can exceed the number of letters returned.
|
|
47356
|
+
*/
|
|
47357
|
+
unread: number;
|
|
47358
|
+
/**
|
|
47359
|
+
* The newest unread letters, at most limit, newest first; empty when nothing waits.
|
|
47360
|
+
*/
|
|
47361
|
+
letters: Array<{
|
|
47362
|
+
/**
|
|
47363
|
+
* Letter id (ltr_…); the same id the agent's inbox tool shows when it reads the letter, so a notice can name exactly which letters it announced.
|
|
47364
|
+
*/
|
|
47365
|
+
id: string;
|
|
47366
|
+
/**
|
|
47367
|
+
* Sender address: human:<user id> for a person or agent:agent_<x> for an agent; a ticket mention carries the address of whoever mentioned the agent.
|
|
47368
|
+
*/
|
|
47369
|
+
sender: string;
|
|
47370
|
+
/**
|
|
47371
|
+
* The sender's one-line summary of the letter; the body is not returned here and is read with the agent's inbox tool.
|
|
47372
|
+
*/
|
|
47373
|
+
summary: string;
|
|
47374
|
+
/**
|
|
47375
|
+
* Thread the letter belongs to, such as ticket:<repository>:<number> for a ticket mention; null when the sender named none.
|
|
47376
|
+
*/
|
|
47377
|
+
thread: string | null;
|
|
47378
|
+
/**
|
|
47379
|
+
* When the letter was written, RFC 3339; letters are ordered newest first.
|
|
47380
|
+
*/
|
|
47381
|
+
create_time: string;
|
|
47382
|
+
}>;
|
|
47383
|
+
};
|
|
47384
|
+
};
|
|
47385
|
+
export type ListAgentInboxLettersResponse = ListAgentInboxLettersResponses[keyof ListAgentInboxLettersResponses];
|
|
47016
47386
|
export type ApplyAgentVersionData = {
|
|
47017
47387
|
body?: never;
|
|
47018
47388
|
path: {
|
|
@@ -92285,7 +92655,7 @@ export type DevopsUnitsPushErrors = {
|
|
|
92285
92655
|
*/
|
|
92286
92656
|
404: DevopsDevOpsError;
|
|
92287
92657
|
/**
|
|
92288
|
-
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed; fetch the unit, reconcile your checkout and send the new head. UNIT_INVALID_STATE means the unit is not available (no machine or no checkout yet, or another transition is in flight), so there is nothing to push; read the unit's phase and retry once it has settled.
|
|
92658
|
+
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed; fetch the unit, reconcile your checkout and send the new head. PUSH_REJECTED_BY_HOOK means the machine's git ran a pre-push hook (lefthook, for example) and the hook refused: details.detail holds the hook's output and details.exitCode git's exit code; fix what the hook names, commit, and push again. PUSH_REJECTED_NON_FAST_FORWARD means the remote branch has commits your checkout lacks; fetch, reconcile and push again. UNIT_INVALID_STATE means the unit is not available (no machine or no checkout yet, or another transition is in flight), so there is nothing to push; read the unit's phase and retry once it has settled.
|
|
92289
92659
|
*/
|
|
92290
92660
|
409: DevopsDevOpsError;
|
|
92291
92661
|
/**
|
|
@@ -100351,6 +100721,176 @@ export type SearchMapResponses = {
|
|
|
100351
100721
|
};
|
|
100352
100722
|
};
|
|
100353
100723
|
export type SearchMapResponse = SearchMapResponses[keyof SearchMapResponses];
|
|
100724
|
+
export type ShareListPermissionsData = {
|
|
100725
|
+
body?: never;
|
|
100726
|
+
path?: never;
|
|
100727
|
+
query?: {
|
|
100728
|
+
/**
|
|
100729
|
+
* Only shares of this object type; file, canvas and media_asset create today.
|
|
100730
|
+
*/
|
|
100731
|
+
resource_type?: 'file' | 'artifact' | 'canvas' | 'media_asset';
|
|
100732
|
+
/**
|
|
100733
|
+
* Only shares of the object with this id, for example a file id from the File API or a media asset's library_id/asset_id; combine with resource_type.
|
|
100734
|
+
*/
|
|
100735
|
+
resource_id?: string;
|
|
100736
|
+
/**
|
|
100737
|
+
* Only shares in this state; omit to list every state.
|
|
100738
|
+
*/
|
|
100739
|
+
status?: 'active' | 'expired' | 'revoked';
|
|
100740
|
+
/**
|
|
100741
|
+
* Maximum shares in one page, from 1 to 100; defaults to 50.
|
|
100742
|
+
*/
|
|
100743
|
+
page_size?: number;
|
|
100744
|
+
/**
|
|
100745
|
+
* Opaque next_page_token from the preceding page with the same filters; omit on the first request.
|
|
100746
|
+
*/
|
|
100747
|
+
page_token?: string;
|
|
100748
|
+
};
|
|
100749
|
+
url: '/share/v1/permissions';
|
|
100750
|
+
};
|
|
100751
|
+
export type ShareListPermissionsErrors = {
|
|
100752
|
+
/**
|
|
100753
|
+
* INVALID_PARAMS means a body field, query value or identifier violates the documented format, or a field is not supported; RESOURCE_TYPE_UNSUPPORTED means the resource type cannot be shared yet. Correct the indicated field; the message names it.
|
|
100754
|
+
*/
|
|
100755
|
+
400: ShareShareError;
|
|
100756
|
+
/**
|
|
100757
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100758
|
+
*/
|
|
100759
|
+
401: ShareShareError;
|
|
100760
|
+
/**
|
|
100761
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
100762
|
+
*/
|
|
100763
|
+
403: ShareShareError;
|
|
100764
|
+
/**
|
|
100765
|
+
* RESOURCE_NOT_FOUND means the object to share does not exist in this organization, or the credential is not bound to it; read the file id from the File API and retry.
|
|
100766
|
+
*/
|
|
100767
|
+
404: ShareShareError;
|
|
100768
|
+
/**
|
|
100769
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
100770
|
+
*/
|
|
100771
|
+
500: ShareShareError;
|
|
100772
|
+
};
|
|
100773
|
+
export type ShareListPermissionsError = ShareListPermissionsErrors[keyof ShareListPermissionsErrors];
|
|
100774
|
+
export type ShareListPermissionsResponses = {
|
|
100775
|
+
/**
|
|
100776
|
+
* One page of shares, newest first.
|
|
100777
|
+
*/
|
|
100778
|
+
200: ShareSharePermissionPage;
|
|
100779
|
+
};
|
|
100780
|
+
export type ShareListPermissionsResponse = ShareListPermissionsResponses[keyof ShareListPermissionsResponses];
|
|
100781
|
+
export type ShareCreatePermissionData = {
|
|
100782
|
+
/**
|
|
100783
|
+
* The object to share and the limits of the link.
|
|
100784
|
+
*/
|
|
100785
|
+
body: ShareCreateShareInput;
|
|
100786
|
+
path?: never;
|
|
100787
|
+
query?: never;
|
|
100788
|
+
url: '/share/v1/permissions';
|
|
100789
|
+
};
|
|
100790
|
+
export type ShareCreatePermissionErrors = {
|
|
100791
|
+
/**
|
|
100792
|
+
* INVALID_PARAMS means a body field, query value or identifier violates the documented format, or a field is not supported; RESOURCE_TYPE_UNSUPPORTED means the resource type cannot be shared yet. Correct the indicated field; the message names it.
|
|
100793
|
+
*/
|
|
100794
|
+
400: ShareShareError;
|
|
100795
|
+
/**
|
|
100796
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100797
|
+
*/
|
|
100798
|
+
401: ShareShareError;
|
|
100799
|
+
/**
|
|
100800
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
100801
|
+
*/
|
|
100802
|
+
403: ShareShareError;
|
|
100803
|
+
/**
|
|
100804
|
+
* RESOURCE_NOT_FOUND means the object to share does not exist in this organization, or the credential is not bound to it; read the file id from the File API and retry.
|
|
100805
|
+
*/
|
|
100806
|
+
404: ShareShareError;
|
|
100807
|
+
/**
|
|
100808
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
100809
|
+
*/
|
|
100810
|
+
500: ShareShareError;
|
|
100811
|
+
};
|
|
100812
|
+
export type ShareCreatePermissionError = ShareCreatePermissionErrors[keyof ShareCreatePermissionErrors];
|
|
100813
|
+
export type ShareCreatePermissionResponses = {
|
|
100814
|
+
/**
|
|
100815
|
+
* The new share, including link.web_url, which is returned only in this response.
|
|
100816
|
+
*/
|
|
100817
|
+
201: ShareSharePermission;
|
|
100818
|
+
};
|
|
100819
|
+
export type ShareCreatePermissionResponse = ShareCreatePermissionResponses[keyof ShareCreatePermissionResponses];
|
|
100820
|
+
export type ShareDeletePermissionData = {
|
|
100821
|
+
body?: never;
|
|
100822
|
+
path: {
|
|
100823
|
+
/**
|
|
100824
|
+
* Share id returned by shares.create or shares.list, in the form shr_ followed by 32 lowercase letters or digits; a link address is not accepted.
|
|
100825
|
+
*/
|
|
100826
|
+
id: string;
|
|
100827
|
+
};
|
|
100828
|
+
query?: never;
|
|
100829
|
+
url: '/share/v1/permissions/{id}';
|
|
100830
|
+
};
|
|
100831
|
+
export type ShareDeletePermissionErrors = {
|
|
100832
|
+
/**
|
|
100833
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100834
|
+
*/
|
|
100835
|
+
401: ShareShareError;
|
|
100836
|
+
/**
|
|
100837
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
100838
|
+
*/
|
|
100839
|
+
403: ShareShareError;
|
|
100840
|
+
/**
|
|
100841
|
+
* PERMISSION_NOT_FOUND means the share does not exist in this organization, or the credential is not bound to its file; list shares to find an id you can reach.
|
|
100842
|
+
*/
|
|
100843
|
+
404: ShareShareError;
|
|
100844
|
+
/**
|
|
100845
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
100846
|
+
*/
|
|
100847
|
+
500: ShareShareError;
|
|
100848
|
+
};
|
|
100849
|
+
export type ShareDeletePermissionError = ShareDeletePermissionErrors[keyof ShareDeletePermissionErrors];
|
|
100850
|
+
export type ShareDeletePermissionResponses = {
|
|
100851
|
+
/**
|
|
100852
|
+
* The share is revoked; there is no body.
|
|
100853
|
+
*/
|
|
100854
|
+
204: void;
|
|
100855
|
+
};
|
|
100856
|
+
export type ShareDeletePermissionResponse = ShareDeletePermissionResponses[keyof ShareDeletePermissionResponses];
|
|
100857
|
+
export type ShareRetrievePermissionData = {
|
|
100858
|
+
body?: never;
|
|
100859
|
+
path: {
|
|
100860
|
+
/**
|
|
100861
|
+
* Share id returned by shares.create or shares.list, in the form shr_ followed by 32 lowercase letters or digits; a link address is not accepted.
|
|
100862
|
+
*/
|
|
100863
|
+
id: string;
|
|
100864
|
+
};
|
|
100865
|
+
query?: never;
|
|
100866
|
+
url: '/share/v1/permissions/{id}';
|
|
100867
|
+
};
|
|
100868
|
+
export type ShareRetrievePermissionErrors = {
|
|
100869
|
+
/**
|
|
100870
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100871
|
+
*/
|
|
100872
|
+
401: ShareShareError;
|
|
100873
|
+
/**
|
|
100874
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
100875
|
+
*/
|
|
100876
|
+
403: ShareShareError;
|
|
100877
|
+
/**
|
|
100878
|
+
* PERMISSION_NOT_FOUND means the share does not exist in this organization, or the credential is not bound to its file; list shares to find an id you can reach.
|
|
100879
|
+
*/
|
|
100880
|
+
404: ShareShareError;
|
|
100881
|
+
/**
|
|
100882
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
100883
|
+
*/
|
|
100884
|
+
500: ShareShareError;
|
|
100885
|
+
};
|
|
100886
|
+
export type ShareRetrievePermissionError = ShareRetrievePermissionErrors[keyof ShareRetrievePermissionErrors];
|
|
100887
|
+
export type ShareRetrievePermissionResponses = {
|
|
100888
|
+
/**
|
|
100889
|
+
* The share, without link.web_url.
|
|
100890
|
+
*/
|
|
100891
|
+
200: ShareSharePermission;
|
|
100892
|
+
};
|
|
100893
|
+
export type ShareRetrievePermissionResponse = ShareRetrievePermissionResponses[keyof ShareRetrievePermissionResponses];
|
|
100354
100894
|
export type StudioGenresListData = {
|
|
100355
100895
|
body?: never;
|
|
100356
100896
|
path?: never;
|