diff --git a/accounting/README.md b/accounting/README.md index a9fa20a4d..2d63c10ff 100755 --- a/accounting/README.md +++ b/accounting/README.md @@ -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", diff --git a/accounting/RELEASES.md b/accounting/RELEASES.md index b608c4b5a..005e620fd 100644 --- a/accounting/RELEASES.md +++ b/accounting/RELEASES.md @@ -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 \ No newline at end of file +- [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 \ No newline at end of file diff --git a/accounting/USAGE.md b/accounting/USAGE.md index 964157fa1..aeff743e8 100755 --- a/accounting/USAGE.md +++ b/accounting/USAGE.md @@ -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", diff --git a/accounting/gen.yaml b/accounting/gen.yaml index 2642e44db..d45a44fcd 100644 --- a/accounting/gen.yaml +++ b/accounting/gen.yaml @@ -8,5 +8,5 @@ generation: sdkClassName: codatio sdkFlattening: true python: - version: 0.1.0 + version: 0.1.1 packageName: codatio-accounting diff --git a/accounting/setup.py b/accounting/setup.py index 2710b36f5..f0adc6978 100755 --- a/accounting/setup.py +++ b/accounting/setup.py @@ -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, diff --git a/accounting/src/codatio/models/operations/donwload_invoice_attachment.py b/accounting/src/codatio/models/operations/donwload_invoice_attachment.py index 34b8d4c5b..3407f60fd 100755 --- a/accounting/src/codatio/models/operations/donwload_invoice_attachment.py +++ b/accounting/src/codatio/models/operations/donwload_invoice_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -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 diff --git a/accounting/src/codatio/models/operations/download_bill_attachment.py b/accounting/src/codatio/models/operations/download_bill_attachment.py index 6b4eb300b..172d9649f 100755 --- a/accounting/src/codatio/models/operations/download_bill_attachment.py +++ b/accounting/src/codatio/models/operations/download_bill_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -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 diff --git a/accounting/src/codatio/models/operations/download_customer_attachment.py b/accounting/src/codatio/models/operations/download_customer_attachment.py index 666ef68a3..dbf67042a 100755 --- a/accounting/src/codatio/models/operations/download_customer_attachment.py +++ b/accounting/src/codatio/models/operations/download_customer_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -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 diff --git a/accounting/src/codatio/models/operations/download_direct_cost_attachment.py b/accounting/src/codatio/models/operations/download_direct_cost_attachment.py index 654857205..8f73d406d 100755 --- a/accounting/src/codatio/models/operations/download_direct_cost_attachment.py +++ b/accounting/src/codatio/models/operations/download_direct_cost_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -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 diff --git a/accounting/src/codatio/models/operations/download_direct_income_attachment.py b/accounting/src/codatio/models/operations/download_direct_income_attachment.py index 4cce8fdcd..240fb29b3 100755 --- a/accounting/src/codatio/models/operations/download_direct_income_attachment.py +++ b/accounting/src/codatio/models/operations/download_direct_income_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -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 diff --git a/accounting/src/codatio/models/operations/download_supplier_attachment.py b/accounting/src/codatio/models/operations/download_supplier_attachment.py index eb369f3f2..7e9903688 100755 --- a/accounting/src/codatio/models/operations/download_supplier_attachment.py +++ b/accounting/src/codatio/models/operations/download_supplier_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -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 diff --git a/accounting/src/codatio/models/operations/get_account.py b/accounting/src/codatio/models/operations/get_account.py index a4f7d409c..4b744a85d 100755 --- a/accounting/src/codatio/models/operations/get_account.py +++ b/accounting/src/codatio/models/operations/get_account.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_account_transaction.py b/accounting/src/codatio/models/operations/get_account_transaction.py index d10665b6a..cd641b9d0 100755 --- a/accounting/src/codatio/models/operations/get_account_transaction.py +++ b/accounting/src/codatio/models/operations/get_account_transaction.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_accounts.py b/accounting/src/codatio/models/operations/get_accounts.py index 27421ee9f..b7f5bfb78 100755 --- a/accounting/src/codatio/models/operations/get_accounts.py +++ b/accounting/src/codatio/models/operations/get_accounts.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_all_bank_account.py b/accounting/src/codatio/models/operations/get_all_bank_account.py index e831044d3..239b21053 100755 --- a/accounting/src/codatio/models/operations/get_all_bank_account.py +++ b/accounting/src/codatio/models/operations/get_all_bank_account.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_balance_sheet.py b/accounting/src/codatio/models/operations/get_balance_sheet.py index 114e2d3e0..660816490 100755 --- a/accounting/src/codatio/models/operations/get_balance_sheet.py +++ b/accounting/src/codatio/models/operations/get_balance_sheet.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_bank_account.py b/accounting/src/codatio/models/operations/get_bank_account.py index b601303cd..0c99b900b 100755 --- a/accounting/src/codatio/models/operations/get_bank_account.py +++ b/accounting/src/codatio/models/operations/get_bank_account.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_bank_account_push_options.py b/accounting/src/codatio/models/operations/get_bank_account_push_options.py index eeebd84a1..436c79dcb 100755 --- a/accounting/src/codatio/models/operations/get_bank_account_push_options.py +++ b/accounting/src/codatio/models/operations/get_bank_account_push_options.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_bill.py b/accounting/src/codatio/models/operations/get_bill.py index bdb223988..e8572e735 100755 --- a/accounting/src/codatio/models/operations/get_bill.py +++ b/accounting/src/codatio/models/operations/get_bill.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_bill_attachment.py b/accounting/src/codatio/models/operations/get_bill_attachment.py index 9ad2f1fbf..42feb18e1 100755 --- a/accounting/src/codatio/models/operations/get_bill_attachment.py +++ b/accounting/src/codatio/models/operations/get_bill_attachment.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_bill_attachments.py b/accounting/src/codatio/models/operations/get_bill_attachments.py index 8f9d4b38b..b45b6211c 100755 --- a/accounting/src/codatio/models/operations/get_bill_attachments.py +++ b/accounting/src/codatio/models/operations/get_bill_attachments.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_bill_credit_note.py b/accounting/src/codatio/models/operations/get_bill_credit_note.py index aece8ef62..06b1f309c 100755 --- a/accounting/src/codatio/models/operations/get_bill_credit_note.py +++ b/accounting/src/codatio/models/operations/get_bill_credit_note.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_bill_payments.py b/accounting/src/codatio/models/operations/get_bill_payments.py index ec602298b..88858f9b6 100755 --- a/accounting/src/codatio/models/operations/get_bill_payments.py +++ b/accounting/src/codatio/models/operations/get_bill_payments.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_cash_flow_statement.py b/accounting/src/codatio/models/operations/get_cash_flow_statement.py index 0ea8b1493..259ee0ff9 100755 --- a/accounting/src/codatio/models/operations/get_cash_flow_statement.py +++ b/accounting/src/codatio/models/operations/get_cash_flow_statement.py @@ -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 @@ -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 diff --git a/accounting/src/codatio/models/operations/get_company_info.py b/accounting/src/codatio/models/operations/get_company_info.py index 65e244cdb..1c54275ae 100755 --- a/accounting/src/codatio/models/operations/get_company_info.py +++ b/accounting/src/codatio/models/operations/get_company_info.py @@ -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 @@ -17,7 +16,7 @@ class GetCompanyInfoPathParams: @dataclasses.dataclass class GetCompanyInfoSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_credit_note.py b/accounting/src/codatio/models/operations/get_credit_note.py index 321386931..2dda44efb 100755 --- a/accounting/src/codatio/models/operations/get_credit_note.py +++ b/accounting/src/codatio/models/operations/get_credit_note.py @@ -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 @@ -18,7 +17,7 @@ class GetCreditNotePathParams: @dataclasses.dataclass class GetCreditNoteSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_customer.py b/accounting/src/codatio/models/operations/get_customer.py index 0dae294ee..4ad083c49 100755 --- a/accounting/src/codatio/models/operations/get_customer.py +++ b/accounting/src/codatio/models/operations/get_customer.py @@ -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 @@ -18,7 +17,7 @@ class GetCustomerPathParams: @dataclasses.dataclass class GetCustomerSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_customer_attachment.py b/accounting/src/codatio/models/operations/get_customer_attachment.py index 94dc4352d..86f0905c5 100755 --- a/accounting/src/codatio/models/operations/get_customer_attachment.py +++ b/accounting/src/codatio/models/operations/get_customer_attachment.py @@ -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 @@ -19,7 +18,7 @@ class GetCustomerAttachmentPathParams: @dataclasses.dataclass class GetCustomerAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_customer_attachments.py b/accounting/src/codatio/models/operations/get_customer_attachments.py index e3b95750f..4942af1c6 100755 --- a/accounting/src/codatio/models/operations/get_customer_attachments.py +++ b/accounting/src/codatio/models/operations/get_customer_attachments.py @@ -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 @@ -18,7 +17,7 @@ class GetCustomerAttachmentsPathParams: @dataclasses.dataclass class GetCustomerAttachmentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_customers.py b/accounting/src/codatio/models/operations/get_customers.py index 3005782d6..0a38e2e09 100755 --- a/accounting/src/codatio/models/operations/get_customers.py +++ b/accounting/src/codatio/models/operations/get_customers.py @@ -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 @@ -25,7 +24,7 @@ class GetCustomersQueryParams: @dataclasses.dataclass class GetCustomersSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_direct_cost.py b/accounting/src/codatio/models/operations/get_direct_cost.py index 52d85a1f8..d90177485 100755 --- a/accounting/src/codatio/models/operations/get_direct_cost.py +++ b/accounting/src/codatio/models/operations/get_direct_cost.py @@ -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 @@ -18,7 +17,7 @@ class GetDirectCostPathParams: @dataclasses.dataclass class GetDirectCostSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_direct_cost_attachment.py b/accounting/src/codatio/models/operations/get_direct_cost_attachment.py index 6e6185cc7..b996692c8 100755 --- a/accounting/src/codatio/models/operations/get_direct_cost_attachment.py +++ b/accounting/src/codatio/models/operations/get_direct_cost_attachment.py @@ -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 @@ -19,7 +18,7 @@ class GetDirectCostAttachmentPathParams: @dataclasses.dataclass class GetDirectCostAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_direct_costs.py b/accounting/src/codatio/models/operations/get_direct_costs.py index 2cf6b8f7f..78d4c5408 100755 --- a/accounting/src/codatio/models/operations/get_direct_costs.py +++ b/accounting/src/codatio/models/operations/get_direct_costs.py @@ -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 @@ -25,7 +24,7 @@ class GetDirectCostsQueryParams: @dataclasses.dataclass class GetDirectCostsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_direct_income.py b/accounting/src/codatio/models/operations/get_direct_income.py index ff495f45a..1d24de515 100755 --- a/accounting/src/codatio/models/operations/get_direct_income.py +++ b/accounting/src/codatio/models/operations/get_direct_income.py @@ -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 @@ -18,7 +17,7 @@ class GetDirectIncomePathParams: @dataclasses.dataclass class GetDirectIncomeSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_direct_income_attachment.py b/accounting/src/codatio/models/operations/get_direct_income_attachment.py index 9a67e0d09..b5c02f2a8 100755 --- a/accounting/src/codatio/models/operations/get_direct_income_attachment.py +++ b/accounting/src/codatio/models/operations/get_direct_income_attachment.py @@ -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 @@ -24,7 +23,7 @@ class GetDirectIncomeAttachmentQueryParams: @dataclasses.dataclass class GetDirectIncomeAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_direct_incomes.py b/accounting/src/codatio/models/operations/get_direct_incomes.py index 9c55a06f1..45d9ffc74 100755 --- a/accounting/src/codatio/models/operations/get_direct_incomes.py +++ b/accounting/src/codatio/models/operations/get_direct_incomes.py @@ -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 @@ -25,7 +24,7 @@ class GetDirectIncomesQueryParams: @dataclasses.dataclass class GetDirectIncomesSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_invoice.py b/accounting/src/codatio/models/operations/get_invoice.py index e684693da..93b019220 100755 --- a/accounting/src/codatio/models/operations/get_invoice.py +++ b/accounting/src/codatio/models/operations/get_invoice.py @@ -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 @@ -18,7 +17,7 @@ class GetInvoicePathParams: @dataclasses.dataclass class GetInvoiceSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_invoice_attachment.py b/accounting/src/codatio/models/operations/get_invoice_attachment.py index 91b716cbc..cc5ddf545 100755 --- a/accounting/src/codatio/models/operations/get_invoice_attachment.py +++ b/accounting/src/codatio/models/operations/get_invoice_attachment.py @@ -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 @@ -19,7 +18,7 @@ class GetInvoiceAttachmentPathParams: @dataclasses.dataclass class GetInvoiceAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_invoice_attachments.py b/accounting/src/codatio/models/operations/get_invoice_attachments.py index 3ed3344bc..21634d889 100755 --- a/accounting/src/codatio/models/operations/get_invoice_attachments.py +++ b/accounting/src/codatio/models/operations/get_invoice_attachments.py @@ -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 @@ -18,7 +17,7 @@ class GetInvoiceAttachmentsPathParams: @dataclasses.dataclass class GetInvoiceAttachmentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_invoice_pdf.py b/accounting/src/codatio/models/operations/get_invoice_pdf.py index 2f6e6a120..9bdea12e0 100755 --- a/accounting/src/codatio/models/operations/get_invoice_pdf.py +++ b/accounting/src/codatio/models/operations/get_invoice_pdf.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -11,7 +11,7 @@ class GetInvoicePdfPathParams: @dataclasses.dataclass class GetInvoicePdfSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_item.py b/accounting/src/codatio/models/operations/get_item.py index 22621e98f..cf1588cf9 100755 --- a/accounting/src/codatio/models/operations/get_item.py +++ b/accounting/src/codatio/models/operations/get_item.py @@ -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 @@ -18,7 +17,7 @@ class GetItemPathParams: @dataclasses.dataclass class GetItemSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_journal.py b/accounting/src/codatio/models/operations/get_journal.py index ed57aed94..572ce843a 100755 --- a/accounting/src/codatio/models/operations/get_journal.py +++ b/accounting/src/codatio/models/operations/get_journal.py @@ -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 @@ -18,7 +17,7 @@ class GetJournalPathParams: @dataclasses.dataclass class GetJournalSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_journal_entry.py b/accounting/src/codatio/models/operations/get_journal_entry.py index 9b41ea01b..a3713436e 100755 --- a/accounting/src/codatio/models/operations/get_journal_entry.py +++ b/accounting/src/codatio/models/operations/get_journal_entry.py @@ -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 @@ -17,7 +16,7 @@ class GetJournalEntryPathParams: @dataclasses.dataclass class GetJournalEntrySecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_payment.py b/accounting/src/codatio/models/operations/get_payment.py index fe401da91..57effb8c0 100755 --- a/accounting/src/codatio/models/operations/get_payment.py +++ b/accounting/src/codatio/models/operations/get_payment.py @@ -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 @@ -18,7 +17,7 @@ class GetPaymentPathParams: @dataclasses.dataclass class GetPaymentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_payment_method.py b/accounting/src/codatio/models/operations/get_payment_method.py index e42ce9810..622644f66 100755 --- a/accounting/src/codatio/models/operations/get_payment_method.py +++ b/accounting/src/codatio/models/operations/get_payment_method.py @@ -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 @@ -18,7 +17,7 @@ class GetPaymentMethodPathParams: @dataclasses.dataclass class GetPaymentMethodSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_profit_and_loss.py b/accounting/src/codatio/models/operations/get_profit_and_loss.py index b9eadfbae..e426b0303 100755 --- a/accounting/src/codatio/models/operations/get_profit_and_loss.py +++ b/accounting/src/codatio/models/operations/get_profit_and_loss.py @@ -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 @@ -24,7 +23,7 @@ class GetProfitAndLossQueryParams: @dataclasses.dataclass class GetProfitAndLossSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_purchase_order.py b/accounting/src/codatio/models/operations/get_purchase_order.py index 31fa892f5..c0955688c 100755 --- a/accounting/src/codatio/models/operations/get_purchase_order.py +++ b/accounting/src/codatio/models/operations/get_purchase_order.py @@ -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 @@ -18,7 +17,7 @@ class GetPurchaseOrderPathParams: @dataclasses.dataclass class GetPurchaseOrderSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_sales_order.py b/accounting/src/codatio/models/operations/get_sales_order.py index a0bb0803a..c060be134 100755 --- a/accounting/src/codatio/models/operations/get_sales_order.py +++ b/accounting/src/codatio/models/operations/get_sales_order.py @@ -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 @@ -18,7 +17,7 @@ class GetSalesOrderPathParams: @dataclasses.dataclass class GetSalesOrderSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_supplier.py b/accounting/src/codatio/models/operations/get_supplier.py index 13dd246a6..53e5cd4ed 100755 --- a/accounting/src/codatio/models/operations/get_supplier.py +++ b/accounting/src/codatio/models/operations/get_supplier.py @@ -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 @@ -18,7 +17,7 @@ class GetSupplierPathParams: @dataclasses.dataclass class GetSupplierSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_supplier_attachment.py b/accounting/src/codatio/models/operations/get_supplier_attachment.py index 5b4bd7b5b..7f26c3d2c 100755 --- a/accounting/src/codatio/models/operations/get_supplier_attachment.py +++ b/accounting/src/codatio/models/operations/get_supplier_attachment.py @@ -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 @@ -19,7 +18,7 @@ class GetSupplierAttachmentPathParams: @dataclasses.dataclass class GetSupplierAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_tax_rate.py b/accounting/src/codatio/models/operations/get_tax_rate.py index be15674c1..2115e30db 100755 --- a/accounting/src/codatio/models/operations/get_tax_rate.py +++ b/accounting/src/codatio/models/operations/get_tax_rate.py @@ -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 @@ -18,7 +17,7 @@ class GetTaxRatePathParams: @dataclasses.dataclass class GetTaxRateSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_tracking_category.py b/accounting/src/codatio/models/operations/get_tracking_category.py index 1e19c2219..a4961e0d2 100755 --- a/accounting/src/codatio/models/operations/get_tracking_category.py +++ b/accounting/src/codatio/models/operations/get_tracking_category.py @@ -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 @@ -18,7 +17,7 @@ class GetTrackingCategoryPathParams: @dataclasses.dataclass class GetTrackingCategorySecurity: - 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 diff --git a/accounting/src/codatio/models/operations/get_transfer.py b/accounting/src/codatio/models/operations/get_transfer.py index aa29e1730..13f0a6bf3 100755 --- a/accounting/src/codatio/models/operations/get_transfer.py +++ b/accounting/src/codatio/models/operations/get_transfer.py @@ -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 @@ -18,7 +17,7 @@ class GetTransferPathParams: @dataclasses.dataclass class GetTransferSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_account_transactions.py b/accounting/src/codatio/models/operations/list_account_transactions.py index c4e67c62c..a6eafe07e 100755 --- a/accounting/src/codatio/models/operations/list_account_transactions.py +++ b/accounting/src/codatio/models/operations/list_account_transactions.py @@ -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 @@ -26,7 +25,7 @@ class ListAccountTransactionsQueryParams: @dataclasses.dataclass class ListAccountTransactionsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_all_bank_transactionscount.py b/accounting/src/codatio/models/operations/list_all_bank_transactionscount.py index 6024452ab..5c4a04745 100755 --- a/accounting/src/codatio/models/operations/list_all_bank_transactionscount.py +++ b/accounting/src/codatio/models/operations/list_all_bank_transactionscount.py @@ -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 @@ -27,7 +26,7 @@ class ListAllBankTransactionscountQueryParams: @dataclasses.dataclass class ListAllBankTransactionscountSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_bank_accounts.py b/accounting/src/codatio/models/operations/list_bank_accounts.py index 00580ee68..aede05d6b 100755 --- a/accounting/src/codatio/models/operations/list_bank_accounts.py +++ b/accounting/src/codatio/models/operations/list_bank_accounts.py @@ -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 @@ -26,7 +25,7 @@ class ListBankAccountsQueryParams: @dataclasses.dataclass class ListBankAccountsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_bank_transactions.py b/accounting/src/codatio/models/operations/list_bank_transactions.py index 4c8dd9304..c4a0696ce 100755 --- a/accounting/src/codatio/models/operations/list_bank_transactions.py +++ b/accounting/src/codatio/models/operations/list_bank_transactions.py @@ -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 @@ -26,7 +25,7 @@ class ListBankTransactionsQueryParams: @dataclasses.dataclass class ListBankTransactionsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_bill_credit_notes.py b/accounting/src/codatio/models/operations/list_bill_credit_notes.py index 2fda4c1a5..cf5362569 100755 --- a/accounting/src/codatio/models/operations/list_bill_credit_notes.py +++ b/accounting/src/codatio/models/operations/list_bill_credit_notes.py @@ -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 @@ -25,7 +24,7 @@ class ListBillCreditNotesQueryParams: @dataclasses.dataclass class ListBillCreditNotesSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_bill_payments.py b/accounting/src/codatio/models/operations/list_bill_payments.py index 6eb7e117b..7662c8a14 100755 --- a/accounting/src/codatio/models/operations/list_bill_payments.py +++ b/accounting/src/codatio/models/operations/list_bill_payments.py @@ -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 @@ -25,7 +24,7 @@ class ListBillPaymentsQueryParams: @dataclasses.dataclass class ListBillPaymentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_bills.py b/accounting/src/codatio/models/operations/list_bills.py index eec2c1dac..d2885b5ac 100755 --- a/accounting/src/codatio/models/operations/list_bills.py +++ b/accounting/src/codatio/models/operations/list_bills.py @@ -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 @@ -25,7 +24,7 @@ class ListBillsQueryParams: @dataclasses.dataclass class ListBillsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_credit_notes.py b/accounting/src/codatio/models/operations/list_credit_notes.py index e645f3286..fd962cf20 100755 --- a/accounting/src/codatio/models/operations/list_credit_notes.py +++ b/accounting/src/codatio/models/operations/list_credit_notes.py @@ -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 @@ -25,7 +24,7 @@ class ListCreditNotesQueryParams: @dataclasses.dataclass class ListCreditNotesSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_direct_cost_attachments.py b/accounting/src/codatio/models/operations/list_direct_cost_attachments.py index ea85354d6..741b36daf 100755 --- a/accounting/src/codatio/models/operations/list_direct_cost_attachments.py +++ b/accounting/src/codatio/models/operations/list_direct_cost_attachments.py @@ -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 @@ -18,7 +17,7 @@ class ListDirectCostAttachmentsPathParams: @dataclasses.dataclass class ListDirectCostAttachmentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_direct_income_attachments.py b/accounting/src/codatio/models/operations/list_direct_income_attachments.py index 7517ab74f..ed05106f2 100755 --- a/accounting/src/codatio/models/operations/list_direct_income_attachments.py +++ b/accounting/src/codatio/models/operations/list_direct_income_attachments.py @@ -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 @@ -18,7 +17,7 @@ class ListDirectIncomeAttachmentsPathParams: @dataclasses.dataclass class ListDirectIncomeAttachmentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_invoices.py b/accounting/src/codatio/models/operations/list_invoices.py index de1a4e2e7..f12b5f79c 100755 --- a/accounting/src/codatio/models/operations/list_invoices.py +++ b/accounting/src/codatio/models/operations/list_invoices.py @@ -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 @@ -25,7 +24,7 @@ class ListInvoicesQueryParams: @dataclasses.dataclass class ListInvoicesSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_items.py b/accounting/src/codatio/models/operations/list_items.py index 7f079605e..40adfd6f4 100755 --- a/accounting/src/codatio/models/operations/list_items.py +++ b/accounting/src/codatio/models/operations/list_items.py @@ -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 @@ -25,7 +24,7 @@ class ListItemsQueryParams: @dataclasses.dataclass class ListItemsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_journal_entries.py b/accounting/src/codatio/models/operations/list_journal_entries.py index d5898be6b..ddf19d04f 100755 --- a/accounting/src/codatio/models/operations/list_journal_entries.py +++ b/accounting/src/codatio/models/operations/list_journal_entries.py @@ -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 @@ -24,7 +23,7 @@ class ListJournalEntriesQueryParams: @dataclasses.dataclass class ListJournalEntriesSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_journals.py b/accounting/src/codatio/models/operations/list_journals.py index e6dd3535d..59d4f195f 100755 --- a/accounting/src/codatio/models/operations/list_journals.py +++ b/accounting/src/codatio/models/operations/list_journals.py @@ -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 @@ -25,7 +24,7 @@ class ListJournalsQueryParams: @dataclasses.dataclass class ListJournalsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_payment_methods.py b/accounting/src/codatio/models/operations/list_payment_methods.py index da7c72b63..556770bec 100755 --- a/accounting/src/codatio/models/operations/list_payment_methods.py +++ b/accounting/src/codatio/models/operations/list_payment_methods.py @@ -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 @@ -25,7 +24,7 @@ class ListPaymentMethodsQueryParams: @dataclasses.dataclass class ListPaymentMethodsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_payments.py b/accounting/src/codatio/models/operations/list_payments.py index c41410bd0..47683be3c 100755 --- a/accounting/src/codatio/models/operations/list_payments.py +++ b/accounting/src/codatio/models/operations/list_payments.py @@ -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 @@ -25,7 +24,7 @@ class ListPaymentsQueryParams: @dataclasses.dataclass class ListPaymentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_purchase_orders.py b/accounting/src/codatio/models/operations/list_purchase_orders.py index c48c2e9e5..189b807ba 100755 --- a/accounting/src/codatio/models/operations/list_purchase_orders.py +++ b/accounting/src/codatio/models/operations/list_purchase_orders.py @@ -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 @@ -25,7 +24,7 @@ class ListPurchaseOrdersQueryParams: @dataclasses.dataclass class ListPurchaseOrdersSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_sales_orders.py b/accounting/src/codatio/models/operations/list_sales_orders.py index 3a299fe37..86bbd8145 100755 --- a/accounting/src/codatio/models/operations/list_sales_orders.py +++ b/accounting/src/codatio/models/operations/list_sales_orders.py @@ -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 @@ -25,7 +24,7 @@ class ListSalesOrdersQueryParams: @dataclasses.dataclass class ListSalesOrdersSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_supplier_attachments.py b/accounting/src/codatio/models/operations/list_supplier_attachments.py index c5c480d2e..988973d95 100755 --- a/accounting/src/codatio/models/operations/list_supplier_attachments.py +++ b/accounting/src/codatio/models/operations/list_supplier_attachments.py @@ -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 @@ -18,7 +17,7 @@ class ListSupplierAttachmentsPathParams: @dataclasses.dataclass class ListSupplierAttachmentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_suppliers.py b/accounting/src/codatio/models/operations/list_suppliers.py index fbfda9f69..7e856623a 100755 --- a/accounting/src/codatio/models/operations/list_suppliers.py +++ b/accounting/src/codatio/models/operations/list_suppliers.py @@ -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 @@ -25,7 +24,7 @@ class ListSuppliersQueryParams: @dataclasses.dataclass class ListSuppliersSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_tax_rates.py b/accounting/src/codatio/models/operations/list_tax_rates.py index cac011e05..8721aba6a 100755 --- a/accounting/src/codatio/models/operations/list_tax_rates.py +++ b/accounting/src/codatio/models/operations/list_tax_rates.py @@ -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 @@ -25,7 +24,7 @@ class ListTaxRatesQueryParams: @dataclasses.dataclass class ListTaxRatesSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_tracking_categories.py b/accounting/src/codatio/models/operations/list_tracking_categories.py index 1f1a2f65d..648e99fe3 100755 --- a/accounting/src/codatio/models/operations/list_tracking_categories.py +++ b/accounting/src/codatio/models/operations/list_tracking_categories.py @@ -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 @@ -25,7 +24,7 @@ class ListTrackingCategoriesQueryParams: @dataclasses.dataclass class ListTrackingCategoriesSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/list_transfers.py b/accounting/src/codatio/models/operations/list_transfers.py index 2b2f8a8e4..7355641e6 100755 --- a/accounting/src/codatio/models/operations/list_transfers.py +++ b/accounting/src/codatio/models/operations/list_transfers.py @@ -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 @@ -25,7 +24,7 @@ class ListTransfersQueryParams: @dataclasses.dataclass class ListTransfersSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_account.py b/accounting/src/codatio/models/operations/post_account.py index 43cbebdc2..c67b35d83 100755 --- a/accounting/src/codatio/models/operations/post_account.py +++ b/accounting/src/codatio/models/operations/post_account.py @@ -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 @@ -138,7 +137,7 @@ class PostAccountSourceModifiedDate: @dataclasses.dataclass class PostAccountSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_bank_account.py b/accounting/src/codatio/models/operations/post_bank_account.py index f3e91ee45..0128fb505 100755 --- a/accounting/src/codatio/models/operations/post_bank_account.py +++ b/accounting/src/codatio/models/operations/post_bank_account.py @@ -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 @@ -74,7 +73,7 @@ class PostBankAccountSourceModifiedDate: @dataclasses.dataclass class PostBankAccountSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_bank_transactions.py b/accounting/src/codatio/models/operations/post_bank_transactions.py index 2c901696d..a7b867e3c 100755 --- a/accounting/src/codatio/models/operations/post_bank_transactions.py +++ b/accounting/src/codatio/models/operations/post_bank_transactions.py @@ -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 @@ -88,7 +87,7 @@ class PostBankTransactionsRequestBody: @dataclasses.dataclass class PostBankTransactionsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_bill.py b/accounting/src/codatio/models/operations/post_bill.py index 80c610ff6..57089853a 100755 --- a/accounting/src/codatio/models/operations/post_bill.py +++ b/accounting/src/codatio/models/operations/post_bill.py @@ -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 @@ -250,7 +249,7 @@ class PostBillSourceModifiedDate: @dataclasses.dataclass class PostBillSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_bill_attachments.py b/accounting/src/codatio/models/operations/post_bill_attachments.py index 32a01a632..945a51a93 100755 --- a/accounting/src/codatio/models/operations/post_bill_attachments.py +++ b/accounting/src/codatio/models/operations/post_bill_attachments.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -12,7 +12,7 @@ class PostBillAttachmentsPathParams: @dataclasses.dataclass class PostBillAttachmentsSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_bill_credit_note.py b/accounting/src/codatio/models/operations/post_bill_credit_note.py index d4edcc4d2..baaf498f5 100755 --- a/accounting/src/codatio/models/operations/post_bill_credit_note.py +++ b/accounting/src/codatio/models/operations/post_bill_credit_note.py @@ -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 @@ -242,7 +241,7 @@ class PostBillCreditNoteSourceModifiedDate: @dataclasses.dataclass class PostBillCreditNoteSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_bill_payment.py b/accounting/src/codatio/models/operations/post_bill_payment.py index 40b6025b0..124beb129 100755 --- a/accounting/src/codatio/models/operations/post_bill_payment.py +++ b/accounting/src/codatio/models/operations/post_bill_payment.py @@ -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 @@ -269,7 +268,7 @@ class PostBillPaymentSourceModifiedDate: @dataclasses.dataclass class PostBillPaymentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_credit_note.py b/accounting/src/codatio/models/operations/post_credit_note.py index f2d463504..03826304d 100755 --- a/accounting/src/codatio/models/operations/post_credit_note.py +++ b/accounting/src/codatio/models/operations/post_credit_note.py @@ -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 @@ -241,7 +240,7 @@ class PostCreditNoteSourceModifiedDate: @dataclasses.dataclass class PostCreditNoteSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_customer.py b/accounting/src/codatio/models/operations/post_customer.py index 62d0448a0..bce689a92 100755 --- a/accounting/src/codatio/models/operations/post_customer.py +++ b/accounting/src/codatio/models/operations/post_customer.py @@ -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 @@ -139,7 +138,7 @@ class PostCustomerSourceModifiedDate: @dataclasses.dataclass class PostCustomerSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_direct_cost.py b/accounting/src/codatio/models/operations/post_direct_cost.py index 16bed7423..505ef6d8c 100755 --- a/accounting/src/codatio/models/operations/post_direct_cost.py +++ b/accounting/src/codatio/models/operations/post_direct_cost.py @@ -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 @@ -195,7 +194,7 @@ class PostDirectCostSourceModifiedDate: @dataclasses.dataclass class PostDirectCostSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_direct_cost_attachment.py b/accounting/src/codatio/models/operations/post_direct_cost_attachment.py index ac04e3c7a..dc6ecf7ab 100755 --- a/accounting/src/codatio/models/operations/post_direct_cost_attachment.py +++ b/accounting/src/codatio/models/operations/post_direct_cost_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -12,7 +12,7 @@ class PostDirectCostAttachmentPathParams: @dataclasses.dataclass class PostDirectCostAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_direct_income.py b/accounting/src/codatio/models/operations/post_direct_income.py index a120929b9..ebbb36dca 100755 --- a/accounting/src/codatio/models/operations/post_direct_income.py +++ b/accounting/src/codatio/models/operations/post_direct_income.py @@ -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 @@ -188,7 +187,7 @@ class PostDirectIncomeSourceModifiedDate: @dataclasses.dataclass class PostDirectIncomeSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_direct_income_attachment.py b/accounting/src/codatio/models/operations/post_direct_income_attachment.py index 65c67f5b2..e1c20295e 100755 --- a/accounting/src/codatio/models/operations/post_direct_income_attachment.py +++ b/accounting/src/codatio/models/operations/post_direct_income_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -12,7 +12,7 @@ class PostDirectIncomeAttachmentPathParams: @dataclasses.dataclass class PostDirectIncomeAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_invoice.py b/accounting/src/codatio/models/operations/post_invoice.py index 30e6de83e..d99870a18 100755 --- a/accounting/src/codatio/models/operations/post_invoice.py +++ b/accounting/src/codatio/models/operations/post_invoice.py @@ -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 @@ -252,7 +251,7 @@ class PostInvoiceSourceModifiedDate: @dataclasses.dataclass class PostInvoiceSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_item.py b/accounting/src/codatio/models/operations/post_item.py index 128aae26e..21f120eb4 100755 --- a/accounting/src/codatio/models/operations/post_item.py +++ b/accounting/src/codatio/models/operations/post_item.py @@ -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 @@ -138,7 +137,7 @@ class PostItemSourceModifiedDate: @dataclasses.dataclass class PostItemSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_journal_entry.py b/accounting/src/codatio/models/operations/post_journal_entry.py index a86ca4165..d7f22a25a 100755 --- a/accounting/src/codatio/models/operations/post_journal_entry.py +++ b/accounting/src/codatio/models/operations/post_journal_entry.py @@ -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 @@ -137,7 +136,7 @@ class PostJournalEntrySourceModifiedDate: @dataclasses.dataclass class PostJournalEntrySecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_payment.py b/accounting/src/codatio/models/operations/post_payment.py index 85a589040..a370e654f 100755 --- a/accounting/src/codatio/models/operations/post_payment.py +++ b/accounting/src/codatio/models/operations/post_payment.py @@ -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 @@ -798,7 +797,7 @@ class PostPaymentSourceModifiedDate: @dataclasses.dataclass class PostPaymentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_purchase_order.py b/accounting/src/codatio/models/operations/post_purchase_order.py index dfecefa47..405545112 100755 --- a/accounting/src/codatio/models/operations/post_purchase_order.py +++ b/accounting/src/codatio/models/operations/post_purchase_order.py @@ -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 @@ -184,7 +183,7 @@ class PostPurchaseOrderSourceModifiedDate: @dataclasses.dataclass class PostPurchaseOrderSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_suppliers.py b/accounting/src/codatio/models/operations/post_suppliers.py index fb6536325..e66c07524 100755 --- a/accounting/src/codatio/models/operations/post_suppliers.py +++ b/accounting/src/codatio/models/operations/post_suppliers.py @@ -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 @@ -84,7 +83,7 @@ class PostSuppliersSourceModifiedDate: @dataclasses.dataclass class PostSuppliersSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_sync_info.py b/accounting/src/codatio/models/operations/post_sync_info.py index 09817c09d..a4c8e1c91 100755 --- a/accounting/src/codatio/models/operations/post_sync_info.py +++ b/accounting/src/codatio/models/operations/post_sync_info.py @@ -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 @@ -17,7 +16,7 @@ class PostSyncInfoPathParams: @dataclasses.dataclass class PostSyncInfoSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/post_transfer.py b/accounting/src/codatio/models/operations/post_transfer.py index 98b783810..84686049f 100755 --- a/accounting/src/codatio/models/operations/post_transfer.py +++ b/accounting/src/codatio/models/operations/post_transfer.py @@ -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 @@ -100,7 +99,7 @@ class PostTransferSourceModifiedDate: @dataclasses.dataclass class PostTransferSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/push_credit_note.py b/accounting/src/codatio/models/operations/push_credit_note.py index d835791a6..e8656fe31 100755 --- a/accounting/src/codatio/models/operations/push_credit_note.py +++ b/accounting/src/codatio/models/operations/push_credit_note.py @@ -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 @@ -239,7 +238,7 @@ class PushCreditNoteSourceModifiedDate: @dataclasses.dataclass class PushCreditNoteSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/push_invoice_attachment.py b/accounting/src/codatio/models/operations/push_invoice_attachment.py index 76ab4a685..401410d10 100755 --- a/accounting/src/codatio/models/operations/push_invoice_attachment.py +++ b/accounting/src/codatio/models/operations/push_invoice_attachment.py @@ -1,6 +1,6 @@ from __future__ import annotations import dataclasses -from ..shared import security as shared_security + @dataclasses.dataclass @@ -12,7 +12,7 @@ class PushInvoiceAttachmentPathParams: @dataclasses.dataclass class PushInvoiceAttachmentSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/push_journal.py b/accounting/src/codatio/models/operations/push_journal.py index edb9efd2e..4328b56b8 100755 --- a/accounting/src/codatio/models/operations/push_journal.py +++ b/accounting/src/codatio/models/operations/push_journal.py @@ -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 @@ -69,7 +68,7 @@ class PushJournalSourceModifiedDateInput: @dataclasses.dataclass class PushJournalSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/put_bank_account.py b/accounting/src/codatio/models/operations/put_bank_account.py index c2110fe04..05bb7df06 100755 --- a/accounting/src/codatio/models/operations/put_bank_account.py +++ b/accounting/src/codatio/models/operations/put_bank_account.py @@ -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 @@ -75,7 +74,7 @@ class PutBankAccountSourceModifiedDate: @dataclasses.dataclass class PutBankAccountSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/put_supplier.py b/accounting/src/codatio/models/operations/put_supplier.py index 858404a76..67191663a 100755 --- a/accounting/src/codatio/models/operations/put_supplier.py +++ b/accounting/src/codatio/models/operations/put_supplier.py @@ -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 @@ -86,7 +85,7 @@ class PutSupplierSourceModifiedDate: @dataclasses.dataclass class PutSupplierSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/update_bill.py b/accounting/src/codatio/models/operations/update_bill.py index c0502979f..7d0a4016c 100755 --- a/accounting/src/codatio/models/operations/update_bill.py +++ b/accounting/src/codatio/models/operations/update_bill.py @@ -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 @@ -252,7 +251,7 @@ class UpdateBillSourceModifiedDate: @dataclasses.dataclass class UpdateBillSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/update_bill_credit_note.py b/accounting/src/codatio/models/operations/update_bill_credit_note.py index f0586e240..8e3b6db9c 100755 --- a/accounting/src/codatio/models/operations/update_bill_credit_note.py +++ b/accounting/src/codatio/models/operations/update_bill_credit_note.py @@ -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 @@ -244,7 +243,7 @@ class UpdateBillCreditNoteSourceModifiedDate: @dataclasses.dataclass class UpdateBillCreditNoteSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/update_customer.py b/accounting/src/codatio/models/operations/update_customer.py index 78952acff..dccea786e 100755 --- a/accounting/src/codatio/models/operations/update_customer.py +++ b/accounting/src/codatio/models/operations/update_customer.py @@ -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 @@ -141,7 +140,7 @@ class UpdateCustomerSourceModifiedDate: @dataclasses.dataclass class UpdateCustomerSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/update_invoice.py b/accounting/src/codatio/models/operations/update_invoice.py index 42ce8b48a..43c18a627 100755 --- a/accounting/src/codatio/models/operations/update_invoice.py +++ b/accounting/src/codatio/models/operations/update_invoice.py @@ -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 @@ -254,7 +253,7 @@ class UpdateInvoiceSourceModifiedDate: @dataclasses.dataclass class UpdateInvoiceSecurity: - 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 diff --git a/accounting/src/codatio/models/operations/update_purchase_order.py b/accounting/src/codatio/models/operations/update_purchase_order.py index 42fbe5c8f..af06612cc 100755 --- a/accounting/src/codatio/models/operations/update_purchase_order.py +++ b/accounting/src/codatio/models/operations/update_purchase_order.py @@ -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 @@ -186,7 +185,7 @@ class UpdatePurchaseOrderSourceModifiedDate: @dataclasses.dataclass class UpdatePurchaseOrderSecurity: - 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 diff --git a/accounting/src/codatio/models/shared/__init__.py b/accounting/src/codatio/models/shared/__init__.py index 76227713a..b6972b92a 100755 --- a/accounting/src/codatio/models/shared/__init__.py +++ b/accounting/src/codatio/models/shared/__init__.py @@ -1,3 +1,3 @@ from .security import * -__all__ = ["SchemeAPIKey","Security"] \ No newline at end of file +__all__ = ["Security"] \ No newline at end of file diff --git a/accounting/src/codatio/models/shared/security.py b/accounting/src/codatio/models/shared/security.py index 88d3ec44f..7fe4a9463 100755 --- a/accounting/src/codatio/models/shared/security.py +++ b/accounting/src/codatio/models/shared/security.py @@ -3,12 +3,7 @@ -@dataclasses.dataclass -class SchemeAPIKey: - api_key: str = dataclasses.field(metadata={'security': { 'field_name': 'Authorization' }}) - - @dataclasses.dataclass class Security: - api_key: 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' }}) \ No newline at end of file diff --git a/accounting/src/codatio/sdk.py b/accounting/src/codatio/sdk.py index 349d163c1..10262f3a4 100755 --- a/accounting/src/codatio/sdk.py +++ b/accounting/src/codatio/sdk.py @@ -68,7 +68,7 @@ class Codatio: _security: shared.Security _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "0.1.0" + _sdk_version: str = "0.1.1" _gen_version: str = "1.7.0" def __init__(self) -> None: