@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
|
@@ -5509,6 +5509,96 @@ export const operations = [
|
|
|
5509
5509
|
"fields": []
|
|
5510
5510
|
}
|
|
5511
5511
|
},
|
|
5512
|
+
{
|
|
5513
|
+
"resource": "automation.scripts.vaults",
|
|
5514
|
+
"method": "list",
|
|
5515
|
+
"summary": "List script vault bindings",
|
|
5516
|
+
"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.",
|
|
5517
|
+
"http": "GET",
|
|
5518
|
+
"path": "/automation/v1/scripts/{ns}/{name}/vaults",
|
|
5519
|
+
"streaming": "no",
|
|
5520
|
+
"pagination": false,
|
|
5521
|
+
"pathParams": [
|
|
5522
|
+
{
|
|
5523
|
+
"name": "ns",
|
|
5524
|
+
"sdkName": "ns",
|
|
5525
|
+
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5526
|
+
},
|
|
5527
|
+
{
|
|
5528
|
+
"name": "name",
|
|
5529
|
+
"sdkName": "name",
|
|
5530
|
+
"description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5531
|
+
}
|
|
5532
|
+
],
|
|
5533
|
+
"query": []
|
|
5534
|
+
},
|
|
5535
|
+
{
|
|
5536
|
+
"resource": "automation.scripts.vaults",
|
|
5537
|
+
"method": "delete",
|
|
5538
|
+
"summary": "Delete a script vault binding",
|
|
5539
|
+
"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.",
|
|
5540
|
+
"http": "DELETE",
|
|
5541
|
+
"path": "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
5542
|
+
"streaming": "no",
|
|
5543
|
+
"pagination": false,
|
|
5544
|
+
"pathParams": [
|
|
5545
|
+
{
|
|
5546
|
+
"name": "ns",
|
|
5547
|
+
"sdkName": "ns",
|
|
5548
|
+
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5549
|
+
},
|
|
5550
|
+
{
|
|
5551
|
+
"name": "name",
|
|
5552
|
+
"sdkName": "name",
|
|
5553
|
+
"description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5554
|
+
},
|
|
5555
|
+
{
|
|
5556
|
+
"name": "alias",
|
|
5557
|
+
"sdkName": "alias",
|
|
5558
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
5559
|
+
}
|
|
5560
|
+
],
|
|
5561
|
+
"query": []
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"resource": "automation.scripts.vaults",
|
|
5565
|
+
"method": "set",
|
|
5566
|
+
"summary": "Set a script vault binding",
|
|
5567
|
+
"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\"}.",
|
|
5568
|
+
"http": "PUT",
|
|
5569
|
+
"path": "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
5570
|
+
"streaming": "no",
|
|
5571
|
+
"pagination": false,
|
|
5572
|
+
"pathParams": [
|
|
5573
|
+
{
|
|
5574
|
+
"name": "ns",
|
|
5575
|
+
"sdkName": "ns",
|
|
5576
|
+
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5577
|
+
},
|
|
5578
|
+
{
|
|
5579
|
+
"name": "name",
|
|
5580
|
+
"sdkName": "name",
|
|
5581
|
+
"description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5582
|
+
},
|
|
5583
|
+
{
|
|
5584
|
+
"name": "alias",
|
|
5585
|
+
"sdkName": "alias",
|
|
5586
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
5587
|
+
}
|
|
5588
|
+
],
|
|
5589
|
+
"query": [],
|
|
5590
|
+
"body": {
|
|
5591
|
+
"required": true,
|
|
5592
|
+
"fields": [
|
|
5593
|
+
{
|
|
5594
|
+
"name": "vault",
|
|
5595
|
+
"type": "string",
|
|
5596
|
+
"required": true,
|
|
5597
|
+
"description": "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
|
|
5598
|
+
}
|
|
5599
|
+
]
|
|
5600
|
+
}
|
|
5601
|
+
},
|
|
5512
5602
|
{
|
|
5513
5603
|
"resource": "automation.scripts.versions",
|
|
5514
5604
|
"method": "list",
|
|
@@ -6565,6 +6655,96 @@ export const operations = [
|
|
|
6565
6655
|
"fields": []
|
|
6566
6656
|
}
|
|
6567
6657
|
},
|
|
6658
|
+
{
|
|
6659
|
+
"resource": "automation.workflows.vaults",
|
|
6660
|
+
"method": "list",
|
|
6661
|
+
"summary": "List workflow vault bindings",
|
|
6662
|
+
"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.",
|
|
6663
|
+
"http": "GET",
|
|
6664
|
+
"path": "/automation/v1/workflows/{ns}/{name}/vaults",
|
|
6665
|
+
"streaming": "no",
|
|
6666
|
+
"pagination": false,
|
|
6667
|
+
"pathParams": [
|
|
6668
|
+
{
|
|
6669
|
+
"name": "ns",
|
|
6670
|
+
"sdkName": "ns",
|
|
6671
|
+
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6672
|
+
},
|
|
6673
|
+
{
|
|
6674
|
+
"name": "name",
|
|
6675
|
+
"sdkName": "name",
|
|
6676
|
+
"description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6677
|
+
}
|
|
6678
|
+
],
|
|
6679
|
+
"query": []
|
|
6680
|
+
},
|
|
6681
|
+
{
|
|
6682
|
+
"resource": "automation.workflows.vaults",
|
|
6683
|
+
"method": "delete",
|
|
6684
|
+
"summary": "Delete a workflow vault binding",
|
|
6685
|
+
"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.",
|
|
6686
|
+
"http": "DELETE",
|
|
6687
|
+
"path": "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
6688
|
+
"streaming": "no",
|
|
6689
|
+
"pagination": false,
|
|
6690
|
+
"pathParams": [
|
|
6691
|
+
{
|
|
6692
|
+
"name": "ns",
|
|
6693
|
+
"sdkName": "ns",
|
|
6694
|
+
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6695
|
+
},
|
|
6696
|
+
{
|
|
6697
|
+
"name": "name",
|
|
6698
|
+
"sdkName": "name",
|
|
6699
|
+
"description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6700
|
+
},
|
|
6701
|
+
{
|
|
6702
|
+
"name": "alias",
|
|
6703
|
+
"sdkName": "alias",
|
|
6704
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
6705
|
+
}
|
|
6706
|
+
],
|
|
6707
|
+
"query": []
|
|
6708
|
+
},
|
|
6709
|
+
{
|
|
6710
|
+
"resource": "automation.workflows.vaults",
|
|
6711
|
+
"method": "set",
|
|
6712
|
+
"summary": "Set a workflow vault binding",
|
|
6713
|
+
"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\"}.",
|
|
6714
|
+
"http": "PUT",
|
|
6715
|
+
"path": "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
6716
|
+
"streaming": "no",
|
|
6717
|
+
"pagination": false,
|
|
6718
|
+
"pathParams": [
|
|
6719
|
+
{
|
|
6720
|
+
"name": "ns",
|
|
6721
|
+
"sdkName": "ns",
|
|
6722
|
+
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6723
|
+
},
|
|
6724
|
+
{
|
|
6725
|
+
"name": "name",
|
|
6726
|
+
"sdkName": "name",
|
|
6727
|
+
"description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6728
|
+
},
|
|
6729
|
+
{
|
|
6730
|
+
"name": "alias",
|
|
6731
|
+
"sdkName": "alias",
|
|
6732
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
6733
|
+
}
|
|
6734
|
+
],
|
|
6735
|
+
"query": [],
|
|
6736
|
+
"body": {
|
|
6737
|
+
"required": true,
|
|
6738
|
+
"fields": [
|
|
6739
|
+
{
|
|
6740
|
+
"name": "vault",
|
|
6741
|
+
"type": "string",
|
|
6742
|
+
"required": true,
|
|
6743
|
+
"description": "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
|
|
6744
|
+
}
|
|
6745
|
+
]
|
|
6746
|
+
}
|
|
6747
|
+
},
|
|
6568
6748
|
{
|
|
6569
6749
|
"resource": "automation.workflows.versions",
|
|
6570
6750
|
"method": "list",
|
|
@@ -9293,6 +9473,35 @@ export const operations = [
|
|
|
9293
9473
|
],
|
|
9294
9474
|
"query": []
|
|
9295
9475
|
},
|
|
9476
|
+
{
|
|
9477
|
+
"resource": "file.files.contentLinks",
|
|
9478
|
+
"method": "revoke",
|
|
9479
|
+
"summary": "Revoke a file content link",
|
|
9480
|
+
"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/>\"}.",
|
|
9481
|
+
"http": "POST",
|
|
9482
|
+
"path": "/file/v1/files/{file_id}/content_links:revoke",
|
|
9483
|
+
"streaming": "no",
|
|
9484
|
+
"pagination": false,
|
|
9485
|
+
"pathParams": [
|
|
9486
|
+
{
|
|
9487
|
+
"name": "file_id",
|
|
9488
|
+
"sdkName": "file_id",
|
|
9489
|
+
"description": "Tenant-owned file identifier returned by file creation or listing; the token must name this same file."
|
|
9490
|
+
}
|
|
9491
|
+
],
|
|
9492
|
+
"query": [],
|
|
9493
|
+
"body": {
|
|
9494
|
+
"required": true,
|
|
9495
|
+
"fields": [
|
|
9496
|
+
{
|
|
9497
|
+
"name": "token",
|
|
9498
|
+
"type": "string",
|
|
9499
|
+
"required": true,
|
|
9500
|
+
"description": "Signed token taken from the /c/ path component of a previously issued file content URL, without the host or /c/ prefix."
|
|
9501
|
+
}
|
|
9502
|
+
]
|
|
9503
|
+
}
|
|
9504
|
+
},
|
|
9296
9505
|
{
|
|
9297
9506
|
"resource": "file.uploads",
|
|
9298
9507
|
"method": "create",
|
|
@@ -9350,6 +9559,63 @@ export const operations = [
|
|
|
9350
9559
|
]
|
|
9351
9560
|
}
|
|
9352
9561
|
},
|
|
9562
|
+
{
|
|
9563
|
+
"resource": "file.uploads",
|
|
9564
|
+
"method": "createSigned",
|
|
9565
|
+
"summary": "Create a one-time upload URL",
|
|
9566
|
+
"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\"}.",
|
|
9567
|
+
"http": "POST",
|
|
9568
|
+
"path": "/file/v1/uploads/signed",
|
|
9569
|
+
"streaming": "no",
|
|
9570
|
+
"pagination": false,
|
|
9571
|
+
"pathParams": [],
|
|
9572
|
+
"query": [],
|
|
9573
|
+
"body": {
|
|
9574
|
+
"required": true,
|
|
9575
|
+
"fields": [
|
|
9576
|
+
{
|
|
9577
|
+
"name": "filename",
|
|
9578
|
+
"type": "string",
|
|
9579
|
+
"required": true,
|
|
9580
|
+
"description": "Stored basename, 1–255 UTF-8 bytes without control characters or path separators."
|
|
9581
|
+
},
|
|
9582
|
+
{
|
|
9583
|
+
"name": "bytes",
|
|
9584
|
+
"type": "integer",
|
|
9585
|
+
"required": true,
|
|
9586
|
+
"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."
|
|
9587
|
+
},
|
|
9588
|
+
{
|
|
9589
|
+
"name": "content_type",
|
|
9590
|
+
"type": "string",
|
|
9591
|
+
"required": true,
|
|
9592
|
+
"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."
|
|
9593
|
+
},
|
|
9594
|
+
{
|
|
9595
|
+
"name": "purpose",
|
|
9596
|
+
"type": "string",
|
|
9597
|
+
"enum": [
|
|
9598
|
+
"user_data",
|
|
9599
|
+
"vision"
|
|
9600
|
+
],
|
|
9601
|
+
"required": false,
|
|
9602
|
+
"description": "user_data stores ordinary files and conversation images; vision accepts PNG, JPEG, GIF or WebP images only. Omitted means user_data."
|
|
9603
|
+
},
|
|
9604
|
+
{
|
|
9605
|
+
"name": "expires_in",
|
|
9606
|
+
"type": "integer",
|
|
9607
|
+
"required": false,
|
|
9608
|
+
"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."
|
|
9609
|
+
},
|
|
9610
|
+
{
|
|
9611
|
+
"name": "part_size",
|
|
9612
|
+
"type": "integer",
|
|
9613
|
+
"required": false,
|
|
9614
|
+
"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."
|
|
9615
|
+
}
|
|
9616
|
+
]
|
|
9617
|
+
}
|
|
9618
|
+
},
|
|
9353
9619
|
{
|
|
9354
9620
|
"resource": "file.uploads",
|
|
9355
9621
|
"method": "cancel",
|
|
@@ -10544,6 +10810,16 @@ export const operations = [
|
|
|
10544
10810
|
],
|
|
10545
10811
|
"required": false,
|
|
10546
10812
|
"description": "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
|
|
10813
|
+
},
|
|
10814
|
+
{
|
|
10815
|
+
"name": "type",
|
|
10816
|
+
"type": "string",
|
|
10817
|
+
"enum": [
|
|
10818
|
+
"upload",
|
|
10819
|
+
"authenticated"
|
|
10820
|
+
],
|
|
10821
|
+
"required": false,
|
|
10822
|
+
"description": "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
|
|
10547
10823
|
}
|
|
10548
10824
|
]
|
|
10549
10825
|
}
|
|
@@ -10572,7 +10848,7 @@ export const operations = [
|
|
|
10572
10848
|
"name": "file_id",
|
|
10573
10849
|
"type": "string",
|
|
10574
10850
|
"required": true,
|
|
10575
|
-
"description": "File ID to copy into this library
|
|
10851
|
+
"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."
|
|
10576
10852
|
},
|
|
10577
10853
|
{
|
|
10578
10854
|
"name": "public_id",
|
|
@@ -10657,6 +10933,16 @@ export const operations = [
|
|
|
10657
10933
|
],
|
|
10658
10934
|
"required": false,
|
|
10659
10935
|
"description": "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
|
|
10936
|
+
},
|
|
10937
|
+
{
|
|
10938
|
+
"name": "type",
|
|
10939
|
+
"type": "string",
|
|
10940
|
+
"enum": [
|
|
10941
|
+
"upload",
|
|
10942
|
+
"authenticated"
|
|
10943
|
+
],
|
|
10944
|
+
"required": false,
|
|
10945
|
+
"description": "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
|
|
10660
10946
|
}
|
|
10661
10947
|
]
|
|
10662
10948
|
}
|
|
@@ -10937,6 +11223,41 @@ export const operations = [
|
|
|
10937
11223
|
],
|
|
10938
11224
|
"query": []
|
|
10939
11225
|
},
|
|
11226
|
+
{
|
|
11227
|
+
"resource": "media.libraries.deliveryTokens",
|
|
11228
|
+
"method": "create",
|
|
11229
|
+
"summary": "Create delivery token",
|
|
11230
|
+
"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.",
|
|
11231
|
+
"http": "POST",
|
|
11232
|
+
"path": "/media/v1/libraries/{library_id}/delivery_tokens",
|
|
11233
|
+
"streaming": "no",
|
|
11234
|
+
"pagination": false,
|
|
11235
|
+
"pathParams": [
|
|
11236
|
+
{
|
|
11237
|
+
"name": "library_id",
|
|
11238
|
+
"sdkName": "library_id",
|
|
11239
|
+
"description": "Library ID returned by creation."
|
|
11240
|
+
}
|
|
11241
|
+
],
|
|
11242
|
+
"query": [],
|
|
11243
|
+
"body": {
|
|
11244
|
+
"required": true,
|
|
11245
|
+
"fields": [
|
|
11246
|
+
{
|
|
11247
|
+
"name": "acl",
|
|
11248
|
+
"type": "string",
|
|
11249
|
+
"required": false,
|
|
11250
|
+
"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."
|
|
11251
|
+
},
|
|
11252
|
+
{
|
|
11253
|
+
"name": "expires_in",
|
|
11254
|
+
"type": "integer",
|
|
11255
|
+
"required": false,
|
|
11256
|
+
"description": "Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 3600."
|
|
11257
|
+
}
|
|
11258
|
+
]
|
|
11259
|
+
}
|
|
11260
|
+
},
|
|
10940
11261
|
{
|
|
10941
11262
|
"resource": "media.libraries.events",
|
|
10942
11263
|
"method": "list",
|
|
@@ -14632,7 +14953,7 @@ export const operations = [
|
|
|
14632
14953
|
"resource": "sandbox.sandboxes.commands",
|
|
14633
14954
|
"method": "run",
|
|
14634
14955
|
"summary": "Run a command in the sandbox",
|
|
14635
|
-
"description": "Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–
|
|
14956
|
+
"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\"}.",
|
|
14636
14957
|
"http": "POST",
|
|
14637
14958
|
"path": "/sandbox/v1/sandboxes/{sandbox_id}/commands",
|
|
14638
14959
|
"streaming": "no",
|
|
@@ -14670,7 +14991,7 @@ export const operations = [
|
|
|
14670
14991
|
"name": "timeoutMs",
|
|
14671
14992
|
"type": "integer",
|
|
14672
14993
|
"required": false,
|
|
14673
|
-
"description": "Execution timeout in milliseconds, from 1 to
|
|
14994
|
+
"description": "Execution timeout in milliseconds, from 1 to 3600000 (1 hour); defaults to 600000 (10 minutes)."
|
|
14674
14995
|
}
|
|
14675
14996
|
]
|
|
14676
14997
|
}
|
|
@@ -16055,7 +16376,7 @@ export const operations = [
|
|
|
16055
16376
|
"resource": "ticket.milestones",
|
|
16056
16377
|
"method": "create",
|
|
16057
16378
|
"summary": "Create or add milestones",
|
|
16058
|
-
"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.
|
|
16379
|
+
"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.",
|
|
16059
16380
|
"http": "POST",
|
|
16060
16381
|
"path": "/ticket/v1/milestones",
|
|
16061
16382
|
"streaming": "no",
|
|
@@ -16107,7 +16428,7 @@ export const operations = [
|
|
|
16107
16428
|
"resource": "ticket.milestones",
|
|
16108
16429
|
"method": "delete",
|
|
16109
16430
|
"summary": "Remove milestones",
|
|
16110
|
-
"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.
|
|
16431
|
+
"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.",
|
|
16111
16432
|
"http": "DELETE",
|
|
16112
16433
|
"path": "/ticket/v1/milestones/{number}",
|
|
16113
16434
|
"streaming": "no",
|
|
@@ -16159,7 +16480,7 @@ export const operations = [
|
|
|
16159
16480
|
"resource": "ticket.milestones",
|
|
16160
16481
|
"method": "update",
|
|
16161
16482
|
"summary": "Update milestones",
|
|
16162
|
-
"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.
|
|
16483
|
+
"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.",
|
|
16163
16484
|
"http": "PATCH",
|
|
16164
16485
|
"path": "/ticket/v1/milestones/{number}",
|
|
16165
16486
|
"streaming": "no",
|
|
@@ -17570,7 +17891,7 @@ export const operations = [
|
|
|
17570
17891
|
"resource": "vault.vaults.secrets",
|
|
17571
17892
|
"method": "create",
|
|
17572
17893
|
"summary": "Create secret",
|
|
17573
|
-
"description": "Store a manually supplied token in an active vault for
|
|
17894
|
+
"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.",
|
|
17574
17895
|
"http": "POST",
|
|
17575
17896
|
"path": "/vault/v1/vaults/{vault_id}/secrets",
|
|
17576
17897
|
"streaming": "no",
|
|
@@ -17602,8 +17923,8 @@ export const operations = [
|
|
|
17602
17923
|
"name": "allowed_hosts",
|
|
17603
17924
|
"type": "array",
|
|
17604
17925
|
"itemType": "string",
|
|
17605
|
-
"required":
|
|
17606
|
-
"description": "Allowed destinations for the secret.
|
|
17926
|
+
"required": false,
|
|
17927
|
+
"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."
|
|
17607
17928
|
},
|
|
17608
17929
|
{
|
|
17609
17930
|
"name": "description",
|
|
@@ -17627,7 +17948,7 @@ export const operations = [
|
|
|
17627
17948
|
"stripe"
|
|
17628
17949
|
],
|
|
17629
17950
|
"required": false,
|
|
17630
|
-
"description": "Static template ID from List templates. Records metadata.template; name
|
|
17951
|
+
"description": "Static template ID from List templates. Records metadata.template; name and value must still be supplied explicitly; allowed_hosts is optional."
|
|
17631
17952
|
},
|
|
17632
17953
|
{
|
|
17633
17954
|
"name": "kind",
|
|
@@ -17723,7 +18044,7 @@ export const operations = [
|
|
|
17723
18044
|
"type": "array",
|
|
17724
18045
|
"itemType": "string",
|
|
17725
18046
|
"required": false,
|
|
17726
|
-
"description": "Allowed destinations for the secret.
|
|
18047
|
+
"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."
|
|
17727
18048
|
},
|
|
17728
18049
|
{
|
|
17729
18050
|
"name": "description",
|
|
@@ -17827,7 +18148,7 @@ export const operations = [
|
|
|
17827
18148
|
"resource": "vault.vaults.secrets",
|
|
17828
18149
|
"method": "import",
|
|
17829
18150
|
"summary": "Import secrets",
|
|
17830
|
-
"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.",
|
|
18151
|
+
"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.",
|
|
17831
18152
|
"http": "POST",
|
|
17832
18153
|
"path": "/vault/v1/vaults/{vault_id}/secrets:import",
|
|
17833
18154
|
"streaming": "no",
|
|
@@ -3767,6 +3767,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3767
3767
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3768
3768
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3769
3769
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3770
|
+
vaults: {
|
|
3771
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
|
|
3772
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
|
|
3773
|
+
data: Array<{
|
|
3774
|
+
alias: string;
|
|
3775
|
+
vault: {
|
|
3776
|
+
id: string;
|
|
3777
|
+
name: string;
|
|
3778
|
+
};
|
|
3779
|
+
secrets: Array<{
|
|
3780
|
+
name: string;
|
|
3781
|
+
}>;
|
|
3782
|
+
secrets_unavailable?: true;
|
|
3783
|
+
}>;
|
|
3784
|
+
}>;
|
|
3785
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
|
|
3786
|
+
alias: string;
|
|
3787
|
+
vault: {
|
|
3788
|
+
id: string;
|
|
3789
|
+
name: string;
|
|
3790
|
+
};
|
|
3791
|
+
secrets: Array<{
|
|
3792
|
+
name: string;
|
|
3793
|
+
}>;
|
|
3794
|
+
secrets_unavailable?: true;
|
|
3795
|
+
}>;
|
|
3796
|
+
};
|
|
3770
3797
|
versions: {
|
|
3771
3798
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3772
3799
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3814,6 +3841,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3814
3841
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3815
3842
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3816
3843
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3844
|
+
vaults: {
|
|
3845
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
|
|
3846
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
|
|
3847
|
+
data: Array<{
|
|
3848
|
+
alias: string;
|
|
3849
|
+
vault: {
|
|
3850
|
+
id: string;
|
|
3851
|
+
name: string;
|
|
3852
|
+
};
|
|
3853
|
+
secrets: Array<{
|
|
3854
|
+
name: string;
|
|
3855
|
+
}>;
|
|
3856
|
+
secrets_unavailable?: true;
|
|
3857
|
+
}>;
|
|
3858
|
+
}>;
|
|
3859
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
|
|
3860
|
+
alias: string;
|
|
3861
|
+
vault: {
|
|
3862
|
+
id: string;
|
|
3863
|
+
name: string;
|
|
3864
|
+
};
|
|
3865
|
+
secrets: Array<{
|
|
3866
|
+
name: string;
|
|
3867
|
+
}>;
|
|
3868
|
+
secrets_unavailable?: true;
|
|
3869
|
+
}>;
|
|
3870
|
+
};
|
|
3817
3871
|
versions: {
|
|
3818
3872
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3819
3873
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3976,6 +4030,11 @@ export declare function createDatabase(transport: Transport): {
|
|
|
3976
4030
|
};
|
|
3977
4031
|
export declare function createFile(transport: Transport): {
|
|
3978
4032
|
files: {
|
|
4033
|
+
contentLinks: {
|
|
4034
|
+
revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
|
|
4035
|
+
revoked: true;
|
|
4036
|
+
}>;
|
|
4037
|
+
};
|
|
3979
4038
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
3980
4039
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
3981
4040
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -3986,6 +4045,7 @@ export declare function createFile(transport: Transport): {
|
|
|
3986
4045
|
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3987
4046
|
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3988
4047
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4048
|
+
createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
|
|
3989
4049
|
parts: {
|
|
3990
4050
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
3991
4051
|
};
|
|
@@ -4060,6 +4120,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4060
4120
|
};
|
|
4061
4121
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4062
4122
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4123
|
+
deliveryTokens: {
|
|
4124
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
|
|
4125
|
+
};
|
|
4063
4126
|
events: {
|
|
4064
4127
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
4065
4128
|
};
|
|
@@ -283,6 +283,11 @@ export function createAutomation(transport) {
|
|
|
283
283
|
restore: bind(transport, sdk.automationScriptsRestore),
|
|
284
284
|
retrieve: bind(transport, sdk.automationScriptsGet),
|
|
285
285
|
update: bind(transport, sdk.automationScriptsPatch),
|
|
286
|
+
vaults: {
|
|
287
|
+
delete: bind(transport, sdk.automationScriptsVaultsDelete),
|
|
288
|
+
list: bind(transport, sdk.automationScriptsVaultsList),
|
|
289
|
+
set: bind(transport, sdk.automationScriptsVaultsSet),
|
|
290
|
+
},
|
|
286
291
|
versions: {
|
|
287
292
|
create: boundAutomationScriptsPublish,
|
|
288
293
|
deprecate: bind(transport, sdk.automationScriptsDeprecate),
|
|
@@ -324,6 +329,11 @@ export function createAutomation(transport) {
|
|
|
324
329
|
restore: bind(transport, sdk.automationWorkflowsRestore),
|
|
325
330
|
retrieve: bind(transport, sdk.automationWorkflowsGet),
|
|
326
331
|
update: bind(transport, sdk.automationWorkflowsPatch),
|
|
332
|
+
vaults: {
|
|
333
|
+
delete: bind(transport, sdk.automationWorkflowsVaultsDelete),
|
|
334
|
+
list: bind(transport, sdk.automationWorkflowsVaultsList),
|
|
335
|
+
set: bind(transport, sdk.automationWorkflowsVaultsSet),
|
|
336
|
+
},
|
|
327
337
|
versions: {
|
|
328
338
|
create: boundAutomationWorkflowsPublish,
|
|
329
339
|
deprecate: bind(transport, sdk.automationWorkflowsDeprecate),
|
|
@@ -473,6 +483,9 @@ export function createDatabase(transport) {
|
|
|
473
483
|
export function createFile(transport) {
|
|
474
484
|
return {
|
|
475
485
|
files: {
|
|
486
|
+
contentLinks: {
|
|
487
|
+
revoke: bind(transport, sdk.fileRevokeContentLink),
|
|
488
|
+
},
|
|
476
489
|
create: bind(transport, options => sdk.fileCreateFile({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
477
490
|
delete: bind(transport, sdk.fileDeleteFile),
|
|
478
491
|
list: bind(transport, sdk.fileListFiles),
|
|
@@ -483,6 +496,7 @@ export function createFile(transport) {
|
|
|
483
496
|
cancel: bind(transport, sdk.fileCancelUpload),
|
|
484
497
|
complete: bind(transport, sdk.fileCompleteUpload),
|
|
485
498
|
create: bind(transport, sdk.fileCreateUpload),
|
|
499
|
+
createSigned: bind(transport, sdk.fileCreateSignedUpload),
|
|
486
500
|
parts: {
|
|
487
501
|
create: bind(transport, options => sdk.fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
488
502
|
},
|
|
@@ -561,6 +575,9 @@ export function createMedia(transport) {
|
|
|
561
575
|
},
|
|
562
576
|
create: bind(transport, sdk.mediaCreateLibrary),
|
|
563
577
|
delete: bind(transport, sdk.mediaDeleteLibrary),
|
|
578
|
+
deliveryTokens: {
|
|
579
|
+
create: bind(transport, sdk.mediaCreateDeliveryToken),
|
|
580
|
+
},
|
|
564
581
|
events: {
|
|
565
582
|
list: bind(transport, sdk.mediaListEvents),
|
|
566
583
|
},
|