Skip to content

Commit eba24b3

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@f9cd868c.
1 parent 4a2e7f6 commit eba24b3

File tree

609 files changed

+993
-629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

609 files changed

+993
-629
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ See the next sections for more information on how to use the Segment Public API.
1111

1212
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1313

14-
- API version: 58.2.0
15-
- Package version: 58.2.0
14+
- API version: 58.3.0
15+
- Package version: 58.3.0
1616
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1717

1818
For more information, please visit [https://docs.segmentapis.com](https://docs.segmentapis.com)

docs/AudiencesApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ import time
264264
import os
265265
import segment_public_api
266266
from segment_public_api.models.list_audiences200_response import ListAudiences200Response
267-
from segment_public_api.models.pagination_input import PaginationInput
267+
from segment_public_api.models.list_audiences_pagination_input import ListAudiencesPaginationInput
268268
from segment_public_api.rest import ApiException
269269
from pprint import pprint
270270

@@ -280,7 +280,7 @@ with segment_public_api.ApiClient(configuration) as api_client:
280280
# Create an instance of the API class
281281
api_instance = segment_public_api.AudiencesApi(api_client)
282282
space_id = 'spaceId' # str |
283-
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)
283+
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)
284284

285285
try:
286286
# List Audiences
@@ -298,7 +298,7 @@ with segment_public_api.ApiClient(configuration) as api_client:
298298
Name | Type | Description | Notes
299299
------------- | ------------- | ------------- | -------------
300300
**space_id** | **str**| |
301-
**pagination** | [**PaginationInput**](.md)| 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]
301+
**pagination** | [**ListAudiencesPaginationInput**](.md)| 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]
302302

303303
### Return type
304304

segment_public_api/__init__.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
88
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
99
10-
The version of the OpenAPI document: 58.2.0
10+
The version of the OpenAPI document: 58.3.0
1111
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "58.2.0"
18+
__version__ = "58.3.0"
1919

2020
# import apis into sdk package
2121
from segment_public_api.api.api_calls_api import APICallsApi
@@ -85,9 +85,12 @@
8585
from segment_public_api.models.advanced_warehouse_sync_schedule_v1_input import AdvancedWarehouseSyncScheduleV1Input
8686
from segment_public_api.models.advanced_warehouse_sync_schedule_v1_output import AdvancedWarehouseSyncScheduleV1Output
8787
from segment_public_api.models.allowed_label_beta import AllowedLabelBeta
88+
from segment_public_api.models.audience_compute_cadence import AudienceComputeCadence
8889
from segment_public_api.models.audience_definition import AudienceDefinition
8990
from segment_public_api.models.audience_options import AudienceOptions
91+
from segment_public_api.models.audience_options_with_lookback import AudienceOptionsWithLookback
9092
from segment_public_api.models.audience_summary import AudienceSummary
93+
from segment_public_api.models.audience_summary_with_audience_type_and_lookback import AudienceSummaryWithAudienceTypeAndLookback
9194
from segment_public_api.models.audit_event_v1 import AuditEventV1
9295
from segment_public_api.models.batch_query_messaging_subscriptions_for_space200_response import BatchQueryMessagingSubscriptionsForSpace200Response
9396
from segment_public_api.models.batch_query_messaging_subscriptions_for_space_alpha_input import BatchQueryMessagingSubscriptionsForSpaceAlphaInput
@@ -353,6 +356,7 @@
353356
from segment_public_api.models.list_audiences200_response1 import ListAudiences200Response1
354357
from segment_public_api.models.list_audiences_alpha_output import ListAudiencesAlphaOutput
355358
from segment_public_api.models.list_audiences_beta_output import ListAudiencesBetaOutput
359+
from segment_public_api.models.list_audiences_pagination_input import ListAudiencesPaginationInput
356360
from segment_public_api.models.list_audit_events200_response import ListAuditEvents200Response
357361
from segment_public_api.models.list_audit_events_v1_output import ListAuditEventsV1Output
358362
from segment_public_api.models.list_computed_traits200_response import ListComputedTraits200Response

