Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0b6a13

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@96bc189d.
1 parent 68fe56c commit b0b6a13

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

docs/AudiencesApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ configuration = segment_public_api.Configuration(
4545
with segment_public_api.ApiClient(configuration) as api_client:
4646
# Create an instance of the API class
4747
api_instance = segment_public_api.AudiencesApi(api_client)
48-
space_id = 'spaceId' # str |
48+
space_id = '9aQ1Lj62S4bomZKLF4DPqW' # str |
4949
create_audience_alpha_input = {"name":"name","description":"description","enabled":false,"definition":{"query":"event('Shoes Bought').count() >= 1","type":"USERS"},"options":{"includeAnonymousUsers":true,"includeHistoricalData":true}} # CreateAudienceAlphaInput |
5050

5151
try:
@@ -120,7 +120,7 @@ configuration = segment_public_api.Configuration(
120120
with segment_public_api.ApiClient(configuration) as api_client:
121121
# Create an instance of the API class
122122
api_instance = segment_public_api.AudiencesApi(api_client)
123-
space_id = 'spaceId' # str |
123+
space_id = '9aQ1Lj62S4bomZKLF4DPqW' # str |
124124
id = 'id' # str |
125125

126126
try:
@@ -198,8 +198,8 @@ configuration = segment_public_api.Configuration(
198198
with segment_public_api.ApiClient(configuration) as api_client:
199199
# Create an instance of the API class
200200
api_instance = segment_public_api.AudiencesApi(api_client)
201-
space_id = 'spaceId' # str |
202-
id = 'ReferencedAudienceId' # str |
201+
space_id = '9aQ1Lj62S4bomZKLF4DPqW' # str |
202+
id = 'aud_0ujsswThIGTUYm2K8FjOOfXtY1K' # str |
203203
pagination = segment_public_api.PaginationInput(count=10) # PaginationInput | Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. (optional)
204204
search = segment_public_api.ListAudienceConsumersSearchInput() # ListAudienceConsumersSearchInput | Optional search criteria This parameter exists in alpha. (optional)
205205
sort = segment_public_api.ListAudienceConsumersSortInput() # ListAudienceConsumersSortInput | Optional sort criteria This parameter exists in alpha. (optional)
@@ -280,7 +280,7 @@ configuration = segment_public_api.Configuration(
280280
with segment_public_api.ApiClient(configuration) as api_client:
281281
# Create an instance of the API class
282282
api_instance = segment_public_api.AudiencesApi(api_client)
283-
space_id = 'spaceId' # str |
283+
space_id = '9aQ1Lj62S4bomZKLF4DPqW' # str |
284284
pagination = segment_public_api.ListAudiencesPaginationInput() # ListAudiencesPaginationInput | Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. (optional)
285285

286286
try:
@@ -356,7 +356,7 @@ configuration = segment_public_api.Configuration(
356356
with segment_public_api.ApiClient(configuration) as api_client:
357357
# Create an instance of the API class
358358
api_instance = segment_public_api.AudiencesApi(api_client)
359-
space_id = 'spaceId' # str |
359+
space_id = '9aQ1Lj62S4bomZKLF4DPqW' # str |
360360
preview_audience_input = {"definition":{"query":"event('Shoes Bought').count() >= 1"},"audienceType":"USERS","options":{"filterByExternalIds":["android.idfa","anonymous_id","email","ios.idfa","user_id"],"includeAnonymousUsers":true,"includeHistoricalData":true,"backfillEventDataDays":7}} # PreviewAudienceInput |
361361

362362
try:
@@ -431,8 +431,8 @@ configuration = segment_public_api.Configuration(
431431
with segment_public_api.ApiClient(configuration) as api_client:
432432
# Create an instance of the API class
433433
api_instance = segment_public_api.AudiencesApi(api_client)
434-
space_id = 'spaceId' # str |
435-
id = 'id' # str |
434+
space_id = '9aQ1Lj62S4bomZKLF4DPqW' # str |
435+
id = 'aud_0ujsswThIGTUYm2K8FjOOfXtY1K' # str |
436436

437437
try:
438438
# Remove Audience from Space
@@ -507,8 +507,8 @@ configuration = segment_public_api.Configuration(
507507
with segment_public_api.ApiClient(configuration) as api_client:
508508
# Create an instance of the API class
509509
api_instance = segment_public_api.AudiencesApi(api_client)
510-
space_id = 'spaceId' # str |
511-
id = 'id' # str |
510+
space_id = '9aQ1Lj62S4bomZKLF4DPqW' # str |
511+
id = 'aud_0ujsswThIGTUYm2K8FjOOfXtY1K' # str |
512512
update_audience_for_space_alpha_input = {"enabled":false} # UpdateAudienceForSpaceAlphaInput |
513513

514514
try:

docs/CustomerInsightsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ configuration = segment_public_api.Configuration(
3939
with segment_public_api.ApiClient(configuration) as api_client:
4040
# Create an instance of the API class
4141
api_instance = segment_public_api.CustomerInsightsApi(api_client)
42-
create_download_alpha_input = {"collectionId":"2wmpXTGB69A8BwGJ4hD5XvQ03aD","workspaceId":"9y433Y71snvrWKfchyBbu9","startTime":"2006-01-02T15:04:05.000Z"} # CreateDownloadAlphaInput |
42+
create_download_alpha_input = {"collectionId":"2wmpXTGB69A8BwGJ4hD5XvQ03aD","workspaceId":"9y433Y71snvrWKfchyBbu9","hour":"2006-01-02T15:04:05.000Z"} # CreateDownloadAlphaInput |
4343

4444
try:
4545
# Create Download

segment_public_api/models/create_download_alpha_input.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class CreateDownloadAlphaInput(BaseModel):
2828
"""
2929
collection_id: StrictStr = Field(..., alias="collectionId", description="The collection's unique id.")
3030
workspace_id: StrictStr = Field(..., alias="workspaceId", description="The Workspace id for the collection.")
31-
start_time: StrictStr = Field(..., alias="startTime", description="The ISO8601 formatted timestamp corresponding to the beginning of the time range. Currently, there is a month of data retained.")
32-
__properties = ["collectionId", "workspaceId", "startTime"]
31+
hour: StrictStr = Field(..., description="The ISO8601 formatted timestamp corresponding to a specific hour and day to retrieve data for. E.g.: 2025-05-07T23:00:00Z Objects are bucketed by hour and a month of data is retained.")
32+
__properties = ["collectionId", "workspaceId", "hour"]
3333

3434
class Config:
3535
"""Pydantic configuration"""
@@ -69,7 +69,7 @@ def from_dict(cls, obj: dict) -> CreateDownloadAlphaInput:
6969
_obj = CreateDownloadAlphaInput.parse_obj({
7070
"collection_id": obj.get("collectionId"),
7171
"workspace_id": obj.get("workspaceId"),
72-
"start_time": obj.get("startTime")
72+
"hour": obj.get("hour")
7373
})
7474
return _obj
7575

0 commit comments

Comments
 (0)