Skip to content

Commit af13a89

Browse files
Sync from pod-engine-monorepo @ c17936fd65eec2a86c4c6ecc1166a0787324c9b7
1 parent 9433c57 commit af13a89

3 files changed

Lines changed: 139 additions & 0 deletions

File tree

openapi.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,25 @@
513513
},
514514
"additionalProperties": false
515515
},
516+
"podcastAudienceEstimatedMonthlyListeners": {
517+
"description": "Filter by the published podcast monthly audience estimate (audio downloads plus YouTube views over 30 days). Bounds are inclusive; omit min or max for an open-ended range. Podcasts without an estimate are excluded. Example: { \"min\": 10000, \"max\": 100000 }.",
518+
"type": "object",
519+
"properties": {
520+
"min": {
521+
"description": "Inclusive minimum monthly audience estimate",
522+
"type": "integer",
523+
"minimum": 0,
524+
"maximum": 9007199254740991
525+
},
526+
"max": {
527+
"description": "Inclusive maximum monthly audience estimate",
528+
"type": "integer",
529+
"minimum": 0,
530+
"maximum": 9007199254740991
531+
}
532+
},
533+
"additionalProperties": false
534+
},
516535
"sortOrder": {
517536
"description": "Specify how results should be sorted",
518537
"type": "array",
@@ -976,6 +995,25 @@
976995
},
977996
"additionalProperties": false
978997
},
998+
"podcastAudienceEstimatedMonthlyListeners": {
999+
"description": "Filter by the published podcast monthly audience estimate (audio downloads plus YouTube views over 30 days). Bounds are inclusive; omit min or max for an open-ended range. Podcasts without an estimate are excluded. Example: { \"min\": 10000, \"max\": 100000 }.",
1000+
"type": "object",
1001+
"properties": {
1002+
"min": {
1003+
"description": "Inclusive minimum monthly audience estimate",
1004+
"type": "integer",
1005+
"minimum": 0,
1006+
"maximum": 9007199254740991
1007+
},
1008+
"max": {
1009+
"description": "Inclusive maximum monthly audience estimate",
1010+
"type": "integer",
1011+
"minimum": 0,
1012+
"maximum": 9007199254740991
1013+
}
1014+
},
1015+
"additionalProperties": false
1016+
},
9791017
"sortOrder": {
9801018
"description": "Specify how results should be sorted",
9811019
"type": "array",
@@ -20479,6 +20517,25 @@
2047920517
},
2048020518
"additionalProperties": false
2048120519
},
20520+
"podcastAudienceEstimatedMonthlyListeners": {
20521+
"description": "Filter by the published podcast monthly audience estimate (audio downloads plus YouTube views over 30 days). Bounds are inclusive; omit min or max for an open-ended range. Podcasts without an estimate are excluded. Example: { \"min\": 10000, \"max\": 100000 }.",
20522+
"type": "object",
20523+
"properties": {
20524+
"min": {
20525+
"description": "Inclusive minimum monthly audience estimate",
20526+
"type": "integer",
20527+
"minimum": 0,
20528+
"maximum": 9007199254740991
20529+
},
20530+
"max": {
20531+
"description": "Inclusive maximum monthly audience estimate",
20532+
"type": "integer",
20533+
"minimum": 0,
20534+
"maximum": 9007199254740991
20535+
}
20536+
},
20537+
"additionalProperties": false
20538+
},
2048220539
"sortOrder": {
2048320540
"description": "Specify how results should be sorted",
2048420541
"type": "array",
@@ -20969,6 +21026,25 @@
2096921026
},
2097021027
"additionalProperties": false
2097121028
},
21029+
"podcastAudienceEstimatedMonthlyListeners": {
21030+
"description": "Filter by the published podcast monthly audience estimate (audio downloads plus YouTube views over 30 days). Bounds are inclusive; omit min or max for an open-ended range. Podcasts without an estimate are excluded. Example: { \"min\": 10000, \"max\": 100000 }.",
21031+
"type": "object",
21032+
"properties": {
21033+
"min": {
21034+
"description": "Inclusive minimum monthly audience estimate",
21035+
"type": "integer",
21036+
"minimum": 0,
21037+
"maximum": 9007199254740991
21038+
},
21039+
"max": {
21040+
"description": "Inclusive maximum monthly audience estimate",
21041+
"type": "integer",
21042+
"minimum": 0,
21043+
"maximum": 9007199254740991
21044+
}
21045+
},
21046+
"additionalProperties": false
21047+
},
2097221048
"sortOrder": {
2097321049
"description": "Specify how results should be sorted",
2097421050
"type": "array",
@@ -21619,6 +21695,25 @@
2161921695
},
2162021696
"additionalProperties": false
2162121697
},
21698+
"podcastAudienceEstimatedMonthlyListeners": {
21699+
"description": "Filter by the published podcast monthly audience estimate (audio downloads plus YouTube views over 30 days). Bounds are inclusive; omit min or max for an open-ended range. Podcasts without an estimate are excluded. Example: { \"min\": 10000, \"max\": 100000 }.",
21700+
"type": "object",
21701+
"properties": {
21702+
"min": {
21703+
"description": "Inclusive minimum monthly audience estimate",
21704+
"type": "integer",
21705+
"minimum": 0,
21706+
"maximum": 9007199254740991
21707+
},
21708+
"max": {
21709+
"description": "Inclusive maximum monthly audience estimate",
21710+
"type": "integer",
21711+
"minimum": 0,
21712+
"maximum": 9007199254740991
21713+
}
21714+
},
21715+
"additionalProperties": false
21716+
},
2162221717
"sortOrder": {
2162321718
"description": "Specify how results should be sorted",
2162421719
"type": "array",
@@ -22226,6 +22321,25 @@
2222622321
},
2222722322
"additionalProperties": false
2222822323
},
22324+
"podcastAudienceEstimatedMonthlyListeners": {
22325+
"description": "Filter by the published podcast monthly audience estimate (audio downloads plus YouTube views over 30 days). Bounds are inclusive; omit min or max for an open-ended range. Podcasts without an estimate are excluded. Example: { \"min\": 10000, \"max\": 100000 }.",
22326+
"type": "object",
22327+
"properties": {
22328+
"min": {
22329+
"description": "Inclusive minimum monthly audience estimate",
22330+
"type": "integer",
22331+
"minimum": 0,
22332+
"maximum": 9007199254740991
22333+
},
22334+
"max": {
22335+
"description": "Inclusive maximum monthly audience estimate",
22336+
"type": "integer",
22337+
"minimum": 0,
22338+
"maximum": 9007199254740991
22339+
}
22340+
},
22341+
"additionalProperties": false
22342+
},
2222922343
"sortOrder": {
2223022344
"description": "Specify how results should be sorted",
2223122345
"type": "array",

src/podengine/_generated/models.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ class AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAuthorityScore(
6868
)
6969

7070

71+
class AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAudienceEstimatedMonthlyListeners(BaseModel):
72+
model_config = ConfigDict(populate_by_name=True)
73+
74+
min: int | None = None
75+
max: int | None = None
76+
77+
7178
class AskAgentProjectPodcastRelevancySearchOptionsVariant1SortOrderItem(BaseModel):
7279
model_config = ConfigDict(populate_by_name=True)
7380

@@ -141,6 +148,9 @@ class AskAgentProjectPodcastRelevancySearchOptionsVariant1(BaseModel):
141148
podcast_authority_score: AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAuthorityScore | None = Field(
142149
default=None, alias="podcastAuthorityScore"
143150
)
151+
podcast_audience_estimated_monthly_listeners: (
152+
AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAudienceEstimatedMonthlyListeners | None
153+
) = Field(default=None, alias="podcastAudienceEstimatedMonthlyListeners")
144154
sort_order: list[AskAgentProjectPodcastRelevancySearchOptionsVariant1SortOrderItem] | None = Field(
145155
default=None, alias="sortOrder"
146156
)
@@ -245,6 +255,9 @@ class AskAgentProjectPodcastRelevancySearchOptionsVariant2(BaseModel):
245255
podcast_authority_score: AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAuthorityScore | None = Field(
246256
default=None, alias="podcastAuthorityScore"
247257
)
258+
podcast_audience_estimated_monthly_listeners: (
259+
AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAudienceEstimatedMonthlyListeners | None
260+
) = Field(default=None, alias="podcastAudienceEstimatedMonthlyListeners")
248261
sort_order: list[AskAgentProjectPodcastRelevancySearchOptionsVariant1SortOrderItem] | None = Field(
249262
default=None, alias="sortOrder"
250263
)

src/podengine/_generated/resources.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,6 +1951,8 @@ def search_episodes(
19511951
podcast_has_guests: bool | None = None,
19521952
podcast_authority_score: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAuthorityScore
19531953
| None = None,
1954+
podcast_audience_estimated_monthly_listeners: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAudienceEstimatedMonthlyListeners
1955+
| None = None,
19541956
sort_order: list[models.AskAgentProjectPodcastRelevancySearchOptionsVariant1SortOrderItem] | None = None,
19551957
include_transcript_snippet: bool | None = None,
19561958
transcript_snippet_length: int | None = None,
@@ -2003,6 +2005,7 @@ def search_episodes(
20032005
"podcastCountries": podcast_countries,
20042006
"podcastHasGuests": podcast_has_guests,
20052007
"podcastAuthorityScore": podcast_authority_score,
2008+
"podcastAudienceEstimatedMonthlyListeners": podcast_audience_estimated_monthly_listeners,
20062009
"sortOrder": sort_order,
20072010
"includeTranscriptSnippet": include_transcript_snippet,
20082011
"transcriptSnippetLength": transcript_snippet_length,
@@ -2080,6 +2083,8 @@ def search_podcasts(
20802083
podcast_has_guests: bool | None = None,
20812084
podcast_authority_score: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAuthorityScore
20822085
| None = None,
2086+
podcast_audience_estimated_monthly_listeners: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAudienceEstimatedMonthlyListeners
2087+
| None = None,
20832088
sort_order: list[models.AskAgentProjectPodcastRelevancySearchOptionsVariant1SortOrderItem] | None = None,
20842089
request_options: RequestOptions | None = None,
20852090
) -> models.SearchPodcastsResponse:
@@ -2119,6 +2124,7 @@ def search_podcasts(
21192124
"podcastCountries": podcast_countries,
21202125
"podcastHasGuests": podcast_has_guests,
21212126
"podcastAuthorityScore": podcast_authority_score,
2127+
"podcastAudienceEstimatedMonthlyListeners": podcast_audience_estimated_monthly_listeners,
21222128
"sortOrder": sort_order,
21232129
},
21242130
request_options,
@@ -3663,6 +3669,8 @@ async def search_episodes(
36633669
podcast_has_guests: bool | None = None,
36643670
podcast_authority_score: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAuthorityScore
36653671
| None = None,
3672+
podcast_audience_estimated_monthly_listeners: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAudienceEstimatedMonthlyListeners
3673+
| None = None,
36663674
sort_order: list[models.AskAgentProjectPodcastRelevancySearchOptionsVariant1SortOrderItem] | None = None,
36673675
include_transcript_snippet: bool | None = None,
36683676
transcript_snippet_length: int | None = None,
@@ -3715,6 +3723,7 @@ async def search_episodes(
37153723
"podcastCountries": podcast_countries,
37163724
"podcastHasGuests": podcast_has_guests,
37173725
"podcastAuthorityScore": podcast_authority_score,
3726+
"podcastAudienceEstimatedMonthlyListeners": podcast_audience_estimated_monthly_listeners,
37183727
"sortOrder": sort_order,
37193728
"includeTranscriptSnippet": include_transcript_snippet,
37203729
"transcriptSnippetLength": transcript_snippet_length,
@@ -3792,6 +3801,8 @@ async def search_podcasts(
37923801
podcast_has_guests: bool | None = None,
37933802
podcast_authority_score: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAuthorityScore
37943803
| None = None,
3804+
podcast_audience_estimated_monthly_listeners: models.AskAgentProjectPodcastRelevancySearchOptionsVariant1PodcastAudienceEstimatedMonthlyListeners
3805+
| None = None,
37953806
sort_order: list[models.AskAgentProjectPodcastRelevancySearchOptionsVariant1SortOrderItem] | None = None,
37963807
request_options: RequestOptions | None = None,
37973808
) -> models.SearchPodcastsResponse:
@@ -3831,6 +3842,7 @@ async def search_podcasts(
38313842
"podcastCountries": podcast_countries,
38323843
"podcastHasGuests": podcast_has_guests,
38333844
"podcastAuthorityScore": podcast_authority_score,
3845+
"podcastAudienceEstimatedMonthlyListeners": podcast_audience_estimated_monthly_listeners,
38343846
"sortOrder": sort_order,
38353847
},
38363848
request_options,

0 commit comments

Comments
 (0)