Skip to content

Commit ad8979a

Browse files
Merge pull request #4 from codatio/speakeasy-sdk-regen-1677671629
chore: speakeasy sdk regeneration - Generate Accounting SDK
2 parents 4b78d0c + 2d8af09 commit ad8979a

File tree

110 files changed

+131
-227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+131
-227
lines changed

accounting/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ from codatio.models import operations, shared
1717
s = codatio.Codatio()
1818
s.config_security(
1919
security=shared.Security(
20-
api_key=shared.SchemeAPIKey(
21-
api_key="YOUR_API_KEY_HERE",
22-
),
20+
api_key="YOUR_API_KEY_HERE",
2321
)
2422
)
2523

2624
req = operations.GetAccountTransactionRequest(
2725
security=operations.GetAccountTransactionSecurity(
28-
api_key=shared.SchemeAPIKey(
29-
api_key="YOUR_API_KEY_HERE",
30-
),
26+
api_key="YOUR_API_KEY_HERE",
3127
),
3228
path_params=operations.GetAccountTransactionPathParams(
3329
account_transaction_id="unde",

accounting/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@ Based on:
66
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
77
- Speakeasy CLI 1.7.0 https://github.com/speakeasy-api/speakeasy
88
### Releases
9-
- [PyPI v0.1.0] https://pypi.org/project/codatio-accounting/0.1.0 - accounting
9+
- [PyPI v0.1.0] https://pypi.org/project/codatio-accounting/0.1.0 - accounting
10+
11+
## 2023-03-01 11:53:47
12+
### Changes
13+
Based on:
14+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
15+
- Speakeasy CLI 1.7.0 https://github.com/speakeasy-api/speakeasy
16+
### Releases
17+
- [PyPI v0.1.1] https://pypi.org/project/codatio-accounting/0.1.1 - accounting

accounting/USAGE.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ from codatio.models import operations, shared
66
s = codatio.Codatio()
77
s.config_security(
88
security=shared.Security(
9-
api_key=shared.SchemeAPIKey(
10-
api_key="YOUR_API_KEY_HERE",
11-
),
9+
api_key="YOUR_API_KEY_HERE",
1210
)
1311
)
1412

1513
req = operations.GetAccountTransactionRequest(
1614
security=operations.GetAccountTransactionSecurity(
17-
api_key=shared.SchemeAPIKey(
18-
api_key="YOUR_API_KEY_HERE",
19-
),
15+
api_key="YOUR_API_KEY_HERE",
2016
),
2117
path_params=operations.GetAccountTransactionPathParams(
2218
account_transaction_id="unde",

accounting/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ generation:
88
sdkClassName: codatio
99
sdkFlattening: true
1010
python:
11-
version: 0.1.0
11+
version: 0.1.1
1212
packageName: codatio-accounting

accounting/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setuptools.setup(
1010
name="codatio-accounting",
11-
version="0.1.0",
11+
version="0.1.1",
1212
author="Speakeasy",
1313
description="Python Client SDK Generated by Speakeasy",
1414
long_description=long_description,

accounting/src/codatio/models/operations/donwload_invoice_attachment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22
import dataclasses
3-
from ..shared import security as shared_security
3+
44

55

66
@dataclasses.dataclass
@@ -13,7 +13,7 @@ class DonwloadInvoiceAttachmentPathParams:
1313

1414
@dataclasses.dataclass
1515
class DonwloadInvoiceAttachmentSecurity:
16-
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
16+
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})
1717

1818

1919
@dataclasses.dataclass

accounting/src/codatio/models/operations/download_bill_attachment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22
import dataclasses
3-
from ..shared import security as shared_security
3+
44

55

66
@dataclasses.dataclass
@@ -13,7 +13,7 @@ class DownloadBillAttachmentPathParams:
1313

1414
@dataclasses.dataclass
1515
class DownloadBillAttachmentSecurity:
16-
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
16+
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})
1717

1818

1919
@dataclasses.dataclass

accounting/src/codatio/models/operations/download_customer_attachment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22
import dataclasses
3-
from ..shared import security as shared_security
3+
44

55

66
@dataclasses.dataclass
@@ -13,7 +13,7 @@ class DownloadCustomerAttachmentPathParams:
1313

1414
@dataclasses.dataclass
1515
class DownloadCustomerAttachmentSecurity:
16-
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
16+
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})
1717

1818

1919
@dataclasses.dataclass

accounting/src/codatio/models/operations/download_direct_cost_attachment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22
import dataclasses
3-
from ..shared import security as shared_security
3+
44

55

66
@dataclasses.dataclass
@@ -13,7 +13,7 @@ class DownloadDirectCostAttachmentPathParams:
1313

1414
@dataclasses.dataclass
1515
class DownloadDirectCostAttachmentSecurity:
16-
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
16+
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})
1717

1818

1919
@dataclasses.dataclass

accounting/src/codatio/models/operations/download_direct_income_attachment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22
import dataclasses
3-
from ..shared import security as shared_security
3+
44

55

66
@dataclasses.dataclass
@@ -13,7 +13,7 @@ class DownloadDirectIncomeAttachmentPathParams:
1313

1414
@dataclasses.dataclass
1515
class DownloadDirectIncomeAttachmentSecurity:
16-
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
16+
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})
1717

1818

1919
@dataclasses.dataclass

0 commit comments

Comments
 (0)