@deepraxis/sdk 0.1.1-dev.7bc135e → 0.1.1-dev.7f17950
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 +33 -1
- package/dist/automation.d.ts +54 -0
- package/dist/core/transport.d.ts +9 -0
- package/dist/core/transport.js +12 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +61 -7
- package/dist/generated/sdk.gen.js +184 -6
- package/dist/generated/types.gen.d.ts +807 -26
- package/dist/operations.generated.d.ts +271 -12
- package/dist/operations.generated.js +333 -12
- package/dist/resources.generated.d.ts +63 -0
- package/dist/resources.generated.js +17 -0
- package/package.json +1 -1
|
@@ -4462,6 +4462,80 @@ export declare const operations: readonly [{
|
|
|
4462
4462
|
readonly required: false;
|
|
4463
4463
|
readonly fields: readonly [];
|
|
4464
4464
|
};
|
|
4465
|
+
}, {
|
|
4466
|
+
readonly resource: "automation.scripts.vaults";
|
|
4467
|
+
readonly method: "list";
|
|
4468
|
+
readonly summary: "List script vault bindings";
|
|
4469
|
+
readonly description: "Inspect the whole vaults attached to a saved script, including archived definitions, without reading secret values. Obtain ns and name from automation.scripts.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.";
|
|
4470
|
+
readonly http: "GET";
|
|
4471
|
+
readonly path: "/automation/v1/scripts/{ns}/{name}/vaults";
|
|
4472
|
+
readonly streaming: "no";
|
|
4473
|
+
readonly pagination: false;
|
|
4474
|
+
readonly pathParams: readonly [{
|
|
4475
|
+
readonly name: "ns";
|
|
4476
|
+
readonly sdkName: "ns";
|
|
4477
|
+
readonly description: "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.";
|
|
4478
|
+
}, {
|
|
4479
|
+
readonly name: "name";
|
|
4480
|
+
readonly sdkName: "name";
|
|
4481
|
+
readonly description: "Resource name from automation.scripts.list or create; combine with ns to identify the saved script.";
|
|
4482
|
+
}];
|
|
4483
|
+
readonly query: readonly [];
|
|
4484
|
+
}, {
|
|
4485
|
+
readonly resource: "automation.scripts.vaults";
|
|
4486
|
+
readonly method: "delete";
|
|
4487
|
+
readonly summary: "Delete a script vault binding";
|
|
4488
|
+
readonly description: "Remove the vault assignment from this saved script without deleting the vault or its secrets. Obtain aliases from automation.scripts.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.";
|
|
4489
|
+
readonly http: "DELETE";
|
|
4490
|
+
readonly path: "/automation/v1/scripts/{ns}/{name}/vaults/{alias}";
|
|
4491
|
+
readonly streaming: "no";
|
|
4492
|
+
readonly pagination: false;
|
|
4493
|
+
readonly pathParams: readonly [{
|
|
4494
|
+
readonly name: "ns";
|
|
4495
|
+
readonly sdkName: "ns";
|
|
4496
|
+
readonly description: "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.";
|
|
4497
|
+
}, {
|
|
4498
|
+
readonly name: "name";
|
|
4499
|
+
readonly sdkName: "name";
|
|
4500
|
+
readonly description: "Resource name from automation.scripts.list or create; combine with ns to identify the saved script.";
|
|
4501
|
+
}, {
|
|
4502
|
+
readonly name: "alias";
|
|
4503
|
+
readonly sdkName: "alias";
|
|
4504
|
+
readonly description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.";
|
|
4505
|
+
}];
|
|
4506
|
+
readonly query: readonly [];
|
|
4507
|
+
}, {
|
|
4508
|
+
readonly resource: "automation.scripts.vaults";
|
|
4509
|
+
readonly method: "set";
|
|
4510
|
+
readonly summary: "Set a script vault binding";
|
|
4511
|
+
readonly description: "Attach an entire active vault in your organization to a saved script, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {\"vault\":\"Production\"}.";
|
|
4512
|
+
readonly http: "PUT";
|
|
4513
|
+
readonly path: "/automation/v1/scripts/{ns}/{name}/vaults/{alias}";
|
|
4514
|
+
readonly streaming: "no";
|
|
4515
|
+
readonly pagination: false;
|
|
4516
|
+
readonly pathParams: readonly [{
|
|
4517
|
+
readonly name: "ns";
|
|
4518
|
+
readonly sdkName: "ns";
|
|
4519
|
+
readonly description: "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.";
|
|
4520
|
+
}, {
|
|
4521
|
+
readonly name: "name";
|
|
4522
|
+
readonly sdkName: "name";
|
|
4523
|
+
readonly description: "Resource name from automation.scripts.list or create; combine with ns to identify the saved script.";
|
|
4524
|
+
}, {
|
|
4525
|
+
readonly name: "alias";
|
|
4526
|
+
readonly sdkName: "alias";
|
|
4527
|
+
readonly description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.";
|
|
4528
|
+
}];
|
|
4529
|
+
readonly query: readonly [];
|
|
4530
|
+
readonly body: {
|
|
4531
|
+
readonly required: true;
|
|
4532
|
+
readonly fields: readonly [{
|
|
4533
|
+
readonly name: "vault";
|
|
4534
|
+
readonly type: "string";
|
|
4535
|
+
readonly required: true;
|
|
4536
|
+
readonly description: "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated.";
|
|
4537
|
+
}];
|
|
4538
|
+
};
|
|
4465
4539
|
}, {
|
|
4466
4540
|
readonly resource: "automation.scripts.versions";
|
|
4467
4541
|
readonly method: "list";
|
|
@@ -5312,6 +5386,80 @@ export declare const operations: readonly [{
|
|
|
5312
5386
|
readonly required: false;
|
|
5313
5387
|
readonly fields: readonly [];
|
|
5314
5388
|
};
|
|
5389
|
+
}, {
|
|
5390
|
+
readonly resource: "automation.workflows.vaults";
|
|
5391
|
+
readonly method: "list";
|
|
5392
|
+
readonly summary: "List workflow vault bindings";
|
|
5393
|
+
readonly description: "Inspect the whole vaults attached to a saved workflow, including archived definitions, without reading secret values. Obtain ns and name from automation.workflows.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.";
|
|
5394
|
+
readonly http: "GET";
|
|
5395
|
+
readonly path: "/automation/v1/workflows/{ns}/{name}/vaults";
|
|
5396
|
+
readonly streaming: "no";
|
|
5397
|
+
readonly pagination: false;
|
|
5398
|
+
readonly pathParams: readonly [{
|
|
5399
|
+
readonly name: "ns";
|
|
5400
|
+
readonly sdkName: "ns";
|
|
5401
|
+
readonly description: "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.";
|
|
5402
|
+
}, {
|
|
5403
|
+
readonly name: "name";
|
|
5404
|
+
readonly sdkName: "name";
|
|
5405
|
+
readonly description: "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.";
|
|
5406
|
+
}];
|
|
5407
|
+
readonly query: readonly [];
|
|
5408
|
+
}, {
|
|
5409
|
+
readonly resource: "automation.workflows.vaults";
|
|
5410
|
+
readonly method: "delete";
|
|
5411
|
+
readonly summary: "Delete a workflow vault binding";
|
|
5412
|
+
readonly description: "Remove the vault assignment from this saved workflow without deleting the vault or its secrets. Obtain aliases from automation.workflows.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.";
|
|
5413
|
+
readonly http: "DELETE";
|
|
5414
|
+
readonly path: "/automation/v1/workflows/{ns}/{name}/vaults/{alias}";
|
|
5415
|
+
readonly streaming: "no";
|
|
5416
|
+
readonly pagination: false;
|
|
5417
|
+
readonly pathParams: readonly [{
|
|
5418
|
+
readonly name: "ns";
|
|
5419
|
+
readonly sdkName: "ns";
|
|
5420
|
+
readonly description: "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.";
|
|
5421
|
+
}, {
|
|
5422
|
+
readonly name: "name";
|
|
5423
|
+
readonly sdkName: "name";
|
|
5424
|
+
readonly description: "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.";
|
|
5425
|
+
}, {
|
|
5426
|
+
readonly name: "alias";
|
|
5427
|
+
readonly sdkName: "alias";
|
|
5428
|
+
readonly description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.";
|
|
5429
|
+
}];
|
|
5430
|
+
readonly query: readonly [];
|
|
5431
|
+
}, {
|
|
5432
|
+
readonly resource: "automation.workflows.vaults";
|
|
5433
|
+
readonly method: "set";
|
|
5434
|
+
readonly summary: "Set a workflow vault binding";
|
|
5435
|
+
readonly description: "Attach an entire active vault in your organization to a saved workflow, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {\"vault\":\"Production\"}.";
|
|
5436
|
+
readonly http: "PUT";
|
|
5437
|
+
readonly path: "/automation/v1/workflows/{ns}/{name}/vaults/{alias}";
|
|
5438
|
+
readonly streaming: "no";
|
|
5439
|
+
readonly pagination: false;
|
|
5440
|
+
readonly pathParams: readonly [{
|
|
5441
|
+
readonly name: "ns";
|
|
5442
|
+
readonly sdkName: "ns";
|
|
5443
|
+
readonly description: "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.";
|
|
5444
|
+
}, {
|
|
5445
|
+
readonly name: "name";
|
|
5446
|
+
readonly sdkName: "name";
|
|
5447
|
+
readonly description: "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.";
|
|
5448
|
+
}, {
|
|
5449
|
+
readonly name: "alias";
|
|
5450
|
+
readonly sdkName: "alias";
|
|
5451
|
+
readonly description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.";
|
|
5452
|
+
}];
|
|
5453
|
+
readonly query: readonly [];
|
|
5454
|
+
readonly body: {
|
|
5455
|
+
readonly required: true;
|
|
5456
|
+
readonly fields: readonly [{
|
|
5457
|
+
readonly name: "vault";
|
|
5458
|
+
readonly type: "string";
|
|
5459
|
+
readonly required: true;
|
|
5460
|
+
readonly description: "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated.";
|
|
5461
|
+
}];
|
|
5462
|
+
};
|
|
5315
5463
|
}, {
|
|
5316
5464
|
readonly resource: "automation.workflows.versions";
|
|
5317
5465
|
readonly method: "list";
|
|
@@ -7548,6 +7696,30 @@ export declare const operations: readonly [{
|
|
|
7548
7696
|
readonly description: "ID of a tenant-owned live file, as returned by upload or list; starts with file-.";
|
|
7549
7697
|
}];
|
|
7550
7698
|
readonly query: readonly [];
|
|
7699
|
+
}, {
|
|
7700
|
+
readonly resource: "file.files.contentLinks";
|
|
7701
|
+
readonly method: "revoke";
|
|
7702
|
+
readonly summary: "Revoke a file content link";
|
|
7703
|
+
readonly description: "Stop a previously issued content link from reading a file. Use file_id from file creation or listing and the token path component from a content URL (/c/<token>), not the complete URL. The caller must own the file and have write access; a read-only binding is refused. Revocation propagates through the capability deny list within 30 seconds; the file and other links remain available. Only current IAM capability tokens can be revoked; legacy content links expire at the migration deadline. Example body: {\"token\":\"<token from /c/>\"}.";
|
|
7704
|
+
readonly http: "POST";
|
|
7705
|
+
readonly path: "/file/v1/files/{file_id}/content_links:revoke";
|
|
7706
|
+
readonly streaming: "no";
|
|
7707
|
+
readonly pagination: false;
|
|
7708
|
+
readonly pathParams: readonly [{
|
|
7709
|
+
readonly name: "file_id";
|
|
7710
|
+
readonly sdkName: "file_id";
|
|
7711
|
+
readonly description: "Tenant-owned file identifier returned by file creation or listing; the token must name this same file.";
|
|
7712
|
+
}];
|
|
7713
|
+
readonly query: readonly [];
|
|
7714
|
+
readonly body: {
|
|
7715
|
+
readonly required: true;
|
|
7716
|
+
readonly fields: readonly [{
|
|
7717
|
+
readonly name: "token";
|
|
7718
|
+
readonly type: "string";
|
|
7719
|
+
readonly required: true;
|
|
7720
|
+
readonly description: "Signed token taken from the /c/ path component of a previously issued file content URL, without the host or /c/ prefix.";
|
|
7721
|
+
}];
|
|
7722
|
+
};
|
|
7551
7723
|
}, {
|
|
7552
7724
|
readonly resource: "file.uploads";
|
|
7553
7725
|
readonly method: "create";
|
|
@@ -7594,6 +7766,52 @@ export declare const operations: readonly [{
|
|
|
7594
7766
|
readonly description: "Optional fixed part size in bytes, 5242880–64000000. Requires part_number on every part; retries of identical bytes at the same number return the same part. Omit to use arbitrary-sized parts.";
|
|
7595
7767
|
}];
|
|
7596
7768
|
};
|
|
7769
|
+
}, {
|
|
7770
|
+
readonly resource: "file.uploads";
|
|
7771
|
+
readonly method: "createSigned";
|
|
7772
|
+
readonly summary: "Create a one-time upload URL";
|
|
7773
|
+
readonly description: "Upload a local file of up to 2 GiB from a coding agent without sending bytes through the model. Provide basename, exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes), PUT each chunk to its numbered parts[].url in any order, then POST complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 3600 for multipart, at most 604800; all multipart URLs share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {\"filename\":\"photo.png\",\"bytes\":2048,\"content_type\":\"image/png\"}.";
|
|
7774
|
+
readonly http: "POST";
|
|
7775
|
+
readonly path: "/file/v1/uploads/signed";
|
|
7776
|
+
readonly streaming: "no";
|
|
7777
|
+
readonly pagination: false;
|
|
7778
|
+
readonly pathParams: readonly [];
|
|
7779
|
+
readonly query: readonly [];
|
|
7780
|
+
readonly body: {
|
|
7781
|
+
readonly required: true;
|
|
7782
|
+
readonly fields: readonly [{
|
|
7783
|
+
readonly name: "filename";
|
|
7784
|
+
readonly type: "string";
|
|
7785
|
+
readonly required: true;
|
|
7786
|
+
readonly description: "Stored basename, 1–255 UTF-8 bytes without control characters or path separators.";
|
|
7787
|
+
}, {
|
|
7788
|
+
readonly name: "bytes";
|
|
7789
|
+
readonly type: "integer";
|
|
7790
|
+
readonly required: true;
|
|
7791
|
+
readonly description: "Exact local file size in bytes, from 1 through 2147483648 (2 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs and a completion URL. Every PUT requires its exact signed Content-Length.";
|
|
7792
|
+
}, {
|
|
7793
|
+
readonly name: "content_type";
|
|
7794
|
+
readonly type: "string";
|
|
7795
|
+
readonly required: true;
|
|
7796
|
+
readonly description: "Declared MIME type, such as image/png. In single-PUT mode, send exactly this Content-Type or omit it. Stored file metadata is detected from the bytes in both modes.";
|
|
7797
|
+
}, {
|
|
7798
|
+
readonly name: "purpose";
|
|
7799
|
+
readonly type: "string";
|
|
7800
|
+
readonly enum: readonly ["user_data", "vision"];
|
|
7801
|
+
readonly required: false;
|
|
7802
|
+
readonly description: "user_data stores ordinary files and conversation images; vision accepts PNG, JPEG, GIF or WebP images only. Omitted means user_data.";
|
|
7803
|
+
}, {
|
|
7804
|
+
readonly name: "expires_in";
|
|
7805
|
+
readonly type: "integer";
|
|
7806
|
+
readonly required: false;
|
|
7807
|
+
readonly description: "Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 3600 for multipart. All part URLs and the completion URL share one expiry. This does not set the resulting file's lifetime.";
|
|
7808
|
+
}, {
|
|
7809
|
+
readonly name: "part_size";
|
|
7810
|
+
readonly type: "integer";
|
|
7811
|
+
readonly required: false;
|
|
7812
|
+
readonly description: "Fixed multipart chunk size in bytes, from 5242880 through 64000000; defaults to 64000000. Used only above 104857600 total bytes. The final part contains the remaining bytes; single-PUT mode keeps its existing response.";
|
|
7813
|
+
}];
|
|
7814
|
+
};
|
|
7597
7815
|
}, {
|
|
7598
7816
|
readonly resource: "file.uploads";
|
|
7599
7817
|
readonly method: "cancel";
|
|
@@ -8553,6 +8771,12 @@ export declare const operations: readonly [{
|
|
|
8553
8771
|
readonly enum: readonly ["image", "video", "raw", "auto"];
|
|
8554
8772
|
readonly required: false;
|
|
8555
8773
|
readonly description: "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto.";
|
|
8774
|
+
}, {
|
|
8775
|
+
readonly name: "type";
|
|
8776
|
+
readonly type: "string";
|
|
8777
|
+
readonly enum: readonly ["upload", "authenticated"];
|
|
8778
|
+
readonly required: false;
|
|
8779
|
+
readonly description: "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.";
|
|
8556
8780
|
}];
|
|
8557
8781
|
};
|
|
8558
8782
|
}, {
|
|
@@ -8576,7 +8800,7 @@ export declare const operations: readonly [{
|
|
|
8576
8800
|
readonly name: "file_id";
|
|
8577
8801
|
readonly type: "string";
|
|
8578
8802
|
readonly required: true;
|
|
8579
|
-
readonly description: "File ID to copy into this library
|
|
8803
|
+
readonly description: "File ID to copy into this library instead of file bytes. This independent copy defaults to public delivery; set type=authenticated for private delivery. Deleting the source File does not delete this asset.";
|
|
8580
8804
|
}, {
|
|
8581
8805
|
readonly name: "public_id";
|
|
8582
8806
|
readonly type: "string";
|
|
@@ -8643,6 +8867,12 @@ export declare const operations: readonly [{
|
|
|
8643
8867
|
readonly enum: readonly ["image", "video", "raw", "auto"];
|
|
8644
8868
|
readonly required: false;
|
|
8645
8869
|
readonly description: "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto.";
|
|
8870
|
+
}, {
|
|
8871
|
+
readonly name: "type";
|
|
8872
|
+
readonly type: "string";
|
|
8873
|
+
readonly enum: readonly ["upload", "authenticated"];
|
|
8874
|
+
readonly required: false;
|
|
8875
|
+
readonly description: "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.";
|
|
8646
8876
|
}];
|
|
8647
8877
|
};
|
|
8648
8878
|
}, {
|
|
@@ -8864,6 +9094,35 @@ export declare const operations: readonly [{
|
|
|
8864
9094
|
readonly description: "Batch identifier returned by createBatch or batchAssets; resolved within this library.";
|
|
8865
9095
|
}];
|
|
8866
9096
|
readonly query: readonly [];
|
|
9097
|
+
}, {
|
|
9098
|
+
readonly resource: "media.libraries.deliveryTokens";
|
|
9099
|
+
readonly method: "create";
|
|
9100
|
+
readonly summary: "Create delivery token";
|
|
9101
|
+
readonly description: "Issue a time-limited bearer token for originals and transformed authenticated assets in an active library. Use library_id from library creation or listing; read access is sufficient. Append token as the __cld_token__ query parameter on a matching delivery URL. The default ACL covers this library and the default lifetime is 3600 seconds; narrow acl and expires_in before sharing. Anyone holding the token can read matching paths until expires_at.";
|
|
9102
|
+
readonly http: "POST";
|
|
9103
|
+
readonly path: "/media/v1/libraries/{library_id}/delivery_tokens";
|
|
9104
|
+
readonly streaming: "no";
|
|
9105
|
+
readonly pagination: false;
|
|
9106
|
+
readonly pathParams: readonly [{
|
|
9107
|
+
readonly name: "library_id";
|
|
9108
|
+
readonly sdkName: "library_id";
|
|
9109
|
+
readonly description: "Library ID returned by creation.";
|
|
9110
|
+
}];
|
|
9111
|
+
readonly query: readonly [];
|
|
9112
|
+
readonly body: {
|
|
9113
|
+
readonly required: true;
|
|
9114
|
+
readonly fields: readonly [{
|
|
9115
|
+
readonly name: "acl";
|
|
9116
|
+
readonly type: "string";
|
|
9117
|
+
readonly required: false;
|
|
9118
|
+
readonly description: "Delivery path glob restricted to the library path prefix (a slash, library_id, then a slash). Defaults to that prefix followed by *; * matches any path text. Tildes and control characters are rejected.";
|
|
9119
|
+
}, {
|
|
9120
|
+
readonly name: "expires_in";
|
|
9121
|
+
readonly type: "integer";
|
|
9122
|
+
readonly required: false;
|
|
9123
|
+
readonly description: "Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 3600.";
|
|
9124
|
+
}];
|
|
9125
|
+
};
|
|
8867
9126
|
}, {
|
|
8868
9127
|
readonly resource: "media.libraries.events";
|
|
8869
9128
|
readonly method: "list";
|
|
@@ -11807,7 +12066,7 @@ export declare const operations: readonly [{
|
|
|
11807
12066
|
readonly resource: "sandbox.sandboxes.commands";
|
|
11808
12067
|
readonly method: "run";
|
|
11809
12068
|
readonly summary: "Run a command in the sandbox";
|
|
11810
|
-
readonly description: "Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–
|
|
12069
|
+
readonly description: "Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–3600000 milliseconds, default 600000, that is 10 minutes; E2B defaults to 60000). Unlike E2B, this endpoint is synchronous only: no background mode, callbacks or unlimited timeout (timeoutMs 0); output is bounded to 1 MiB including stream framing. Nonzero exit codes return 200 with the result. A timeout returns COMMAND_TIMEOUT (504); transport timeout does not confirm process termination, so do not blindly retry commands with side effects. Example body: {\"cmd\":\"echo hi\"}.";
|
|
11811
12070
|
readonly http: "POST";
|
|
11812
12071
|
readonly path: "/sandbox/v1/sandboxes/{sandbox_id}/commands";
|
|
11813
12072
|
readonly streaming: "no";
|
|
@@ -11839,7 +12098,7 @@ export declare const operations: readonly [{
|
|
|
11839
12098
|
readonly name: "timeoutMs";
|
|
11840
12099
|
readonly type: "integer";
|
|
11841
12100
|
readonly required: false;
|
|
11842
|
-
readonly description: "Execution timeout in milliseconds, from 1 to
|
|
12101
|
+
readonly description: "Execution timeout in milliseconds, from 1 to 3600000 (1 hour); defaults to 600000 (10 minutes).";
|
|
11843
12102
|
}];
|
|
11844
12103
|
};
|
|
11845
12104
|
}, {
|
|
@@ -12817,7 +13076,7 @@ export declare const operations: readonly [{
|
|
|
12817
13076
|
readonly resource: "ticket.milestones";
|
|
12818
13077
|
readonly method: "create";
|
|
12819
13078
|
readonly summary: "Create or add milestones";
|
|
12820
|
-
readonly description: "Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result.
|
|
13079
|
+
readonly description: "Create or add milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.";
|
|
12821
13080
|
readonly http: "POST";
|
|
12822
13081
|
readonly path: "/ticket/v1/milestones";
|
|
12823
13082
|
readonly streaming: "no";
|
|
@@ -12858,7 +13117,7 @@ export declare const operations: readonly [{
|
|
|
12858
13117
|
readonly resource: "ticket.milestones";
|
|
12859
13118
|
readonly method: "delete";
|
|
12860
13119
|
readonly summary: "Remove milestones";
|
|
12861
|
-
readonly description: "Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result.
|
|
13120
|
+
readonly description: "Remove milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.";
|
|
12862
13121
|
readonly http: "DELETE";
|
|
12863
13122
|
readonly path: "/ticket/v1/milestones/{number}";
|
|
12864
13123
|
readonly streaming: "no";
|
|
@@ -12900,7 +13159,7 @@ export declare const operations: readonly [{
|
|
|
12900
13159
|
readonly resource: "ticket.milestones";
|
|
12901
13160
|
readonly method: "update";
|
|
12902
13161
|
readonly summary: "Update milestones";
|
|
12903
|
-
readonly description: "Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result.
|
|
13162
|
+
readonly description: "Update milestones within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.";
|
|
12904
13163
|
readonly http: "PATCH";
|
|
12905
13164
|
readonly path: "/ticket/v1/milestones/{number}";
|
|
12906
13165
|
readonly streaming: "no";
|
|
@@ -14045,7 +14304,7 @@ export declare const operations: readonly [{
|
|
|
14045
14304
|
readonly resource: "vault.vaults.secrets";
|
|
14046
14305
|
readonly method: "create";
|
|
14047
14306
|
readonly summary: "Create secret";
|
|
14048
|
-
readonly description: "Store a manually supplied token in an active vault for
|
|
14307
|
+
readonly description: "Store a manually supplied token in an active vault. Omit allowed_hosts for name-based resolution only; host-based redemption never matches an empty host list. Unlike Anthropic credentials, this native operation takes name and value directly, with optional allowed_hosts and creates only static secrets; use praxis.vault.authorizations.create for OAuth. Its name must be unused by any non-archived secret in that vault; the response contains metadata but never the supplied value. Application praxis_vault_ref bindings declare vault_id and secret (the secret name), but currently return 501; do not copy the value into a plain-text binding or metadata as a substitute.";
|
|
14049
14308
|
readonly http: "POST";
|
|
14050
14309
|
readonly path: "/vault/v1/vaults/{vault_id}/secrets";
|
|
14051
14310
|
readonly streaming: "no";
|
|
@@ -14072,8 +14331,8 @@ export declare const operations: readonly [{
|
|
|
14072
14331
|
readonly name: "allowed_hosts";
|
|
14073
14332
|
readonly type: "array";
|
|
14074
14333
|
readonly itemType: "string";
|
|
14075
|
-
readonly required:
|
|
14076
|
-
readonly description: "Allowed destinations for the secret.
|
|
14334
|
+
readonly required: false;
|
|
14335
|
+
readonly description: "Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.";
|
|
14077
14336
|
}, {
|
|
14078
14337
|
readonly name: "description";
|
|
14079
14338
|
readonly type: "string";
|
|
@@ -14089,7 +14348,7 @@ export declare const operations: readonly [{
|
|
|
14089
14348
|
readonly type: "string";
|
|
14090
14349
|
readonly enum: readonly ["github", "openai", "anthropic", "stripe"];
|
|
14091
14350
|
readonly required: false;
|
|
14092
|
-
readonly description: "Static template ID from List templates. Records metadata.template; name
|
|
14351
|
+
readonly description: "Static template ID from List templates. Records metadata.template; name and value must still be supplied explicitly; allowed_hosts is optional.";
|
|
14093
14352
|
}, {
|
|
14094
14353
|
readonly name: "kind";
|
|
14095
14354
|
readonly type: "string";
|
|
@@ -14167,7 +14426,7 @@ export declare const operations: readonly [{
|
|
|
14167
14426
|
readonly type: "array";
|
|
14168
14427
|
readonly itemType: "string";
|
|
14169
14428
|
readonly required: false;
|
|
14170
|
-
readonly description: "Allowed destinations for the secret.
|
|
14429
|
+
readonly description: "Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.";
|
|
14171
14430
|
}, {
|
|
14172
14431
|
readonly name: "description";
|
|
14173
14432
|
readonly type: "string";
|
|
@@ -14251,7 +14510,7 @@ export declare const operations: readonly [{
|
|
|
14251
14510
|
readonly resource: "vault.vaults.secrets";
|
|
14252
14511
|
readonly method: "import";
|
|
14253
14512
|
readonly summary: "Import secrets";
|
|
14254
|
-
readonly description: "Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets.";
|
|
14513
|
+
readonly description: "Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets; if neither shared nor per-line hosts are supplied, new secrets use an empty host list for name-based resolution only.";
|
|
14255
14514
|
readonly http: "POST";
|
|
14256
14515
|
readonly path: "/vault/v1/vaults/{vault_id}/secrets:import";
|
|
14257
14516
|
readonly streaming: "no";
|