Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions accounting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ from codatio.models import operations, shared
s = codatio.Codatio()
s.config_security(
security=shared.Security(
api_key=shared.SchemeAPIKey(
api_key="YOUR_API_KEY_HERE",
),
api_key="YOUR_API_KEY_HERE",
)
)

req = operations.GetAccountTransactionRequest(
security=operations.GetAccountTransactionSecurity(
api_key=shared.SchemeAPIKey(
api_key="YOUR_API_KEY_HERE",
),
api_key="YOUR_API_KEY_HERE",
),
path_params=operations.GetAccountTransactionPathParams(
account_transaction_id="unde",
Expand Down
10 changes: 9 additions & 1 deletion accounting/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
- Speakeasy CLI 1.7.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.1.0] https://pypi.org/project/codatio-accounting/0.1.0 - accounting
- [PyPI v0.1.0] https://pypi.org/project/codatio-accounting/0.1.0 - accounting

## 2023-03-01 11:53:47
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
- Speakeasy CLI 1.7.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.1.1] https://pypi.org/project/codatio-accounting/0.1.1 - accounting
8 changes: 2 additions & 6 deletions accounting/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ from codatio.models import operations, shared
s = codatio.Codatio()
s.config_security(
security=shared.Security(
api_key=shared.SchemeAPIKey(
api_key="YOUR_API_KEY_HERE",
),
api_key="YOUR_API_KEY_HERE",
)
)

req = operations.GetAccountTransactionRequest(
security=operations.GetAccountTransactionSecurity(
api_key=shared.SchemeAPIKey(
api_key="YOUR_API_KEY_HERE",
),
api_key="YOUR_API_KEY_HERE",
),
path_params=operations.GetAccountTransactionPathParams(
account_transaction_id="unde",
Expand Down
2 changes: 1 addition & 1 deletion accounting/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ generation:
sdkClassName: codatio
sdkFlattening: true
python:
version: 0.1.0
version: 0.1.1
packageName: codatio-accounting
2 changes: 1 addition & 1 deletion accounting/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="codatio-accounting",
version="0.1.0",
version="0.1.1",
author="Speakeasy",
description="Python Client SDK Generated by Speakeasy",
long_description=long_description,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
import dataclasses
from ..shared import security as shared_security



@dataclasses.dataclass
Expand All @@ -13,7 +13,7 @@ class DonwloadInvoiceAttachmentPathParams:

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


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
import dataclasses
from ..shared import security as shared_security



@dataclasses.dataclass
Expand All @@ -13,7 +13,7 @@ class DownloadBillAttachmentPathParams:

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


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
import dataclasses
from ..shared import security as shared_security



@dataclasses.dataclass
Expand All @@ -13,7 +13,7 @@ class DownloadCustomerAttachmentPathParams:

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


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
import dataclasses
from ..shared import security as shared_security



@dataclasses.dataclass
Expand All @@ -13,7 +13,7 @@ class DownloadDirectCostAttachmentPathParams:

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


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
import dataclasses
from ..shared import security as shared_security



@dataclasses.dataclass
Expand All @@ -13,7 +13,7 @@ class DownloadDirectIncomeAttachmentPathParams:

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


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
import dataclasses
from ..shared import security as shared_security



@dataclasses.dataclass
Expand All @@ -13,7 +13,7 @@ class DownloadSupplierAttachmentPathParams:

@dataclasses.dataclass
class DownloadSupplierAttachmentSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
3 changes: 1 addition & 2 deletions accounting/src/codatio/models/operations/get_account.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -18,7 +17,7 @@ class GetAccountPathParams:

@dataclasses.dataclass
class GetAccountSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -19,7 +18,7 @@ class GetAccountTransactionPathParams:

@dataclasses.dataclass
class GetAccountTransactionSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
3 changes: 1 addition & 2 deletions accounting/src/codatio/models/operations/get_accounts.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -25,7 +24,7 @@ class GetAccountsQueryParams:

@dataclasses.dataclass
class GetAccountsSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -22,7 +21,7 @@ class GetAllBankAccountQueryParams:

@dataclasses.dataclass
class GetAllBankAccountSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -23,7 +22,7 @@ class GetBalanceSheetQueryParams:

@dataclasses.dataclass
class GetBalanceSheetSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
3 changes: 1 addition & 2 deletions accounting/src/codatio/models/operations/get_bank_account.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -19,7 +18,7 @@ class GetBankAccountPathParams:

@dataclasses.dataclass
class GetBankAccountSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations
import dataclasses
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from enum import Enum
Expand All @@ -24,7 +23,7 @@ class GetBankAccountPushOptionsQueryParams:

@dataclasses.dataclass
class GetBankAccountPushOptionsSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
3 changes: 1 addition & 2 deletions accounting/src/codatio/models/operations/get_bill.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -18,7 +17,7 @@ class GetBillPathParams:

@dataclasses.dataclass
class GetBillSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -19,7 +18,7 @@ class GetBillAttachmentPathParams:

@dataclasses.dataclass
class GetBillAttachmentSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -18,7 +17,7 @@ class GetBillAttachmentsPathParams:

@dataclasses.dataclass
class GetBillAttachmentsSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -18,7 +17,7 @@ class GetBillCreditNotePathParams:

@dataclasses.dataclass
class GetBillCreditNoteSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -18,7 +17,7 @@ class GetBillPaymentsPathParams:

@dataclasses.dataclass
class GetBillPaymentsSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations
import dataclasses
import dateutil.parser
from ..shared import security as shared_security
from codatio import utils
from dataclasses_json import Undefined, dataclass_json
from datetime import datetime
Expand All @@ -24,7 +23,7 @@ class GetCashFlowStatementQueryParams:

@dataclasses.dataclass
class GetCashFlowStatementSecurity:
api_key: shared_security.SchemeAPIKey = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header' }})
api_key: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' }})


@dataclasses.dataclass
Expand Down
Loading