@deepraxis/sdk 0.2.0-dev.360fcf1 → 0.2.0-dev.3e57790
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 +56 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +149 -2
- package/dist/generated/sdk.gen.js +335 -1
- package/dist/generated/types.gen.d.ts +1514 -11
- package/dist/operations.generated.js +575 -16
- package/dist/resources.generated.d.ts +49 -0
- package/dist/resources.generated.js +126 -15
- 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
|
|
|
@@ -758,6 +758,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
758
758
|
|---|---|---|---|---|
|
|
759
759
|
| list | GET | `/canvas/v1/canvases/{canvas_id}/nodes` | no | no |
|
|
760
760
|
|
|
761
|
+
### canvas.canvases.processes.steps
|
|
762
|
+
|
|
763
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
764
|
+
|---|---|---|---|---|
|
|
765
|
+
| retrieveBrief | GET | `/canvas/v1/canvases/{canvas_id}/processes/{process_id}/steps/{step_id}/brief` | no | no |
|
|
766
|
+
|
|
761
767
|
### canvas.canvases.versions
|
|
762
768
|
|
|
763
769
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1421,6 +1427,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1421
1427
|
|---|---|---|---|---|
|
|
1422
1428
|
| close | POST | `/devops/v1/pull-requests/{id}:close` | no | no |
|
|
1423
1429
|
| merge | POST | `/devops/v1/pull-requests/{id}:merge` | no | no |
|
|
1430
|
+
| overrideGate | POST | `/devops/v1/pull-requests/{id}:overrideGate` | no | no |
|
|
1424
1431
|
| recordVerdict | POST | `/devops/v1/pull-requests/{id}:recordVerdict` | no | no |
|
|
1425
1432
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1426
1433
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
@@ -1506,6 +1513,48 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1506
1513
|
|---|---|---|---|---|
|
|
1507
1514
|
| list | GET | `/devops/v1/units/{id}/transitions` | no | no |
|
|
1508
1515
|
|
|
1516
|
+
## end
|
|
1517
|
+
|
|
1518
|
+
### end.accessTokens
|
|
1519
|
+
|
|
1520
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1521
|
+
|---|---|---|---|---|
|
|
1522
|
+
| create | POST | `/end/v1/access_tokens` | no | no |
|
|
1523
|
+
| renew | POST | `/end/v1/access_tokens/renew` | no | no |
|
|
1524
|
+
| revoke | DELETE | `/end/v1/access_tokens/current` | no | no |
|
|
1525
|
+
|
|
1526
|
+
### end.grantCodes
|
|
1527
|
+
|
|
1528
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1529
|
+
|---|---|---|---|---|
|
|
1530
|
+
| create | POST | `/end/v1/grant_codes` | no | no |
|
|
1531
|
+
|
|
1532
|
+
### end.publishableKeys
|
|
1533
|
+
|
|
1534
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1535
|
+
|---|---|---|---|---|
|
|
1536
|
+
| create | POST | `/end/v1/publishable_keys` | no | no |
|
|
1537
|
+
| delete | DELETE | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1538
|
+
| list | GET | `/end/v1/publishable_keys` | no | no |
|
|
1539
|
+
| update | PATCH | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1540
|
+
|
|
1541
|
+
### end.usage
|
|
1542
|
+
|
|
1543
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1544
|
+
|---|---|---|---|---|
|
|
1545
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}/usage` | no | no |
|
|
1546
|
+
|
|
1547
|
+
### end.users
|
|
1548
|
+
|
|
1549
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1550
|
+
|---|---|---|---|---|
|
|
1551
|
+
| block | POST | `/end/v1/users/{end_user_id}/block` | no | no |
|
|
1552
|
+
| delete | DELETE | `/end/v1/users/{end_user_id}` | no | no |
|
|
1553
|
+
| list | GET | `/end/v1/users` | no | no |
|
|
1554
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}` | no | no |
|
|
1555
|
+
| revokeTokens | POST | `/end/v1/users/{end_user_id}/revoke_tokens` | no | no |
|
|
1556
|
+
| unblock | POST | `/end/v1/users/{end_user_id}/unblock` | no | no |
|
|
1557
|
+
|
|
1509
1558
|
## events
|
|
1510
1559
|
|
|
1511
1560
|
### events.subscriptions
|
|
@@ -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. |
|