Skip to content

Commit

Permalink
chore: speakeasy sdk regeneration - Generate (#13)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.30.1

* ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.31.1

* ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.32.0

* ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.33.2

* ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.34.0

* ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.35.0

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
  • Loading branch information
github-actions[bot] and speakeasybot committed Aug 8, 2023
1 parent 11e09f0 commit e27b38c
Show file tree
Hide file tree
Showing 32 changed files with 166 additions and 118 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ req = shared.DestinationCreate(
)

res = s.create_destination(req, operations.CreateDestinationSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.create_destination_200_application_json_any_of is not None:
Expand Down
50 changes: 49 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,52 @@ Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.30.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.26.0] https://pypi.org/project/hightouch/1.26.0 - .
- [PyPI v1.26.0] https://pypi.org/project/hightouch/1.26.0 - .

## 2023-05-12 01:09:27
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.30.1 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.26.1] https://pypi.org/project/hightouch/1.26.1 - .

## 2023-05-13 01:06:54
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.31.1 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.27.0] https://pypi.org/project/hightouch/1.27.0 - .

## 2023-05-16 01:10:24
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.32.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.28.0] https://pypi.org/project/hightouch/1.28.0 - .

## 2023-05-17 01:11:56
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.33.2 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.29.0] https://pypi.org/project/hightouch/1.29.0 - .

## 2023-05-18 01:09:08
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.34.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.30.0] https://pypi.org/project/hightouch/1.30.0 - .

## 2023-05-19 01:10:44
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.35.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.31.0] https://pypi.org/project/hightouch/1.31.0 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ req = shared.DestinationCreate(
)

