Skip to content

Commit 5b6429b

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.23.1
1 parent aa3591e commit 5b6429b

27 files changed

Lines changed: 414 additions & 375 deletions

commerce/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,41 +42,41 @@ if res.company_info is not None:
4242

4343
### [company_info](docs/companyinfo/README.md)
4444

45-
* [get_company_info](docs/companyinfo/getcompanyinfo.md) - Get company info
45+
* [get_company_info](docs/companyinfo/README.md#get_company_info) - Get company info
4646

4747
### [customers](docs/customers/README.md)
4848

49-
* [list_customers](docs/customers/listcustomers.md) - List customers
49+
* [list_customers](docs/customers/README.md#list_customers) - List customers
5050

5151
### [disputes](docs/disputes/README.md)
5252

53-
* [list_disputes](docs/disputes/listdisputes.md) - List disputes
53+
* [list_disputes](docs/disputes/README.md#list_disputes) - List disputes
5454

5555
### [locations](docs/locations/README.md)
5656

57-
* [list_locations](docs/locations/listlocations.md) - List locations
57+
* [list_locations](docs/locations/README.md#list_locations) - List locations
5858

5959
### [orders](docs/orders/README.md)
6060

61-
* [list_orders](docs/orders/listorders.md) - List orders
61+
* [list_orders](docs/orders/README.md#list_orders) - List orders
6262

6363
### [payments](docs/payments/README.md)
6464

65-
* [list_payment_methods](docs/payments/listpaymentmethods.md) - List payment methods
66-
* [list_payments](docs/payments/listpayments.md) - List payments
65+
* [list_payment_methods](docs/payments/README.md#list_payment_methods) - List payment methods
66+
* [list_payments](docs/payments/README.md#list_payments) - List payments
6767

6868
### [products](docs/products/README.md)
6969

70-
* [list_product_categories](docs/products/listproductcategories.md) - List product categories
71-
* [list_products](docs/products/listproducts.md) - List products
70+
* [list_product_categories](docs/products/README.md#list_product_categories) - List product categories
71+
* [list_products](docs/products/README.md#list_products) - List products
7272

7373
### [tax_components](docs/taxcomponents/README.md)
7474

75-
* [get_tax_components](docs/taxcomponents/gettaxcomponents.md) - List tax components
75+
* [get_tax_components](docs/taxcomponents/README.md#get_tax_components) - List tax components
7676

7777
### [transactions](docs/transactions/README.md)
7878

79-
* [list_transactions](docs/transactions/listtransactions.md) - List transactions
79+
* [list_transactions](docs/transactions/README.md#list_transactions) - List transactions
8080
<!-- End SDK Available Operations -->
8181

8282
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

commerce/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,12 @@ Based on:
238238
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
239239
- Speakeasy CLI 1.23.0 (2.21.0) https://github.com/speakeasy-api/speakeasy
240240
### Releases
241-
- [PyPI v0.12.0] https://pypi.org/project/codat-commerce/0.12.0 - commerce
241+
- [PyPI v0.12.0] https://pypi.org/project/codat-commerce/0.12.0 - commerce
242+
243+
## 2023-04-25 14:17:50
244+
### Changes
245+
Based on:
246+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
247+
- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy
248+
### Releases
249+
- [PyPI v0.12.1] https://pypi.org/project/codat-commerce/0.12.1 - commerce

commerce/docs/codatcommerce/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CodatCommerce SDK
22

3+
## Overview
4+
35
Codat's Commerce API allows you to access standardised data from over 11 commerce and POS systems.
46

57
Standardize how you connect to your customers’ payment, PoS, and eCommerce systems. Retrieve orders, payouts, payments, and product data in the same way for all the leading commerce platforms.
@@ -8,3 +10,5 @@ Standardize how you connect to your customers’ payment, PoS, and eCommerce sys
810

911
[See our OpenAPI spec](https://github.com/codatio/oas)
1012

13+
### Available Operations
14+
Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
11
# company_info
22

3+
## Overview
4+
35
Retrieve standardized data from linked commerce platforms.
46

7+
### Available Operations
8+
9+
* [get_company_info](#get_company_info) - Get company info
10+
11+
## get_company_info
12+
13+
Retrieve information about the company, as seen in the commerce platform.
14+
15+
This may include information like addresses, tax registration details and social media or website information.
16+
17+
### Example Usage
18+
19+
```python
20+
import codatcommerce
21+
from codatcommerce.models import operations
22+
23+
s = codatcommerce.CodatCommerce(
24+
security=shared.Security(
25+
auth_header="YOUR_API_KEY_HERE",
26+
),
27+
)
28+
29+
30+
req = operations.GetCompanyInfoRequest(
31+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
32+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
33+
)
34+
35+
res = s.company_info.get_company_info(req)
536

6-
* [get_company_info](getcompanyinfo.md) - Get company info
37+
if res.company_info is not None:
38+
# handle response
39+
```

commerce/docs/companyinfo/getcompanyinfo.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

commerce/docs/customers/README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,41 @@
11
# customers
22

3+
## Overview
4+
35
Retrieve standardized data from linked commerce platforms.
46

7+
### Available Operations
8+
9+
* [list_customers](#list_customers) - List customers
10+
11+
## list_customers
12+
13+
List all commerce customers for the given company and data connection
14+
15+
### Example Usage
16+
17+
```python
18+
import codatcommerce
19+
from codatcommerce.models import operations
20+
21+
s = codatcommerce.CodatCommerce(
22+
security=shared.Security(
23+
auth_header="YOUR_API_KEY_HERE",
24+
),
25+
)
26+
27+
28+
req = operations.ListCustomersRequest(
29+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
30+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
31+
order_by="-modifiedDate",
32+
page=1,
33+
page_size=100,
34+
query="corrupti",
35+
)
36+
37+
res = s.customers.list_customers(req)
538

6-
* [list_customers](listcustomers.md) - List customers
39+
if res.customers is not None:
40+
# handle response
41+
```

commerce/docs/customers/listcustomers.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

commerce/docs/disputes/README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,41 @@
11
# disputes
22

3+
## Overview
4+
35
Retrieve standardized data from linked commerce platforms.
46

7+
### Available Operations
8+
9+
* [list_disputes](#list_disputes) - List disputes
10+
11+
## list_disputes
12+
13+
List commerce disputes
14+
15+
### Example Usage
16+
17+
```python
18+
import codatcommerce
19+
from codatcommerce.models import operations
20+
21+
s = codatcommerce.CodatCommerce(
22+
security=shared.Security(
23+
auth_header="YOUR_API_KEY_HERE",
24+
),
25+
)
26+
27+
28+
req = operations.ListDisputesRequest(
29+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
30+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
31+
order_by="-modifiedDate",
32+
page=1,
33+
page_size=100,
34+
query="provident",
35+
)
36+
37+
res = s.disputes.list_disputes(req)
538

6-
* [list_disputes](listdisputes.md) - List disputes
39+
if res.disputes is not None:
40+
# handle response
41+
```

commerce/docs/disputes/listdisputes.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

commerce/docs/locations/README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
11
# locations
22

3+
## Overview
4+
35
Retrieve standardized data from linked commerce platforms.
46

7+
### Available Operations
8+
9+
* [list_locations](#list_locations) - List locations
10+
11+
## list_locations
12+
13+
Retrieve a list of locations as seen in the commerce platform.
14+
15+
A `location` is a geographic place at which stocks of products may be held, or from where orders were placed.
16+
17+
### Example Usage
18+
19+
```python
20+
import codatcommerce
21+
from codatcommerce.models import operations
22+
23+
s = codatcommerce.CodatCommerce(
24+
security=shared.Security(
25+
auth_header="YOUR_API_KEY_HERE",
26+
),
27+
)
28+
29+
30+
req = operations.ListLocationsRequest(
31+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
32+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
33+
)
34+
35+
res = s.locations.list_locations(req)
536

6-
* [list_locations](listlocations.md) - List locations
37+
if res.locations_response is not None:
38+
# handle response
39+
```

0 commit comments

Comments
 (0)