Skip to content

Commit 417633d

Browse files
Sync from pod-engine-monorepo @ 51f9a5cbed5346060358795a5a477823107dee2f
1 parent 8605961 commit 417633d

2 files changed

Lines changed: 129 additions & 0 deletions

File tree

‎openapi.json‎

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12372,6 +12372,43 @@
1237212372
},
1237312373
"views": {
1237412374
"type": "number"
12375+
},
12376+
"durationSeconds": {
12377+
"type": [
12378+
"number",
12379+
"null"
12380+
]
12381+
},
12382+
"durationCheckedAt": {
12383+
"anyOf": [
12384+
{},
12385+
{
12386+
"type": "null"
12387+
}
12388+
]
12389+
},
12390+
"episode": {
12391+
"type": [
12392+
"object",
12393+
"null"
12394+
],
12395+
"properties": {
12396+
"id": {
12397+
"type": "string"
12398+
},
12399+
"slug": {
12400+
"type": "string"
12401+
},
12402+
"title": {
12403+
"type": "string"
12404+
}
12405+
},
12406+
"required": [
12407+
"id",
12408+
"slug",
12409+
"title"
12410+
],
12411+
"additionalProperties": false
1237512412
}
1237612413
},
1237712414
"required": [
@@ -12426,6 +12463,23 @@
1242612463
"candidate",
1242712464
"unverified"
1242812465
]
12466+
},
12467+
"statsHistory": {
12468+
"type": "array",
12469+
"items": {
12470+
"type": "object",
12471+
"properties": {
12472+
"recordedAt": {},
12473+
"subscriberCount": {
12474+
"type": "number"
12475+
}
12476+
},
12477+
"required": [
12478+
"recordedAt",
12479+
"subscriberCount"
12480+
],
12481+
"additionalProperties": false
12482+
}
1242912483
}
1243012484
},
1243112485
"required": [
@@ -16880,6 +16934,43 @@
1688016934
},
1688116935
"views": {
1688216936
"type": "number"
16937+
},
16938+
"durationSeconds": {
16939+
"type": [
16940+
"number",
16941+
"null"
16942+
]
16943+
},
16944+
"durationCheckedAt": {
16945+
"anyOf": [
16946+
{},
16947+
{
16948+
"type": "null"
16949+
}
16950+
]
16951+
},
16952+
"episode": {
16953+
"type": [
16954+
"object",
16955+
"null"
16956+
],
16957+
"properties": {
16958+
"id": {
16959+
"type": "string"
16960+
},
16961+
"slug": {
16962+
"type": "string"
16963+
},
16964+
"title": {
16965+
"type": "string"
16966+
}
16967+
},
16968+
"required": [
16969+
"id",
16970+
"slug",
16971+
"title"
16972+
],
16973+
"additionalProperties": false
1688316974
}
1688416975
},
1688516976
"required": [
@@ -16934,6 +17025,23 @@
1693417025
"candidate",
1693517026
"unverified"
1693617027
]
17028+
},
17029+
"statsHistory": {
17030+
"type": "array",
17031+
"items": {
17032+
"type": "object",
17033+
"properties": {
17034+
"recordedAt": {},
17035+
"subscriberCount": {
17036+
"type": "number"
17037+
}
17038+
},
17039+
"required": [
17040+
"recordedAt",
17041+
"subscriberCount"
17042+
],
17043+
"additionalProperties": false
17044+
}
1693717045
}
1693817046
},
1693917047
"required": [

‎src/podengine/_generated/models.py‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,6 +1848,14 @@ class GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItemThumbnails(Ba
18481848
high: str | None
18491849

18501850

1851+
class GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItemVideosItemEpisode(BaseModel):
1852+
model_config = ConfigDict(populate_by_name=True)
1853+
1854+
id: str
1855+
slug: str
1856+
title: str
1857+
1858+
18511859
class GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItemVideosItem(BaseModel):
18521860
model_config = ConfigDict(populate_by_name=True)
18531861

@@ -1859,6 +1867,16 @@ class GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItemVideosItem(Ba
18591867
title: str
18601868
video_url: str = Field(alias="videoUrl")
18611869
views: float
1870+
duration_seconds: float | None = Field(default=None, alias="durationSeconds")
1871+
duration_checked_at: Any | None = Field(default=None, alias="durationCheckedAt")
1872+
episode: GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItemVideosItemEpisode | None = None
1873+
1874+
1875+
class GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItemStatsHistoryItem(BaseModel):
1876+
model_config = ConfigDict(populate_by_name=True)
1877+
1878+
recorded_at: Any = Field(alias="recordedAt")
1879+
subscriber_count: float = Field(alias="subscriberCount")
18621880

18631881

18641882
class GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItem(BaseModel):
@@ -1887,6 +1905,9 @@ class GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItem(BaseModel):
18871905
association_tier: Literal["associated", "candidate", "unverified"] | None = Field(
18881906
default=None, alias="associationTier"
18891907
)
1908+
stats_history: list[GetPodcastAllDetailsResponsePodcastYoutubeDataYoutubeDataItemStatsHistoryItem] | None = Field(
1909+
default=None, alias="statsHistory"
1910+
)
18901911

18911912

18921913
class GetPodcastAllDetailsResponsePodcastYoutubeData(BaseModel):

0 commit comments

Comments
 (0)