Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0, Speakeay CLI 1.26.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Apr 28, 2023
1 parent 79d4019 commit 953443f
Show file tree
Hide file tree
Showing 17 changed files with 343 additions and 171 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,12 @@ Based on:
- OpenAPI Doc 1.0 https://prod.speakeasyapi.dev/v1/apis/Structure/version/1.0.0/schema/download
- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.5.0] https://pypi.org/project/structure_py/0.5.0 - .
- [PyPI v0.5.0] https://pypi.org/project/structure_py/0.5.0 - .

## 2023-04-28 00:59:31
### Changes
Based on:
- OpenAPI Doc 1.0 https://prod.speakeasyapi.dev/v1/apis/Structure/version/1.0.0/schema/download
- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.6.0] https://pypi.org/project/structure_py/0.6.0 - .
6 changes: 3 additions & 3 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: e0bf2d205ca94a0d32bd91d6ea558d5b
docVersion: "1.0"
speakeasyVersion: 1.25.1
generationVersion: 2.22.0
speakeasyVersion: 1.26.2
generationVersion: 2.23.2
generation:
telemetryEnabled: false
sdkClassName: SDK
singleTagPerOp: false
python:
version: 0.5.0
version: 0.6.0
author: Structure
description: Python Client SDK Generated by Speakeasy
packageName: structure_py
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="structure_py",
version="0.5.0",
version="0.6.0",
author="Structure",
description="Python Client SDK Generated by Speakeasy",
long_description=long_description,
Expand Down
15 changes: 10 additions & 5 deletions src/sdk/models/operations/enrich_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,19 @@
class EnrichCompanyRequest:

id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }})
r"""ID of the company"""

r"""ID of the company"""


@dataclasses.dataclass
class EnrichCompanyResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


15 changes: 10 additions & 5 deletions src/sdk/models/operations/enrich_person.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,19 @@
class EnrichPersonRequest:

id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }})
r"""LinkedIn ID of the person"""

r"""LinkedIn ID of the person"""


@dataclasses.dataclass
class EnrichPersonResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


21 changes: 14 additions & 7 deletions src/sdk/models/operations/list_employees.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,25 @@
class ListEmployeesRequest:

id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }})
r"""ID of the company"""

r"""ID of the company"""
offset: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'offset', 'style': 'form', 'explode': True }})
r"""The offset number to start at"""

r"""The offset number to start at"""
per_page: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'per_page', 'style': 'form', 'explode': True }})
r"""Number of results per page (0-100)"""

r"""Number of results per page (0-100)"""


@dataclasses.dataclass
class ListEmployeesResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


21 changes: 14 additions & 7 deletions src/sdk/models/operations/list_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,25 @@
class ListJobsRequest:

id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': False }})
r"""ID of the company"""

r"""ID of the company"""
offset: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'offset', 'style': 'form', 'explode': True }})
r"""The offset number to start at"""

r"""The offset number to start at"""
per_page: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'per_page', 'style': 'form', 'explode': True }})
r"""Number of results per page (0-100)"""

r"""Number of results per page (0-100)"""


@dataclasses.dataclass
class ListJobsResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


12 changes: 8 additions & 4 deletions src/sdk/models/operations/list_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
@dataclasses.dataclass
class ListUsersResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


18 changes: 12 additions & 6 deletions src/sdk/models/operations/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@
class LoginApplicationJSON:

email: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }})
r"""The email of the user"""

r"""The email of the user"""
password: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password') }})
r"""The password of the user"""

r"""The password of the user"""


@dataclasses.dataclass
class LoginResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


12 changes: 8 additions & 4 deletions src/sdk/models/operations/me.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
@dataclasses.dataclass
class MeResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


24 changes: 16 additions & 8 deletions src/sdk/models/operations/search_companies.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@
class SearchCompaniesApplicationJSON:

filter: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filter'), 'exclude': lambda f: f is None }})
r"""Filter for searching"""

r"""Filter for searching"""
limit: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('limit'), 'exclude': lambda f: f is None }})
r"""Number of results per page (0-100) default 10"""

r"""Number of results per page (0-100) default 10"""
page: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('page'), 'exclude': lambda f: f is None }})
r"""The offset number to start at"""

r"""The offset number to start at"""
query: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('query'), 'exclude': lambda f: f is None }})
r"""Query for searching"""

r"""Query for searching"""


@dataclasses.dataclass
class SearchCompaniesResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


24 changes: 16 additions & 8 deletions src/sdk/models/operations/search_people.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@
class SearchPeopleApplicationJSON:

filter: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filter'), 'exclude': lambda f: f is None }})
r"""Filter for searching"""

r"""Filter for searching"""
limit: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('limit'), 'exclude': lambda f: f is None }})
r"""Number of results per page (0-100)"""

r"""Number of results per page (0-100)"""
page: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('page'), 'exclude': lambda f: f is None }})
r"""The offset number to start at"""

r"""The offset number to start at"""
query: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('query'), 'exclude': lambda f: f is None }})
r"""Query for searching"""

r"""Query for searching"""


@dataclasses.dataclass
class SearchPeopleResponse:

content_type: str = dataclasses.field()
status_code: int = dataclasses.field()
body: Optional[bytes] = dataclasses.field(default=None)
raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)
content_type: str = dataclasses.field()

status_code: int = dataclasses.field()

body: Optional[bytes] = dataclasses.field(default=None)

raw_response: Optional[requests_http.Response] = dataclasses.field(default=None)


21 changes: 14 additions & 7 deletions src/sdk/models/shared/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,24 @@
class Account:

account_users: list[str] = dataclasses.field()
r"""List of the users in the account"""

r"""List of the users in the account"""
created_at: str = dataclasses.field()
r"""Timestamp of the account creation date"""

r"""Timestamp of the account creation date"""
id: float = dataclasses.field()
r"""The id of the account"""

r"""The id of the account"""
name: str = dataclasses.field()
r"""The name of the account"""

r"""The name of the account"""
owner_id: float = dataclasses.field()
r"""The id of the account owner"""

r"""The id of the account owner"""
personal: bool = dataclasses.field()
r"""If the account is personal or belonging to another account"""

r"""If the account is personal or belonging to another account"""
updated_at: str = dataclasses.field()
r"""Timestamp of the last account update date"""

r"""Timestamp of the last account update date"""

Loading

0 comments on commit 953443f

Please sign in to comment.