Skip to content

Commit

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

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

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

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

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
  • Loading branch information
github-actions[bot] and speakeasybot authored May 10, 2023
1 parent 9272adf commit 11e09f0
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 47 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = shared.DestinationCreate(
configuration={
"provident": 'distinctio',
Expand Down
34 changes: 33 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,4 +326,36 @@ Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.27.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.24.0] https://pypi.org/project/hightouch/1.24.0 - .
- [PyPI v1.24.0] https://pypi.org/project/hightouch/1.24.0 - .

## 2023-05-05 01:03:18
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.29.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.25.0] https://pypi.org/project/hightouch/1.25.0 - .

## 2023-05-06 01:03:57
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.29.1 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.25.1] https://pypi.org/project/hightouch/1.25.1 - .

## 2023-05-10 01:08:10
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://api.hightouch.io/api/swagger.json
- Speakeasy CLI 1.29.2 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v1.25.2] https://pypi.org/project/hightouch/1.25.2 - .

## 2023-05-10 20:35:43
### Changes
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 - .
1 change: 0 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = shared.DestinationCreate(
configuration={
"provident": 'distinctio',
Expand Down
19 changes: 0 additions & 19 deletions docs/hightouch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = shared.DestinationCreate(
configuration={
"ipsa": 'delectus',
Expand Down Expand Up @@ -71,7 +70,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = shared.ModelCreate(
custom=shared.ModelCreateCustom(
query='veritatis',
Expand Down Expand Up @@ -119,7 +117,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = shared.SourceCreate(
configuration={
"fugit": 'deleniti',
Expand Down Expand Up @@ -151,7 +148,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = shared.SyncCreate(
configuration={
"excepturi": 'aspernatur',
Expand Down Expand Up @@ -201,7 +197,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.GetDestinationRequest(
destination_id=3864.89,
)
Expand All @@ -226,7 +221,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.GetModelRequest(
model_id=9437.49,
)
Expand All @@ -251,7 +245,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.GetSourceRequest(
source_id=9025.99,
)
Expand All @@ -276,7 +269,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.GetSyncRequest(
sync_id=6818.2,
)
Expand All @@ -301,7 +293,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.ListDestinationRequest(
limit=4499.5,
name='Sheryl Kertzmann',
Expand Down Expand Up @@ -330,7 +321,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.ListModelRequest(
limit=6667.67,
name='Cameron Dach',
Expand Down Expand Up @@ -359,7 +349,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.ListSourceRequest(
limit=6078.31,
name='Ms. Cathy Marks',
Expand Down Expand Up @@ -389,7 +378,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.ListSyncRequest(
after=dateutil.parser.isoparse('2022-08-01T12:28:44.292Z'),
before=dateutil.parser.isoparse('2022-09-05T05:51:25.673Z'),
Expand Down Expand Up @@ -421,7 +409,6 @@ from hightouch.models import operations

s = hightouch.Hightouch()


req = operations.ListSyncRunsRequest(
after=dateutil.parser.isoparse('2022-07-11T17:38:58.953Z'),
before=dateutil.parser.isoparse('2022-05-18T10:03:04.921Z'),
Expand Down Expand Up @@ -456,7 +443,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = operations.TriggerRunRequest(
trigger_run_input=shared.TriggerRunInput(
full_resync=False,
Expand Down Expand Up @@ -487,7 +473,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = shared.TriggerRunCustomInput(
full_resync=False,
sync_id='quo',
Expand Down Expand Up @@ -516,7 +501,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = operations.UpdateDestinationRequest(
destination_update=shared.DestinationUpdate(
configuration={
Expand Down Expand Up @@ -552,7 +536,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = operations.UpdateModelRequest(
model_update=shared.ModelUpdate(
custom=shared.ModelUpdateCustom(
Expand Down Expand Up @@ -602,7 +585,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = operations.UpdateSourceRequest(
source_update=shared.SourceUpdate(
configuration={
Expand Down Expand Up @@ -635,7 +617,6 @@ from hightouch.models import operations, shared

s = hightouch.Hightouch()


req = operations.UpdateSyncRequest(
sync_update=shared.SyncUpdate(
configuration={
Expand Down
5 changes: 3 additions & 2 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ configVersion: 1.0.0
management:
docChecksum: aa7996b16bd1ba46707b0b981b12068e
docVersion: 1.0.0
speakeasyVersion: 1.27.0
speakeasyVersion: 1.30.0
generation:
telemetryEnabled: true
sdkClassName: hightouch
sdkFlattening: false
python:
version: 1.24.0
version: 1.26.0
author: Speakeasy
maxMethodParms: 4
description: Python SDK for Hightouch API
maxMethodParams: 0
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.24.0",
version="1.26.0",
author="Speakeasy",
description="Python SDK for Hightouch API",
long_description=long_description,
Expand Down
23 changes: 21 additions & 2 deletions src/hightouch/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class Hightouch:
_security_client: requests_http.Session
_server_url: str = SERVERS[0]
_language: str = "python"
_sdk_version: str = "1.24.0"
_gen_version: str = "2.24.0"
_sdk_version: str = "1.26.0"
_gen_version: str = "2.26.3"

def __init__(self,
server_url: str = None,
Expand Down Expand Up @@ -52,6 +52,7 @@ def __init__(self,




def create_destination(self, request: shared.DestinationCreate, security: operations.CreateDestinationSecurity) -> operations.CreateDestinationResponse:
r"""Create Destination
Create a new destination
Expand Down Expand Up @@ -92,6 +93,7 @@ def create_destination(self, request: shared.DestinationCreate, security: operat

return res


def create_model(self, request: shared.ModelCreate, security: operations.CreateModelSecurity) -> operations.CreateModelResponse:
r"""Create Model
Create a new model
Expand Down Expand Up @@ -132,6 +134,7 @@ def create_model(self, request: shared.ModelCreate, security: operations.CreateM

return res


def create_source(self, request: shared.SourceCreate, security: operations.CreateSourceSecurity) -> operations.CreateSourceResponse:
r"""Create Source
Create a new source
Expand Down Expand Up @@ -172,6 +175,7 @@ def create_source(self, request: shared.SourceCreate, security: operations.Creat

return res


def create_sync(self, request: shared.SyncCreate, security: operations.CreateSyncSecurity) -> operations.CreateSyncResponse:
r"""Create Sync
Create a new sync
Expand Down Expand Up @@ -212,6 +216,7 @@ def create_sync(self, request: shared.SyncCreate, security: operations.CreateSyn

return res


def get_destination(self, request: operations.GetDestinationRequest, security: operations.GetDestinationSecurity) -> operations.GetDestinationResponse:
r"""Get Destination
Retrieve a destination based on its Hightouch ID
Expand Down Expand Up @@ -239,6 +244,7 @@ def get_destination(self, request: operations.GetDestinationRequest, security: o

return res


def get_model(self, request: operations.GetModelRequest, security: operations.GetModelSecurity) -> operations.GetModelResponse:
r"""Get Model
Retrieve models from model ID
Expand Down Expand Up @@ -266,6 +272,7 @@ def get_model(self, request: operations.GetModelRequest, security: operations.Ge

return res


def get_source(self, request: operations.GetSourceRequest, security: operations.GetSourceSecurity) -> operations.GetSourceResponse:
r"""Get Source
Retrieve source from source ID
Expand Down Expand Up @@ -297,6 +304,7 @@ def get_source(self, request: operations.GetSourceRequest, security: operations.

return res


def get_sync(self, request: operations.GetSyncRequest, security: operations.GetSyncSecurity) -> operations.GetSyncResponse:
r"""Get Sync
Retrieve sync from sync ID
Expand Down Expand Up @@ -324,6 +332,7 @@ def get_sync(self, request: operations.GetSyncRequest, security: operations.GetS

return res


def list_destination(self, request: operations.ListDestinationRequest, security: operations.ListDestinationSecurity) -> operations.ListDestinationResponse:
r"""List Destinations
List the destinations in the user's workspace
Expand Down Expand Up @@ -356,6 +365,7 @@ def list_destination(self, request: operations.ListDestinationRequest, security:

return res


def list_model(self, request: operations.ListModelRequest, security: operations.ListModelSecurity) -> operations.ListModelResponse:
r"""List Models
List all the models in the current workspace including parent and related models
Expand Down Expand Up @@ -388,6 +398,7 @@ def list_model(self, request: operations.ListModelRequest, security: operations.

return res


def list_source(self, request: operations.ListSourceRequest, security: operations.ListSourceSecurity) -> operations.ListSourceResponse:
r"""List Sources
List all the sources in the current workspace
Expand Down Expand Up @@ -416,6 +427,7 @@ def list_source(self, request: operations.ListSourceRequest, security: operation

return res


def list_sync(self, request: operations.ListSyncRequest, security: operations.ListSyncSecurity) -> operations.ListSyncResponse:
r"""List Syncs
List all the syncs in the current workspace
Expand Down Expand Up @@ -448,6 +460,7 @@ def list_sync(self, request: operations.ListSyncRequest, security: operations.Li

return res


def list_sync_runs(self, request: operations.ListSyncRunsRequest, security: operations.ListSyncRunsSecurity) -> operations.ListSyncRunsResponse:
r"""List Sync Runs
List all sync runs under a sync
Expand Down Expand Up @@ -480,6 +493,7 @@ def list_sync_runs(self, request: operations.ListSyncRunsRequest, security: oper

return res


def trigger_run(self, request: operations.TriggerRunRequest, security: operations.TriggerRunSecurity) -> operations.TriggerRunResponse:
r"""Trigger Sync
Trigger a new run for the given sync.
Expand Down Expand Up @@ -517,6 +531,7 @@ def trigger_run(self, request: operations.TriggerRunRequest, security: operation

return res


def trigger_run_custom(self, request: shared.TriggerRunCustomInput, security: operations.TriggerRunCustomSecurity) -> operations.TriggerRunCustomResponse:
r"""Trigger Sync From ID or Slug
Trigger a new run globally based on sync id or sync slug
Expand Down Expand Up @@ -556,6 +571,7 @@ def trigger_run_custom(self, request: shared.TriggerRunCustomInput, security: op

return res


def update_destination(self, request: operations.UpdateDestinationRequest, security: operations.UpdateDestinationSecurity) -> operations.UpdateDestinationResponse:
r"""Update Destination
Update an existing destination
Expand Down Expand Up @@ -598,6 +614,7 @@ def update_destination(self, request: operations.UpdateDestinationRequest, secur

return res


def update_model(self, request: operations.UpdateModelRequest, security: operations.UpdateModelSecurity) -> operations.UpdateModelResponse:
r"""Update Model
Update an existing model
Expand Down Expand Up @@ -640,6 +657,7 @@ def update_model(self, request: operations.UpdateModelRequest, security: operati

return res


def update_source(self, request: operations.UpdateSourceRequest, security: operations.UpdateSourceSecurity) -> operations.UpdateSourceResponse:
r"""Update Source
Update an existing source
Expand Down Expand Up @@ -682,6 +700,7 @@ def update_source(self, request: operations.UpdateSourceRequest, security: opera

return res


def update_sync(self, request: operations.UpdateSyncRequest, security: operations.UpdateSyncSecurity) -> operations.UpdateSyncResponse:
r"""Update Sync
Update an existing sync
Expand Down
Loading

0 comments on commit 11e09f0

Please sign in to comment.