Skip to content

Commit af3c3a4

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@24aa5de8.
1 parent 1d71a98 commit af3c3a4

File tree

729 files changed

+732
-1111
lines changed

Some content is hidden

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

729 files changed

+732
-1111
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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: 72.1.0
15-
- Package version: 72.1.0
14+
- API version: 73.0.0
15+
- Package version: 73.0.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/DeletionAndSuppressionApi.md

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Method | HTTP request | Description
77
[**create_cloud_source_regulation**](DeletionAndSuppressionApi.md#create_cloud_source_regulation) | **POST** /regulations/cloudsources/{sourceId} | Create Cloud Source Regulation
88
[**create_source_regulation**](DeletionAndSuppressionApi.md#create_source_regulation) | **POST** /regulations/sources/{sourceId} | Create Source Regulation
99
[**create_workspace_regulation**](DeletionAndSuppressionApi.md#create_workspace_regulation) | **POST** /regulations | Create Workspace Regulation
10-
[**delete_regulation**](DeletionAndSuppressionApi.md#delete_regulation) | **DELETE** /regulations/{regulateId} | Delete Regulation
1110
[**get_regulation**](DeletionAndSuppressionApi.md#get_regulation) | **GET** /regulations/{regulateId} | Get Regulation
1211
[**list_regulations_from_source**](DeletionAndSuppressionApi.md#list_regulations_from_source) | **GET** /regulations/sources/{sourceId} | List Regulations from Source
1312
[**list_suppressions**](DeletionAndSuppressionApi.md#list_suppressions) | **GET** /suppressions | List Suppressions
@@ -241,79 +240,6 @@ Name | Type | Description | Notes
241240
[[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)
242241

243242

244-
## Operation: delete_regulation
245-
246-
> DeleteRegulation200Response delete_regulation(regulate_id)
247-
248-
Delete Regulation
249-
250-
Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the `Regulation Deleted` event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
251-
252-
### Example
253-
254-
* Bearer Authentication (token):
255-
```python
256-
import time
257-
import os
258-
import segment_public_api
259-
from segment_public_api.models.delete_regulation200_response import DeleteRegulation200Response
260-
from segment_public_api.rest import ApiException
261-
from pprint import pprint
262-
263-
264-
265-
# Configure Bearer authorization: token
266-
configuration = segment_public_api.Configuration(
267-
access_token = os.environ["BEARER_TOKEN"]
268-
)
269-
270-
# Enter a context with an instance of the API client
271-
with segment_public_api.ApiClient(configuration) as api_client:
272-
# Create an instance of the API class
273-
api_instance = segment_public_api.DeletionAndSuppressionApi(api_client)
274-
regulate_id = '1qJkfE1tpwvQcklImGksLN629wn' # str |
275-
276-
try:
277-
# Delete Regulation
278-
api_response = api_instance.delete_regulation(regulate_id)
279-
print("The response of DeletionAndSuppressionApi->delete_regulation:\n")
280-
pprint(api_response)
281-
except Exception as e:
282-
print("Exception when calling DeletionAndSuppressionApi->delete_regulation: %s\n" % e)
283-
```
284-
285-
286-
287-
### Parameters
288-
289-
Name | Type | Description | Notes
290-
------------- | ------------- | ------------- | -------------
291-
**regulate_id** | **str**| |
292-
293-
### Return type
294-
295-
[**DeleteRegulation200Response**](DeleteRegulation200Response.md)
296-
297-
### Authorization
298-
299-
[token](../README.md#token)
300-
301-
### HTTP request headers
302-
303-
- **Content-Type**: Not defined
304-
- **Accept**: application/vnd.segment.v1+json, application/json, application/vnd.segment.v1beta+json, application/vnd.segment.v1alpha+json
305-
306-
### HTTP response details
307-
| Status code | Description | Response headers |
308-
|-------------|-------------|------------------|
309-
**200** | OK | - |
310-
**404** | Resource not found | - |
311-
**422** | Validation failure | - |
312-
**429** | Too many requests | - |
313-
314-
[[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)
315-
316-
317243
## Operation: get_regulation
318244

319245
> GetRegulation200Response get_regulation(regulate_id)

segment_public_api/__init__.py

Lines changed: 2 additions & 4 deletions
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: 72.1.0
10+
The version of the OpenAPI document: 73.0.0
1111
Contact: friends@segment.com
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "72.1.0"
18+
__version__ = "73.0.0"
1919

2020
# import apis into sdk package
2121
from segment_public_api.api.api_calls_api import APICallsApi
@@ -249,8 +249,6 @@
249249
from segment_public_api.models.delete_label_v1_output import DeleteLabelV1Output
250250
from segment_public_api.models.delete_live_plugin_code200_response import DeleteLivePluginCode200Response
251251
from segment_public_api.models.delete_live_plugin_code_alpha_output import DeleteLivePluginCodeAlphaOutput
252-
from segment_public_api.models.delete_regulation200_response import DeleteRegulation200Response
253-
from segment_public_api.models.delete_regulation_v1_output import DeleteRegulationV1Output
254252
from segment_public_api.models.delete_reverse_etl_model200_response import DeleteReverseEtlModel200Response
255253
from segment_public_api.models.delete_reverse_etl_model_output import DeleteReverseEtlModelOutput
256254
from segment_public_api.models.delete_source200_response import DeleteSource200Response

segment_public_api/api/activations_api.py

Lines changed: 1 addition & 1 deletion
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: 72.1.0
8+
The version of the OpenAPI document: 73.0.0
99
Contact: friends@segment.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/api_calls_api.py

Lines changed: 1 addition & 1 deletion
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: 72.1.0
8+
The version of the OpenAPI document: 73.0.0
99
Contact: friends@segment.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/audiences_api.py

Lines changed: 1 addition & 1 deletion
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: 72.1.0
8+
The version of the OpenAPI document: 73.0.0
99
Contact: friends@segment.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/audit_trail_api.py

Lines changed: 1 addition & 1 deletion
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: 72.1.0
8+
The version of the OpenAPI document: 73.0.0
99
Contact: friends@segment.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/catalog_api.py

Lines changed: 1 addition & 1 deletion
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: 72.1.0
8+
The version of the OpenAPI document: 73.0.0
99
Contact: friends@segment.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/computed_traits_api.py

Lines changed: 1 addition & 1 deletion
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: 72.1.0
8+
The version of the OpenAPI document: 73.0.0
99
Contact: friends@segment.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

segment_public_api/api/customer_insights_api.py

Lines changed: 1 addition & 1 deletion
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: 72.1.0
8+
The version of the OpenAPI document: 73.0.0
99
Contact: friends@segment.com
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)