@deepraxis/sdk 0.2.0-dev.b5aa484 → 0.2.0-dev.b5ef50d
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 +28 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +83 -11
- package/dist/generated/sdk.gen.js +218 -10
- package/dist/generated/types.gen.d.ts +1859 -212
- package/dist/operations.generated.js +476 -20
- package/dist/resources.generated.d.ts +66 -0
- package/dist/resources.generated.js +18 -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`. 992 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
|
|
|
@@ -1708,6 +1708,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1708
1708
|
|---|---|---|---|---|
|
|
1709
1709
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1710
1710
|
|
|
1711
|
+
### media.libraries.assets.works
|
|
1712
|
+
|
|
1713
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1714
|
+
|---|---|---|---|---|
|
|
1715
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/works` | no | yes |
|
|
1716
|
+
|
|
1711
1717
|
### media.libraries.batches
|
|
1712
1718
|
|
|
1713
1719
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1798,6 +1804,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1798
1804
|
|---|---|---|---|---|
|
|
1799
1805
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1800
1806
|
|
|
1807
|
+
### media.libraries.works
|
|
1808
|
+
|
|
1809
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1810
|
+
|---|---|---|---|---|
|
|
1811
|
+
| create | POST | `/media/v1/libraries/{library_id}/works` | no | no |
|
|
1812
|
+
| delete | DELETE | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1813
|
+
| list | GET | `/media/v1/libraries/{library_id}/works` | no | yes |
|
|
1814
|
+
| retrieve | GET | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1815
|
+
| update | PATCH | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1816
|
+
|
|
1801
1817
|
### media.pipelines
|
|
1802
1818
|
|
|
1803
1819
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2157,11 +2173,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2157
2173
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2158
2174
|
|---|---|---|---|---|
|
|
2159
2175
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2176
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2160
2177
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2161
2178
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2162
2179
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2163
2180
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2164
2181
|
|
|
2182
|
+
### organization.notifications.messages
|
|
2183
|
+
|
|
2184
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2185
|
+
|---|---|---|---|---|
|
|
2186
|
+
| delete | DELETE | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2187
|
+
| list | GET | `/organization/v1/notifications/messages` | no | no |
|
|
2188
|
+
| readAll | POST | `/organization/v1/notifications/messages:readAll` | no | no |
|
|
2189
|
+
| retrieve | GET | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2190
|
+
| update | POST | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2191
|
+
|
|
2165
2192
|
### organization.notifications.organizationDefault
|
|
2166
2193
|
|
|
2167
2194
|
| Method | HTTP | Path | Streaming | Pagination |
|