@deepraxis/sdk 0.1.1-dev.02959a2 → 0.1.1-dev.068423d
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 +119 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +311 -5
- package/dist/generated/sdk.gen.js +1006 -4
- package/dist/generated/types.gen.d.ts +23540 -18860
- package/dist/helpers/browser-connect.d.ts +12 -0
- package/dist/helpers/browser-connect.js +108 -22
- package/dist/helpers/browser-decisions.d.ts +29 -0
- package/dist/helpers/browser-decisions.js +39 -0
- package/dist/operations.generated.d.ts +1720 -3
- package/dist/operations.generated.js +2124 -3
- package/dist/resources.generated.d.ts +80 -0
- package/dist/resources.generated.js +82 -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`. 618 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
|
|
|
@@ -1592,6 +1592,124 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1592
1592
|
|---|---|---|---|---|
|
|
1593
1593
|
| create | POST | `/search/v1/search` | no | no |
|
|
1594
1594
|
|
|
1595
|
+
## studio
|
|
1596
|
+
|
|
1597
|
+
### studio.codexes
|
|
1598
|
+
|
|
1599
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1600
|
+
|---|---|---|---|---|
|
|
1601
|
+
| create | POST | `/studio/v1/codexes` | no | no |
|
|
1602
|
+
| delete | DELETE | `/studio/v1/codexes/{codex}` | no | no |
|
|
1603
|
+
| list | GET | `/studio/v1/codexes` | no | no |
|
|
1604
|
+
| retrieve | GET | `/studio/v1/codexes/{codex}` | no | no |
|
|
1605
|
+
| update | PATCH | `/studio/v1/codexes/{codex}` | no | no |
|
|
1606
|
+
|
|
1607
|
+
### studio.codexes.entries
|
|
1608
|
+
|
|
1609
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1610
|
+
|---|---|---|---|---|
|
|
1611
|
+
| create | POST | `/studio/v1/codexes/{codex}/entries` | no | no |
|
|
1612
|
+
| delete | DELETE | `/studio/v1/codexes/{codex}/entries/{entry}` | no | no |
|
|
1613
|
+
| list | GET | `/studio/v1/codexes/{codex}/entries` | no | no |
|
|
1614
|
+
| retrieve | GET | `/studio/v1/codexes/{codex}/entries/{entry}` | no | no |
|
|
1615
|
+
| update | PATCH | `/studio/v1/codexes/{codex}/entries/{entry}` | no | no |
|
|
1616
|
+
|
|
1617
|
+
### studio.genres
|
|
1618
|
+
|
|
1619
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1620
|
+
|---|---|---|---|---|
|
|
1621
|
+
| list | GET | `/studio/v1/genres` | no | no |
|
|
1622
|
+
| retrieve | GET | `/studio/v1/genres/{genre}` | no | no |
|
|
1623
|
+
|
|
1624
|
+
### studio.platforms
|
|
1625
|
+
|
|
1626
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1627
|
+
|---|---|---|---|---|
|
|
1628
|
+
| list | GET | `/studio/v1/platforms` | no | no |
|
|
1629
|
+
| retrieve | GET | `/studio/v1/platforms/{platform}` | no | no |
|
|
1630
|
+
|
|
1631
|
+
### studio.styles
|
|
1632
|
+
|
|
1633
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1634
|
+
|---|---|---|---|---|
|
|
1635
|
+
| create | POST | `/studio/v1/styles` | no | no |
|
|
1636
|
+
| delete | DELETE | `/studio/v1/styles/{style}` | no | no |
|
|
1637
|
+
| list | GET | `/studio/v1/styles` | no | no |
|
|
1638
|
+
| retrieve | GET | `/studio/v1/styles/{style}` | no | no |
|
|
1639
|
+
| update | PATCH | `/studio/v1/styles/{style}` | no | no |
|
|
1640
|
+
|
|
1641
|
+
### studio.templates
|
|
1642
|
+
|
|
1643
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1644
|
+
|---|---|---|---|---|
|
|
1645
|
+
| create | POST | `/studio/v1/templates` | no | no |
|
|
1646
|
+
| delete | DELETE | `/studio/v1/templates/{template}` | no | no |
|
|
1647
|
+
| list | GET | `/studio/v1/templates` | no | no |
|
|
1648
|
+
| retrieve | GET | `/studio/v1/templates/{template}` | no | no |
|
|
1649
|
+
|
|
1650
|
+
### studio.themes
|
|
1651
|
+
|
|
1652
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1653
|
+
|---|---|---|---|---|
|
|
1654
|
+
| create | POST | `/studio/v1/themes` | no | no |
|
|
1655
|
+
| delete | DELETE | `/studio/v1/themes/{theme}` | no | no |
|
|
1656
|
+
| list | GET | `/studio/v1/themes` | no | no |
|
|
1657
|
+
| retrieve | GET | `/studio/v1/themes/{theme}` | no | no |
|
|
1658
|
+
| update | PATCH | `/studio/v1/themes/{theme}` | no | no |
|
|
1659
|
+
|
|
1660
|
+
### studio.works
|
|
1661
|
+
|
|
1662
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1663
|
+
|---|---|---|---|---|
|
|
1664
|
+
| create | POST | `/studio/v1/works` | no | no |
|
|
1665
|
+
| list | GET | `/studio/v1/works` | no | no |
|
|
1666
|
+
| resolve | GET | `/studio/v1/works:resolve` | no | no |
|
|
1667
|
+
| retrieve | GET | `/studio/v1/works/{work}` | no | no |
|
|
1668
|
+
| update | PATCH | `/studio/v1/works/{work}` | no | no |
|
|
1669
|
+
| updateBrief | PATCH | `/studio/v1/works/{work}/brief` | no | no |
|
|
1670
|
+
|
|
1671
|
+
### studio.works.drafts
|
|
1672
|
+
|
|
1673
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1674
|
+
|---|---|---|---|---|
|
|
1675
|
+
| create | POST | `/studio/v1/works/{work}/drafts` | no | no |
|
|
1676
|
+
| list | GET | `/studio/v1/works/{work}/drafts` | no | no |
|
|
1677
|
+
| rebase | POST | `/studio/v1/works/{work}/drafts/{draft}:rebase` | no | no |
|
|
1678
|
+
| retrieve | GET | `/studio/v1/works/{work}/drafts/{draft}` | no | no |
|
|
1679
|
+
| retrieveExport | GET | `/studio/v1/works/{work}/drafts/{draft}/export` | no | no |
|
|
1680
|
+
| retrieveOutline | GET | `/studio/v1/works/{work}/drafts/{draft}/outline` | no | no |
|
|
1681
|
+
| retrieveReview | GET | `/studio/v1/works/{work}/drafts/{draft}/review` | no | no |
|
|
1682
|
+
| update | PATCH | `/studio/v1/works/{work}/drafts/{draft}` | no | no |
|
|
1683
|
+
|
|
1684
|
+
### studio.works.drafts.status
|
|
1685
|
+
|
|
1686
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1687
|
+
|---|---|---|---|---|
|
|
1688
|
+
| list | GET | `/studio/v1/works/{work}/drafts/{draft}/status` | no | no |
|
|
1689
|
+
|
|
1690
|
+
### studio.works.drafts.units
|
|
1691
|
+
|
|
1692
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1693
|
+
|---|---|---|---|---|
|
|
1694
|
+
| batchCreate | POST | `/studio/v1/works/{work}/drafts/{draft}/units:batchCreate` | no | no |
|
|
1695
|
+
| batchUpdate | POST | `/studio/v1/works/{work}/drafts/{draft}/units:batchUpdate` | no | no |
|
|
1696
|
+
| create | POST | `/studio/v1/works/{work}/drafts/{draft}/units` | no | no |
|
|
1697
|
+
|
|
1698
|
+
### studio.works.units
|
|
1699
|
+
|
|
1700
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1701
|
+
|---|---|---|---|---|
|
|
1702
|
+
| move | POST | `/studio/v1/works/{work}/units/{unit}:move` | no | no |
|
|
1703
|
+
| retrieve | GET | `/studio/v1/works/{work}/units/{unit}` | no | no |
|
|
1704
|
+
| retrieveContext | GET | `/studio/v1/works/{work}/units/{unit}/context` | no | no |
|
|
1705
|
+
| update | PATCH | `/studio/v1/works/{work}/units/{unit}` | no | no |
|
|
1706
|
+
|
|
1707
|
+
### studio.works.units.blocks
|
|
1708
|
+
|
|
1709
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1710
|
+
|---|---|---|---|---|
|
|
1711
|
+
| patch | POST | `/studio/v1/works/{work}/units/{unit}/blocks:patch` | no | no |
|
|
1712
|
+
|
|
1595
1713
|
## ticket
|
|
1596
1714
|
|
|
1597
1715
|
### ticket.activity
|