@deepraxis/cli 0.2.0-dev.7bc135e → 0.2.0-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/COMMANDS.md +12 -3
- package/dist/praxis.js +491 -14
- package/package.json +1 -1
package/COMMANDS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated by `bun run commands`. DO NOT EDIT.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
467 HTTP operations; 469 commands including aliases.
|
|
6
6
|
|
|
7
7
|
Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
|
|
8
8
|
|
|
@@ -172,6 +172,9 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
172
172
|
| `praxis api automation script list` | `automation.scripts.list` | GET `/automation/v1/scripts` | `--param-limit`, `--param-cursor`, `--q`, `--namespace`, `--scope`, `--archived`, `--created-at-gte`, `--created-at-lte` |
|
|
173
173
|
| `praxis api automation script restore <name>` | `automation.scripts.restore` | POST `/automation/v1/scripts/{ns}/{name}/restore` | `--script` |
|
|
174
174
|
| `praxis api automation script update <name>` | `automation.scripts.update` | PATCH `/automation/v1/scripts/{ns}/{name}` | `--script`, `--description`, `--draft` |
|
|
175
|
+
| `praxis api automation script vault delete <alias>` | `automation.scripts.vaults.delete` | DELETE `/automation/v1/scripts/{ns}/{name}/vaults/{alias}` | `--script`, `--name` |
|
|
176
|
+
| `praxis api automation script vault list` | `automation.scripts.vaults.list` | GET `/automation/v1/scripts/{ns}/{name}/vaults` | `--script`, `--name` |
|
|
177
|
+
| `praxis api automation script vault set <alias>` | `automation.scripts.vaults.set` | PUT `/automation/v1/scripts/{ns}/{name}/vaults/{alias}` | `--script`, `--name`, `--vault` |
|
|
175
178
|
| `praxis api automation script version create` | `automation.scripts.versions.create` | POST `/automation/v1/scripts/{ns}/{name}/versions` | `--script`, `--name` |
|
|
176
179
|
| `praxis api automation script version deprecate <version>` | `automation.scripts.versions.deprecate` | POST `/automation/v1/scripts/{ns}/{name}/versions/{version}/deprecate` | `--script`, `--name`, `--message` |
|
|
177
180
|
| `praxis api automation script version get <version>` | `automation.scripts.versions.retrieve` | GET `/automation/v1/scripts/{ns}/{name}/versions/{version}` | `--script`, `--name` |
|
|
@@ -199,6 +202,9 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
199
202
|
| `praxis api automation workflow list` | `automation.workflows.list` | GET `/automation/v1/workflows` | `--param-limit`, `--param-cursor`, `--q`, `--namespace`, `--scope`, `--archived`, `--created-at-gte`, `--created-at-lte` |
|
|
200
203
|
| `praxis api automation workflow restore <name>` | `automation.workflows.restore` | POST `/automation/v1/workflows/{ns}/{name}/restore` | `--workflow` |
|
|
201
204
|
| `praxis api automation workflow update <name>` | `automation.workflows.update` | PATCH `/automation/v1/workflows/{ns}/{name}` | `--workflow`, `--description`, `--draft` |
|
|
205
|
+
| `praxis api automation workflow vault delete <alias>` | `automation.workflows.vaults.delete` | DELETE `/automation/v1/workflows/{ns}/{name}/vaults/{alias}` | `--workflow`, `--name` |
|
|
206
|
+
| `praxis api automation workflow vault list` | `automation.workflows.vaults.list` | GET `/automation/v1/workflows/{ns}/{name}/vaults` | `--workflow`, `--name` |
|
|
207
|
+
| `praxis api automation workflow vault set <alias>` | `automation.workflows.vaults.set` | PUT `/automation/v1/workflows/{ns}/{name}/vaults/{alias}` | `--workflow`, `--name`, `--vault` |
|
|
202
208
|
| `praxis api automation workflow version create` | `automation.workflows.versions.create` | POST `/automation/v1/workflows/{ns}/{name}/versions` | `--workflow`, `--name` |
|
|
203
209
|
| `praxis api automation workflow version deprecate <version>` | `automation.workflows.versions.deprecate` | POST `/automation/v1/workflows/{ns}/{name}/versions/{version}/deprecate` | `--workflow`, `--name`, `--message` |
|
|
204
210
|
| `praxis api automation workflow version get <version>` | `automation.workflows.versions.retrieve` | GET `/automation/v1/workflows/{ns}/{name}/versions/{version}` | `--workflow`, `--name` |
|
|
@@ -272,6 +278,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
272
278
|
| `praxis api database table list` | `database.databases.tables.list` | GET `/database/v1/databases/{database_id}/tables` | `--database` |
|
|
273
279
|
| `praxis api database table update <table>` | `database.databases.tables.update` | PATCH `/database/v1/databases/{database_id}/tables/{table}` | `--database`, `--name`, `--description` |
|
|
274
280
|
| `praxis api database update <database_id>` | `database.databases.update` | PATCH `/database/v1/databases/{database_id}` | `--name` |
|
|
281
|
+
| `praxis api file content-link revoke <file_id>` | `file.files.contentLinks.revoke` | POST `/file/v1/files/{file_id}/content_links:revoke` | `--token` |
|
|
275
282
|
| `praxis api file create` | `file.files.create` | POST `/file/v1/files` | `--file`, `--purpose` |
|
|
276
283
|
| `praxis api file delete <file_id>` | `file.files.delete` | DELETE `/file/v1/files/{file_id}` | |
|
|
277
284
|
| `praxis api file get <file_id>` | `file.files.retrieve` | GET `/file/v1/files/{file_id}` | |
|
|
@@ -280,6 +287,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
280
287
|
| `praxis api file upload cancel <upload_id>` | `file.uploads.cancel` | POST `/file/v1/uploads/{upload_id}/cancel` | |
|
|
281
288
|
| `praxis api file upload complete <upload_id>` | `file.uploads.complete` | POST `/file/v1/uploads/{upload_id}/complete` | `--part-ids`, `--md5` |
|
|
282
289
|
| `praxis api file upload create` | `file.uploads.create` | POST `/file/v1/uploads` | `--bytes`, `--filename`, `--mime-type`, `--purpose`, `--part-size` |
|
|
290
|
+
| `praxis api file upload create-signed` | `file.uploads.createSigned` | POST `/file/v1/uploads/signed` | `--filename`, `--bytes`, `--content-type`, `--purpose`, `--expires-in`, `--part-size` |
|
|
283
291
|
| `praxis api file upload part create` | `file.uploads.parts.create` | POST `/file/v1/uploads/{upload_id}/parts` | `--upload`, `--part-number`, `--param-data` |
|
|
284
292
|
| `praxis api knowledge vector-store create` | `knowledge.vectorStores.create` | POST `/knowledge/v1/vector_stores` | `--name`, `--file-ids`, `--description` |
|
|
285
293
|
| `praxis api knowledge vector-store delete <vector_store_id>` | `knowledge.vectorStores.delete` | DELETE `/knowledge/v1/vector_stores/{vector_store_id}` | |
|
|
@@ -304,10 +312,10 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
304
312
|
| `praxis api knowledge vector-store segment get <chunk_id>` | `knowledge.vectorStores.segments.retrieve` | GET `/knowledge/v1/vector_stores/{vector_store_id}/segments/{chunk_id}` | `--vector-store` |
|
|
305
313
|
| `praxis api knowledge vector-store update <vector_store_id>` | `knowledge.vectorStores.update` | POST `/knowledge/v1/vector_stores/{vector_store_id}` | `--name` |
|
|
306
314
|
| `praxis api media library asset batch <library_id>` | `media.libraries.assets.batch` | POST `/media/v1/libraries/{library_id}/assets:batch` | |
|
|
307
|
-
| `praxis api media library asset create` | `media.libraries.assets.create` | POST `/media/v1/libraries/{library_id}/assets` | `--library`, `--file`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type` |
|
|
315
|
+
| `praxis api media library asset create` | `media.libraries.assets.create` | POST `/media/v1/libraries/{library_id}/assets` | `--library`, `--file`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type`, `--type` |
|
|
308
316
|
| `praxis api media library asset delete <asset_id>` | `media.libraries.assets.delete` | DELETE `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library` |
|
|
309
317
|
| `praxis api media library asset get <asset_id>` | `media.libraries.assets.retrieve` | GET `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library` |
|
|
310
|
-
| `praxis api media library asset import` | `media.libraries.assets.import.create` | POST `/media/v1/libraries/{library_id}/assets/import` | `--library`, `--file-id`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type` |
|
|
318
|
+
| `praxis api media library asset import` | `media.libraries.assets.import.create` | POST `/media/v1/libraries/{library_id}/assets/import` | `--library`, `--file-id`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type`, `--type` |
|
|
311
319
|
| `praxis api media library asset list` | `media.libraries.assets.list` | GET `/media/v1/libraries/{library_id}/assets` | `--library`, `--asset-folder`, `--resource-type`, `--param-cursor`, `--param-limit` |
|
|
312
320
|
| `praxis api media library asset reprocess <asset_id>` | `media.libraries.assets.reprocess.create` | POST `/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess` | `--library`, `--kinds` |
|
|
313
321
|
| `praxis api media library asset understanding list` | `media.libraries.assets.understandings.list` | GET `/media/v1/libraries/{library_id}/assets/{asset_id}/understandings` | `--library`, `--asset`, `--include-superseded`, `--kind`, `--param-cursor`, `--param-limit` |
|
|
@@ -316,6 +324,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
316
324
|
| `praxis api media library batch get <job_id>` | `media.libraries.batches.retrieve` | GET `/media/v1/libraries/{library_id}/batches/{job_id}` | `--library` |
|
|
317
325
|
| `praxis api media library create` | `media.libraries.create` | POST `/media/v1/libraries` | `--name` |
|
|
318
326
|
| `praxis api media library delete <library_id>` | `media.libraries.delete` | DELETE `/media/v1/libraries/{library_id}` | |
|
|
327
|
+
| `praxis api media library delivery-token create` | `media.libraries.deliveryTokens.create` | POST `/media/v1/libraries/{library_id}/delivery_tokens` | `--library`, `--acl`, `--expires-in` |
|
|
319
328
|
| `praxis api media library event list` | `media.libraries.events.list` | GET `/media/v1/libraries/{library_id}/events` | `--library`, `--after-seq`, `--before-seq`, `--order`, `--param-limit` |
|
|
320
329
|
| `praxis api media library folder list` | `media.libraries.folders.list` | GET `/media/v1/libraries/{library_id}/folders` | `--library`, `--parent` |
|
|
321
330
|
| `praxis api media library get <library_id>` | `media.libraries.retrieve` | GET `/media/v1/libraries/{library_id}` | |
|
package/dist/praxis.js
CHANGED
|
@@ -5622,6 +5622,96 @@ file at the root of that directory.`
|
|
|
5622
5622
|
fields: []
|
|
5623
5623
|
}
|
|
5624
5624
|
},
|
|
5625
|
+
{
|
|
5626
|
+
resource: "automation.scripts.vaults",
|
|
5627
|
+
method: "list",
|
|
5628
|
+
summary: "List script vault bindings",
|
|
5629
|
+
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.",
|
|
5630
|
+
http: "GET",
|
|
5631
|
+
path: "/automation/v1/scripts/{ns}/{name}/vaults",
|
|
5632
|
+
streaming: "no",
|
|
5633
|
+
pagination: false,
|
|
5634
|
+
pathParams: [
|
|
5635
|
+
{
|
|
5636
|
+
name: "ns",
|
|
5637
|
+
sdkName: "ns",
|
|
5638
|
+
description: "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5639
|
+
},
|
|
5640
|
+
{
|
|
5641
|
+
name: "name",
|
|
5642
|
+
sdkName: "name",
|
|
5643
|
+
description: "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5644
|
+
}
|
|
5645
|
+
],
|
|
5646
|
+
query: []
|
|
5647
|
+
},
|
|
5648
|
+
{
|
|
5649
|
+
resource: "automation.scripts.vaults",
|
|
5650
|
+
method: "delete",
|
|
5651
|
+
summary: "Delete a script vault binding",
|
|
5652
|
+
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.",
|
|
5653
|
+
http: "DELETE",
|
|
5654
|
+
path: "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
5655
|
+
streaming: "no",
|
|
5656
|
+
pagination: false,
|
|
5657
|
+
pathParams: [
|
|
5658
|
+
{
|
|
5659
|
+
name: "ns",
|
|
5660
|
+
sdkName: "ns",
|
|
5661
|
+
description: "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5662
|
+
},
|
|
5663
|
+
{
|
|
5664
|
+
name: "name",
|
|
5665
|
+
sdkName: "name",
|
|
5666
|
+
description: "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5667
|
+
},
|
|
5668
|
+
{
|
|
5669
|
+
name: "alias",
|
|
5670
|
+
sdkName: "alias",
|
|
5671
|
+
description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
5672
|
+
}
|
|
5673
|
+
],
|
|
5674
|
+
query: []
|
|
5675
|
+
},
|
|
5676
|
+
{
|
|
5677
|
+
resource: "automation.scripts.vaults",
|
|
5678
|
+
method: "set",
|
|
5679
|
+
summary: "Set a script vault binding",
|
|
5680
|
+
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"}.',
|
|
5681
|
+
http: "PUT",
|
|
5682
|
+
path: "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
5683
|
+
streaming: "no",
|
|
5684
|
+
pagination: false,
|
|
5685
|
+
pathParams: [
|
|
5686
|
+
{
|
|
5687
|
+
name: "ns",
|
|
5688
|
+
sdkName: "ns",
|
|
5689
|
+
description: "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5690
|
+
},
|
|
5691
|
+
{
|
|
5692
|
+
name: "name",
|
|
5693
|
+
sdkName: "name",
|
|
5694
|
+
description: "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5695
|
+
},
|
|
5696
|
+
{
|
|
5697
|
+
name: "alias",
|
|
5698
|
+
sdkName: "alias",
|
|
5699
|
+
description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
5700
|
+
}
|
|
5701
|
+
],
|
|
5702
|
+
query: [],
|
|
5703
|
+
body: {
|
|
5704
|
+
required: true,
|
|
5705
|
+
fields: [
|
|
5706
|
+
{
|
|
5707
|
+
name: "vault",
|
|
5708
|
+
type: "string",
|
|
5709
|
+
required: true,
|
|
5710
|
+
description: "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
|
|
5711
|
+
}
|
|
5712
|
+
]
|
|
5713
|
+
}
|
|
5714
|
+
},
|
|
5625
5715
|
{
|
|
5626
5716
|
resource: "automation.scripts.versions",
|
|
5627
5717
|
method: "list",
|
|
@@ -6678,6 +6768,96 @@ file at the root of that directory.`
|
|
|
6678
6768
|
fields: []
|
|
6679
6769
|
}
|
|
6680
6770
|
},
|
|
6771
|
+
{
|
|
6772
|
+
resource: "automation.workflows.vaults",
|
|
6773
|
+
method: "list",
|
|
6774
|
+
summary: "List workflow vault bindings",
|
|
6775
|
+
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.",
|
|
6776
|
+
http: "GET",
|
|
6777
|
+
path: "/automation/v1/workflows/{ns}/{name}/vaults",
|
|
6778
|
+
streaming: "no",
|
|
6779
|
+
pagination: false,
|
|
6780
|
+
pathParams: [
|
|
6781
|
+
{
|
|
6782
|
+
name: "ns",
|
|
6783
|
+
sdkName: "ns",
|
|
6784
|
+
description: "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6785
|
+
},
|
|
6786
|
+
{
|
|
6787
|
+
name: "name",
|
|
6788
|
+
sdkName: "name",
|
|
6789
|
+
description: "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6790
|
+
}
|
|
6791
|
+
],
|
|
6792
|
+
query: []
|
|
6793
|
+
},
|
|
6794
|
+
{
|
|
6795
|
+
resource: "automation.workflows.vaults",
|
|
6796
|
+
method: "delete",
|
|
6797
|
+
summary: "Delete a workflow vault binding",
|
|
6798
|
+
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.",
|
|
6799
|
+
http: "DELETE",
|
|
6800
|
+
path: "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
6801
|
+
streaming: "no",
|
|
6802
|
+
pagination: false,
|
|
6803
|
+
pathParams: [
|
|
6804
|
+
{
|
|
6805
|
+
name: "ns",
|
|
6806
|
+
sdkName: "ns",
|
|
6807
|
+
description: "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6808
|
+
},
|
|
6809
|
+
{
|
|
6810
|
+
name: "name",
|
|
6811
|
+
sdkName: "name",
|
|
6812
|
+
description: "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6813
|
+
},
|
|
6814
|
+
{
|
|
6815
|
+
name: "alias",
|
|
6816
|
+
sdkName: "alias",
|
|
6817
|
+
description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
6818
|
+
}
|
|
6819
|
+
],
|
|
6820
|
+
query: []
|
|
6821
|
+
},
|
|
6822
|
+
{
|
|
6823
|
+
resource: "automation.workflows.vaults",
|
|
6824
|
+
method: "set",
|
|
6825
|
+
summary: "Set a workflow vault binding",
|
|
6826
|
+
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"}.',
|
|
6827
|
+
http: "PUT",
|
|
6828
|
+
path: "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
6829
|
+
streaming: "no",
|
|
6830
|
+
pagination: false,
|
|
6831
|
+
pathParams: [
|
|
6832
|
+
{
|
|
6833
|
+
name: "ns",
|
|
6834
|
+
sdkName: "ns",
|
|
6835
|
+
description: "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
name: "name",
|
|
6839
|
+
sdkName: "name",
|
|
6840
|
+
description: "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6841
|
+
},
|
|
6842
|
+
{
|
|
6843
|
+
name: "alias",
|
|
6844
|
+
sdkName: "alias",
|
|
6845
|
+
description: "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
6846
|
+
}
|
|
6847
|
+
],
|
|
6848
|
+
query: [],
|
|
6849
|
+
body: {
|
|
6850
|
+
required: true,
|
|
6851
|
+
fields: [
|
|
6852
|
+
{
|
|
6853
|
+
name: "vault",
|
|
6854
|
+
type: "string",
|
|
6855
|
+
required: true,
|
|
6856
|
+
description: "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
|
|
6857
|
+
}
|
|
6858
|
+
]
|
|
6859
|
+
}
|
|
6860
|
+
},
|
|
6681
6861
|
{
|
|
6682
6862
|
resource: "automation.workflows.versions",
|
|
6683
6863
|
method: "list",
|
|
@@ -9420,6 +9600,35 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
9420
9600
|
],
|
|
9421
9601
|
query: []
|
|
9422
9602
|
},
|
|
9603
|
+
{
|
|
9604
|
+
resource: "file.files.contentLinks",
|
|
9605
|
+
method: "revoke",
|
|
9606
|
+
summary: "Revoke a file content link",
|
|
9607
|
+
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/>"}.',
|
|
9608
|
+
http: "POST",
|
|
9609
|
+
path: "/file/v1/files/{file_id}/content_links:revoke",
|
|
9610
|
+
streaming: "no",
|
|
9611
|
+
pagination: false,
|
|
9612
|
+
pathParams: [
|
|
9613
|
+
{
|
|
9614
|
+
name: "file_id",
|
|
9615
|
+
sdkName: "file_id",
|
|
9616
|
+
description: "Tenant-owned file identifier returned by file creation or listing; the token must name this same file."
|
|
9617
|
+
}
|
|
9618
|
+
],
|
|
9619
|
+
query: [],
|
|
9620
|
+
body: {
|
|
9621
|
+
required: true,
|
|
9622
|
+
fields: [
|
|
9623
|
+
{
|
|
9624
|
+
name: "token",
|
|
9625
|
+
type: "string",
|
|
9626
|
+
required: true,
|
|
9627
|
+
description: "Signed token taken from the /c/ path component of a previously issued file content URL, without the host or /c/ prefix."
|
|
9628
|
+
}
|
|
9629
|
+
]
|
|
9630
|
+
}
|
|
9631
|
+
},
|
|
9423
9632
|
{
|
|
9424
9633
|
resource: "file.uploads",
|
|
9425
9634
|
method: "create",
|
|
@@ -9477,6 +9686,63 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
9477
9686
|
]
|
|
9478
9687
|
}
|
|
9479
9688
|
},
|
|
9689
|
+
{
|
|
9690
|
+
resource: "file.uploads",
|
|
9691
|
+
method: "createSigned",
|
|
9692
|
+
summary: "Create a one-time upload URL",
|
|
9693
|
+
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\"}.",
|
|
9694
|
+
http: "POST",
|
|
9695
|
+
path: "/file/v1/uploads/signed",
|
|
9696
|
+
streaming: "no",
|
|
9697
|
+
pagination: false,
|
|
9698
|
+
pathParams: [],
|
|
9699
|
+
query: [],
|
|
9700
|
+
body: {
|
|
9701
|
+
required: true,
|
|
9702
|
+
fields: [
|
|
9703
|
+
{
|
|
9704
|
+
name: "filename",
|
|
9705
|
+
type: "string",
|
|
9706
|
+
required: true,
|
|
9707
|
+
description: "Stored basename, 1–255 UTF-8 bytes without control characters or path separators."
|
|
9708
|
+
},
|
|
9709
|
+
{
|
|
9710
|
+
name: "bytes",
|
|
9711
|
+
type: "integer",
|
|
9712
|
+
required: true,
|
|
9713
|
+
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."
|
|
9714
|
+
},
|
|
9715
|
+
{
|
|
9716
|
+
name: "content_type",
|
|
9717
|
+
type: "string",
|
|
9718
|
+
required: true,
|
|
9719
|
+
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."
|
|
9720
|
+
},
|
|
9721
|
+
{
|
|
9722
|
+
name: "purpose",
|
|
9723
|
+
type: "string",
|
|
9724
|
+
enum: [
|
|
9725
|
+
"user_data",
|
|
9726
|
+
"vision"
|
|
9727
|
+
],
|
|
9728
|
+
required: false,
|
|
9729
|
+
description: "user_data stores ordinary files and conversation images; vision accepts PNG, JPEG, GIF or WebP images only. Omitted means user_data."
|
|
9730
|
+
},
|
|
9731
|
+
{
|
|
9732
|
+
name: "expires_in",
|
|
9733
|
+
type: "integer",
|
|
9734
|
+
required: false,
|
|
9735
|
+
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."
|
|
9736
|
+
},
|
|
9737
|
+
{
|
|
9738
|
+
name: "part_size",
|
|
9739
|
+
type: "integer",
|
|
9740
|
+
required: false,
|
|
9741
|
+
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."
|
|
9742
|
+
}
|
|
9743
|
+
]
|
|
9744
|
+
}
|
|
9745
|
+
},
|
|
9480
9746
|
{
|
|
9481
9747
|
resource: "file.uploads",
|
|
9482
9748
|
method: "cancel",
|
|
@@ -10671,6 +10937,16 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
10671
10937
|
],
|
|
10672
10938
|
required: false,
|
|
10673
10939
|
description: "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
|
|
10940
|
+
},
|
|
10941
|
+
{
|
|
10942
|
+
name: "type",
|
|
10943
|
+
type: "string",
|
|
10944
|
+
enum: [
|
|
10945
|
+
"upload",
|
|
10946
|
+
"authenticated"
|
|
10947
|
+
],
|
|
10948
|
+
required: false,
|
|
10949
|
+
description: "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
|
|
10674
10950
|
}
|
|
10675
10951
|
]
|
|
10676
10952
|
}
|
|
@@ -10699,7 +10975,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
10699
10975
|
name: "file_id",
|
|
10700
10976
|
type: "string",
|
|
10701
10977
|
required: true,
|
|
10702
|
-
description: "File ID to copy into this library
|
|
10978
|
+
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."
|
|
10703
10979
|
},
|
|
10704
10980
|
{
|
|
10705
10981
|
name: "public_id",
|
|
@@ -10784,6 +11060,16 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
10784
11060
|
],
|
|
10785
11061
|
required: false,
|
|
10786
11062
|
description: "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
|
|
11063
|
+
},
|
|
11064
|
+
{
|
|
11065
|
+
name: "type",
|
|
11066
|
+
type: "string",
|
|
11067
|
+
enum: [
|
|
11068
|
+
"upload",
|
|
11069
|
+
"authenticated"
|
|
11070
|
+
],
|
|
11071
|
+
required: false,
|
|
11072
|
+
description: "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
|
|
10787
11073
|
}
|
|
10788
11074
|
]
|
|
10789
11075
|
}
|
|
@@ -11064,6 +11350,41 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
11064
11350
|
],
|
|
11065
11351
|
query: []
|
|
11066
11352
|
},
|
|
11353
|
+
{
|
|
11354
|
+
resource: "media.libraries.deliveryTokens",
|
|
11355
|
+
method: "create",
|
|
11356
|
+
summary: "Create delivery token",
|
|
11357
|
+
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.",
|
|
11358
|
+
http: "POST",
|
|
11359
|
+
path: "/media/v1/libraries/{library_id}/delivery_tokens",
|
|
11360
|
+
streaming: "no",
|
|
11361
|
+
pagination: false,
|
|
11362
|
+
pathParams: [
|
|
11363
|
+
{
|
|
11364
|
+
name: "library_id",
|
|
11365
|
+
sdkName: "library_id",
|
|
11366
|
+
description: "Library ID returned by creation."
|
|
11367
|
+
}
|
|
11368
|
+
],
|
|
11369
|
+
query: [],
|
|
11370
|
+
body: {
|
|
11371
|
+
required: true,
|
|
11372
|
+
fields: [
|
|
11373
|
+
{
|
|
11374
|
+
name: "acl",
|
|
11375
|
+
type: "string",
|
|
11376
|
+
required: false,
|
|
11377
|
+
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."
|
|
11378
|
+
},
|
|
11379
|
+
{
|
|
11380
|
+
name: "expires_in",
|
|
11381
|
+
type: "integer",
|
|
11382
|
+
required: false,
|
|
11383
|
+
description: "Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 3600."
|
|
11384
|
+
}
|
|
11385
|
+
]
|
|
11386
|
+
}
|
|
11387
|
+
},
|
|
11067
11388
|
{
|
|
11068
11389
|
resource: "media.libraries.events",
|
|
11069
11390
|
method: "list",
|
|
@@ -14975,7 +15296,7 @@ for more details.`
|
|
|
14975
15296
|
resource: "sandbox.sandboxes.commands",
|
|
14976
15297
|
method: "run",
|
|
14977
15298
|
summary: "Run a command in the sandbox",
|
|
14978
|
-
description: 'Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–
|
|
15299
|
+
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"}.',
|
|
14979
15300
|
http: "POST",
|
|
14980
15301
|
path: "/sandbox/v1/sandboxes/{sandbox_id}/commands",
|
|
14981
15302
|
streaming: "no",
|
|
@@ -15013,7 +15334,7 @@ for more details.`
|
|
|
15013
15334
|
name: "timeoutMs",
|
|
15014
15335
|
type: "integer",
|
|
15015
15336
|
required: false,
|
|
15016
|
-
description: "Execution timeout in milliseconds, from 1 to
|
|
15337
|
+
description: "Execution timeout in milliseconds, from 1 to 3600000 (1 hour); defaults to 600000 (10 minutes)."
|
|
15017
15338
|
}
|
|
15018
15339
|
]
|
|
15019
15340
|
}
|
|
@@ -16398,7 +16719,7 @@ for more details.`
|
|
|
16398
16719
|
resource: "ticket.milestones",
|
|
16399
16720
|
method: "create",
|
|
16400
16721
|
summary: "Create or add milestones",
|
|
16401
|
-
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.
|
|
16722
|
+
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.",
|
|
16402
16723
|
http: "POST",
|
|
16403
16724
|
path: "/ticket/v1/milestones",
|
|
16404
16725
|
streaming: "no",
|
|
@@ -16450,7 +16771,7 @@ for more details.`
|
|
|
16450
16771
|
resource: "ticket.milestones",
|
|
16451
16772
|
method: "delete",
|
|
16452
16773
|
summary: "Remove milestones",
|
|
16453
|
-
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.
|
|
16774
|
+
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.",
|
|
16454
16775
|
http: "DELETE",
|
|
16455
16776
|
path: "/ticket/v1/milestones/{number}",
|
|
16456
16777
|
streaming: "no",
|
|
@@ -16502,7 +16823,7 @@ for more details.`
|
|
|
16502
16823
|
resource: "ticket.milestones",
|
|
16503
16824
|
method: "update",
|
|
16504
16825
|
summary: "Update milestones",
|
|
16505
|
-
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.
|
|
16826
|
+
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.",
|
|
16506
16827
|
http: "PATCH",
|
|
16507
16828
|
path: "/ticket/v1/milestones/{number}",
|
|
16508
16829
|
streaming: "no",
|
|
@@ -17913,7 +18234,7 @@ for more details.`
|
|
|
17913
18234
|
resource: "vault.vaults.secrets",
|
|
17914
18235
|
method: "create",
|
|
17915
18236
|
summary: "Create secret",
|
|
17916
|
-
description: "Store a manually supplied token in an active vault for
|
|
18237
|
+
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.",
|
|
17917
18238
|
http: "POST",
|
|
17918
18239
|
path: "/vault/v1/vaults/{vault_id}/secrets",
|
|
17919
18240
|
streaming: "no",
|
|
@@ -17945,8 +18266,8 @@ for more details.`
|
|
|
17945
18266
|
name: "allowed_hosts",
|
|
17946
18267
|
type: "array",
|
|
17947
18268
|
itemType: "string",
|
|
17948
|
-
required:
|
|
17949
|
-
description: "Allowed destinations for the secret.
|
|
18269
|
+
required: false,
|
|
18270
|
+
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."
|
|
17950
18271
|
},
|
|
17951
18272
|
{
|
|
17952
18273
|
name: "description",
|
|
@@ -17970,7 +18291,7 @@ for more details.`
|
|
|
17970
18291
|
"stripe"
|
|
17971
18292
|
],
|
|
17972
18293
|
required: false,
|
|
17973
|
-
description: "Static template ID from List templates. Records metadata.template; name
|
|
18294
|
+
description: "Static template ID from List templates. Records metadata.template; name and value must still be supplied explicitly; allowed_hosts is optional."
|
|
17974
18295
|
},
|
|
17975
18296
|
{
|
|
17976
18297
|
name: "kind",
|
|
@@ -18066,7 +18387,7 @@ for more details.`
|
|
|
18066
18387
|
type: "array",
|
|
18067
18388
|
itemType: "string",
|
|
18068
18389
|
required: false,
|
|
18069
|
-
description: "Allowed destinations for the secret.
|
|
18390
|
+
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."
|
|
18070
18391
|
},
|
|
18071
18392
|
{
|
|
18072
18393
|
name: "description",
|
|
@@ -18170,7 +18491,7 @@ for more details.`
|
|
|
18170
18491
|
resource: "vault.vaults.secrets",
|
|
18171
18492
|
method: "import",
|
|
18172
18493
|
summary: "Import secrets",
|
|
18173
|
-
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.",
|
|
18494
|
+
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.",
|
|
18174
18495
|
http: "POST",
|
|
18175
18496
|
path: "/vault/v1/vaults/{vault_id}/secrets:import",
|
|
18176
18497
|
streaming: "no",
|
|
@@ -20122,6 +20443,40 @@ var fileCancelUpload = (options) => (options.client ?? client).post({
|
|
|
20122
20443
|
url: "/file/v1/uploads/{upload_id}/cancel",
|
|
20123
20444
|
...options
|
|
20124
20445
|
});
|
|
20446
|
+
var fileCreateSignedUpload = (options) => (options.client ?? client).post({
|
|
20447
|
+
security: [{
|
|
20448
|
+
key: "BearerAuth",
|
|
20449
|
+
scheme: "bearer",
|
|
20450
|
+
type: "http"
|
|
20451
|
+
}, {
|
|
20452
|
+
key: "ApiKeyAuth",
|
|
20453
|
+
name: "X-API-Key",
|
|
20454
|
+
type: "apiKey"
|
|
20455
|
+
}],
|
|
20456
|
+
url: "/file/v1/uploads/signed",
|
|
20457
|
+
...options,
|
|
20458
|
+
headers: {
|
|
20459
|
+
"Content-Type": "application/json",
|
|
20460
|
+
...options.headers
|
|
20461
|
+
}
|
|
20462
|
+
});
|
|
20463
|
+
var fileRevokeContentLink = (options) => (options.client ?? client).post({
|
|
20464
|
+
security: [{
|
|
20465
|
+
key: "BearerAuth",
|
|
20466
|
+
scheme: "bearer",
|
|
20467
|
+
type: "http"
|
|
20468
|
+
}, {
|
|
20469
|
+
key: "ApiKeyAuth",
|
|
20470
|
+
name: "X-API-Key",
|
|
20471
|
+
type: "apiKey"
|
|
20472
|
+
}],
|
|
20473
|
+
url: "/file/v1/files/{file_id}/content_links:revoke",
|
|
20474
|
+
...options,
|
|
20475
|
+
headers: {
|
|
20476
|
+
"Content-Type": "application/json",
|
|
20477
|
+
...options.headers
|
|
20478
|
+
}
|
|
20479
|
+
});
|
|
20125
20480
|
var healthCheck = (options) => (options?.client ?? client).get({ url: "/meta/v1/health", ...options });
|
|
20126
20481
|
var metaMethodsSearch = (options) => (options?.client ?? client).get({ url: "/meta/v1/methods", ...options });
|
|
20127
20482
|
var metaMethodsRetrieve = (options) => (options.client ?? client).get({ url: "/meta/v1/methods/{name}", ...options });
|
|
@@ -22998,6 +23353,92 @@ var automationHumanTasksDelegate = (options) => (options.client ?? client).post(
|
|
|
22998
23353
|
...options.headers
|
|
22999
23354
|
}
|
|
23000
23355
|
});
|
|
23356
|
+
var automationScriptsVaultsList = (options) => (options.client ?? client).get({
|
|
23357
|
+
security: [{
|
|
23358
|
+
key: "BearerAuth",
|
|
23359
|
+
scheme: "bearer",
|
|
23360
|
+
type: "http"
|
|
23361
|
+
}, {
|
|
23362
|
+
key: "ApiKeyAuth",
|
|
23363
|
+
name: "X-API-Key",
|
|
23364
|
+
type: "apiKey"
|
|
23365
|
+
}],
|
|
23366
|
+
url: "/automation/v1/scripts/{ns}/{name}/vaults",
|
|
23367
|
+
...options
|
|
23368
|
+
});
|
|
23369
|
+
var automationScriptsVaultsDelete = (options) => (options.client ?? client).delete({
|
|
23370
|
+
security: [{
|
|
23371
|
+
key: "BearerAuth",
|
|
23372
|
+
scheme: "bearer",
|
|
23373
|
+
type: "http"
|
|
23374
|
+
}, {
|
|
23375
|
+
key: "ApiKeyAuth",
|
|
23376
|
+
name: "X-API-Key",
|
|
23377
|
+
type: "apiKey"
|
|
23378
|
+
}],
|
|
23379
|
+
url: "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
23380
|
+
...options
|
|
23381
|
+
});
|
|
23382
|
+
var automationScriptsVaultsSet = (options) => (options.client ?? client).put({
|
|
23383
|
+
security: [{
|
|
23384
|
+
key: "BearerAuth",
|
|
23385
|
+
scheme: "bearer",
|
|
23386
|
+
type: "http"
|
|
23387
|
+
}, {
|
|
23388
|
+
key: "ApiKeyAuth",
|
|
23389
|
+
name: "X-API-Key",
|
|
23390
|
+
type: "apiKey"
|
|
23391
|
+
}],
|
|
23392
|
+
url: "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
23393
|
+
...options,
|
|
23394
|
+
headers: {
|
|
23395
|
+
"Content-Type": "application/json",
|
|
23396
|
+
...options.headers
|
|
23397
|
+
}
|
|
23398
|
+
});
|
|
23399
|
+
var automationWorkflowsVaultsList = (options) => (options.client ?? client).get({
|
|
23400
|
+
security: [{
|
|
23401
|
+
key: "BearerAuth",
|
|
23402
|
+
scheme: "bearer",
|
|
23403
|
+
type: "http"
|
|
23404
|
+
}, {
|
|
23405
|
+
key: "ApiKeyAuth",
|
|
23406
|
+
name: "X-API-Key",
|
|
23407
|
+
type: "apiKey"
|
|
23408
|
+
}],
|
|
23409
|
+
url: "/automation/v1/workflows/{ns}/{name}/vaults",
|
|
23410
|
+
...options
|
|
23411
|
+
});
|
|
23412
|
+
var automationWorkflowsVaultsDelete = (options) => (options.client ?? client).delete({
|
|
23413
|
+
security: [{
|
|
23414
|
+
key: "BearerAuth",
|
|
23415
|
+
scheme: "bearer",
|
|
23416
|
+
type: "http"
|
|
23417
|
+
}, {
|
|
23418
|
+
key: "ApiKeyAuth",
|
|
23419
|
+
name: "X-API-Key",
|
|
23420
|
+
type: "apiKey"
|
|
23421
|
+
}],
|
|
23422
|
+
url: "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
23423
|
+
...options
|
|
23424
|
+
});
|
|
23425
|
+
var automationWorkflowsVaultsSet = (options) => (options.client ?? client).put({
|
|
23426
|
+
security: [{
|
|
23427
|
+
key: "BearerAuth",
|
|
23428
|
+
scheme: "bearer",
|
|
23429
|
+
type: "http"
|
|
23430
|
+
}, {
|
|
23431
|
+
key: "ApiKeyAuth",
|
|
23432
|
+
name: "X-API-Key",
|
|
23433
|
+
type: "apiKey"
|
|
23434
|
+
}],
|
|
23435
|
+
url: "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
23436
|
+
...options,
|
|
23437
|
+
headers: {
|
|
23438
|
+
"Content-Type": "application/json",
|
|
23439
|
+
...options.headers
|
|
23440
|
+
}
|
|
23441
|
+
});
|
|
23001
23442
|
var canvasListCanvases = (options) => (options?.client ?? client).get({
|
|
23002
23443
|
security: [{
|
|
23003
23444
|
key: "canvas-bearerAuth",
|
|
@@ -24103,6 +24544,19 @@ var mediaListEvents = (options) => (options.client ?? client).get({
|
|
|
24103
24544
|
url: "/media/v1/libraries/{library_id}/events",
|
|
24104
24545
|
...options
|
|
24105
24546
|
});
|
|
24547
|
+
var mediaCreateDeliveryToken = (options) => (options.client ?? client).post({
|
|
24548
|
+
security: [{
|
|
24549
|
+
key: "media-BearerAuth",
|
|
24550
|
+
scheme: "bearer",
|
|
24551
|
+
type: "http"
|
|
24552
|
+
}],
|
|
24553
|
+
url: "/media/v1/libraries/{library_id}/delivery_tokens",
|
|
24554
|
+
...options,
|
|
24555
|
+
headers: {
|
|
24556
|
+
"Content-Type": "application/json",
|
|
24557
|
+
...options.headers
|
|
24558
|
+
}
|
|
24559
|
+
});
|
|
24106
24560
|
var getSandboxV1Sandboxes = (options) => (options?.client ?? client).get({
|
|
24107
24561
|
querySerializer: { parameters: { state: { array: { explode: false } } } },
|
|
24108
24562
|
security: [
|
|
@@ -25904,6 +26358,11 @@ function createAutomation(transport) {
|
|
|
25904
26358
|
restore: bind(transport, automationScriptsRestore),
|
|
25905
26359
|
retrieve: bind(transport, automationScriptsGet),
|
|
25906
26360
|
update: bind(transport, automationScriptsPatch),
|
|
26361
|
+
vaults: {
|
|
26362
|
+
delete: bind(transport, automationScriptsVaultsDelete),
|
|
26363
|
+
list: bind(transport, automationScriptsVaultsList),
|
|
26364
|
+
set: bind(transport, automationScriptsVaultsSet)
|
|
26365
|
+
},
|
|
25907
26366
|
versions: {
|
|
25908
26367
|
create: boundAutomationScriptsPublish,
|
|
25909
26368
|
deprecate: bind(transport, automationScriptsDeprecate),
|
|
@@ -25945,6 +26404,11 @@ function createAutomation(transport) {
|
|
|
25945
26404
|
restore: bind(transport, automationWorkflowsRestore),
|
|
25946
26405
|
retrieve: bind(transport, automationWorkflowsGet),
|
|
25947
26406
|
update: bind(transport, automationWorkflowsPatch),
|
|
26407
|
+
vaults: {
|
|
26408
|
+
delete: bind(transport, automationWorkflowsVaultsDelete),
|
|
26409
|
+
list: bind(transport, automationWorkflowsVaultsList),
|
|
26410
|
+
set: bind(transport, automationWorkflowsVaultsSet)
|
|
26411
|
+
},
|
|
25948
26412
|
versions: {
|
|
25949
26413
|
create: boundAutomationWorkflowsPublish,
|
|
25950
26414
|
deprecate: bind(transport, automationWorkflowsDeprecate),
|
|
@@ -26094,6 +26558,9 @@ function createDatabase(transport) {
|
|
|
26094
26558
|
function createFile(transport) {
|
|
26095
26559
|
return {
|
|
26096
26560
|
files: {
|
|
26561
|
+
contentLinks: {
|
|
26562
|
+
revoke: bind(transport, fileRevokeContentLink)
|
|
26563
|
+
},
|
|
26097
26564
|
create: bind(transport, (options) => fileCreateFile({ ...options, bodySerializer: multipartBodySerializer, headers: { "Content-Type": null, ...options.headers } })),
|
|
26098
26565
|
delete: bind(transport, fileDeleteFile),
|
|
26099
26566
|
list: bind(transport, fileListFiles),
|
|
@@ -26104,6 +26571,7 @@ function createFile(transport) {
|
|
|
26104
26571
|
cancel: bind(transport, fileCancelUpload),
|
|
26105
26572
|
complete: bind(transport, fileCompleteUpload),
|
|
26106
26573
|
create: bind(transport, fileCreateUpload),
|
|
26574
|
+
createSigned: bind(transport, fileCreateSignedUpload),
|
|
26107
26575
|
parts: {
|
|
26108
26576
|
create: bind(transport, (options) => fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { "Content-Type": null, ...options.headers } }))
|
|
26109
26577
|
}
|
|
@@ -26182,6 +26650,9 @@ function createMedia(transport) {
|
|
|
26182
26650
|
},
|
|
26183
26651
|
create: bind(transport, mediaCreateLibrary),
|
|
26184
26652
|
delete: bind(transport, mediaDeleteLibrary),
|
|
26653
|
+
deliveryTokens: {
|
|
26654
|
+
create: bind(transport, mediaCreateDeliveryToken)
|
|
26655
|
+
},
|
|
26185
26656
|
events: {
|
|
26186
26657
|
list: bind(transport, mediaListEvents)
|
|
26187
26658
|
},
|
|
@@ -26711,6 +27182,12 @@ function assertKnownOptions(options) {
|
|
|
26711
27182
|
detail: `Unrecognised option ${stray.length > 1 ? "keys" : "key"} ${names}. Request parameters are not flat: put each under \`query\` (GET/DELETE: filters, pagination), \`path\` (URL segments) or \`body\` (POST/PATCH/PUT payload), e.g. call({ query: { ${stray[0]} } }) or call({ body: { ${stray[0]} } }). Common top-level keys: path, query, body, headers, signal, timeoutMs, maxRetries.`
|
|
26712
27183
|
});
|
|
26713
27184
|
}
|
|
27185
|
+
var SERVER_DEADLINE_MARGIN_MS = 30000;
|
|
27186
|
+
function serverDeadlineMs(options) {
|
|
27187
|
+
const body = options.body;
|
|
27188
|
+
const deadline = body && typeof body === "object" ? body.timeoutMs : undefined;
|
|
27189
|
+
return typeof deadline === "number" && Number.isFinite(deadline) && deadline > 0 ? deadline + SERVER_DEADLINE_MARGIN_MS : 0;
|
|
27190
|
+
}
|
|
26714
27191
|
|
|
26715
27192
|
class Transport {
|
|
26716
27193
|
config;
|
|
@@ -26726,7 +27203,7 @@ class Transport {
|
|
|
26726
27203
|
}
|
|
26727
27204
|
scope(options, streaming) {
|
|
26728
27205
|
assertKnownOptions(options);
|
|
26729
|
-
const timeoutMs = options.timeoutMs ?? this.config.timeoutMs;
|
|
27206
|
+
const timeoutMs = options.timeoutMs ?? Math.max(this.config.timeoutMs, serverDeadlineMs(options));
|
|
26730
27207
|
const maxRetries = options.maxRetries ?? this.config.maxRetries;
|
|
26731
27208
|
this.validate(timeoutMs, maxRetries);
|
|
26732
27209
|
const controller = new AbortController;
|
|
@@ -29461,7 +29938,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
29461
29938
|
}
|
|
29462
29939
|
|
|
29463
29940
|
// src/main.ts
|
|
29464
|
-
var version = "0.2.0-dev.
|
|
29941
|
+
var version = "0.2.0-dev.7f17950";
|
|
29465
29942
|
var commands = commandTree(operations);
|
|
29466
29943
|
var manual = [...workflows.map((w) => w.words), [API_WORD]];
|
|
29467
29944
|
function route(argv) {
|