res = s.create_destination(req, operations.CreateDestinationSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.create_destination_200_application_json_any_of is not None:
Expand Down
50 changes: 25 additions & 25 deletions docs/hightouch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ req = shared.DestinationCreate(
)

res = s.hightouch.create_destination(req, operations.CreateDestinationSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.create_destination_200_application_json_any_of is not None:
Expand Down Expand Up @@ -98,7 +98,7 @@ req = shared.ModelCreate(
)

res = s.hightouch.create_model(req, operations.CreateModelSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.create_model_200_application_json_any_of is not None:
Expand Down Expand Up @@ -129,7 +129,7 @@ req = shared.SourceCreate(
)

res = s.hightouch.create_source(req, operations.CreateSourceSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.create_source_200_application_json_any_of is not None:
Expand Down Expand Up @@ -178,7 +178,7 @@ req = shared.SyncCreate(
)

res = s.hightouch.create_sync(req, operations.CreateSyncSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.create_sync_200_application_json_any_of is not None:
Expand All @@ -202,7 +202,7 @@ req = operations.GetDestinationRequest(
)

res = s.hightouch.get_destination(req, operations.GetDestinationSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.destination is not None:
Expand All @@ -226,7 +226,7 @@ req = operations.GetModelRequest(
)

res = s.hightouch.get_model(req, operations.GetModelSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.model is not None:
Expand All @@ -250,7 +250,7 @@ req = operations.GetSourceRequest(
)

res = s.hightouch.get_source(req, operations.GetSourceSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.source is not None:
Expand All @@ -274,7 +274,7 @@ req = operations.GetSyncRequest(
)

res = s.hightouch.get_sync(req, operations.GetSyncSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.sync is not None:
Expand All @@ -297,12 +297,12 @@ req = operations.ListDestinationRequest(
limit=4499.5,
name='Sheryl Kertzmann',
offset=992.8,
order_by=operations.ListDestinationOrderByEnum.ID,
order_by=operations.ListDestinationOrderBy.ID,
slug='reiciendis',
)

res = s.hightouch.list_destination(req, operations.ListDestinationSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.list_destination_200_application_json_object is not None:
Expand All @@ -325,12 +325,12 @@ req = operations.ListModelRequest(
limit=6667.67,
name='Cameron Dach',
offset=1289.26,
order_by=operations.ListModelOrderByEnum.CREATED_AT,
order_by=operations.ListModelOrderBy.CREATED_AT,
slug='enim',
)

res = s.hightouch.list_model(req, operations.ListModelSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.list_model_200_application_json_object is not None:
Expand All @@ -353,12 +353,12 @@ req = operations.ListSourceRequest(
limit=6078.31,
name='Ms. Cathy Marks',
offset=9883.74,
order_by=operations.ListSourceOrderByEnum.UPDATED_AT,
order_by=operations.ListSourceOrderBy.UPDATED_AT,
slug='architecto',
)

res = s.hightouch.list_source(req, operations.ListSourceSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.list_source_200_application_json_object is not None:
Expand All @@ -384,12 +384,12 @@ req = operations.ListSyncRequest(
limit=9953,
model_id=6531.08,
offset=5818.5,
order_by=operations.ListSyncOrderByEnum.NAME,
order_by=operations.ListSyncOrderBy.NAME,
slug='commodi',
)

res = s.hightouch.list_sync(req, operations.ListSyncSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.list_sync_200_application_json_object is not None:
Expand All @@ -414,14 +414,14 @@ req = operations.ListSyncRunsRequest(
before=dateutil.parser.isoparse('2022-05-18T10:03:04.921Z'),
limit=1589.69,
offset=3380.07,
order_by=operations.ListSyncRunsOrderByEnum.ID,
order_by=operations.ListSyncRunsOrderBy.ID,
run_id=6747.52,
sync_id=6563.3,
within=3172.02,
)

res = s.hightouch.list_sync_runs(req, operations.ListSyncRunsSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.list_sync_runs_200_application_json_object is not None:
Expand Down Expand Up @@ -451,7 +451,7 @@ req = operations.TriggerRunRequest(
)

res = s.hightouch.trigger_run(req, operations.TriggerRunSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.trigger_run_output is not None:
Expand Down Expand Up @@ -480,7 +480,7 @@ req = shared.TriggerRunCustomInput(
)

res = s.hightouch.trigger_run_custom(req, operations.TriggerRunCustomSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.trigger_run_custom_200_application_json_any_of is not None:
Expand Down Expand Up @@ -515,7 +515,7 @@ req = operations.UpdateDestinationRequest(
)

res = s.hightouch.update_destination(req, operations.UpdateDestinationSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.update_destination_200_application_json_any_of is not None:
Expand Down Expand Up @@ -564,7 +564,7 @@ req = operations.UpdateModelRequest(
)

res = s.hightouch.update_model(req, operations.UpdateModelSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.update_model_200_application_json_any_of is not None:
Expand Down Expand Up @@ -596,7 +596,7 @@ req = operations.UpdateSourceRequest(
)

res = s.hightouch.update_source(req, operations.UpdateSourceSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.update_source_200_application_json_any_of is not None:
Expand Down Expand Up @@ -627,7 +627,7 @@ req = operations.UpdateSyncRequest(
schedule=shared.IntervalSchedule(
interval=shared.Interval(
quantity=9292.97,
unit=shared.IntervalUnitEnum.HOUR,
unit=shared.IntervalUnit.HOUR,
),
),
type='enim',
Expand All @@ -637,7 +637,7 @@ req = operations.UpdateSyncRequest(
)

res = s.hightouch.update_sync(req, operations.UpdateSyncSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.update_sync_200_application_json_any_of is not None:
Expand Down
8 changes: 4 additions & 4 deletions files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ src/hightouch/models/operations/updatesource.py
src/hightouch/models/operations/updatesync.py
src/hightouch/models/operations/__init__.py
src/hightouch/models/shared/validateerrorjson.py
src/hightouch/models/shared/internalservererror_enum.py
src/hightouch/models/shared/internalservererror.py
src/hightouch/models/shared/destination.py
src/hightouch/models/shared/destinationcreate.py
src/hightouch/models/shared/model.py
src/hightouch/models/shared/modelcreate.py
src/hightouch/models/shared/source.py
src/hightouch/models/shared/sourcecreate.py
src/hightouch/models/shared/sync.py
src/hightouch/models/shared/syncstatus_enum.py
src/hightouch/models/shared/syncstatus.py
src/hightouch/models/shared/intervalschedule.py
src/hightouch/models/shared/interval.py
src/hightouch/models/shared/intervalunit_enum.py
src/hightouch/models/shared/intervalunit.py
src/hightouch/models/shared/cronschedule.py
src/hightouch/models/shared/visualcronschedule.py
src/hightouch/models/shared/record_day_boolean_or_undefined_.py
src/hightouch/models/shared/dbtschedule.py
src/hightouch/models/shared/synccreate.py
src/hightouch/models/shared/syncrun.py
src/hightouch/models/shared/syncrunstatus_enum.py
src/hightouch/models/shared/syncrunstatus.py
src/hightouch/models/shared/triggerrunoutput.py
src/hightouch/models/shared/triggerruninput.py
src/hightouch/models/shared/triggerruncustominput.py
Expand Down
6 changes: 3 additions & 3 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ configVersion: 1.0.0
management:
docChecksum: aa7996b16bd1ba46707b0b981b12068e
docVersion: 1.0.0
speakeasyVersion: 1.30.0
speakeasyVersion: 1.35.0
generation:
telemetryEnabled: true
sdkClassName: hightouch
sdkFlattening: false
python:
version: 1.26.0
version: 1.31.0
author: Speakeasy
maxMethodParms: 4
description: Python SDK for Hightouch API
maxMethodParams: 0
maxMethodParms: 4
packageName: hightouch
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="hightouch",
version="1.26.0",
version="1.31.0",
author="Speakeasy",
description="Python SDK for Hightouch API",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion src/hightouch/models/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
from .updatesource import *
from .updatesync import *

__all__ = ["CreateDestinationResponse","CreateDestinationSecurity","CreateModelResponse","CreateModelSecurity","CreateSourceResponse","CreateSourceSecurity","CreateSyncResponse","CreateSyncSecurity","GetDestinationRequest","GetDestinationResponse","GetDestinationSecurity","GetModelRequest","GetModelResponse","GetModelSecurity","GetSourceRequest","GetSourceResponse","GetSourceSecurity","GetSyncRequest","GetSyncResponse","GetSyncSecurity","ListDestination200ApplicationJSON","ListDestinationOrderByEnum","ListDestinationRequest","ListDestinationResponse","ListDestinationSecurity","ListModel200ApplicationJSON","ListModelOrderByEnum","ListModelRequest","ListModelResponse","ListModelSecurity","ListSource200ApplicationJSON","ListSourceOrderByEnum","ListSourceRequest","ListSourceResponse","ListSourceSecurity","ListSync200ApplicationJSON","ListSyncOrderByEnum","ListSyncRequest","ListSyncResponse","ListSyncRuns200ApplicationJSON","ListSyncRunsOrderByEnum","ListSyncRunsRequest","ListSyncRunsResponse","ListSyncRunsSecurity","ListSyncSecurity","TriggerRunCustomResponse","TriggerRunCustomSecurity","TriggerRunRequest","TriggerRunResponse","TriggerRunSecurity","UpdateDestinationRequest","UpdateDestinationResponse","UpdateDestinationSecurity","UpdateModelRequest","UpdateModelResponse","UpdateModelSecurity","UpdateSourceRequest","UpdateSourceResponse","UpdateSourceSecurity","UpdateSyncRequest","UpdateSyncResponse","UpdateSyncSecurity"]
__all__ = ["CreateDestinationResponse","CreateDestinationSecurity","CreateModelResponse","CreateModelSecurity","CreateSourceResponse","CreateSourceSecurity","CreateSyncResponse","CreateSyncSecurity","GetDestinationRequest","GetDestinationResponse","GetDestinationSecurity","GetModelRequest","GetModelResponse","GetModelSecurity","GetSourceRequest","GetSourceResponse","GetSourceSecurity","GetSyncRequest","GetSyncResponse","GetSyncSecurity","ListDestination200ApplicationJSON","ListDestinationOrderBy","ListDestinationRequest","ListDestinationResponse","ListDestinationSecurity","ListModel200ApplicationJSON","ListModelOrderBy","ListModelRequest","ListModelResponse","ListModelSecurity","ListSource200ApplicationJSON","ListSourceOrderBy","ListSourceRequest","ListSourceResponse","ListSourceSecurity","ListSync200ApplicationJSON","ListSyncOrderBy","ListSyncRequest","ListSyncResponse","ListSyncRuns200ApplicationJSON","ListSyncRunsOrderBy","ListSyncRunsRequest","ListSyncRunsResponse","ListSyncRunsSecurity","ListSyncSecurity","TriggerRunCustomResponse","TriggerRunCustomSecurity","TriggerRunRequest","TriggerRunResponse","TriggerRunSecurity","UpdateDestinationRequest","UpdateDestinationResponse","UpdateDestinationSecurity","UpdateModelRequest","UpdateModelResponse","UpdateModelSecurity","UpdateSourceRequest","UpdateSourceResponse","UpdateSourceSecurity","UpdateSyncRequest","UpdateSyncResponse","UpdateSyncSecurity"]
4 changes: 2 additions & 2 deletions src/hightouch/models/operations/createdestination.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations
import dataclasses
import requests as requests_http
from ..shared import internalservererror_enum as shared_internalservererror_enum
from ..shared import internalservererror as shared_internalservererror
from ..shared import validateerrorjson as shared_validateerrorjson
from typing import Any, Optional

Expand All @@ -21,7 +21,7 @@ class CreateDestinationResponse:
status_code: int = dataclasses.field()
create_destination_200_application_json_any_of: Optional[Any] = dataclasses.field(default=None)
r"""Ok"""
internal_server_error: Optional[shared_internalservererror_enum.InternalServerErrorEnum] = dataclasses.field(default=None)
internal_server_error: Optional[shared_internalservererror.InternalServerError] = dataclasses.field(default=None)
r"""Something went wrong"""
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
validate_error_json: Optional[shared_validateerrorjson.ValidateErrorJSON] = dataclasses.field(default=None)
Expand Down
4 changes: 2 additions & 2 deletions src/hightouch/models/operations/createmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import annotations
import dataclasses
import requests as requests_http
from ..shared import internalservererror_enum as shared_internalservererror_enum
from ..shared import internalservererror as shared_internalservererror
from ..shared import validateerrorjson as shared_validateerrorjson
from typing import Any, Optional

Expand All @@ -21,7 +21,7 @@ class CreateModelResponse:
status_code: int = dataclasses.field()
create_model_200_application_json_any_of: Optional[Any] = dataclasses.field(default=None)
r"""Ok"""
internal_server_error: Optional[shared_internalservererror_enum.InternalServerErrorEnum] = dataclasses.field(default=None)
internal_server_error: Optional[shared_internalservererror.InternalServerError] = dataclasses.field(default=None)
r"""Something went wrong"""
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
validate_error_json: Optional[shared_validateerrorjson.ValidateErrorJSON] = dataclasses.field(default=None)
Expand Down
Loading

0 comments on commit e27b38c

Please sign in to comment.