@deepraxis/sdk 0.1.1-dev.d412c99 → 0.1.1-dev.d73d5e4
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 +125 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +319 -6
- package/dist/generated/sdk.gen.js +1026 -5
- package/dist/generated/types.gen.d.ts +24129 -18995
- package/dist/helpers/browser-actions.d.ts +84 -0
- package/dist/helpers/browser-actions.js +141 -0
- package/dist/helpers/browser-connect.d.ts +26 -2
- package/dist/helpers/browser-connect.js +262 -25
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +53 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +20 -11
- package/dist/operations.generated.d.ts +1741 -5
- package/dist/operations.generated.js +2148 -4
- package/dist/resources.generated.d.ts +114 -0
- package/dist/resources.generated.js +85 -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`. 619 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
|
|
|
@@ -582,6 +582,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
582
582
|
| stream | GET | `/browser/v1/sessions/{sessionId}/stream` | always | no |
|
|
583
583
|
| update | POST | `/browser/v1/sessions/{sessionId}` | no | no |
|
|
584
584
|
|
|
585
|
+
### browser.sessions.actions
|
|
586
|
+
|
|
587
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
588
|
+
|---|---|---|---|---|
|
|
589
|
+
| create | POST | `/browser/v1/sessions/{sessionId}/actions` | no | no |
|
|
590
|
+
|
|
585
591
|
### browser.sessions.events
|
|
586
592
|
|
|
587
593
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1592,6 +1598,124 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1592
1598
|
|---|---|---|---|---|
|
|
1593
1599
|
| create | POST | `/search/v1/search` | no | no |
|
|
1594
1600
|
|
|
1601
|
+
## studio
|
|
1602
|
+
|
|
1603
|
+
### studio.codexes
|
|
1604
|
+
|
|
1605
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1606
|
+
|---|---|---|---|---|
|
|
1607
|
+
| create | POST | `/studio/v1/codexes` | no | no |
|
|
1608
|
+
| delete | DELETE | `/studio/v1/codexes/{codex}` | no | no |
|
|
1609
|
+
| list | GET | `/studio/v1/codexes` | no | no |
|
|
1610
|
+
| retrieve | GET | `/studio/v1/codexes/{codex}` | no | no |
|
|
1611
|
+
| update | PATCH | `/studio/v1/codexes/{codex}` | no | no |
|
|
1612
|
+
|
|
1613
|
+
### studio.codexes.entries
|
|
1614
|
+
|
|
1615
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1616
|
+
|---|---|---|---|---|
|
|
1617
|
+
| create | POST | `/studio/v1/codexes/{codex}/entries` | no | no |
|
|
1618
|
+
| delete | DELETE | `/studio/v1/codexes/{codex}/entries/{entry}` | no | no |
|
|
1619
|
+
| list | GET | `/studio/v1/codexes/{codex}/entries` | no | no |
|
|
1620
|
+
| retrieve | GET | `/studio/v1/codexes/{codex}/entries/{entry}` | no | no |
|
|
1621
|
+
| update | PATCH | `/studio/v1/codexes/{codex}/entries/{entry}` | no | no |
|
|
1622
|
+
|
|
1623
|
+
### studio.genres
|
|
1624
|
+
|
|
1625
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1626
|
+
|---|---|---|---|---|
|
|
1627
|
+
| list | GET | `/studio/v1/genres` | no | no |
|
|
1628
|
+
| retrieve | GET | `/studio/v1/genres/{genre}` | no | no |
|
|
1629
|
+
|
|
1630
|
+
### studio.platforms
|
|
1631
|
+
|
|
1632
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1633
|
+
|---|---|---|---|---|
|
|
1634
|
+
| list | GET | `/studio/v1/platforms` | no | no |
|
|
1635
|
+
| retrieve | GET | `/studio/v1/platforms/{platform}` | no | no |
|
|
1636
|
+
|
|
1637
|
+
### studio.styles
|
|
1638
|
+
|
|
1639
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1640
|
+
|---|---|---|---|---|
|
|
1641
|
+
| create | POST | `/studio/v1/styles` | no | no |
|
|
1642
|
+
| delete | DELETE | `/studio/v1/styles/{style}` | no | no |
|
|
1643
|
+
| list | GET | `/studio/v1/styles` | no | no |
|
|
1644
|
+
| retrieve | GET | `/studio/v1/styles/{style}` | no | no |
|
|
1645
|
+
| update | PATCH | `/studio/v1/styles/{style}` | no | no |
|
|
1646
|
+
|
|
1647
|
+
### studio.templates
|
|
1648
|
+
|
|
1649
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1650
|
+
|---|---|---|---|---|
|
|
1651
|
+
| create | POST | `/studio/v1/templates` | no | no |
|
|
1652
|
+
| delete | DELETE | `/studio/v1/templates/{template}` | no | no |
|
|
1653
|
+
| list | GET | `/studio/v1/templates` | no | no |
|
|
1654
|
+
| retrieve | GET | `/studio/v1/templates/{template}` | no | no |
|
|
1655
|
+
|
|
1656
|
+
### studio.themes
|
|
1657
|
+
|
|
1658
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1659
|
+
|---|---|---|---|---|
|
|
1660
|
+
| create | POST | `/studio/v1/themes` | no | no |
|
|
1661
|
+
| delete | DELETE | `/studio/v1/themes/{theme}` | no | no |
|
|
1662
|
+
| list | GET | `/studio/v1/themes` | no | no |
|
|
1663
|
+
| retrieve | GET | `/studio/v1/themes/{theme}` | no | no |
|
|
1664
|
+
| update | PATCH | `/studio/v1/themes/{theme}` | no | no |
|
|
1665
|
+
|
|
1666
|
+
### studio.works
|
|
1667
|
+
|
|
1668
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1669
|
+
|---|---|---|---|---|
|
|
1670
|
+
| create | POST | `/studio/v1/works` | no | no |
|
|
1671
|
+
| list | GET | `/studio/v1/works` | no | no |
|
|
1672
|
+
| resolve | GET | `/studio/v1/works:resolve` | no | no |
|
|
1673
|
+
| retrieve | GET | `/studio/v1/works/{work}` | no | no |
|
|
1674
|
+
| update | PATCH | `/studio/v1/works/{work}` | no | no |
|
|
1675
|
+
| updateBrief | PATCH | `/studio/v1/works/{work}/brief` | no | no |
|
|
1676
|
+
|
|
1677
|
+
### studio.works.drafts
|
|
1678
|
+
|
|
1679
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1680
|
+
|---|---|---|---|---|
|
|
1681
|
+
| create | POST | `/studio/v1/works/{work}/drafts` | no | no |
|
|
1682
|
+
| list | GET | `/studio/v1/works/{work}/drafts` | no | no |
|
|
1683
|
+
| rebase | POST | `/studio/v1/works/{work}/drafts/{draft}:rebase` | no | no |
|
|
1684
|
+
| retrieve | GET | `/studio/v1/works/{work}/drafts/{draft}` | no | no |
|
|
1685
|
+
| retrieveExport | GET | `/studio/v1/works/{work}/drafts/{draft}/export` | no | no |
|
|
1686
|
+
| retrieveOutline | GET | `/studio/v1/works/{work}/drafts/{draft}/outline` | no | no |
|
|
1687
|
+
| retrieveReview | GET | `/studio/v1/works/{work}/drafts/{draft}/review` | no | no |
|
|
1688
|
+
| update | PATCH | `/studio/v1/works/{work}/drafts/{draft}` | no | no |
|
|
1689
|
+
|
|
1690
|
+
### studio.works.drafts.status
|
|
1691
|
+
|
|
1692
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1693
|
+
|---|---|---|---|---|
|
|
1694
|
+
| list | GET | `/studio/v1/works/{work}/drafts/{draft}/status` | no | no |
|
|
1695
|
+
|
|
1696
|
+
### studio.works.drafts.units
|
|
1697
|
+
|
|
1698
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1699
|
+
|---|---|---|---|---|
|
|
1700
|
+
| batchCreate | POST | `/studio/v1/works/{work}/drafts/{draft}/units:batchCreate` | no | no |
|
|
1701
|
+
| batchUpdate | POST | `/studio/v1/works/{work}/drafts/{draft}/units:batchUpdate` | no | no |
|
|
1702
|
+
| create | POST | `/studio/v1/works/{work}/drafts/{draft}/units` | no | no |
|
|
1703
|
+
|
|
1704
|
+
### studio.works.units
|
|
1705
|
+
|
|
1706
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1707
|
+
|---|---|---|---|---|
|
|
1708
|
+
| move | POST | `/studio/v1/works/{work}/units/{unit}:move` | no | no |
|
|
1709
|
+
| retrieve | GET | `/studio/v1/works/{work}/units/{unit}` | no | no |
|
|
1710
|
+
| retrieveContext | GET | `/studio/v1/works/{work}/units/{unit}/context` | no | no |
|
|
1711
|
+
| update | PATCH | `/studio/v1/works/{work}/units/{unit}` | no | no |
|
|
1712
|
+
|
|
1713
|
+
### studio.works.units.blocks
|
|
1714
|
+
|
|
1715
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1716
|
+
|---|---|---|---|---|
|
|
1717
|
+
| patch | POST | `/studio/v1/works/{work}/units/{unit}/blocks:patch` | no | no |
|
|
1718
|
+
|
|
1595
1719
|
## ticket
|
|
1596
1720
|
|
|
1597
1721
|
### ticket.activity
|