Skip to content

Commit 6779141

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.25.1
1 parent d59e6f4 commit 6779141

25 files changed

Lines changed: 121 additions & 113 deletions

File tree

commerce/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ req = operations.GetCompanyInfoRequest(
2929
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
3030
)
3131

32-
res = s.company_info.get_company_info(req)
32+
res = s.company_info.get(req)
3333

3434
if res.company_info is not None:
3535
# handle response
@@ -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/README.md#get_company_info) - Get company info
45+
* [get](docs/companyinfo/README.md#get) - Get company info
4646

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

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

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

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

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

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

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

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

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

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
65+
* [list](docs/payments/README.md#list) - List payments
66+
* [list_methods](docs/payments/README.md#list_methods) - List payment methods
6767

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

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
70+
* [list](docs/products/README.md#list) - List products
71+
* [list_categories](docs/products/README.md#list_categories) - List product categories
7272

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

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

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

79-
* [list_transactions](docs/transactions/README.md#list_transactions) - List transactions
79+
* [list](docs/transactions/README.md#list) - 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
@@ -254,4 +254,12 @@ Based on:
254254
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
255255
- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy
256256
### Releases
257-
- [PyPI v0.12.2] https://pypi.org/project/codat-commerce/0.12.2 - commerce
257+
- [PyPI v0.12.2] https://pypi.org/project/codat-commerce/0.12.2 - commerce
258+
259+
## 2023-04-26 14:59:31
260+
### Changes
261+
Based on:
262+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
263+
- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy
264+
### Releases
265+
- [PyPI v0.13.0] https://pypi.org/project/codat-commerce/0.13.0 - commerce

commerce/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ req = operations.GetCompanyInfoRequest(
1515
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
1616
)
1717

18-
res = s.company_info.get_company_info(req)
18+
res = s.company_info.get(req)
1919

2020
if res.company_info is not None:
2121
# handle response

commerce/docs/companyinfo/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Retrieve standardized data from linked commerce platforms.
66

77
### Available Operations
88

9-
* [get_company_info](#get_company_info) - Get company info
9+
* [get](#get) - Get company info
1010

11-
## get_company_info
11+
## get
1212

1313
Retrieve information about the company, as seen in the commerce platform.
1414

@@ -32,7 +32,7 @@ req = operations.GetCompanyInfoRequest(
3232
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
3333
)
3434

35-
res = s.company_info.get_company_info(req)
35+
res = s.company_info.get(req)
3636

3737
if res.company_info is not None:
3838
# handle response

commerce/docs/customers/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Retrieve standardized data from linked commerce platforms.
66

77
### Available Operations
88

9-
* [list_customers](#list_customers) - List customers
9+
* [list](#list) - List customers
1010

11-
## list_customers
11+
## list
1212

1313
List all commerce customers for the given company and data connection
1414

@@ -34,7 +34,7 @@ req = operations.ListCustomersRequest(
3434
query="corrupti",
3535
)
3636

37-
res = s.customers.list_customers(req)
37+
res = s.customers.list(req)
3838

3939
if res.customers is not None:
4040
# handle response

commerce/docs/disputes/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Retrieve standardized data from linked commerce platforms.
66

77
### Available Operations
88

9-
* [list_disputes](#list_disputes) - List disputes
9+
* [list](#list) - List disputes
1010

11-
## list_disputes
11+
## list
1212

1313
List commerce disputes
1414

@@ -34,7 +34,7 @@ req = operations.ListDisputesRequest(
3434
query="provident",
3535
)
3636

37-
res = s.disputes.list_disputes(req)
37+
res = s.disputes.list(req)
3838

3939
if res.disputes is not None:
4040
# handle response

commerce/docs/locations/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Retrieve standardized data from linked commerce platforms.
66

77
### Available Operations
88

9-
* [list_locations](#list_locations) - List locations
9+
* [list](#list) - List locations
1010

11-
## list_locations
11+
## list
1212

1313
Retrieve a list of locations as seen in the commerce platform.
1414

@@ -32,7 +32,7 @@ req = operations.ListLocationsRequest(
3232
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
3333
)
3434

35-
res = s.locations.list_locations(req)
35+
res = s.locations.list(req)
3636

3737
if res.locations_response is not None:
3838
# handle response

commerce/docs/orders/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Retrieve standardized data from linked commerce platforms.
66

77
### Available Operations
88

9-
* [list_orders](#list_orders) - List orders
9+
* [list](#list) - List orders
1010

11-
## list_orders
11+
## list
1212

1313
Get a list of orders placed or held on the linked commerce platform
1414

@@ -34,7 +34,7 @@ req = operations.ListOrdersRequest(
3434
query="distinctio",
3535
)
3636

37-
res = s.orders.list_orders(req)
37+
res = s.orders.list(req)
3838

3939
if res.orders is not None:
4040
# handle response

commerce/docs/payments/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Retrieve standardized data from linked commerce platforms.
66

77
### Available Operations
88

9-
* [list_payment_methods](#list_payment_methods) - List payment methods
10-
* [list_payments](#list_payments) - List payments
9+
* [list](#list) - List payments
10+
* [list_methods](#list_methods) - List payment methods
1111

12-
## list_payment_methods
12+
## list
1313

14-
Retrieve a list of payment methods, such as card, cash or other online payment methods, as held in the linked commerce platform.
14+
List commerce payments for the given company & data connection.
1515

1616
### Example Usage
1717

@@ -26,7 +26,7 @@ s = codatcommerce.CodatCommerce(
2626
)
2727

2828

29-
req = operations.ListPaymentMethodsRequest(
29+
req = operations.ListPaymentsRequest(
3030
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
3131
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
3232
order_by="-modifiedDate",
@@ -35,15 +35,15 @@ req = operations.ListPaymentMethodsRequest(
3535
query="quibusdam",
3636
)
3737

38-
res = s.payments.list_payment_methods(req)
38+
res = s.payments.list(req)
3939

40-
if res.payment_methods is not None:
40+
if res.payments is not None:
4141
# handle response
4242
```
4343

44-
## list_payments
44+
## list_methods
4545

46-
List commerce payments for the given company & data connection.
46+
Retrieve a list of payment methods, such as card, cash or other online payment methods, as held in the linked commerce platform.
4747

4848
### Example Usage
4949

@@ -58,7 +58,7 @@ s = codatcommerce.CodatCommerce(
5858
)
5959

6060

61-
req = operations.ListPaymentsRequest(
61+
req = operations.ListPaymentMethodsRequest(
6262
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
6363
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
6464
order_by="-modifiedDate",
@@ -67,8 +67,8 @@ req = operations.ListPaymentsRequest(
6767
query="unde",
6868
)
6969

70-
res = s.payments.list_payments(req)
70+
res = s.payments.list_methods(req)
7171

72-
if res.payments is not None:
72+
if res.payment_methods is not None:
7373
# handle response
7474
```

commerce/docs/products/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Retrieve standardized data from linked commerce platforms.
66

77
### Available Operations
88

9-
* [list_product_categories](#list_product_categories) - List product categories
10-
* [list_products](#list_products) - List products
9+
* [list](#list) - List products
10+
* [list_categories](#list_categories) - List product categories
1111

12-
## list_product_categories
12+
## list
1313

14-
Product categories are used to classify a group of products together, either by type (eg "Furniture"), or sometimes by tax profile.
14+
The Products data type provides the company's product inventory, and includes the price and quantity of all products, and product variants, available for sale.
1515

1616
### Example Usage
1717

@@ -26,7 +26,7 @@ s = codatcommerce.CodatCommerce(
2626
)
2727

2828

29-
req = operations.ListProductCategoriesRequest(
29+
req = operations.ListProductsRequest(
3030
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
3131
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
3232
order_by="-modifiedDate",
@@ -35,15 +35,15 @@ req = operations.ListProductCategoriesRequest(
3535
query="nulla",
3636
)
3737

38-
res = s.products.list_product_categories(req)
38+
res = s.products.list(req)
3939

40-
if res.product_categories is not None:
40+
if res.products is not None:
4141
# handle response
4242
```
4343

44-
## list_products
44+
## list_categories
4545

46-
The Products data type provides the company's product inventory, and includes the price and quantity of all products, and product variants, available for sale.
46+
Product categories are used to classify a group of products together, either by type (eg "Furniture"), or sometimes by tax profile.
4747

4848
### Example Usage
4949

@@ -58,7 +58,7 @@ s = codatcommerce.CodatCommerce(
5858
)
5959

6060

61-
req = operations.ListProductsRequest(
61+
req = operations.ListProductCategoriesRequest(
6262
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
6363
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
6464
order_by="-modifiedDate",
@@ -67,8 +67,8 @@ req = operations.ListProductsRequest(
6767
query="corrupti",
6868
)
6969

70-
res = s.products.list_products(req)
70+
res = s.products.list_categories(req)
7171

72-
if res.products is not None:
72+
if res.product_categories is not None:
7373
# handle response
7474
```

0 commit comments

Comments
 (0)