Skip to content

Commit

Permalink
Merge pull request #13 from panoratech/speakeasy-sdk-regen-1726339745
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate SDK 0.6.1
  • Loading branch information
naelob authored Sep 14, 2024
2 parents bdb70b8 + 40f4014 commit 1216e2f
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 16 deletions.
20 changes: 17 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 115d0df7-1198-46c9-9d03-a640abffed12
management:
docChecksum: 490d5a6e807f06c7644ea7f1a7dd8133
docChecksum: 4451647c3fecd12e75576c88d6e46844
docVersion: "1.0"
speakeasyVersion: 1.396.9
generationVersion: 2.415.7
releaseVersion: 0.6.0
configChecksum: c75dbfced3de603629479be6b34e7d31
releaseVersion: 0.6.1
configChecksum: f58b9d9faab8b135ba942cd76f46ba07
repoURL: https://github.com/panoratech/python-sdk.git
installationURL: https://github.com/panoratech/python-sdk.git
published: true
Expand Down Expand Up @@ -1641,6 +1641,7 @@ examples:
createTicketingComment:
speakeasy-default-create-ticketing-comment:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -1722,6 +1723,7 @@ examples:
createTicketingAttachment:
speakeasy-default-create-ticketing-attachment:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -1847,6 +1849,7 @@ examples:
createCrmDeal:
speakeasy-default-create-crm-deal:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -1977,6 +1980,7 @@ examples:
createCrmTask:
speakeasy-default-create-crm-task:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2246,6 +2250,7 @@ examples:
createHrisEmployee:
speakeasy-default-create-hris-employee:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2424,6 +2429,7 @@ examples:
createHrisTimeoff:
speakeasy-default-create-hris-timeoff:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2482,6 +2488,7 @@ examples:
createHrisTimesheetentry:
speakeasy-default-create-hris-timesheetentry:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2670,6 +2677,7 @@ examples:
createMarketingautomationList:
speakeasy-default-create-marketingautomation-list:
parameters:
query: {}
header:
x-connection-token: "<value>"
retrieveMarketingautomationList:
Expand Down Expand Up @@ -2717,6 +2725,7 @@ examples:
createMarketingautomationTemplate:
speakeasy-default-create-marketingautomation-template:
parameters:
query: {}
header:
x-connection-token: "<value>"
retrieveMarketingautomationTemplate:
Expand Down Expand Up @@ -3860,3 +3869,8 @@ examples:
responses:
"200":
application/json: {"carrier": "DHL", "tracking_urls": ["https://tracing-url.sf.com"], "tracking_numbers": ["track_1029_191919"], "items": {}, "order_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", "id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", "remote_id": "id_1", "created_at": "2024-10-01T12:00:00Z", "modified_at": "2024-10-01T12:00:00Z"}
retrieveConnections:
speakeasy-default-retrieve-connections:
responses:
"200":
application/json: []
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
python:
version: 0.6.0
version: 0.6.1
additionalDependencies:
dev: {}
main: {}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ asyncio.run(main())

### [connections](docs/sdks/connections/README.md)

* [get_connections](docs/sdks/connections/README.md#get_connections) - List Connections
* [retrieve](docs/sdks/connections/README.md#retrieve) - List Connections

### [crm](docs/sdks/crm/README.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,14 @@ Based on:
### Generated
- [python v0.6.0] .
### Releases
- [PyPI v0.6.0] https://pypi.org/project/panora-sdk/0.6.0 - .
- [PyPI v0.6.0] https://pypi.org/project/panora-sdk/0.6.0 - .

## 2024-09-14 18:48:59
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.396.9 (2.415.7) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.6.1] .
### Releases
- [PyPI v0.6.1] https://pypi.org/project/panora-sdk/0.6.1 - .
6 changes: 3 additions & 3 deletions docs/sdks/connections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

### Available Operations

* [get_connections](#get_connections) - List Connections
* [retrieve](#retrieve) - List Connections

## get_connections
## retrieve

List Connections

Expand All @@ -20,7 +20,7 @@ s = Panora(
api_key="<YOUR_API_KEY_HERE>",
)

res = s.connections.get_connections()
res = s.connections.retrieve()

if res is not None:
# handle response
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "panora-sdk"
version = "0.6.0"
version = "0.6.1"
description = "Python Client SDK Generated by Speakeasy."
authors = ["Speakeasy",]
readme = "README-PYPI.md"
Expand Down
8 changes: 4 additions & 4 deletions src/panora_sdk/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class Connections(BaseSDK):
def get_connections(
def retrieve(
self,
*,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
Expand Down Expand Up @@ -53,7 +53,7 @@ def get_connections(

http_res = self.do_request(
hook_ctx=HookContext(
operation_id="getConnections",
operation_id="retrieveConnections",
oauth2_scopes=[],
security_source=self.sdk_configuration.security,
),
Expand All @@ -79,7 +79,7 @@ def get_connections(
http_res,
)

async def get_connections_async(
async def retrieve_async(
self,
*,
retries: OptionalNullable[utils.RetryConfig] = UNSET,
Expand Down Expand Up @@ -124,7 +124,7 @@ async def get_connections_async(

http_res = await self.do_request_async(
hook_ctx=HookContext(
operation_id="getConnections",
operation_id="retrieveConnections",
oauth2_scopes=[],
security_source=self.sdk_configuration.security,
),
Expand Down
4 changes: 2 additions & 2 deletions src/panora_sdk/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class SDKConfiguration:
server_idx: Optional[int] = 0
language: str = "python"
openapi_doc_version: str = "1.0"
sdk_version: str = "0.6.0"
sdk_version: str = "0.6.1"
gen_version: str = "2.415.7"
user_agent: str = "speakeasy-sdk/python 0.6.0 2.415.7 1.0 panora-sdk"
user_agent: str = "speakeasy-sdk/python 0.6.1 2.415.7 1.0 panora-sdk"
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
timeout_ms: Optional[int] = None

Expand Down

0 comments on commit 1216e2f

Please sign in to comment.