@deepraxis/sdk 0.1.1-dev.7f17950 → 0.1.1-dev.8b0bba1
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 +257 -1
- package/README.md +2 -2
- package/dist/core/client.d.ts +7 -1
- package/dist/core/client.js +3 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +656 -49
- package/dist/generated/sdk.gen.js +2350 -706
- package/dist/generated/types.gen.d.ts +31733 -22541
- package/dist/helpers/sandbox-templates.d.ts +121 -0
- package/dist/helpers/sandbox-templates.js +60 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +3502 -870
- package/dist/operations.generated.js +7469 -4185
- package/dist/resources.generated.d.ts +254 -9
- package/dist/resources.generated.js +155 -1
- 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
|
|
|
@@ -605,7 +605,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
605
605
|
| delete | DELETE | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
606
606
|
| execute | POST | `/canvas/v1/canvases/{canvas_id}:execute` | no | no |
|
|
607
607
|
| list | GET | `/canvas/v1/canvases` | no | yes |
|
|
608
|
+
| restore | POST | `/canvas/v1/canvases/{canvas_id}:restore` | no | no |
|
|
608
609
|
| retrieve | GET | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
610
|
+
| update | PATCH | `/canvas/v1/canvases/{canvas_id}` | no | no |
|
|
609
611
|
|
|
610
612
|
### canvas.canvases.images
|
|
611
613
|
|
|
@@ -619,6 +621,115 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
619
621
|
|---|---|---|---|---|
|
|
620
622
|
| list | GET | `/canvas/v1/canvases/{canvas_id}/nodes` | no | no |
|
|
621
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
|
+
|
|
622
733
|
## cut
|
|
623
734
|
|
|
624
735
|
### cut.exports
|
|
@@ -759,6 +870,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
759
870
|
|---|---|---|---|---|
|
|
760
871
|
| revoke | POST | `/file/v1/files/{file_id}/content_links:revoke` | no | no |
|
|
761
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
|
+
|
|
762
879
|
### file.uploads
|
|
763
880
|
|
|
764
881
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -767,6 +884,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
767
884
|
| complete | POST | `/file/v1/uploads/{upload_id}/complete` | no | no |
|
|
768
885
|
| create | POST | `/file/v1/uploads` | no | no |
|
|
769
886
|
| createSigned | POST | `/file/v1/uploads/signed` | no | no |
|
|
887
|
+
| retrieve | GET | `/file/v1/uploads/{upload_id}` | no | no |
|
|
770
888
|
|
|
771
889
|
### file.uploads.parts
|
|
772
890
|
|
|
@@ -850,6 +968,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
850
968
|
|
|
851
969
|
## media
|
|
852
970
|
|
|
971
|
+
### media.generation.capabilities
|
|
972
|
+
|
|
973
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
974
|
+
|---|---|---|---|---|
|
|
975
|
+
| list | GET | `/media/v1/generation/capabilities` | no | no |
|
|
976
|
+
|
|
853
977
|
### media.libraries
|
|
854
978
|
|
|
855
979
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -872,6 +996,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
872
996
|
| retrieve | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
873
997
|
| update | PATCH | `/media/v1/libraries/{library_id}/assets/{asset_id}` | no | no |
|
|
874
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
|
+
|
|
875
1005
|
### media.libraries.assets.import
|
|
876
1006
|
|
|
877
1007
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -915,12 +1045,26 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
915
1045
|
|---|---|---|---|---|
|
|
916
1046
|
| list | GET | `/media/v1/libraries/{library_id}/folders` | no | no |
|
|
917
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
|
+
|
|
918
1054
|
### media.libraries.jobs
|
|
919
1055
|
|
|
920
1056
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
921
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 |
|
|
922
1060
|
| retrieve | GET | `/media/v1/libraries/{library_id}/jobs/{job_id}` | no | no |
|
|
923
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
|
+
|
|
924
1068
|
### media.libraries.purge
|
|
925
1069
|
|
|
926
1070
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -951,6 +1095,13 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
951
1095
|
|---|---|---|---|---|
|
|
952
1096
|
| create | POST | `/media/v1/libraries/{library_id}/search/visual` | no | no |
|
|
953
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
|
+
|
|
954
1105
|
## meta
|
|
955
1106
|
|
|
956
1107
|
### meta.docs
|
|
@@ -1100,6 +1251,57 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1100
1251
|
| retrieve | GET | `/model/v1/videos/{video_id}` | no | no |
|
|
1101
1252
|
| retrieveContent | GET | `/model/v1/videos/{video_id}/content` | no | no |
|
|
1102
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
|
+
|
|
1103
1305
|
## organization
|
|
1104
1306
|
|
|
1105
1307
|
### organization.charges
|
|
@@ -1142,6 +1344,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1142
1344
|
| create | POST | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1143
1345
|
| list | GET | `/organization/v1/feedback/{id}/messages` | no | no |
|
|
1144
1346
|
|
|
1347
|
+
### organization.members
|
|
1348
|
+
|
|
1349
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1350
|
+
|---|---|---|---|---|
|
|
1351
|
+
| list | GET | `/organization/v1/members` | no | no |
|
|
1352
|
+
|
|
1145
1353
|
### organization.usage
|
|
1146
1354
|
|
|
1147
1355
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1224,7 +1432,36 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1224
1432
|
|
|
1225
1433
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
1226
1434
|
|---|---|---|---|---|
|
|
1435
|
+
| create | POST | `/sandbox/v1/templates` | no | no |
|
|
1436
|
+
| delete | DELETE | `/sandbox/v1/templates/{templateID}` | no | no |
|
|
1227
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 |
|
|
1228
1465
|
|
|
1229
1466
|
### sandbox.volumes
|
|
1230
1467
|
|
|
@@ -1479,6 +1716,25 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1479
1716
|
| automation.workflows.distTags.set | Workflow dist-tags use the same npm-style assignment vocabulary as script dist-tags. |
|
|
1480
1717
|
| automation.workflows.vaults.set | Assign a whole vault to a definition alias, independently of published versions. |
|
|
1481
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. |
|
|
1482
1738
|
| database.databases.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
1483
1739
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
1484
1740
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
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)
|
|
@@ -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.
|
package/dist/core/client.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SandboxTemplateBuildInput, type SandboxTemplateBuildResult } from "../helpers/sandbox-templates.js";
|
|
1
2
|
import { type UploadFileOptions, type UploadedFile } from '../helpers/file-upload.js';
|
|
2
3
|
import { resourceFactories } from '../resources.generated.js';
|
|
3
4
|
import { type PraxisOptions } from './transport.js';
|
|
@@ -7,7 +8,12 @@ import { type CountInput, type CountResult } from '../helpers/database-count.js'
|
|
|
7
8
|
type Resources = {
|
|
8
9
|
readonly [K in keyof typeof resourceFactories]: ReturnType<(typeof resourceFactories)[K]>;
|
|
9
10
|
};
|
|
10
|
-
export interface Praxis extends Omit<Resources, 'application' | 'browser' | 'database' | 'file'> {
|
|
11
|
+
export interface Praxis extends Omit<Resources, 'application' | 'browser' | 'database' | 'file' | 'sandbox'> {
|
|
12
|
+
readonly sandbox: Omit<Resources['sandbox'], 'templates'> & {
|
|
13
|
+
templates: Resources['sandbox']['templates'] & {
|
|
14
|
+
build(input: SandboxTemplateBuildInput): Promise<SandboxTemplateBuildResult>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
11
17
|
readonly browser: Resources['browser'] & {
|
|
12
18
|
connect(options?: BrowserConnectOptions): Promise<PraxisBrowser>;
|
|
13
19
|
};
|
package/dist/core/client.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { buildSandboxTemplate } from "../helpers/sandbox-templates.js";
|
|
1
2
|
import { uploadFile } from "../helpers/file-upload.js";
|
|
2
3
|
import { resourceFactories } from "../resources.generated.js";
|
|
3
4
|
import { Transport } from "./transport.js";
|
|
@@ -10,6 +11,8 @@ export class Praxis {
|
|
|
10
11
|
for (const [name, create] of Object.entries(resourceFactories)) {
|
|
11
12
|
const resource = create(transport);
|
|
12
13
|
// Assemble before sealing the resource property; never replace a readonly SDK resource.
|
|
14
|
+
if (name === 'sandbox')
|
|
15
|
+
Object.assign(resource.templates, { build: (input) => buildSandboxTemplate(this, input) });
|
|
13
16
|
if (name === 'file')
|
|
14
17
|
Object.assign(resource, { uploadFile: (file, options) => uploadFile(this, file, options) });
|
|
15
18
|
if (name === 'database')
|