@deepraxis/sdk 0.1.0 → 0.1.1-dev.016e776
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 +437 -43
- package/README.md +3 -3
- package/dist/automation.d.ts +61 -0
- package/dist/core/client.d.ts +11 -1
- package/dist/core/client.js +13 -0
- package/dist/core/transport.d.ts +9 -0
- package/dist/core/transport.js +13 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +1076 -182
- package/dist/generated/sdk.gen.js +3143 -642
- package/dist/generated/types.gen.d.ts +52279 -35870
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/helpers/file-upload.d.ts +2 -2
- package/dist/helpers/sandbox-templates.d.ts +121 -0
- package/dist/helpers/sandbox-templates.js +60 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -0
- package/dist/operations.generated.d.ts +6491 -2211
- package/dist/operations.generated.js +9970 -4754
- package/dist/resources.generated.d.ts +753 -419
- package/dist/resources.generated.js +270 -25
- package/package.json +2 -2
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`. 545 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
|
|
|
@@ -16,34 +16,54 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
16
16
|
| create | POST | `/agent/v1/agents` | no | no |
|
|
17
17
|
| list | GET | `/agent/v1/agents` | no | no |
|
|
18
18
|
| retrieve | GET | `/agent/v1/agents/{agent_id}` | no | no |
|
|
19
|
+
| retrieveAppearance | GET | `/agent/v1/agents/{agent_id}/appearance` | no | no |
|
|
19
20
|
| update | POST | `/agent/v1/agents/{agent_id}` | no | no |
|
|
20
21
|
|
|
21
|
-
### agent.agents.
|
|
22
|
+
### agent.agents.customers
|
|
22
23
|
|
|
23
24
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
24
25
|
|---|---|---|---|---|
|
|
25
|
-
| delete | DELETE | `/agent/v1/agents/{agent_id}/
|
|
26
|
-
| list | GET | `/agent/v1/agents/{agent_id}/
|
|
27
|
-
| retrieve | GET | `/agent/v1/agents/{agent_id}/
|
|
28
|
-
| retrieveDeletion | GET | `/agent/v1/agents/{agent_id}/
|
|
26
|
+
| delete | DELETE | `/agent/v1/agents/{agent_id}/customers/{customer_id}` | no | no |
|
|
27
|
+
| list | GET | `/agent/v1/agents/{agent_id}/customers` | no | no |
|
|
28
|
+
| retrieve | GET | `/agent/v1/agents/{agent_id}/customers/{customer_id}` | no | no |
|
|
29
|
+
| retrieveDeletion | GET | `/agent/v1/agents/{agent_id}/customers/{customer_id}/deletion` | no | no |
|
|
29
30
|
|
|
30
|
-
### agent.agents.
|
|
31
|
+
### agent.agents.customers.auth.accessTokens
|
|
31
32
|
|
|
32
33
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
33
34
|
|---|---|---|---|---|
|
|
34
|
-
| create | POST | `/agent/v1/agents/{agent_id}/
|
|
35
|
+
| create | POST | `/agent/v1/agents/{agent_id}/customers/auth/access_tokens` | no | no |
|
|
36
|
+
| deleteCurrent | DELETE | `/agent/v1/agents/{agent_id}/customers/auth/access_tokens/current` | no | no |
|
|
35
37
|
|
|
36
|
-
### agent.agents.
|
|
38
|
+
### agent.agents.customers.auth.accessTokens.renew
|
|
37
39
|
|
|
38
40
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
39
41
|
|---|---|---|---|---|
|
|
40
|
-
| create | POST | `/agent/v1/agents/{agent_id}/
|
|
42
|
+
| create | POST | `/agent/v1/agents/{agent_id}/customers/auth/access_tokens/renew` | no | no |
|
|
41
43
|
|
|
42
|
-
### agent.agents.
|
|
44
|
+
### agent.agents.customers.auth.grantCodes
|
|
43
45
|
|
|
44
46
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
45
47
|
|---|---|---|---|---|
|
|
46
|
-
| create | POST | `/agent/v1/agents/{agent_id}/
|
|
48
|
+
| create | POST | `/agent/v1/agents/{agent_id}/customers/auth/grant_codes` | no | no |
|
|
49
|
+
|
|
50
|
+
### agent.agents.customers.block
|
|
51
|
+
|
|
52
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
53
|
+
|---|---|---|---|---|
|
|
54
|
+
| create | POST | `/agent/v1/agents/{agent_id}/customers/{customer_id}/block` | no | no |
|
|
55
|
+
|
|
56
|
+
### agent.agents.customers.revokeTokens
|
|
57
|
+
|
|
58
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
59
|
+
|---|---|---|---|---|
|
|
60
|
+
| create | POST | `/agent/v1/agents/{agent_id}/customers/{customer_id}/revoke_tokens` | no | no |
|
|
61
|
+
|
|
62
|
+
### agent.agents.customers.unblock
|
|
63
|
+
|
|
64
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
65
|
+
|---|---|---|---|---|
|
|
66
|
+
| create | POST | `/agent/v1/agents/{agent_id}/customers/{customer_id}/unblock` | no | no |
|
|
47
67
|
|
|
48
68
|
### agent.agents.unarchive
|
|
49
69
|
|
|
@@ -125,37 +145,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
125
145
|
|---|---|---|---|---|
|
|
126
146
|
| create | POST | `/agent/v1/deployments/{deployment_id}/unpause` | no | no |
|
|
127
147
|
|
|
128
|
-
### agent.embed
|
|
129
|
-
|
|
130
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
131
|
-
|---|---|---|---|---|
|
|
132
|
-
| retrieveAppearance | GET | `/agent/v1/embed/appearance` | no | no |
|
|
133
|
-
|
|
134
|
-
### agent.embed.exchange
|
|
135
|
-
|
|
136
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
137
|
-
|---|---|---|---|---|
|
|
138
|
-
| create | POST | `/agent/v1/embed/exchange` | no | no |
|
|
139
|
-
|
|
140
|
-
### agent.embedTokens
|
|
141
|
-
|
|
142
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
143
|
-
|---|---|---|---|---|
|
|
144
|
-
| create | POST | `/agent/v1/embed_tokens` | no | no |
|
|
145
|
-
| list | GET | `/agent/v1/embed_tokens` | no | no |
|
|
146
|
-
|
|
147
|
-
### agent.embedTokens.anonymous
|
|
148
|
-
|
|
149
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
150
|
-
|---|---|---|---|---|
|
|
151
|
-
| create | POST | `/agent/v1/embed_tokens/anonymous` | no | no |
|
|
152
|
-
|
|
153
|
-
### agent.embedTokens.revoke
|
|
154
|
-
|
|
155
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
156
|
-
|---|---|---|---|---|
|
|
157
|
-
| create | POST | `/agent/v1/embed_tokens/{id}/revoke` | no | no |
|
|
158
|
-
|
|
159
148
|
### agent.environments
|
|
160
149
|
|
|
161
150
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -385,6 +374,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
385
374
|
|---|---|---|---|---|
|
|
386
375
|
| send | POST | `/automation/v1/hooks/{trigger_id}/{token}` | no | no |
|
|
387
376
|
|
|
377
|
+
### automation.humanTasks
|
|
378
|
+
|
|
379
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
380
|
+
|---|---|---|---|---|
|
|
381
|
+
| cancel | POST | `/automation/v1/human-tasks/{id}/cancel` | no | no |
|
|
382
|
+
| delegate | POST | `/automation/v1/human-tasks/{id}/delegate` | no | no |
|
|
383
|
+
| list | GET | `/automation/v1/human-tasks` | no | yes |
|
|
384
|
+
| respond | POST | `/automation/v1/human-tasks/{id}/respond` | no | no |
|
|
385
|
+
| retrieve | GET | `/automation/v1/human-tasks/{id}` | no | no |
|
|
386
|
+
|
|
388
387
|
### automation.resolve
|
|
389
388
|
|
|
390
389
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -450,6 +449,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
450
449
|
| list | GET | `/automation/v1/scripts/{ns}/{name}/dist-tags` | no | no |
|
|
451
450
|
| set | PUT | `/automation/v1/scripts/{ns}/{name}/dist-tags/{tag}` | no | no |
|
|
452
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
|
+
|
|
453
460
|
### automation.scripts.versions
|
|
454
461
|
|
|
455
462
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -511,6 +518,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
511
518
|
| list | GET | `/automation/v1/workflows/{ns}/{name}/dist-tags` | no | no |
|
|
512
519
|
| set | PUT | `/automation/v1/workflows/{ns}/{name}/dist-tags/{tag}` | no | no |
|
|
513
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
|
+
|
|
514
529
|
### automation.workflows.versions
|
|
515
530
|
|
|
516
531
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -580,6 +595,210 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
580
595
|
|---|---|---|---|---|
|
|
581
596
|
| create | POST | `/browser/v1/sessions/{sessionId}/viewer` | no | no |
|
|
582
597
|
|
|
598
|
+
## canvas
|
|
599
|
+
|
|
600
|
+
### canvas.canvases
|
|
601
|
+
|
|
602
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
603
|
+
|---|---|---|---|---|
|
|
604
|
+
| create | POST | `/canvas/v1/canvases` | no | no |
|
|
605
|
+
| delete | DELETE | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
606
|
+
| execute | POST | `/canvas/v1/canvases/{canvas_id}:execute` | no | no |
|
|
607
|
+
| list | GET | `/canvas/v1/canvases` | no | yes |
|
|
608
|
+
| restore | POST | `/canvas/v1/canvases/{canvas_id}:restore` | no | no |
|
|
609
|
+
| retrieve | GET | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
610
|
+
| update | PATCH | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
611
|
+
|
|
612
|
+
### canvas.canvases.images
|
|
613
|
+
|
|
614
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
615
|
+
|---|---|---|---|---|
|
|
616
|
+
| list | GET | `/canvas/v1/canvases/{canvas_id}/images` | no | no |
|
|
617
|
+
|
|
618
|
+
### canvas.canvases.nodes
|
|
619
|
+
|
|
620
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
621
|
+
|---|---|---|---|---|
|
|
622
|
+
| list | GET | `/canvas/v1/canvases/{canvas_id}/nodes` | no | no |
|
|
623
|
+
|
|
624
|
+
### canvas.canvases.versions
|
|
625
|
+
|
|
626
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
627
|
+
|---|---|---|---|---|
|
|
628
|
+
| list | GET | `/canvas/v1/canvases/{canvas_id}/versions` | no | no |
|
|
629
|
+
|
|
630
|
+
### canvas.collections
|
|
631
|
+
|
|
632
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
633
|
+
|---|---|---|---|---|
|
|
634
|
+
| create | POST | `/canvas/v1/collections` | no | no |
|
|
635
|
+
| delete | DELETE | `/canvas/v1/collections/{collection_id}` | no | no |
|
|
636
|
+
| list | GET | `/canvas/v1/collections` | no | no |
|
|
637
|
+
| retrieve | GET | `/canvas/v1/collections/{collection_id}` | no | no |
|
|
638
|
+
| update | PATCH | `/canvas/v1/collections/{collection_id}` | no | no |
|
|
639
|
+
|
|
640
|
+
## crm
|
|
641
|
+
|
|
642
|
+
### crm.associations
|
|
643
|
+
|
|
644
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
645
|
+
|---|---|---|---|---|
|
|
646
|
+
| create | PUT | `/crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}` | no | no |
|
|
647
|
+
| createDefault | PUT | `/crm/v1/objects/{objectType}/{objectId}/associations/default/{toObjectType}/{toObjectId}` | no | no |
|
|
648
|
+
| list | GET | `/crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}` | no | no |
|
|
649
|
+
| remove | DELETE | `/crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}` | no | no |
|
|
650
|
+
|
|
651
|
+
### crm.changes
|
|
652
|
+
|
|
653
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
654
|
+
|---|---|---|---|---|
|
|
655
|
+
| revert | POST | `/crm/v1/changes/{changeSetId}:revert` | no | no |
|
|
656
|
+
|
|
657
|
+
### crm.layouts
|
|
658
|
+
|
|
659
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
660
|
+
|---|---|---|---|---|
|
|
661
|
+
| retrieve | GET | `/crm/v1/layouts/{objectType}` | no | no |
|
|
662
|
+
| update | PUT | `/crm/v1/layouts/{objectType}` | no | no |
|
|
663
|
+
|
|
664
|
+
### crm.leads
|
|
665
|
+
|
|
666
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
667
|
+
|---|---|---|---|---|
|
|
668
|
+
| qualify | POST | `/crm/v1/leads/{leadId}:qualify` | no | no |
|
|
669
|
+
|
|
670
|
+
### crm.objects
|
|
671
|
+
|
|
672
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
673
|
+
|---|---|---|---|---|
|
|
674
|
+
| archive | DELETE | `/crm/v1/objects/{objectType}/{objectId}` | no | no |
|
|
675
|
+
| create | POST | `/crm/v1/objects/{objectType}` | no | no |
|
|
676
|
+
| list | GET | `/crm/v1/objects/{objectType}` | no | no |
|
|
677
|
+
| retrieve | GET | `/crm/v1/objects/{objectType}/{objectId}` | no | no |
|
|
678
|
+
| search | POST | `/crm/v1/objects/{objectType}/search` | no | no |
|
|
679
|
+
| update | PATCH | `/crm/v1/objects/{objectType}/{objectId}` | no | no |
|
|
680
|
+
|
|
681
|
+
### crm.objects.batch
|
|
682
|
+
|
|
683
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
684
|
+
|---|---|---|---|---|
|
|
685
|
+
| archive | POST | `/crm/v1/objects/{objectType}/batch/archive` | no | no |
|
|
686
|
+
| create | POST | `/crm/v1/objects/{objectType}/batch/create` | no | no |
|
|
687
|
+
| read | POST | `/crm/v1/objects/{objectType}/batch/read` | no | no |
|
|
688
|
+
| update | POST | `/crm/v1/objects/{objectType}/batch/update` | no | no |
|
|
689
|
+
| upsert | POST | `/crm/v1/objects/{objectType}/batch/upsert` | no | no |
|
|
690
|
+
|
|
691
|
+
### crm.pipelines
|
|
692
|
+
|
|
693
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
694
|
+
|---|---|---|---|---|
|
|
695
|
+
| archive | DELETE | `/crm/v1/pipelines/{objectType}/{pipelineId}` | no | no |
|
|
696
|
+
| create | POST | `/crm/v1/pipelines/{objectType}` | no | no |
|
|
697
|
+
| list | GET | `/crm/v1/pipelines/{objectType}` | no | no |
|
|
698
|
+
| retrieve | GET | `/crm/v1/pipelines/{objectType}/{pipelineId}` | no | no |
|
|
699
|
+
| update | PATCH | `/crm/v1/pipelines/{objectType}/{pipelineId}` | no | no |
|
|
700
|
+
|
|
701
|
+
### crm.pipelines.stages
|
|
702
|
+
|
|
703
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
704
|
+
|---|---|---|---|---|
|
|
705
|
+
| archive | DELETE | `/crm/v1/pipelines/{objectType}/{pipelineId}/stages/{stageId}` | no | no |
|
|
706
|
+
| create | POST | `/crm/v1/pipelines/{objectType}/{pipelineId}/stages` | no | no |
|
|
707
|
+
| update | PATCH | `/crm/v1/pipelines/{objectType}/{pipelineId}/stages/{stageId}` | no | no |
|
|
708
|
+
|
|
709
|
+
### crm.properties
|
|
710
|
+
|
|
711
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
712
|
+
|---|---|---|---|---|
|
|
713
|
+
| archive | DELETE | `/crm/v1/properties/{objectType}/{propertyName}` | no | no |
|
|
714
|
+
| create | POST | `/crm/v1/properties/{objectType}` | no | no |
|
|
715
|
+
| list | GET | `/crm/v1/properties/{objectType}` | no | no |
|
|
716
|
+
| retrieve | GET | `/crm/v1/properties/{objectType}/{propertyName}` | no | no |
|
|
717
|
+
| update | PATCH | `/crm/v1/properties/{objectType}/{propertyName}` | no | no |
|
|
718
|
+
|
|
719
|
+
### crm.properties.groups
|
|
720
|
+
|
|
721
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
722
|
+
|---|---|---|---|---|
|
|
723
|
+
| create | POST | `/crm/v1/properties/{objectType}/groups` | no | no |
|
|
724
|
+
| list | GET | `/crm/v1/properties/{objectType}/groups` | no | no |
|
|
725
|
+
|
|
726
|
+
### crm.schemas
|
|
727
|
+
|
|
728
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
729
|
+
|---|---|---|---|---|
|
|
730
|
+
| create | POST | `/crm/v1/schemas` | no | no |
|
|
731
|
+
| list | GET | `/crm/v1/schemas` | no | no |
|
|
732
|
+
|
|
733
|
+
## cut
|
|
734
|
+
|
|
735
|
+
### cut.exports
|
|
736
|
+
|
|
737
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
738
|
+
|---|---|---|---|---|
|
|
739
|
+
| cancel | POST | `/cut/v1/exports/{export_id}:cancel` | no | no |
|
|
740
|
+
| retrieve | GET | `/cut/v1/exports/{export_id}` | no | no |
|
|
741
|
+
|
|
742
|
+
### cut.projects
|
|
743
|
+
|
|
744
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
745
|
+
|---|---|---|---|---|
|
|
746
|
+
| create | POST | `/cut/v1/projects` | no | no |
|
|
747
|
+
| delete | DELETE | `/cut/v1/projects/{project_id}` | no | no |
|
|
748
|
+
| execute | POST | `/cut/v1/projects/{project_id}:execute` | no | no |
|
|
749
|
+
| list | GET | `/cut/v1/projects` | no | no |
|
|
750
|
+
| retrieve | GET | `/cut/v1/projects/{project_id}` | no | no |
|
|
751
|
+
| retrieveState | GET | `/cut/v1/projects/{project_id}/state` | no | no |
|
|
752
|
+
| retrieveTimeline | GET | `/cut/v1/projects/{project_id}/timeline` | no | no |
|
|
753
|
+
| undelete | POST | `/cut/v1/projects/{project_id}:undelete` | no | no |
|
|
754
|
+
| update | PATCH | `/cut/v1/projects/{project_id}` | no | no |
|
|
755
|
+
|
|
756
|
+
### cut.projects.analysis
|
|
757
|
+
|
|
758
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
759
|
+
|---|---|---|---|---|
|
|
760
|
+
| create | POST | `/cut/v1/projects/{project_id}/analysis` | no | no |
|
|
761
|
+
|
|
762
|
+
### cut.projects.bindings
|
|
763
|
+
|
|
764
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
765
|
+
|---|---|---|---|---|
|
|
766
|
+
| create | POST | `/cut/v1/projects/{project_id}/bindings` | no | no |
|
|
767
|
+
| delete | DELETE | `/cut/v1/projects/{project_id}/bindings/{name}` | no | no |
|
|
768
|
+
| list | GET | `/cut/v1/projects/{project_id}/bindings` | no | no |
|
|
769
|
+
|
|
770
|
+
### cut.projects.exports
|
|
771
|
+
|
|
772
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
773
|
+
|---|---|---|---|---|
|
|
774
|
+
| create | POST | `/cut/v1/projects/{project_id}/exports` | no | no |
|
|
775
|
+
| list | GET | `/cut/v1/projects/{project_id}/exports` | no | no |
|
|
776
|
+
|
|
777
|
+
### cut.projects.frames
|
|
778
|
+
|
|
779
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
780
|
+
|---|---|---|---|---|
|
|
781
|
+
| list | GET | `/cut/v1/projects/{project_id}/frames` | no | no |
|
|
782
|
+
|
|
783
|
+
### cut.projects.media
|
|
784
|
+
|
|
785
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
786
|
+
|---|---|---|---|---|
|
|
787
|
+
| import | POST | `/cut/v1/projects/{project_id}/media:import` | no | no |
|
|
788
|
+
|
|
789
|
+
### cut.projects.versions
|
|
790
|
+
|
|
791
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
792
|
+
|---|---|---|---|---|
|
|
793
|
+
| create | POST | `/cut/v1/projects/{project_id}/versions` | no | no |
|
|
794
|
+
| list | GET | `/cut/v1/projects/{project_id}/versions` | no | no |
|
|
795
|
+
|
|
796
|
+
### cut.versions
|
|
797
|
+
|
|
798
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
799
|
+
|---|---|---|---|---|
|
|
800
|
+
| restore | POST | `/cut/v1/versions/{version_id}:restore` | no | no |
|
|
801
|
+
|
|
583
802
|
## database
|
|
584
803
|
|
|
585
804
|
### database.databases
|
|
@@ -645,6 +864,18 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
645
864
|
| retrieve | GET | `/file/v1/files/{file_id}` | no | no |
|
|
646
865
|
| retrieveContent | GET | `/file/v1/files/{file_id}/content` | no | no |
|
|
647
866
|
|
|
867
|
+
### file.files.contentLinks
|
|
868
|
+
|
|
869
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
870
|
+
|---|---|---|---|---|
|
|
871
|
+
| revoke | POST | `/file/v1/files/{file_id}/content_links:revoke` | no | no |
|
|
872
|
+
|
|
873
|
+
### file.files.contentUrl
|
|
874
|
+
|
|
875
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
876
|
+
|---|---|---|---|---|
|
|
877
|
+
| create | POST | `/file/v1/files/{file_id}/content_url` | no | no |
|
|
878
|
+
|
|
648
879
|
### file.uploads
|
|
649
880
|
|
|
650
881
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -652,6 +883,8 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
652
883
|
| cancel | POST | `/file/v1/uploads/{upload_id}/cancel` | no | no |
|
|
653
884
|
| complete | POST | `/file/v1/uploads/{upload_id}/complete` | no | no |
|
|
654
885
|
| create | POST | `/file/v1/uploads` | no | no |
|
|
886
|
+
| createSigned | POST | `/file/v1/uploads/signed` | no | no |
|
|
887
|
+
| retrieve | GET | `/file/v1/uploads/{upload_id}` | no | no |
|
|
655
888
|
|
|
656
889
|
### file.uploads.parts
|
|
657
890
|
|
|
@@ -735,6 +968,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
735
968
|
|
|
736
969
|
## media
|
|
737
970
|
|
|
971
|
+
### media.generation.capabilities
|
|
972
|
+
|
|
973
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
974
|
+
|---|---|---|---|---|
|
|
975
|
+
| list | GET | `/media/v1/generation/capabilities` | no | no |
|
|
976
|
+
|
|
738
977
|
### media.libraries
|
|
739
978
|
|
|
740
979
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -757,6 +996,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
757
996
|
| retrieve | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
758
997
|
| update | PATCH | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
759
998
|
|
|
999
|
+
### media.libraries.assets.frames
|
|
1000
|
+
|
|
1001
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1002
|
+
|---|---|---|---|---|
|
|
1003
|
+
| create | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/frames` | no | no |
|
|
1004
|
+
|
|
760
1005
|
### media.libraries.assets.import
|
|
761
1006
|
|
|
762
1007
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -782,6 +1027,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
782
1027
|
| create | POST | `/media/v1/libraries/{library_id}/batches` | no | no |
|
|
783
1028
|
| retrieve | GET | `/media/v1/libraries/{library_id}/batches/{job_id}` | no | no |
|
|
784
1029
|
|
|
1030
|
+
### media.libraries.deliveryTokens
|
|
1031
|
+
|
|
1032
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1033
|
+
|---|---|---|---|---|
|
|
1034
|
+
| create | POST | `/media/v1/libraries/{library_id}/delivery_tokens` | no | no |
|
|
1035
|
+
|
|
785
1036
|
### media.libraries.events
|
|
786
1037
|
|
|
787
1038
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -794,12 +1045,26 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
794
1045
|
|---|---|---|---|---|
|
|
795
1046
|
| list | GET | `/media/v1/libraries/{library_id}/folders` | no | no |
|
|
796
1047
|
|
|
1048
|
+
### media.libraries.generations
|
|
1049
|
+
|
|
1050
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1051
|
+
|---|---|---|---|---|
|
|
1052
|
+
| create | POST | `/media/v1/libraries/{library_id}/generations` | no | no |
|
|
1053
|
+
|
|
797
1054
|
### media.libraries.jobs
|
|
798
1055
|
|
|
799
1056
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
800
1057
|
|---|---|---|---|---|
|
|
1058
|
+
| cancel | POST | `/media/v1/libraries/{library_id}/jobs/{job_id}/cancel` | no | no |
|
|
1059
|
+
| list | GET | `/media/v1/libraries/{library_id}/jobs` | no | yes |
|
|
801
1060
|
| retrieve | GET | `/media/v1/libraries/{library_id}/jobs/{job_id}` | no | no |
|
|
802
1061
|
|
|
1062
|
+
### media.libraries.jobs.outputs.save
|
|
1063
|
+
|
|
1064
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1065
|
+
|---|---|---|---|---|
|
|
1066
|
+
| create | POST | `/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save` | no | no |
|
|
1067
|
+
|
|
803
1068
|
### media.libraries.purge
|
|
804
1069
|
|
|
805
1070
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -830,8 +1095,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
830
1095
|
|---|---|---|---|---|
|
|
831
1096
|
| create | POST | `/media/v1/libraries/{library_id}/search/visual` | no | no |
|
|
832
1097
|
|
|
1098
|
+
### media.libraries.understandings
|
|
1099
|
+
|
|
1100
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1101
|
+
|---|---|---|---|---|
|
|
1102
|
+
| list | GET | `/media/v1/libraries/{library_id}/understandings` | no | yes |
|
|
1103
|
+
| retrieveFailureSummary | GET | `/media/v1/libraries/{library_id}/understandings/failure_summary` | no | no |
|
|
1104
|
+
|
|
833
1105
|
## meta
|
|
834
1106
|
|
|
1107
|
+
### meta.docs
|
|
1108
|
+
|
|
1109
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1110
|
+
|---|---|---|---|---|
|
|
1111
|
+
| retrieve | GET | `/meta/v1/docs/{path}` | no | no |
|
|
1112
|
+
| search | GET | `/meta/v1/docs/search` | no | no |
|
|
1113
|
+
|
|
835
1114
|
### meta.health
|
|
836
1115
|
|
|
837
1116
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -955,6 +1234,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
955
1234
|
|---|---|---|---|---|
|
|
956
1235
|
| create | POST | `/model/v1/responses/input_tokens` | no | no |
|
|
957
1236
|
|
|
1237
|
+
### model.systemone
|
|
1238
|
+
|
|
1239
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1240
|
+
|---|---|---|---|---|
|
|
1241
|
+
| create | POST | `/model/v1/systemone` | no | no |
|
|
1242
|
+
|
|
958
1243
|
### model.videos
|
|
959
1244
|
|
|
960
1245
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -966,6 +1251,57 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
966
1251
|
| retrieve | GET | `/model/v1/videos/{video_id}` | no | no |
|
|
967
1252
|
| retrieveContent | GET | `/model/v1/videos/{video_id}/content` | no | no |
|
|
968
1253
|
|
|
1254
|
+
## ontology
|
|
1255
|
+
|
|
1256
|
+
### ontology.changesets
|
|
1257
|
+
|
|
1258
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1259
|
+
|---|---|---|---|---|
|
|
1260
|
+
| create | POST | `/ontology/v1/changesets` | no | no |
|
|
1261
|
+
|
|
1262
|
+
### ontology.nodes
|
|
1263
|
+
|
|
1264
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1265
|
+
|---|---|---|---|---|
|
|
1266
|
+
| create | POST | `/ontology/v1/nodes` | no | no |
|
|
1267
|
+
| list | GET | `/ontology/v1/nodes` | no | yes |
|
|
1268
|
+
| retrieve | GET | `/ontology/v1/nodes/{node_id}` | no | no |
|
|
1269
|
+
| update | PATCH | `/ontology/v1/nodes/{node_id}` | no | no |
|
|
1270
|
+
|
|
1271
|
+
### ontology.nodes.merge
|
|
1272
|
+
|
|
1273
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1274
|
+
|---|---|---|---|---|
|
|
1275
|
+
| create | POST | `/ontology/v1/nodes/{node_id}/merge` | no | no |
|
|
1276
|
+
|
|
1277
|
+
### ontology.relations
|
|
1278
|
+
|
|
1279
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1280
|
+
|---|---|---|---|---|
|
|
1281
|
+
| create | POST | `/ontology/v1/relations` | no | no |
|
|
1282
|
+
| list | GET | `/ontology/v1/relations` | no | yes |
|
|
1283
|
+
| retrieve | GET | `/ontology/v1/relations/{relation_id}` | no | no |
|
|
1284
|
+
|
|
1285
|
+
### ontology.relations.invalidate
|
|
1286
|
+
|
|
1287
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1288
|
+
|---|---|---|---|---|
|
|
1289
|
+
| create | POST | `/ontology/v1/relations/{relation_id}/invalidate` | no | no |
|
|
1290
|
+
|
|
1291
|
+
### ontology.search
|
|
1292
|
+
|
|
1293
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1294
|
+
|---|---|---|---|---|
|
|
1295
|
+
| create | POST | `/ontology/v1/search` | no | no |
|
|
1296
|
+
|
|
1297
|
+
### ontology.types
|
|
1298
|
+
|
|
1299
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1300
|
+
|---|---|---|---|---|
|
|
1301
|
+
| create | POST | `/ontology/v1/types` | no | no |
|
|
1302
|
+
| list | GET | `/ontology/v1/types` | no | no |
|
|
1303
|
+
| retrieve | GET | `/ontology/v1/types/{name}` | no | no |
|
|
1304
|
+
|
|
969
1305
|
## organization
|
|
970
1306
|
|
|
971
1307
|
### organization.charges
|
|
@@ -1008,6 +1344,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1008
1344
|
| create | POST | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1009
1345
|
| list | GET | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1010
1346
|
|
|
1347
|
+
### organization.members
|
|
1348
|
+
|
|
1349
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1350
|
+
|---|---|---|---|---|
|
|
1351
|
+
| list | GET | `/organization/v1/members` | no | no |
|
|
1352
|
+
|
|
1011
1353
|
### organization.usage
|
|
1012
1354
|
|
|
1013
1355
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1090,7 +1432,36 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1090
1432
|
|
|
1091
1433
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1092
1434
|
|---|---|---|---|---|
|
|
1435
|
+
| create | POST | `/sandbox/v1/templates` | no | no |
|
|
1436
|
+
| delete | DELETE | `/sandbox/v1/templates/{templateID}` | no | no |
|
|
1093
1437
|
| list | GET | `/sandbox/v1/templates` | no | no |
|
|
1438
|
+
| retrieve | GET | `/sandbox/v1/templates/{templateID}` | no | no |
|
|
1439
|
+
|
|
1440
|
+
### sandbox.templates.aliases
|
|
1441
|
+
|
|
1442
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1443
|
+
|---|---|---|---|---|
|
|
1444
|
+
| retrieve | GET | `/sandbox/v1/templates/aliases/{alias}` | no | no |
|
|
1445
|
+
|
|
1446
|
+
### sandbox.templates.builds
|
|
1447
|
+
|
|
1448
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1449
|
+
|---|---|---|---|---|
|
|
1450
|
+
| update | POST | `/sandbox/v1/templates/{templateID}/builds/{buildID}` | no | no |
|
|
1451
|
+
|
|
1452
|
+
### sandbox.templates.builds.status
|
|
1453
|
+
|
|
1454
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1455
|
+
|---|---|---|---|---|
|
|
1456
|
+
| list | GET | `/sandbox/v1/templates/{templateID}/builds/{buildID}/status` | no | no |
|
|
1457
|
+
|
|
1458
|
+
### sandbox.templates.tags
|
|
1459
|
+
|
|
1460
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1461
|
+
|---|---|---|---|---|
|
|
1462
|
+
| create | POST | `/sandbox/v1/templates/tags` | no | no |
|
|
1463
|
+
| delete | DELETE | `/sandbox/v1/templates/tags` | no | no |
|
|
1464
|
+
| list | GET | `/sandbox/v1/templates/{templateID}/tags` | no | no |
|
|
1094
1465
|
|
|
1095
1466
|
### sandbox.volumes
|
|
1096
1467
|
|
|
@@ -1340,10 +1711,33 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1340
1711
|
| agent.sessions.events.send | Events submit session input; the product verb is send rather than create. |
|
|
1341
1712
|
| automation.hooks.send | Delivers a payload to a trigger's secret webhook URL; it sends an event rather than updating a hook resource. |
|
|
1342
1713
|
| automation.scripts.distTags.set | A dist-tag assigns a version to a name; use npm vocabulary set rather than update. |
|
|
1714
|
+
| automation.scripts.vaults.set | Assign a whole vault to a definition alias, independently of published versions. |
|
|
1343
1715
|
| automation.scripts.versions.create / publish | Creating a script version publishes it; publish is a product alias of versions.create. |
|
|
1344
1716
|
| automation.workflows.distTags.set | Workflow dist-tags use the same npm-style assignment vocabulary as script dist-tags. |
|
|
1717
|
+
| automation.workflows.vaults.set | Assign a whole vault to a definition alias, independently of published versions. |
|
|
1345
1718
|
| automation.workflows.versions.create / publish | Creating a workflow version publishes it; publish is a product alias of versions.create. |
|
|
1719
|
+
| crm.objects.list | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
1720
|
+
| crm.objects.create | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
1721
|
+
| crm.objects.batch.create | The terminal batch segment is the requested operation, not another collection; retain its read/create/update/upsert/archive verb. |
|
|
1722
|
+
| crm.objects.batch.read | The terminal batch segment is the requested operation, not another collection; retain its read/create/update/upsert/archive verb. |
|
|
1723
|
+
| crm.objects.batch.update | The terminal batch segment is the requested operation, not another collection; retain its read/create/update/upsert/archive verb. |
|
|
1724
|
+
| crm.objects.batch.upsert | The terminal batch segment is the requested operation, not another collection; retain its read/create/update/upsert/archive verb. |
|
|
1725
|
+
| crm.objects.search | The terminal search segment queries records without creating a nested search resource. |
|
|
1726
|
+
| crm.objects.archive | CRM DELETE archives the resource rather than permanently deleting it; expose the archive product verb. |
|
|
1727
|
+
| crm.associations.createDefault | CRM relationships live below objects in the URL but form the associations SDK resource; distinguish labelled and default creation from record updates. |
|
|
1728
|
+
| crm.associations.list | CRM relationships live below objects in the URL but form the associations SDK resource; distinguish labelled and default creation from record updates. |
|
|
1729
|
+
| crm.associations.remove | CRM relationships live below objects in the URL but form the associations SDK resource; distinguish labelled and default creation from record updates. |
|
|
1730
|
+
| crm.associations.create | CRM relationships live below objects in the URL but form the associations SDK resource; distinguish labelled and default creation from record updates. |
|
|
1731
|
+
| crm.pipelines.list | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
1732
|
+
| crm.pipelines.create | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
1733
|
+
| crm.pipelines.archive | CRM DELETE archives the resource rather than permanently deleting it; expose the archive product verb. |
|
|
1734
|
+
| crm.pipelines.stages.archive | CRM DELETE archives the resource rather than permanently deleting it; expose the archive product verb. |
|
|
1735
|
+
| crm.properties.list | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
1736
|
+
| crm.properties.create | CRM objectType selects a collection, not an entity; preserve list/create separately from retrieve/update on an identified resource. |
|
|
1737
|
+
| crm.properties.archive | CRM DELETE archives the resource rather than permanently deleting it; expose the archive product verb. |
|
|
1346
1738
|
| database.databases.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
1739
|
+
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
1740
|
+
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
1347
1741
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
1348
1742
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
1349
1743
|
| sandbox.sandboxes.files.read | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Models, agents, sandboxes, search, data and automation, typed end to end.**
|
|
6
6
|
|
|
7
|
-
The official TypeScript SDK for [
|
|
7
|
+
The official TypeScript SDK for [Praxis](https://deepraxis.com), the cloud where AI agents are built, run and hosted.
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/@deepraxis/sdk)
|
|
10
10
|
[](https://bundlephobia.com/package/@deepraxis/sdk)
|
|
@@ -55,7 +55,7 @@ server. You need a Praxis account; sign up at [deepraxis.com](https://deepraxis.
|
|
|
55
55
|
const praxis = new Praxis({
|
|
56
56
|
apiKey: process.env.PRAXIS_API_KEY!,
|
|
57
57
|
baseUrl: 'https://api.deepraxis.com', // default
|
|
58
|
-
timeoutMs:
|
|
58
|
+
timeoutMs: 600_000, // default (10 minutes, as the OpenAI and Anthropic SDKs); the whole call, body included
|
|
59
59
|
maxRetries: 2, // default
|
|
60
60
|
// fetch: customFetch, // bring your own fetch
|
|
61
61
|
});
|
|
@@ -276,5 +276,5 @@ sandboxes, search, data, automation and the rest of the platform.
|
|
|
276
276
|
|
|
277
277
|
[Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0). Copyright 2026 南京深度实践人工智能科技有限公司 (Deepractice).
|
|
278
278
|
|
|
279
|
-
"Praxis"
|
|
279
|
+
"Praxis" and "Deepraxis" are trademarks of Deepractice; the license does not grant
|
|
280
280
|
rights to use them.
|