Skip to content

Commit

Permalink
Automated SDK update
Browse files Browse the repository at this point in the history
This updates the SDK from internal repo commit segmentio/public-api@0fe2d191.
  • Loading branch information
APIs and Common Services team committed Dec 6, 2024
1 parent c7769c9 commit 5471df0
Show file tree
Hide file tree
Showing 592 changed files with 1,075 additions and 594 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ See the next sections for more information on how to use the Segment Public API.

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

- API version: 57.0.0
- Package version: 57.0.0
- API version: 57.1.0
- Package version: 57.1.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

For more information, please visit [https://docs.segmentapis.com](https://docs.segmentapis.com)
Expand Down
79 changes: 79 additions & 0 deletions docs/ReverseETLApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All URIs are relative to *https://api.segmentapis.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**cancel_reverse_etl_sync_for_model**](ReverseETLApi.md#cancel_reverse_etl_sync_for_model) | **POST** /reverse-etl-models/{modelId}/syncs/{syncId}/cancel | Cancel Reverse ETL Sync for Model
[**create_reverse_etl_manual_sync**](ReverseETLApi.md#create_reverse_etl_manual_sync) | **POST** /reverse-etl-syncs | Create Reverse ETL Manual Sync
[**create_reverse_etl_model**](ReverseETLApi.md#create_reverse_etl_model) | **POST** /reverse-etl-models | Create Reverse Etl Model
[**delete_reverse_etl_model**](ReverseETLApi.md#delete_reverse_etl_model) | **DELETE** /reverse-etl-models/{modelId} | Delete Reverse Etl Model
Expand All @@ -15,6 +16,84 @@ Method | HTTP request | Description



## Operation: cancel_reverse_etl_sync_for_model

> CancelReverseETLSyncForModel200Response cancel_reverse_etl_sync_for_model(model_id, sync_id, cancel_reverse_etl_sync_for_model_input)
Cancel Reverse ETL Sync for Model

Cancels a sync for a Reverse ETL Connection. It might take a few seconds to completely cancel the sync. Will return an error if the sync is already completed or cancelled.

### Example

* Bearer Authentication (token):
```python
import time
import os
import segment_public_api
from segment_public_api.models.cancel_reverse_etl_sync_for_model200_response import CancelReverseETLSyncForModel200Response
from segment_public_api.models.cancel_reverse_etl_sync_for_model_input import CancelReverseETLSyncForModelInput
from segment_public_api.rest import ApiException
from pprint import pprint



# Configure Bearer authorization: token
configuration = segment_public_api.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with segment_public_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = segment_public_api.ReverseETLApi(api_client)
model_id = 'modelId' # str |
sync_id = '1' # str |
cancel_reverse_etl_sync_for_model_input = {"reasonForCanceling":0} # CancelReverseETLSyncForModelInput |

try:
# Cancel Reverse ETL Sync for Model
api_response = api_instance.cancel_reverse_etl_sync_for_model(model_id, sync_id, cancel_reverse_etl_sync_for_model_input)
print("The response of ReverseETLApi->cancel_reverse_etl_sync_for_model:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ReverseETLApi->cancel_reverse_etl_sync_for_model: %s\n" % e)
```



### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**model_id** | **str**| |
**sync_id** | **str**| |
**cancel_reverse_etl_sync_for_model_input** | [**CancelReverseETLSyncForModelInput**](CancelReverseETLSyncForModelInput.md)| |

### Return type

[**CancelReverseETLSyncForModel200Response**](CancelReverseETLSyncForModel200Response.md)

### Authorization

[token](../README.md#token)

### HTTP request headers

- **Content-Type**: application/vnd.segment.v1alpha+json
- **Accept**: application/vnd.segment.v1alpha+json, application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | OK | - |
**404** | Resource not found | - |
**422** | Validation failure | - |
**429** | Too many requests | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## Operation: create_reverse_etl_manual_sync

> CreateReverseETLManualSync200Response create_reverse_etl_manual_sync(create_reverse_etl_manual_sync_input)
Expand Down
7 changes: 5 additions & 2 deletions segment_public_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501


__version__ = "57.0.0"
__version__ = "57.1.0"

# import apis into sdk package
from segment_public_api.api.api_calls_api import APICallsApi
Expand Down Expand Up @@ -93,6 +93,9 @@
from segment_public_api.models.batch_query_messaging_subscriptions_for_space_alpha_input import BatchQueryMessagingSubscriptionsForSpaceAlphaInput
from segment_public_api.models.batch_query_messaging_subscriptions_for_space_alpha_output import BatchQueryMessagingSubscriptionsForSpaceAlphaOutput
from segment_public_api.models.breakdown_beta import BreakdownBeta
from segment_public_api.models.cancel_reverse_etl_sync_for_model200_response import CancelReverseETLSyncForModel200Response
from segment_public_api.models.cancel_reverse_etl_sync_for_model_input import CancelReverseETLSyncForModelInput
from segment_public_api.models.cancel_reverse_etl_sync_for_model_output import CancelReverseETLSyncForModelOutput
from segment_public_api.models.common_source_settings_v1 import CommonSourceSettingsV1
from segment_public_api.models.computed_trait_summary import ComputedTraitSummary
from segment_public_api.models.computed_traits_definition import ComputedTraitsDefinition
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/api_calls_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/audiences_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/audit_trail_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/catalog_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/computed_traits_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/deletion_and_suppression_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/delivery_overview_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/destination_filters_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/destinations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/edge_functions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/events_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/functions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/iam_groups_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/iam_roles_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/iam_users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/labels_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion segment_public_api/api/monthly_tracked_users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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.
The version of the OpenAPI document: 57.0.0
The version of the OpenAPI document: 57.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Loading

0 comments on commit 5471df0

Please sign in to comment.