segment_public_api/api/api_calls_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/audiences_api.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -31,6 +31,7 @@
3131
from segment_public_api.models.list_audience_consumers_search_input import ListAudienceConsumersSearchInput
3232
from segment_public_api.models.list_audience_consumers_sort_input import ListAudienceConsumersSortInput
3333
from segment_public_api.models.list_audiences200_response import ListAudiences200Response
34+
from segment_public_api.models.list_audiences_pagination_input import ListAudiencesPaginationInput
3435
from segment_public_api.models.pagination_input import PaginationInput
3536
from segment_public_api.models.remove_audience_from_space200_response import RemoveAudienceFromSpace200Response
3637
from segment_public_api.models.update_audience_for_space200_response import UpdateAudienceForSpace200Response
@@ -541,7 +542,7 @@ def list_audience_consumers_from_space_and_audience_with_http_info(self, space_i
541542
_request_auth=_params.get('_request_auth'))
542543

543544
@validate_arguments
544-
def list_audiences(self, space_id : constr(strict=True), pagination : Annotated[Optional[PaginationInput], Field(description="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.")] = None, **kwargs) -> ListAudiences200Response: # noqa: E501
545+
def list_audiences(self, space_id : constr(strict=True), pagination : Annotated[Optional[ListAudiencesPaginationInput], Field(description="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.")] = None, **kwargs) -> ListAudiences200Response: # noqa: E501
545546
"""List Audiences # noqa: E501
546547
547548
Returns Audiences by spaceId. • This endpoint is in **Beta** testing. Please submit any feedback by sending an email to [email protected]. • In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Please reach out to your customer success manager for more information. The rate limit for this endpoint is 25 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information. # noqa: E501
@@ -554,7 +555,7 @@ def list_audiences(self, space_id : constr(strict=True), pagination : Annotated[
554555
:param space_id: (required)
555556
:type space_id: str
556557
:param pagination: 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.
557-
:type pagination: PaginationInput
558+
:type pagination: ListAudiencesPaginationInput
558559
:param async_req: Whether to execute the request asynchronously.
559560
:type async_req: bool, optional
560561
:param _request_timeout: timeout setting for this request.
@@ -573,7 +574,7 @@ def list_audiences(self, space_id : constr(strict=True), pagination : Annotated[
573574
return self.list_audiences_with_http_info(space_id, pagination, **kwargs) # noqa: E501
574575

575576
@validate_arguments
576-
def list_audiences_with_http_info(self, space_id : constr(strict=True), pagination : Annotated[Optional[PaginationInput], Field(description="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.")] = None, **kwargs) -> ApiResponse: # noqa: E501
577+
def list_audiences_with_http_info(self, space_id : constr(strict=True), pagination : Annotated[Optional[ListAudiencesPaginationInput], Field(description="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.")] = None, **kwargs) -> ApiResponse: # noqa: E501
577578
"""List Audiences # noqa: E501
578579
579580
Returns Audiences by spaceId. • This endpoint is in **Beta** testing. Please submit any feedback by sending an email to [email protected]. • In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Please reach out to your customer success manager for more information. The rate limit for this endpoint is 25 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information. # noqa: E501
@@ -586,7 +587,7 @@ def list_audiences_with_http_info(self, space_id : constr(strict=True), paginati
586587
:param space_id: (required)
587588
:type space_id: str
588589
:param pagination: 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.
589-
:type pagination: PaginationInput
590+
:type pagination: ListAudiencesPaginationInput
590591
:param async_req: Whether to execute the request asynchronously.
591592
:type async_req: bool, optional
592593
:param _preload_content: if False, the ApiResponse.data will

segment_public_api/api/audit_trail_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/catalog_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/computed_traits_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/dbt_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/deletion_and_suppression_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/delivery_overview_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/destination_filters_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/destinations_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/edge_functions_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/events_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
77
8-
The version of the OpenAPI document: 58.2.0
8+
The version of the OpenAPI document: 58.3.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)