Skip to content

Commit 953e328

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 1.0.9 (#9)
* ## Typescript SDK Changes: * `marble.posts.list()`: * `request.status` **Added** * `marble.posts.get()`: * `request.status` **Added** * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent d7f7481 commit 953e328

21 files changed

+209
-76
lines changed

.speakeasy/gen.lock

Lines changed: 44 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
lockVersion: 2.0.0
22
id: 09ace5d6-2450-4685-aba1-9fca7e90771a
33
management:
4-
docChecksum: 889c5c4fcef1958a2682f55b56da8297
4+
docChecksum: d1b5cf50e70a2dcbba44765c24514155
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.684.0
7-
generationVersion: 2.793.0
8-
releaseVersion: 1.0.8
9-
configChecksum: 8ce61c3cb1e972221c22d9cb28fcd5eb
6+
speakeasyVersion: 1.685.3
7+
generationVersion: 2.795.8
8+
releaseVersion: 1.0.9
9+
configChecksum: f5429a9d374c62953e1c11794d4fb694
1010
repoURL: https://github.com/usemarble/marble-ts.git
1111
installationURL: https://github.com/usemarble/marble-ts
1212
published: true
1313
persistentEdits:
14-
generation_id: 4502c9aa-d80e-495d-af2d-8a6ac71f1cac
15-
pristine_commit_hash: 3c3519d14880303a88e99ce10a108170f476156f
16-
pristine_tree_hash: d316fec634722cc729cbda1115648a77ab977083
14+
generation_id: 88a435a2-944b-4241-9f21-ab5466942513
15+
pristine_commit_hash: d3ec8a47ff4d157ef53e78e78c4f9cb97cbc25cc
16+
pristine_tree_hash: 26b275c7326dc5379298f3212977fc9424b746a0
1717
features:
1818
typescript:
1919
additionalDependencies: 0.1.0
2020
constsAndDefaults: 0.1.12
21-
core: 3.26.19
21+
core: 3.26.21
2222
defaultEnabledRetries: 0.1.0
2323
devContainers: 2.90.1
2424
enumUnions: 0.1.0
@@ -195,16 +195,24 @@ trackedFiles:
195195
pristine_git_object: 84e9633094cc777fce62b64f45d206d54fa43f5e
196196
docs/models/operations/getv1postsidentifierrequest.md:
197197
id: 64dbdd889885
198-
last_write_checksum: sha1:75d472fcbb5ab3954ceb67be0754a81945c44134
199-
pristine_git_object: ac5769f7fd082f0d6eff2e7061823b8588122664
198+
last_write_checksum: sha1:e6632cd7a86167bfd85356496fdf1dbbd018ee9e
199+
pristine_git_object: a3e648009b0189c52606237d15ce4d2eef477d81
200+
docs/models/operations/getv1postsidentifierstatus.md:
201+
id: 124cad299ea1
202+
last_write_checksum: sha1:f686861044bdf606797889bc97a96f5ea4cbd504
203+
pristine_git_object: 85e8251096ca769da5baac9bffd0ff6fc9b17b80
200204
docs/models/operations/getv1postsrequest.md:
201205
id: 1884c10225f5
202-
last_write_checksum: sha1:549aaf3f14fca9783c904357fed0f6860f6c3738
203-
pristine_git_object: ee489eec6ec122a055b810ad7520b599d9eea0de
206+
last_write_checksum: sha1:ee9a998d46853338baf14de7a2c253f23912d5c4
207+
pristine_git_object: a1082930ca975eacb592bfaeb05f29e5f8ee0d89
204208
docs/models/operations/getv1postsresponse.md:
205209
id: c5b63e59bfbf
206210
last_write_checksum: sha1:1ef65a4df7b9cd93437942eb40cf5430cfe565af
207211
pristine_git_object: 2ce391e2e116f7a278e98f8d67eedfe551fece0d
212+
docs/models/operations/getv1postsstatus.md:
213+
id: 10bfb5f3db51
214+
last_write_checksum: sha1:25bf1f54aea8d869e2d855472a89d65c44a01b0e
215+
pristine_git_object: 51c16a9a2bf075e4a5cfff1b31a2fc3b352cd661
208216
docs/models/operations/getv1tagsidentifierrequest.md:
209217
id: 77cc2c529ad4
210218
last_write_checksum: sha1:1480b103a3c1df862a8afffb3ce432976eee8e1f
@@ -279,8 +287,8 @@ trackedFiles:
279287
pristine_git_object: 3751908a0044c959848eca5fab0cd40bb5ed6aeb
280288
docs/sdks/posts/README.md:
281289
id: 688ed1fc5d91
282-
last_write_checksum: sha1:4f7d801983ba9c9a868edaed3777f5c530a48124
283-
pristine_git_object: a0f394e33c01cd442519859805043d0ad3ab7d72
290+
last_write_checksum: sha1:7a724b9e066760825c27e30e448aa167aa17f362
291+
pristine_git_object: 78d4982ca4254030bd143ee5e26e012528129e51
284292
docs/sdks/tags/README.md:
285293
id: 971f8a95d807
286294
last_write_checksum: sha1:516bb6ea8f3a6360c8ee3e974269bbd657a8bae3
@@ -307,12 +315,12 @@ trackedFiles:
307315
pristine_git_object: e71dfe3f0a1d6fe1d85f98a70041a293f44a59d5
308316
jsr.json:
309317
id: 7f6ab7767282
310-
last_write_checksum: sha1:560e9a70400c62b976c45b2ffcc38826fa2a4596
311-
pristine_git_object: 39b73e9d5b5a1f0c319ed97a1a7815d1df18d825
318+
last_write_checksum: sha1:b6f7a5a8c265274e2bd93d93e0a342b3c8b70cad
319+
pristine_git_object: 885d925b4e2d187009c87c207dd00e86ae3d07a9
312320
package.json:
313321
id: 7030d0b2f71b
314-
last_write_checksum: sha1:b259bfda6ff5459d50199e608804c8b2503b7aa9
315-
pristine_git_object: 0061ad91fcf798c9f33a1907e2917c64db20bdb2
322+
last_write_checksum: sha1:641d1f772108374849d32143d4a0c12e1c7cbd92
323+
pristine_git_object: 9210975d3a6000bb771646efbc140124ae75f41c
316324
src/core.ts:
317325
id: f431fdbcd144
318326
last_write_checksum: sha1:0498cf94d5892376f01cc5ff8440e55590a229fd
@@ -335,12 +343,12 @@ trackedFiles:
335343
pristine_git_object: 426ab4c0daec6495a22af0e2792e5ee93558bb2c
336344
src/funcs/postsGet.ts:
337345
id: 843d8259b45d
338-
last_write_checksum: sha1:b92ccd5da888a905e09c5a6f5594c480af73f9b6
339-
pristine_git_object: 34197d03f7c5d0c97b04fb45264ba7d5f2045758
346+
last_write_checksum: sha1:46c1dcb07333e66a56634f4d29cfb2c5f08f2677
347+
pristine_git_object: d663707945bf9da506192404ee7b735dbb7f4bbc
340348
src/funcs/postsList.ts:
341349
id: 5e1081f97b2d
342-
last_write_checksum: sha1:e66a5f6304584cafb8f20040b56c8e5bf076245a
343-
pristine_git_object: 50db046d862d59b3878ff345e5498c43cb5d585d
350+
last_write_checksum: sha1:011d011a118a967b668f85d7d06c622261c6d532
351+
pristine_git_object: 055b917b5162727e8a9d96597e8127b3c293c24c
344352
src/funcs/tagsGet.ts:
345353
id: 462e2fcddbb2
346354
last_write_checksum: sha1:edef6387490916d3ad55727f7941a03617665df3
@@ -371,8 +379,8 @@ trackedFiles:
371379
pristine_git_object: 44be0eae8246521b230e8e711a88eff738fc015d
372380
src/lib/config.ts:
373381
id: 320761608fb3
374-
last_write_checksum: sha1:0f8c2776c43305d05dee18dd8a81b81355ea7a42
375-
pristine_git_object: 800b2041d0723a19c94c9d7b90dda70137ca7a48
382+
last_write_checksum: sha1:867e0c315a875b7bd3cd199cf73679747ca0f9ac
383+
pristine_git_object: 5a70969cc6b9f2b544ae40a707a9bba3feea8555
376384
src/lib/dlv.ts:
377385
id: b1988214835a
378386
last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250
@@ -419,8 +427,8 @@ trackedFiles:
419427
pristine_git_object: 61d7649b3d804f5c3ce4b2e3f7cc7ab8d087c4e1
420428
src/lib/sdks.ts:
421429
id: 8a6d91f1218d
422-
last_write_checksum: sha1:d1e91ce026e8de556cf1c651eb838aa639c49782
423-
pristine_git_object: 2afb5a92b593a101a67cd844e3254f5e5f065688
430+
last_write_checksum: sha1:5be9706415738f188fd6d2387263d57747329caa
431+
pristine_git_object: ee0e6ed4c0729d91c3002dc7c92da766237c9d8d
424432
src/lib/security.ts:
425433
id: 0502afa7922e
426434
last_write_checksum: sha1:bd23f6698498e0d9de6799de09587522108e975c
@@ -547,12 +555,12 @@ trackedFiles:
547555
pristine_git_object: d3513401bacdbac3cd0c32cc5cf1611e5c9955f7
548556
src/models/operations/getv1posts.ts:
549557
id: ef69cbccc1df
550-
last_write_checksum: sha1:15f41e2ecdcc80225376075da77a415f827428f4
551-
pristine_git_object: 95898f6decdb74a1bd36c37752768e18abd3be06
558+
last_write_checksum: sha1:fd95779f635eb8683b238aa72337803a6e3f7420
559+
pristine_git_object: 3fae1e36aa3aca7631ee9c244230cfd2b23fc457
552560
src/models/operations/getv1postsidentifier.ts:
553561
id: 01c930952243
554-
last_write_checksum: sha1:0b32d86baf6b959c13a11188ba2eeb69184ae05d
555-
pristine_git_object: f83c6a28e7a0a229d4fcfdac2fdd1b93792d7e90
562+
last_write_checksum: sha1:c3de6ee759ea99d24df358ac65c752ab985d9037
563+
pristine_git_object: 520a8e82bd3005b9b97a799922d8a19ce9c63c89
556564
src/models/operations/getv1tags.ts:
557565
id: cdf5e7e38f58
558566
last_write_checksum: sha1:c41c4bd02ddf1d89f7419a7575e49098bac29214
@@ -627,8 +635,8 @@ trackedFiles:
627635
pristine_git_object: ecac2264817bb369ff2dbf0f0e9029807e67ff77
628636
src/sdk/posts.ts:
629637
id: 6787631da7f6
630-
last_write_checksum: sha1:7136b7ad55ffe5a723ed054a8b86c1501c580bc3
631-
pristine_git_object: be3725764ed610690df7bd2ebdb24e89f77b30d4
638+
last_write_checksum: sha1:ad98e239e1915e512495276140ac5a68b6a8e7e3
639+
pristine_git_object: 365e12d0a5ee6646658ca80392cb86388ac8eabc
632640
src/sdk/sdk.ts:
633641
id: 784571af2f69
634642
last_write_checksum: sha1:babff02ad08f10876d726b3fd6a218c4032e615f
@@ -708,6 +716,7 @@ examples:
708716
query: "nextjs"
709717
format: "html"
710718
featured: "true"
719+
status: "published"
711720
responses:
712721
"200":
713722
application/json: {"posts": [], "pagination": {"limit": 10, "currentPage": 1, "nextPage": 2, "previousPage": null, "totalPages": 5, "totalItems": 42}}
@@ -722,6 +731,7 @@ examples:
722731
identifier: "my-post-slug"
723732
query:
724733
format: "html"
734+
status: "published"
725735
responses:
726736
"200":
727737
application/json: {"post": {"id": "cryitfjp5678mn09qrstuvwx", "slug": "getting-started-with-nextjs", "title": "Getting Started with Next.js", "content": "<p>Hello world</p>", "featured": false, "coverImage": "https://media.marblecms.com/cover.jpg", "description": "A beginner's guide to Next.js", "publishedAt": "2024-01-15T10:00:00Z", "updatedAt": "2024-01-16T12:00:00Z", "attribution": null, "authors": [{"id": "clx123abc", "name": "John Doe", "image": "https://cdn.example.com/avatar.jpg", "bio": "Technical writer and developer", "role": "Editor", "slug": "john-doe", "socials": [{"url": "https://twitter.com/johndoe", "platform": "twitter"}]}], "category": {"id": "cryitfjp1234jl04vdnycek8", "name": "Technology", "slug": "technology", "description": "Tech news and tutorials"}, "tags": []}}
@@ -805,7 +815,4 @@ examples:
805815
"500":
806816
application/json: {"error": "Internal server error", "message": "Failed to fetch resource"}
807817
examplesVersion: 1.0.2
808-
releaseNotes: |
809-
## Typescript SDK Changes:
810-
* `marble.posts.list()`: `response.posts.[].category` **Changed** **Breaking** :warning:
811-
* `marble.posts.get()`: `response.post.category` **Changed** **Breaking** :warning:
818+
releaseNotes: "## Typescript SDK Changes:\n* `marble.posts.list()`: \n * `request.status` **Added**\n* `marble.posts.get()`: \n * `request.status` **Added**\n"

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ generation:
1616
requestResponseComponentNamesFeb2024: true
1717
securityFeb2025: true
1818
sharedErrorComponentsApr2025: true
19+
sharedNestedComponentsJan2026: false
1920
auth:
2021
oAuth2ClientCredentialsEnabled: true
2122
oAuth2PasswordEnabled: true
@@ -31,7 +32,7 @@ generation:
3132
generateNewTests: true
3233
skipResponseBodyAssertions: false
3334
typescript:
34-
version: 1.0.8
35+
version: 1.0.9
3536
acceptHeaderEnum: false
3637
additionalDependencies:
3738
dependencies: {}

.speakeasy/out.openapi.yaml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,19 @@ paths:
581581
description: "Filter by featured status"
582582
name: "featured"
583583
in: "query"
584+
- schema:
585+
type: "string"
586+
enum:
587+
- "published"
588+
- "draft"
589+
- "all"
590+
default: "published"
591+
example: "published"
592+
description: "Filter by post status. Use 'published' for live posts, 'draft' for unpublished posts, or 'all' for both."
593+
required: false
594+
description: "Filter by post status. Use 'published' for live posts, 'draft' for unpublished posts, or 'all' for both."
595+
name: "status"
596+
in: "query"
584597
responses:
585598
"200":
586599
description: "Paginated list of posts"
@@ -607,7 +620,7 @@ paths:
607620
tags:
608621
- "Posts"
609622
summary: "Get post"
610-
description: "Get a single published post by ID or slug"
623+
description: "Get a single post by ID or slug, with optional status filtering"
611624
parameters:
612625
- schema:
613626
type: "string"
@@ -622,6 +635,19 @@ paths:
622635
description: "Content format (html or markdown)"
623636
name: "format"
624637
in: "query"
638+
- schema:
639+
type: "string"
640+
enum:
641+
- "published"
642+
- "draft"
643+
- "all"
644+
default: "published"
645+
example: "published"
646+
description: "Filter by post status. Use 'published' for live posts, 'draft' for unpublished posts, or 'all' for both."
647+
required: false
648+
description: "Filter by post status. Use 'published' for live posts, 'draft' for unpublished posts, or 'all' for both."
649+
name: "status"
650+
in: "query"
625651
responses:
626652
"200":
627653
description: "The requested post"

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.684.0
1+
speakeasyVersion: 1.685.3
22
sources:
33
Marble API:
44
sourceNamespace: marble-api
5-
sourceRevisionDigest: sha256:e5670580d9056929768e9172195dfedaa5454472e07baf40fb7567b802498fcb
6-
sourceBlobDigest: sha256:b352eeb755719840922081b02e9369ceca90bc15a8497697e5b0f0837e20ed8b
5+
sourceRevisionDigest: sha256:fb07fb4f1b8e1da3029d67db95832e3fe00df2c1d6a3f7d92ff2c2d8e76f0eed
6+
sourceBlobDigest: sha256:8aa6180494f7e8856f0868c7d9dba1fdae9c1044383204ad73130e0efddf4c3e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1768170939
9+
- speakeasy-sdk-regen-1768475332
1010
- 1.0.0
1111
targets:
1212
marble:
1313
source: Marble API
1414
sourceNamespace: marble-api
15-
sourceRevisionDigest: sha256:e5670580d9056929768e9172195dfedaa5454472e07baf40fb7567b802498fcb
16-
sourceBlobDigest: sha256:b352eeb755719840922081b02e9369ceca90bc15a8497697e5b0f0837e20ed8b
15+
sourceRevisionDigest: sha256:fb07fb4f1b8e1da3029d67db95832e3fe00df2c1d6a3f7d92ff2c2d8e76f0eed
16+
sourceBlobDigest: sha256:8aa6180494f7e8856f0868c7d9dba1fdae9c1044383204ad73130e0efddf4c3e
1717
codeSamplesNamespace: marble-api-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:61dda945e23985c8b1298600ca60b3bd3bb1ec0ad50ff27c56cf1bb6280a6b92
18+
codeSamplesRevisionDigest: sha256:1da1cfeedf06f4791aa81bc560dc849296e1e76acaf69d893829a8d1218020b2
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,14 @@ Based on:
7878
### Generated
7979
- [typescript v1.0.8] .
8080
### Releases
81-
- [NPM v1.0.8] https://www.npmjs.com/package/@usemarble/sdk/v/1.0.8 - .
81+
- [NPM v1.0.8] https://www.npmjs.com/package/@usemarble/sdk/v/1.0.8 - .
82+
83+
## 2026-01-15 11:08:35
84+
### Changes
85+
Based on:
86+
- OpenAPI Doc
87+
- Speakeasy CLI 1.685.3 (2.795.8) https://github.com/speakeasy-api/speakeasy
88+
### Generated
89+
- [typescript v1.0.9] .
90+
### Releases
91+
- [NPM v1.0.9] https://www.npmjs.com/package/@usemarble/sdk/v/1.0.9 - .

docs/models/operations/getv1postsidentifierrequest.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ let value: GetV1PostsIdentifierRequest = {
1313

1414
## Fields
1515

16-
| Field | Type | Required | Description | Example |
17-
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
18-
| `identifier` | *string* | :heavy_check_mark: | Post ID or slug | my-post-slug |
19-
| `format` | [models.ContentFormat](../../models/contentformat.md) | :heavy_minus_sign: | Content format (html or markdown) | html |
16+
| Field | Type | Required | Description | Example |
17+
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
18+
| `identifier` | *string* | :heavy_check_mark: | Post ID or slug | my-post-slug |
19+
| `format` | [models.ContentFormat](../../models/contentformat.md) | :heavy_minus_sign: | Content format (html or markdown) | html |
20+
| `status` | [operations.GetV1PostsIdentifierStatus](../../models/operations/getv1postsidentifierstatus.md) | :heavy_minus_sign: | Filter by post status. Use 'published' for live posts, 'draft' for unpublished posts, or 'all' for both. | published |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# GetV1PostsIdentifierStatus
2+
3+
Filter by post status. Use 'published' for live posts, 'draft' for unpublished posts, or 'all' for both.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { GetV1PostsIdentifierStatus } from "@usemarble/sdk/models/operations";
9+
10+
let value: GetV1PostsIdentifierStatus = "published";
11+
```
12+
13+
## Values
14+
15+
```typescript
16+
"published" | "draft" | "all"
17+
```

0 commit comments

Comments
 (0)