Skip to content

Commit 06216ec

Browse files
release: 1.1.0 (#4)
* codegen metadata * codegen metadata * feat(api): api update * release: 1.1.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent d776470 commit 06216ec

File tree

8 files changed

+64
-26
lines changed

8 files changed

+64
-26
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.0.0"
2+
".": "1.1.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 13
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/day-moon-development%2Fpost-for-me-3e66649bf9aed11f617a87d8411f3c536b70ae05374af771341d62a1935590e5.yml
3-
openapi_spec_hash: 001bcf92f1b82b56cb2967d177ddf51e
4-
config_hash: af622ebe55ebdcf25642939ef6260ba6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/day-moon-development%2Fpost-for-me-bfc8fd89b497f31cf5ce2ef83e0117210df65ea506d910aabb333b41ed927223.yml
3+
openapi_spec_hash: 205517c25fd69023f9a30f307027bc1e
4+
config_hash: e6cf8500516696f14e3acc55a939341f

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.1.0 (2025-08-18)
4+
5+
Full Changelog: [v1.0.0...v1.1.0](https://github.com/DayMoonDevelopment/post-for-me-python/compare/v1.0.0...v1.1.0)
6+
7+
### Features
8+
9+
* **api:** api update ([9c37a21](https://github.com/DayMoonDevelopment/post-for-me-python/commit/9c37a21cb008f41f2be8dfff0f9bf6e12d4ba865))
10+
311
## 1.0.0 (2025-08-14)
412

513
Full Changelog: [v0.1.0-alpha.2...v1.0.0](https://github.com/DayMoonDevelopment/post-for-me-python/compare/v0.1.0-alpha.2...v1.0.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "post_for_me"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
description = "The official Python library for the post-for-me API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/post_for_me/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "post_for_me"
4-
__version__ = "1.0.0" # x-release-please-version
4+
__version__ = "1.1.0" # x-release-please-version

src/post_for_me/types/social_post_create_params.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ class AccountConfigurationConfiguration(TypedDict, total=False):
8080
link: Optional[str]
8181
"""Pinterest post link"""
8282

83-
location: Optional[Literal["reels", "timeline"]]
84-
"""Threads post location"""
85-
8683
media: Optional[List[str]]
8784
"""Overrides the `media` from the post"""
8885

86+
placement: Optional[Literal["reels", "timeline", "stories"]]
87+
"""Post placement for Facebook/Instagram/Threads"""
88+
8989
privacy_status: Optional[str]
9090
"""Sets the privacy status for TikTok (private, public)"""
9191

@@ -127,14 +127,23 @@ class PlatformConfigurationsFacebook(TypedDict, total=False):
127127
media: Optional[List[str]]
128128
"""Overrides the `media` from the post"""
129129

130+
placement: Optional[Literal["reels", "stories", "timeline"]]
131+
"""Facebook post placement"""
132+
130133

131134
class PlatformConfigurationsInstagram(TypedDict, total=False):
132135
caption: Optional[object]
133136
"""Overrides the `caption` from the post"""
134137

138+
collaborators: Optional[List[str]]
139+
"""Instagram usernames to be tagged as a collaborator"""
140+
135141
media: Optional[List[str]]
136142
"""Overrides the `media` from the post"""
137143

144+
placement: Optional[Literal["reels", "stories", "timeline"]]
145+
"""Instagram post placement"""
146+
138147

139148
class PlatformConfigurationsLinkedin(TypedDict, total=False):
140149
caption: Optional[object]
@@ -162,12 +171,12 @@ class PlatformConfigurationsThreads(TypedDict, total=False):
162171
caption: Optional[object]
163172
"""Overrides the `caption` from the post"""
164173

165-
location: Optional[Literal["reels", "timeline"]]
166-
"""Threads post location"""
167-
168174
media: Optional[List[str]]
169175
"""Overrides the `media` from the post"""
170176

177+
placement: Optional[Literal["reels", "timeline"]]
178+
"""Threads post placement"""
179+
171180

172181
class PlatformConfigurationsX(TypedDict, total=False):
173182
caption: Optional[object]

src/post_for_me/types/social_post_update_params.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ class AccountConfigurationConfiguration(TypedDict, total=False):
8080
link: Optional[str]
8181
"""Pinterest post link"""
8282

83-
location: Optional[Literal["reels", "timeline"]]
84-
"""Threads post location"""
85-
8683
media: Optional[List[str]]
8784
"""Overrides the `media` from the post"""
8885

86+
placement: Optional[Literal["reels", "timeline", "stories"]]
87+
"""Post placement for Facebook/Instagram/Threads"""
88+
8989
privacy_status: Optional[str]
9090
"""Sets the privacy status for TikTok (private, public)"""
9191

@@ -127,14 +127,23 @@ class PlatformConfigurationsFacebook(TypedDict, total=False):
127127
media: Optional[List[str]]
128128
"""Overrides the `media` from the post"""
129129

130+
placement: Optional[Literal["reels", "stories", "timeline"]]
131+
"""Facebook post placement"""
132+
130133

131134
class PlatformConfigurationsInstagram(TypedDict, total=False):
132135
caption: Optional[object]
133136
"""Overrides the `caption` from the post"""
134137

138+
collaborators: Optional[List[str]]
139+
"""Instagram usernames to be tagged as a collaborator"""
140+
135141
media: Optional[List[str]]
136142
"""Overrides the `media` from the post"""
137143

144+
placement: Optional[Literal["reels", "stories", "timeline"]]
145+
"""Instagram post placement"""
146+
138147

139148
class PlatformConfigurationsLinkedin(TypedDict, total=False):
140149
caption: Optional[object]
@@ -162,12 +171,12 @@ class PlatformConfigurationsThreads(TypedDict, total=False):
162171
caption: Optional[object]
163172
"""Overrides the `caption` from the post"""
164173

165-
location: Optional[Literal["reels", "timeline"]]
166-
"""Threads post location"""
167-
168174
media: Optional[List[str]]
169175
"""Overrides the `media` from the post"""
170176

177+
placement: Optional[Literal["reels", "timeline"]]
178+
"""Threads post placement"""
179+
171180

172181
class PlatformConfigurationsX(TypedDict, total=False):
173182
caption: Optional[object]

tests/api_resources/test_social_posts.py

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def test_method_create_with_all_params(self, client: PostForMe) -> None:
4848
"disclose_branded_content": True,
4949
"disclose_your_brand": True,
5050
"link": "link",
51-
"location": "reels",
5251
"media": ["string"],
52+
"placement": "reels",
5353
"privacy_status": "privacy_status",
5454
"title": "title",
5555
},
@@ -73,10 +73,13 @@ def test_method_create_with_all_params(self, client: PostForMe) -> None:
7373
"facebook": {
7474
"caption": {},
7575
"media": ["string"],
76+
"placement": "reels",
7677
},
7778
"instagram": {
7879
"caption": {},
80+
"collaborators": ["string"],
7981
"media": ["string"],
82+
"placement": "reels",
8083
},
8184
"linkedin": {
8285
"caption": {},
@@ -90,8 +93,8 @@ def test_method_create_with_all_params(self, client: PostForMe) -> None:
9093
},
9194
"threads": {
9295
"caption": {},
93-
"location": "reels",
9496
"media": ["string"],
97+
"placement": "reels",
9598
},
9699
"tiktok": {
97100
"allow_comment": True,
@@ -229,8 +232,8 @@ def test_method_update_with_all_params(self, client: PostForMe) -> None:
229232
"disclose_branded_content": True,
230233
"disclose_your_brand": True,
231234
"link": "link",
232-
"location": "reels",
233235
"media": ["string"],
236+
"placement": "reels",
234237
"privacy_status": "privacy_status",
235238
"title": "title",
236239
},
@@ -254,10 +257,13 @@ def test_method_update_with_all_params(self, client: PostForMe) -> None:
254257
"facebook": {
255258
"caption": {},
256259
"media": ["string"],
260+
"placement": "reels",
257261
},
258262
"instagram": {
259263
"caption": {},
264+
"collaborators": ["string"],
260265
"media": ["string"],
266+
"placement": "reels",
261267
},
262268
"linkedin": {
263269
"caption": {},
@@ -271,8 +277,8 @@ def test_method_update_with_all_params(self, client: PostForMe) -> None:
271277
},
272278
"threads": {
273279
"caption": {},
274-
"location": "reels",
275280
"media": ["string"],
281+
"placement": "reels",
276282
},
277283
"tiktok": {
278284
"allow_comment": True,
@@ -466,8 +472,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncPostForMe)
466472
"disclose_branded_content": True,
467473
"disclose_your_brand": True,
468474
"link": "link",
469-
"location": "reels",
470475
"media": ["string"],
476+
"placement": "reels",
471477
"privacy_status": "privacy_status",
472478
"title": "title",
473479
},
@@ -491,10 +497,13 @@ async def test_method_create_with_all_params(self, async_client: AsyncPostForMe)
491497
"facebook": {
492498
"caption": {},
493499
"media": ["string"],
500+
"placement": "reels",
494501
},
495502
"instagram": {
496503
"caption": {},
504+
"collaborators": ["string"],
497505
"media": ["string"],
506+
"placement": "reels",
498507
},
499508
"linkedin": {
500509
"caption": {},
@@ -508,8 +517,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncPostForMe)
508517
},
509518
"threads": {
510519
"caption": {},
511-
"location": "reels",
512520
"media": ["string"],
521+
"placement": "reels",
513522
},
514523
"tiktok": {
515524
"allow_comment": True,
@@ -647,8 +656,8 @@ async def test_method_update_with_all_params(self, async_client: AsyncPostForMe)
647656
"disclose_branded_content": True,
648657
"disclose_your_brand": True,
649658
"link": "link",
650-
"location": "reels",
651659
"media": ["string"],
660+
"placement": "reels",
652661
"privacy_status": "privacy_status",
653662
"title": "title",
654663
},
@@ -672,10 +681,13 @@ async def test_method_update_with_all_params(self, async_client: AsyncPostForMe)
672681
"facebook": {
673682
"caption": {},
674683
"media": ["string"],
684+
"placement": "reels",
675685
},
676686
"instagram": {
677687
"caption": {},
688+
"collaborators": ["string"],
678689
"media": ["string"],
690+
"placement": "reels",
679691
},
680692
"linkedin": {
681693
"caption": {},
@@ -689,8 +701,8 @@ async def test_method_update_with_all_params(self, async_client: AsyncPostForMe)
689701
},
690702
"threads": {
691703
"caption": {},
692-
"location": "reels",
693704
"media": ["string"],
705+
"placement": "reels",
694706
},
695707
"tiktok": {
696708
"allow_comment": True,

0 commit comments

Comments
 (0)