@deepraxis/sdk 0.2.0-dev.08079d2 → 0.2.0-dev.0b9c77a

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.
@@ -3521,7 +3521,7 @@ export declare const cutListExports: <ThrowOnError extends boolean = false>(opti
3521
3521
  /**
3522
3522
  * Create video export
3523
3523
  *
3524
- * Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
3524
+ * Start an asynchronous video export from the project, and optionally select revision and output settings. Omit both binding and folder and the export only produces a file: no library receives it, and on done file.url downloads it (the link is valid for one hour and is minted on every read). Name a binding from bindings.list (a writable one), or a folder, and the finished video is also imported into that media library, and on done asset identifies it in praxis.media. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. Each call starts a job, so retrieve a known job before retrying a submission.
3525
3525
  */
3526
3526
  export declare const cutCreateExport: <ThrowOnError extends boolean = false>(options: Options<CutCreateExportData, ThrowOnError>) => RequestResult<CutCreateExportResponses, CutCreateExportErrors, ThrowOnError>;
3527
3527
  /**
@@ -10078,7 +10078,7 @@ export const cutListExports = (options) => (options.client ?? client).get({
10078
10078
  /**
10079
10079
  * Create video export
10080
10080
  *
10081
- * Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.
10081
+ * Start an asynchronous video export from the project, and optionally select revision and output settings. Omit both binding and folder and the export only produces a file: no library receives it, and on done file.url downloads it (the link is valid for one hour and is minted on every read). Name a binding from bindings.list (a writable one), or a folder, and the finished video is also imported into that media library, and on done asset identifies it in praxis.media. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. Each call starts a job, so retrieve a known job before retrying a submission.
10082
10082
  */
10083
10083
  export const cutCreateExport = (options) => (options.client ?? client).post({
10084
10084
  security: [{
@@ -17169,7 +17169,7 @@ export type CutExportInput = {
17169
17169
  */
17170
17170
  output?: CutExportOutput;
17171
17171
  /**
17172
- * Writable binding name used as the export destination; omission uses default_upload. Naming a binding or a folder also imports the finished video into that media library as an asset. Omit both and the export is a file only; read file.url to download it.
17172
+ * Writable binding name the finished video is imported into; the response then carries asset. Omit binding and folder and nothing is imported (default_upload is not used here): the export is a file only, read file.url to download it within one hour.
17173
17173
  */
17174
17174
  binding?: string;
17175
17175
  revision?: CutRevision;
@@ -59809,7 +59809,7 @@ export type GetAgentEmbedPolicyErrors = {
59809
59809
  */
59810
59810
  404: unknown;
59811
59811
  /**
59812
- * EMBED_POLICY_REQUIRED: this agent has no saved embed settings yet, so there is nothing to read or merge into; open the agent's 嵌入设置 page in the console once and save, then retry. EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
59812
+ * EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
59813
59813
  */
59814
59814
  409: unknown;
59815
59815
  /**
@@ -59951,7 +59951,7 @@ export type UpdateAgentEmbedPolicyErrors = {
59951
59951
  */
59952
59952
  404: unknown;
59953
59953
  /**
59954
- * EMBED_POLICY_REQUIRED: this agent has no saved embed settings yet, so there is nothing to read or merge into; open the agent's 嵌入设置 page in the console once and save, then retry. EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
59954
+ * EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
59955
59955
  */
59956
59956
  409: unknown;
59957
59957
  /**
@@ -71494,6 +71494,27 @@ export type BrowserRunPageActionData = {
71494
71494
  * 为 true 时截取整页,否则只截当前视口。
71495
71495
  */
71496
71496
  fullPage?: boolean;
71497
+ /**
71498
+ * 只截这个矩形(CSS 像素,相对页面左上角),与 Playwright page.screenshot 的 clip 相同;省略时截视口或整页。与 fullPage 同用时相对整页;不同用时也相对页面。x、y 小于 0,或 width、height 不大于 0,返回 400 INVALID_PARAMS。
71499
+ */
71500
+ clip?: {
71501
+ /**
71502
+ * 矩形左上角的横坐标,CSS 像素,不小于 0。
71503
+ */
71504
+ x: number;
71505
+ /**
71506
+ * 矩形左上角的纵坐标,CSS 像素,不小于 0。
71507
+ */
71508
+ y: number;
71509
+ /**
71510
+ * 矩形宽度,CSS 像素,大于 0。
71511
+ */
71512
+ width: number;
71513
+ /**
71514
+ * 矩形高度,CSS 像素,大于 0。
71515
+ */
71516
+ height: number;
71517
+ };
71497
71518
  /**
71498
71519
  * 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
71499
71520
  */
@@ -12027,7 +12027,7 @@ export const operations = [
12027
12027
  "resource": "cut.projects.exports",
12028
12028
  "method": "create",
12029
12029
  "summary": "Create video export",
12030
- "description": "Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.",
12030
+ "description": "Start an asynchronous video export from the project, and optionally select revision and output settings. Omit both binding and folder and the export only produces a file: no library receives it, and on done file.url downloads it (the link is valid for one hour and is minted on every read). Name a binding from bindings.list (a writable one), or a folder, and the finished video is also imported into that media library, and on done asset identifies it in praxis.media. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. Each call starts a job, so retrieve a known job before retrying a submission.",
12031
12031
  "http": "POST",
12032
12032
  "path": "/cut/v1/projects/{project_id}/exports",
12033
12033
  "streaming": "no",
@@ -12065,7 +12065,7 @@ export const operations = [
12065
12065
  "name": "binding",
12066
12066
  "type": "string",
12067
12067
  "required": false,
12068
- "description": "Writable binding name used as the export destination; omission uses default_upload. Naming a binding or a folder also imports the finished video into that media library as an asset. Omit both and the export is a file only; read file.url to download it."
12068
+ "description": "Writable binding name the finished video is imported into; the response then carries asset. Omit binding and folder and nothing is imported (default_upload is not used here): the export is a file only, read file.url to download it within one hour."
12069
12069
  },
12070
12070
  {
12071
12071
  "name": "revision",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.2.0-dev.08079d2",
3
+ "version": "0.2.0-dev.0b9c77a",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {