@deepraxis/sdk 0.2.0-dev.a24e748 → 0.2.0-dev.aa49a60
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 +66 -11
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +188 -41
- package/dist/generated/sdk.gen.js +426 -203
- package/dist/generated/types.gen.d.ts +2275 -715
- package/dist/operations.generated.js +835 -166
- package/dist/resources.generated.d.ts +63 -14
- package/dist/resources.generated.js +133 -22
- 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`. 1015 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
|
|
|
@@ -393,6 +393,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
393
393
|
| delete | DELETE | `/application/v1/workers/{worker_id}/grants/{grant_id}` | no | no |
|
|
394
394
|
| list | GET | `/application/v1/workers/{worker_id}/grants` | no | no |
|
|
395
395
|
|
|
396
|
+
### application.workers.logs
|
|
397
|
+
|
|
398
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
399
|
+
|---|---|---|---|---|
|
|
400
|
+
| keys | POST | `/application/v1/workers/{worker_id}/logs:keys` | no | no |
|
|
401
|
+
| query | POST | `/application/v1/workers/{worker_id}/logs:query` | no | no |
|
|
402
|
+
| values | POST | `/application/v1/workers/{worker_id}/logs:values` | no | no |
|
|
403
|
+
|
|
396
404
|
### application.workers.secrets
|
|
397
405
|
|
|
398
406
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -758,6 +766,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
758
766
|
|---|---|---|---|---|
|
|
759
767
|
| list | GET | `/canvas/v1/canvases/{canvas_id}/nodes` | no | no |
|
|
760
768
|
|
|
769
|
+
### canvas.canvases.processes.steps
|
|
770
|
+
|
|
771
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
772
|
+
|---|---|---|---|---|
|
|
773
|
+
| retrieveBrief | GET | `/canvas/v1/canvases/{canvas_id}/processes/{process_id}/steps/{step_id}/brief` | no | no |
|
|
774
|
+
|
|
761
775
|
### canvas.canvases.versions
|
|
762
776
|
|
|
763
777
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -898,7 +912,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
898
912
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
899
913
|
|---|---|---|---|---|
|
|
900
914
|
| create | POST | `/crm/v1/schemas` | no | no |
|
|
915
|
+
| delete | DELETE | `/crm/v1/schemas/{objectType}` | no | no |
|
|
901
916
|
| list | GET | `/crm/v1/schemas` | no | no |
|
|
917
|
+
| retrieve | GET | `/crm/v1/schemas/{objectType}` | no | no |
|
|
902
918
|
|
|
903
919
|
## customer
|
|
904
920
|
|
|
@@ -1421,6 +1437,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1421
1437
|
|---|---|---|---|---|
|
|
1422
1438
|
| close | POST | `/devops/v1/pull-requests/{id}:close` | no | no |
|
|
1423
1439
|
| merge | POST | `/devops/v1/pull-requests/{id}:merge` | no | no |
|
|
1440
|
+
| overrideGate | POST | `/devops/v1/pull-requests/{id}:overrideGate` | no | no |
|
|
1424
1441
|
| recordVerdict | POST | `/devops/v1/pull-requests/{id}:recordVerdict` | no | no |
|
|
1425
1442
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1426
1443
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
@@ -1506,6 +1523,48 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1506
1523
|
|---|---|---|---|---|
|
|
1507
1524
|
| list | GET | `/devops/v1/units/{id}/transitions` | no | no |
|
|
1508
1525
|
|
|
1526
|
+
## end
|
|
1527
|
+
|
|
1528
|
+
### end.accessTokens
|
|
1529
|
+
|
|
1530
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1531
|
+
|---|---|---|---|---|
|
|
1532
|
+
| create | POST | `/end/v1/access_tokens` | no | no |
|
|
1533
|
+
| renew | POST | `/end/v1/access_tokens/renew` | no | no |
|
|
1534
|
+
| revoke | DELETE | `/end/v1/access_tokens/current` | no | no |
|
|
1535
|
+
|
|
1536
|
+
### end.grantCodes
|
|
1537
|
+
|
|
1538
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1539
|
+
|---|---|---|---|---|
|
|
1540
|
+
| create | POST | `/end/v1/grant_codes` | no | no |
|
|
1541
|
+
|
|
1542
|
+
### end.publishableKeys
|
|
1543
|
+
|
|
1544
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1545
|
+
|---|---|---|---|---|
|
|
1546
|
+
| create | POST | `/end/v1/publishable_keys` | no | no |
|
|
1547
|
+
| delete | DELETE | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1548
|
+
| list | GET | `/end/v1/publishable_keys` | no | no |
|
|
1549
|
+
| update | PATCH | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1550
|
+
|
|
1551
|
+
### end.usage
|
|
1552
|
+
|
|
1553
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1554
|
+
|---|---|---|---|---|
|
|
1555
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}/usage` | no | no |
|
|
1556
|
+
|
|
1557
|
+
### end.users
|
|
1558
|
+
|
|
1559
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1560
|
+
|---|---|---|---|---|
|
|
1561
|
+
| block | POST | `/end/v1/users/{end_user_id}/block` | no | no |
|
|
1562
|
+
| delete | DELETE | `/end/v1/users/{end_user_id}` | no | no |
|
|
1563
|
+
| list | GET | `/end/v1/users` | no | no |
|
|
1564
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}` | no | no |
|
|
1565
|
+
| revokeTokens | POST | `/end/v1/users/{end_user_id}/revoke_tokens` | no | no |
|
|
1566
|
+
| unblock | POST | `/end/v1/users/{end_user_id}/unblock` | no | no |
|
|
1567
|
+
|
|
1509
1568
|
## events
|
|
1510
1569
|
|
|
1511
1570
|
### events.subscriptions
|
|
@@ -2375,7 +2434,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2375
2434
|
| retrieve | GET | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
2376
2435
|
| timeout | POST | `/sandbox/v1/sandboxes/{sandboxID}/timeout` | no | no |
|
|
2377
2436
|
| update | PATCH | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
2378
|
-
| updateNetwork | PUT | `/sandbox/v1/sandboxes/{sandboxID}/network` | no | no |
|
|
2379
2437
|
|
|
2380
2438
|
### sandbox.sandboxes.commands
|
|
2381
2439
|
|
|
@@ -2473,15 +2531,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2473
2531
|
| delete | DELETE | `/sandbox/v1/templates/tags` | no | no |
|
|
2474
2532
|
| list | GET | `/sandbox/v1/templates/{templateID}/tags` | no | no |
|
|
2475
2533
|
|
|
2476
|
-
### sandbox.volumes
|
|
2477
|
-
|
|
2478
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2479
|
-
|---|---|---|---|---|
|
|
2480
|
-
| create | POST | `/sandbox/v1/volumes` | no | no |
|
|
2481
|
-
| delete | DELETE | `/sandbox/v1/volumes/{volumeID}` | no | no |
|
|
2482
|
-
| list | GET | `/sandbox/v1/volumes` | no | no |
|
|
2483
|
-
| retrieve | GET | `/sandbox/v1/volumes/{volumeID}` | no | no |
|
|
2484
|
-
|
|
2485
2534
|
## search
|
|
2486
2535
|
|
|
2487
2536
|
### search.crawl
|
|
@@ -3171,6 +3220,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3171
3220
|
| database.table.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
3172
3221
|
| devops.changes.slices.create | ticket-4768: the slice belongs to the change, whose other operations (retrieve, abandon, markLastSlice) are devops.changes.*, and the RPC is devops.changes.slices.create; the project in the path is only the mount, so the path alone would derive devops.projects.changes.slices.create and split a change's operations across two namespaces. |
|
|
3173
3222
|
| devops.projects.flags.reportCodeRefs | ADR-125 §4 / #1881: a checkout reports where code names each flag key, so the write is an operation on the project's flags (devops.flags.reportCodeRefs) and returns counts, not a code-refs resource; the path alone would derive a nested codeRefs collection create. |
|
|
3223
|
+
| end.accessTokens.revoke | Logout revokes the caller's own sign-in and its tokens (services/customer's customer.accessTokens.revoke); current is a reference to the caller's token, not a revokeCurrent sub-resource. |
|
|
3224
|
+
| end.accessTokens.renew | renewal acts on the sign-in's access token (services/customer's customer.accessTokens.renew); renew is not in the generic action table, so the path alone would derive end.accessTokens.renew.create. |
|
|
3225
|
+
| end.users.block | block is the administrative act on the end user (services/customer's customer.customers.block); it is not in the generic action table, so the path alone would derive end.users.block.create. |
|
|
3226
|
+
| end.users.revokeTokens | Revoking every token of one end user is an act on the end user (services/customer's customer.customers.revokeTokens); the path alone would derive end.users.revoke_tokens.create. |
|
|
3227
|
+
| end.users.unblock | unblock lifts the same block fact on the end user (services/customer's customer.customers.unblock); the path alone would derive end.users.unblock.create. |
|
|
3228
|
+
| end.usage.retrieve | One end user's usage is the usage read (services/customer's customer.usage.get); usage is a projection of the end user read into billing, not a sub-resource of the user. |
|
|
3174
3229
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
3175
3230
|
| media.libraries.retrieveDefault | ADR-094 §9 names the default-library read libraries.retrieveDefault; the URL names a reference rather than an id, so the path-derived name would otherwise read as retrieving a library called default. |
|
|
3176
3231
|
| media.libraries.setDefault | ADR-094 §9 names the default-library write libraries.setDefault; the URL has no library id because the organization owns one default library, so the path alone cannot say which. |
|