@deepraxis/sdk 0.1.1-dev.11a1f3c → 0.1.1-dev.124112f
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 +108 -1
- package/dist/automation.d.ts +54 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +205 -7
- package/dist/generated/sdk.gen.js +640 -6
- package/dist/generated/types.gen.d.ts +3222 -18
- package/dist/operations.generated.d.ts +957 -92
- package/dist/operations.generated.js +1122 -60
- package/dist/resources.generated.d.ts +139 -0
- package/dist/resources.generated.js +65 -0
- package/package.json +1 -1
package/METHODS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SDK methods
|
|
2
2
|
|
|
3
|
-
Generated by `bun run generate`.
|
|
3
|
+
Generated by `bun run generate`. 467 HTTP operations, plus product aliases. Version segments and path parameters are omitted from resource names. Inputs use typed `{ path, query, body, headers }` options. Collections form nested resource objects; POST actions retain their verb. Naming rules are documented in `scripts/resources.ts`; semantic exceptions and aliases with reasons are in `scripts/naming-overrides.ts`.
|
|
4
4
|
|
|
5
5
|
`always` returns an AsyncIterable; `optional` streams with `{ stream: true }`; `yes` pagination returns a Page. Only `{ data, next_cursor }` + `cursor` query contracts are automatically paginated.
|
|
6
6
|
|
|
@@ -449,6 +449,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
449
449
|
| list | GET | `/automation/v1/scripts/{ns}/{name}/dist-tags` | no | no |
|
|
450
450
|
| set | PUT | `/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}` | no | no |
|
|
451
451
|
|
|
452
|
+
### automation.scripts.vaults
|
|
453
|
+
|
|
454
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
455
|
+
|---|---|---|---|---|
|
|
456
|
+
| delete | DELETE | `/automation/v1/scripts/{ns}/{name}/vaults/{alias}` | no | no |
|
|
457
|
+
| list | GET | `/automation/v1/scripts/{ns}/{name}/vaults` | no | no |
|
|
458
|
+
| set | PUT | `/automation/v1/scripts/{ns}/{name}/vaults/{alias}` | no | no |
|
|
459
|
+
|
|
452
460
|
### automation.scripts.versions
|
|
453
461
|
|
|
454
462
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -510,6 +518,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
510
518
|
| list | GET | `/automation/v1/workflows/{ns}/{name}/dist-tags` | no | no |
|
|
511
519
|
| set | PUT | `/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}` | no | no |
|
|
512
520
|
|
|
521
|
+
### automation.workflows.vaults
|
|
522
|
+
|
|
523
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
524
|
+
|---|---|---|---|---|
|
|
525
|
+
| delete | DELETE | `/automation/v1/workflows/{ns}/{name}/vaults/{alias}` | no | no |
|
|
526
|
+
| list | GET | `/automation/v1/workflows/{ns}/{name}/vaults` | no | no |
|
|
527
|
+
| set | PUT | `/automation/v1/workflows/{ns}/{name}/vaults/{alias}` | no | no |
|
|
528
|
+
|
|
513
529
|
### automation.workflows.versions
|
|
514
530
|
|
|
515
531
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -603,6 +619,75 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
603
619
|
|---|---|---|---|---|
|
|
604
620
|
| list | GET | `/canvas/v1/canvases/{canvas_id}/nodes` | no | no |
|
|
605
621
|
|
|
622
|
+
## cut
|
|
623
|
+
|
|
624
|
+
### cut.exports
|
|
625
|
+
|
|
626
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
627
|
+
|---|---|---|---|---|
|
|
628
|
+
| cancel | POST | `/cut/v1/exports/{export_id}:cancel` | no | no |
|
|
629
|
+
| retrieve | GET | `/cut/v1/exports/{export_id}` | no | no |
|
|
630
|
+
|
|
631
|
+
### cut.projects
|
|
632
|
+
|
|
633
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
634
|
+
|---|---|---|---|---|
|
|
635
|
+
| create | POST | `/cut/v1/projects` | no | no |
|
|
636
|
+
| delete | DELETE | `/cut/v1/projects/{project_id}` | no | no |
|
|
637
|
+
| execute | POST | `/cut/v1/projects/{project_id}:execute` | no | no |
|
|
638
|
+
| list | GET | `/cut/v1/projects` | no | no |
|
|
639
|
+
| retrieve | GET | `/cut/v1/projects/{project_id}` | no | no |
|
|
640
|
+
| retrieveState | GET | `/cut/v1/projects/{project_id}/state` | no | no |
|
|
641
|
+
| retrieveTimeline | GET | `/cut/v1/projects/{project_id}/timeline` | no | no |
|
|
642
|
+
| undelete | POST | `/cut/v1/projects/{project_id}:undelete` | no | no |
|
|
643
|
+
| update | PATCH | `/cut/v1/projects/{project_id}` | no | no |
|
|
644
|
+
|
|
645
|
+
### cut.projects.analysis
|
|
646
|
+
|
|
647
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
648
|
+
|---|---|---|---|---|
|
|
649
|
+
| create | POST | `/cut/v1/projects/{project_id}/analysis` | no | no |
|
|
650
|
+
|
|
651
|
+
### cut.projects.bindings
|
|
652
|
+
|
|
653
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
654
|
+
|---|---|---|---|---|
|
|
655
|
+
| create | POST | `/cut/v1/projects/{project_id}/bindings` | no | no |
|
|
656
|
+
| delete | DELETE | `/cut/v1/projects/{project_id}/bindings/{name}` | no | no |
|
|
657
|
+
| list | GET | `/cut/v1/projects/{project_id}/bindings` | no | no |
|
|
658
|
+
|
|
659
|
+
### cut.projects.exports
|
|
660
|
+
|
|
661
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
662
|
+
|---|---|---|---|---|
|
|
663
|
+
| create | POST | `/cut/v1/projects/{project_id}/exports` | no | no |
|
|
664
|
+
| list | GET | `/cut/v1/projects/{project_id}/exports` | no | no |
|
|
665
|
+
|
|
666
|
+
### cut.projects.frames
|
|
667
|
+
|
|
668
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
669
|
+
|---|---|---|---|---|
|
|
670
|
+
| list | GET | `/cut/v1/projects/{project_id}/frames` | no | no |
|
|
671
|
+
|
|
672
|
+
### cut.projects.media
|
|
673
|
+
|
|
674
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
675
|
+
|---|---|---|---|---|
|
|
676
|
+
| import | POST | `/cut/v1/projects/{project_id}/media:import` | no | no |
|
|
677
|
+
|
|
678
|
+
### cut.projects.versions
|
|
679
|
+
|
|
680
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
681
|
+
|---|---|---|---|---|
|
|
682
|
+
| create | POST | `/cut/v1/projects/{project_id}/versions` | no | no |
|
|
683
|
+
| list | GET | `/cut/v1/projects/{project_id}/versions` | no | no |
|
|
684
|
+
|
|
685
|
+
### cut.versions
|
|
686
|
+
|
|
687
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
688
|
+
|---|---|---|---|---|
|
|
689
|
+
| restore | POST | `/cut/v1/versions/{version_id}:restore` | no | no |
|
|
690
|
+
|
|
606
691
|
## database
|
|
607
692
|
|
|
608
693
|
### database.databases
|
|
@@ -668,6 +753,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
668
753
|
| retrieve | GET | `/file/v1/files/{file_id}` | no | no |
|
|
669
754
|
| retrieveContent | GET | `/file/v1/files/{file_id}/content` | no | no |
|
|
670
755
|
|
|
756
|
+
### file.files.contentLinks
|
|
757
|
+
|
|
758
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
759
|
+
|---|---|---|---|---|
|
|
760
|
+
| revoke | POST | `/file/v1/files/{file_id}/content_links:revoke` | no | no |
|
|
761
|
+
|
|
671
762
|
### file.uploads
|
|
672
763
|
|
|
673
764
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -675,6 +766,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
675
766
|
| cancel | POST | `/file/v1/uploads/{upload_id}/cancel` | no | no |
|
|
676
767
|
| complete | POST | `/file/v1/uploads/{upload_id}/complete` | no | no |
|
|
677
768
|
| create | POST | `/file/v1/uploads` | no | no |
|
|
769
|
+
| createSigned | POST | `/file/v1/uploads/signed` | no | no |
|
|
678
770
|
|
|
679
771
|
### file.uploads.parts
|
|
680
772
|
|
|
@@ -805,6 +897,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
805
897
|
| create | POST | `/media/v1/libraries/{library_id}/batches` | no | no |
|
|
806
898
|
| retrieve | GET | `/media/v1/libraries/{library_id}/batches/{job_id}` | no | no |
|
|
807
899
|
|
|
900
|
+
### media.libraries.deliveryTokens
|
|
901
|
+
|
|
902
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
903
|
+
|---|---|---|---|---|
|
|
904
|
+
| create | POST | `/media/v1/libraries/{library_id}/delivery_tokens` | no | no |
|
|
905
|
+
|
|
808
906
|
### media.libraries.events
|
|
809
907
|
|
|
810
908
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -985,6 +1083,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
985
1083
|
|---|---|---|---|---|
|
|
986
1084
|
| create | POST | `/model/v1/responses/input_tokens` | no | no |
|
|
987
1085
|
|
|
1086
|
+
### model.systemone
|
|
1087
|
+
|
|
1088
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1089
|
+
|---|---|---|---|---|
|
|
1090
|
+
| create | POST | `/model/v1/systemone` | no | no |
|
|
1091
|
+
|
|
988
1092
|
### model.videos
|
|
989
1093
|
|
|
990
1094
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1370,10 +1474,13 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1370
1474
|
| agent.sessions.events.send | Events submit session input; the product verb is send rather than create. |
|
|
1371
1475
|
| automation.hooks.send | Delivers a payload to a trigger's secret webhook URL; it sends an event rather than updating a hook resource. |
|
|
1372
1476
|
| automation.scripts.distTags.set | A dist-tag assigns a version to a name; use npm vocabulary set rather than update. |
|
|
1477
|
+
| automation.scripts.vaults.set | Assign a whole vault to a definition alias, independently of published versions. |
|
|
1373
1478
|
| automation.scripts.versions.create / publish | Creating a script version publishes it; publish is a product alias of versions.create. |
|
|
1374
1479
|
| automation.workflows.distTags.set | Workflow dist-tags use the same npm-style assignment vocabulary as script dist-tags. |
|
|
1480
|
+
| automation.workflows.vaults.set | Assign a whole vault to a definition alias, independently of published versions. |
|
|
1375
1481
|
| automation.workflows.versions.create / publish | Creating a workflow version publishes it; publish is a product alias of versions.create. |
|
|
1376
1482
|
| database.databases.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
1483
|
+
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
1377
1484
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
1378
1485
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
1379
1486
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
package/dist/automation.d.ts
CHANGED
|
@@ -96,6 +96,33 @@ export declare function createAutomationClient(options: PraxisOptions): {
|
|
|
96
96
|
restore: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsRestoreData>) => Promise<import("./generated/types.gen.js").AutomationDefinition>;
|
|
97
97
|
retrieve: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsGetData>) => Promise<import("./generated/types.gen.js").AutomationDefinitionDetail>;
|
|
98
98
|
update: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsPatchData>) => Promise<import("./generated/types.gen.js").AutomationDefinitionDetail>;
|
|
99
|
+
vaults: {
|
|
100
|
+
delete: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsVaultsDeleteData>) => Promise<void>;
|
|
101
|
+
list: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsVaultsListData>) => Promise<{
|
|
102
|
+
data: Array<{
|
|
103
|
+
alias: string;
|
|
104
|
+
vault: {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
};
|
|
108
|
+
secrets: Array<{
|
|
109
|
+
name: string;
|
|
110
|
+
}>;
|
|
111
|
+
secrets_unavailable?: true;
|
|
112
|
+
}>;
|
|
113
|
+
}>;
|
|
114
|
+
set: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsVaultsSetData>) => Promise<{
|
|
115
|
+
alias: string;
|
|
116
|
+
vault: {
|
|
117
|
+
id: string;
|
|
118
|
+
name: string;
|
|
119
|
+
};
|
|
120
|
+
secrets: Array<{
|
|
121
|
+
name: string;
|
|
122
|
+
}>;
|
|
123
|
+
secrets_unavailable?: true;
|
|
124
|
+
}>;
|
|
125
|
+
};
|
|
99
126
|
versions: {
|
|
100
127
|
create: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsPublishData>) => Promise<import("./generated/types.gen.js").AutomationVersion>;
|
|
101
128
|
deprecate: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationScriptsDeprecateData>) => Promise<import("./generated/types.gen.js").AutomationVersion>;
|
|
@@ -143,6 +170,33 @@ export declare function createAutomationClient(options: PraxisOptions): {
|
|
|
143
170
|
restore: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsRestoreData>) => Promise<import("./generated/types.gen.js").AutomationDefinition>;
|
|
144
171
|
retrieve: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsGetData>) => Promise<import("./generated/types.gen.js").AutomationDefinitionDetail>;
|
|
145
172
|
update: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsPatchData>) => Promise<import("./generated/types.gen.js").AutomationDefinitionDetail>;
|
|
173
|
+
vaults: {
|
|
174
|
+
delete: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
|
|
175
|
+
list: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsVaultsListData>) => Promise<{
|
|
176
|
+
data: Array<{
|
|
177
|
+
alias: string;
|
|
178
|
+
vault: {
|
|
179
|
+
id: string;
|
|
180
|
+
name: string;
|
|
181
|
+
};
|
|
182
|
+
secrets: Array<{
|
|
183
|
+
name: string;
|
|
184
|
+
}>;
|
|
185
|
+
secrets_unavailable?: true;
|
|
186
|
+
}>;
|
|
187
|
+
}>;
|
|
188
|
+
set: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsVaultsSetData>) => Promise<{
|
|
189
|
+
alias: string;
|
|
190
|
+
vault: {
|
|
191
|
+
id: string;
|
|
192
|
+
name: string;
|
|
193
|
+
};
|
|
194
|
+
secrets: Array<{
|
|
195
|
+
name: string;
|
|
196
|
+
}>;
|
|
197
|
+
secrets_unavailable?: true;
|
|
198
|
+
}>;
|
|
199
|
+
};
|
|
146
200
|
versions: {
|
|
147
201
|
create: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsPublishData>) => Promise<import("./generated/types.gen.js").AutomationVersion>;
|
|
148
202
|
deprecate: (options: import("./core/transport.js").CallOptions<import("./generated/types.gen.js").AutomationWorkflowsDeprecateData>) => Promise<import("./generated/types.gen.js").AutomationVersion>;
|