Skip to content

Commit 9a155d2

Browse files
authored
Merge pull request #64 from codatio/speakeasy-sdk-regen-1679098753
chore: speakeasy sdk regeneration - Generate Commerce SDK
2 parents 0fe29df + 38e30b0 commit 9a155d2

34 files changed

+710
-298
lines changed

commerce/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ s = codat.Codat(
2222

2323

2424
req = operations.GetCommerceInfoRequest(
25-
company_id="unde",
26-
connection_id="deserunt",
25+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
26+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
2727
)
2828

2929
res = s.company_info.get_commerce_info(req)

commerce/RELEASES.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,36 @@ Based on:
9494
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
9595
- Speakeasy CLI 1.12.1 https://github.com/speakeasy-api/speakeasy
9696
### Releases
97-
- [PyPI v0.5.1] https://pypi.org/project/codat-commerce/0.5.1 - commerce
97+
- [PyPI v0.5.1] https://pypi.org/project/codat-commerce/0.5.1 - commerce
98+
99+
## 2023-03-18 00:19:12
100+
### Changes
101+
Based on:
102+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
103+
- Speakeasy CLI 1.12.3 https://github.com/speakeasy-api/speakeasy
104+
### Releases
105+
- [PyPI v0.5.2] https://pypi.org/project/codat-commerce/0.5.2 - commerce
106+
107+
## 2023-03-21 00:19:02
108+
### Changes
109+
Based on:
110+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
111+
- Speakeasy CLI 1.12.4 https://github.com/speakeasy-api/speakeasy
112+
### Releases
113+
- [PyPI v0.5.3] https://pypi.org/project/codat-commerce/0.5.3 - commerce
114+
115+
## 2023-03-22 00:17:46
116+
### Changes
117+
Based on:
118+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
119+
- Speakeasy CLI 1.13.0 https://github.com/speakeasy-api/speakeasy
120+
### Releases
121+
- [PyPI v0.6.0] https://pypi.org/project/codat-commerce/0.6.0 - commerce
122+
123+
## 2023-03-22 10:00:17
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
127+
- Speakeasy CLI 1.14.1 https://github.com/speakeasy-api/speakeasy
128+
### Releases
129+
- [PyPI v0.7.0] https://pypi.org/project/codat-commerce/0.7.0 - commerce

commerce/USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ s = codat.Codat(
1111

1212

1313
req = operations.GetCommerceInfoRequest(
14-
company_id="unde",
15-
connection_id="deserunt",
14+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
15+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
1616
)
1717

1818
res = s.company_info.get_commerce_info(req)

commerce/gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ configVersion: 1.0.0
22
management:
33
docChecksum: acb3d544c813bc9862f61eb872eadf7c
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.12.1
5+
speakeasyVersion: 1.14.1
66
generation:
77
telemetryEnabled: false
88
sdkClassName: codat
99
sdkFlattening: true
1010
python:
11-
version: 0.5.1
11+
version: 0.7.0
1212
author: Speakeasy
1313
description: Python Client SDK Generated by Speakeasy
1414
packageName: codat-commerce

commerce/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
import setuptools
24

35
try:
@@ -8,7 +10,7 @@
810

911
setuptools.setup(
1012
name="codat-commerce",
11-
version="0.5.1",
13+
version="0.7.0",
1214
author="Speakeasy",
1315
description="Python Client SDK Generated by Speakeasy",
1416
long_description=long_description,

commerce/src/codat/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
from .sdk import *

commerce/src/codat/company_info.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
import requests as requests_http
24
from . import utils
35
from codat.models import operations
46
from typing import Optional
57

68
class CompanyInfo:
9+
r"""Retrieve standardized data from linked commerce platforms."""
710
_client: requests_http.Session
811
_security_client: requests_http.Session
912
_server_url: str
@@ -25,7 +28,6 @@ def get_commerce_info(self, request: operations.GetCommerceInfoRequest) -> opera
2528
2629
This may include information like addresses, tax registration details and social media or website information.
2730
"""
28-
2931
base_url = self._server_url
3032

3133
url = utils.generate_url(operations.GetCommerceInfoRequest, base_url, '/companies/{companyId}/connections/{connectionId}/data/commerce-info', request)

commerce/src/codat/customers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
import requests as requests_http
24
from . import utils
35
from codat.models import operations
46
from typing import Optional
57

68
class Customers:
9+
r"""Retrieve standardized data from linked commerce platforms."""
710
_client: requests_http.Session
811
_security_client: requests_http.Session
912
_server_url: str
@@ -23,7 +26,6 @@ def list_commerce_customers(self, request: operations.ListCommerceCustomersReque
2326
r"""List customers
2427
List all commerce customers for the given company and data connection
2528
"""
26-
2729
base_url = self._server_url
2830

2931
url = utils.generate_url(operations.ListCommerceCustomersRequest, base_url, '/companies/{companyId}/connections/{connectionId}/data/commerce-customers', request)

commerce/src/codat/disputes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
import requests as requests_http
24
from . import utils
35
from codat.models import operations
46
from typing import Optional
57

68
class Disputes:
9+
r"""Retrieve standardized data from linked commerce platforms."""
710
_client: requests_http.Session
811
_security_client: requests_http.Session
912
_server_url: str
@@ -23,7 +26,6 @@ def list_commerce_disputes(self, request: operations.ListCommerceDisputesRequest
2326
r"""List disputes
2427
List commerce disputes
2528
"""
26-
2729
base_url = self._server_url
2830

2931
url = utils.generate_url(operations.ListCommerceDisputesRequest, base_url, '/companies/{companyId}/connections/{connectionId}/data/commerce-disputes', request)

commerce/src/codat/locations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
import requests as requests_http
24
from . import utils
35
from codat.models import operations
46
from typing import Optional
57

68
class Locations:
9+
r"""Retrieve standardized data from linked commerce platforms."""
710
_client: requests_http.Session
811
_security_client: requests_http.Session
912
_server_url: str
@@ -25,7 +28,6 @@ def list_commerce_locations(self, request: operations.ListCommerceLocationsReque
2528
2629
A `location` is a geographic place at which stocks of products may be held, or from where orders were placed.
2730
"""
28-
2931
base_url = self._server_url
3032

3133
url = utils.generate_url(operations.ListCommerceLocationsRequest, base_url, '/companies/{companyId}/connections/{connectionId}/data/commerce-locations', request)

0 commit comments

Comments
 (0)