Skip to content

Commit ff1ad7f

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.19.3
1 parent 47fe759 commit ff1ad7f

File tree

9 files changed

+24
-16
lines changed

9 files changed

+24
-16
lines changed

accounting/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,12 @@ Based on:
206206
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
207207
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
208208
### Releases
209-
- [PyPI v0.9.5] https://pypi.org/project/codat-accounting/0.9.5 - accounting
209+
- [PyPI v0.9.5] https://pypi.org/project/codat-accounting/0.9.5 - accounting
210+
211+
## 2023-04-03 00:10:40
212+
### Changes
213+
Based on:
214+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
215+
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
216+
### Releases
217+
- [PyPI v0.9.6] https://pypi.org/project/codat-accounting/0.9.6 - accounting

accounting/files.gen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ src/codat/models/shared/invoiceto.py
167167
src/codat/models/shared/bankaccountref.py
168168
src/codat/models/shared/accounttransactions.py
169169
src/codat/models/shared/links.py
170-
src/codat/models/shared/href.py
170+
src/codat/models/shared/halref.py
171171
src/codat/models/shared/createaccountresponse.py
172172
src/codat/models/shared/validation.py
173173
src/codat/models/shared/validationitem.py

accounting/gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: b83e809fd96ca5e7c803291c8719c642
3+
docChecksum: dd9aaac4bfa74252362980e310692411
44
docVersion: 2.1.0
55
speakeasyVersion: 1.19.3
66
generationVersion: 2.16.7
@@ -10,7 +10,7 @@ generation:
1010
sdkFlattening: true
1111
singleTagPerOp: false
1212
python:
13-
version: 0.9.5
13+
version: 0.9.6
1414
author: Speakeasy
1515
description: Python Client SDK Generated by Speakeasy
1616
packageName: codat-accounting

accounting/setup.py

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

1111
setuptools.setup(
1212
name="codat-accounting",
13-
version="0.9.5",
13+
version="0.9.6",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

accounting/src/codat/models/shared/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
from .directincome import *
8383
from .directincomelineitem import *
8484
from .directincomes import *
85-
from .href import *
85+
from .halref import *
8686
from .invoice import *
8787
from .invoiceitem import *
8888
from .invoicelineitem import *
@@ -181,4 +181,4 @@
181181
from .withholdingtaxitems import *
182182
from .zero import *
183183

184-
__all__ = ["Account","AccountRef","AccountStatusEnum","AccountTransaction","AccountTransactionLine","AccountTransactionStatusEnum","AccountTransactions","AccountTypeEnum","Accounts","AddressTypeEnum","Addressesitems","AgedCreditor","AgedCreditorAgedCurrencyOutstanding","AgedCreditorAgedCurrencyOutstandingAgedOutstandingAmount","AgedCreditorAgedCurrencyOutstandingAgedOutstandingAmountAmountsOutstandingByDataType","AgedCreditorReport","AgedCurrencyOutstandingitems","AgedDebtor","AgedDebtorReport","Attachment","AttachmentsDataset","BalanceSheet","BalanceSheet1","BankAccount","BankAccountBankAccountTypeEnum","BankAccountRef","BankAccountTransactions","BankAccounts","BankStatementAccount","BankTransactionLine","BankTransactionTypeEnum","BankTransactions","BankTransactionsResponse","Bill","BillCreditNote","BillCreditNoteLineItem","BillCreditNoteLineItemTracking","BillCreditNoteStatusEnum","BillCreditNotes","BillItem","BillLineItem","BillPayment","BillPaymentAllocation","BillPaymentAllocationAllocation","BillPaymentLine","BillPaymentLineLink","BillPaymentLineLinkTypeEnum","BillPayments","BillStatusEnum","BillSupplementalData","BillWithholdingTax","BilledToTypeEnum","BilledToTypeEnum1","Bills","CashFlowStatement","CashFlowStatement1","CompanyDataset","CompanyDatasetAddresses","CompanyDatasetPhoneNumbers","CompanyDatasetWeblink","CompanyDatasetWeblinkTypeEnum","Contact","ContactRef","CreateAccountResponse","CreateBankAccountResponse","CreateBankTransactionsResponse","CreateBillCreditNoteResponse","CreateBillPaymentResponse","CreateBillResponse","CreateCreditNoteResponse","CreateCustomerResponse","CreateDirectCostResponse","CreateDirectIncomeResponse","CreateInvoiceResponse","CreateItemResponse","CreateJournalEntryResponse","CreatePaymentResponse","CreatePurchaseOrderResponse","CreateSupplierResponse","CreateTransferResponse","CreditNote","CreditNoteLineItem","CreditNoteLineItemTracking","CreditNoteStatusEnum","CreditNotes","Customer","CustomerRef","CustomerStatusEnum","Customers","DataTypeEnum","Dataset","DatasetStatusEnum","DirectCost","DirectCostLineItem","DirectCosts","DirectIncome","DirectIncomeLineItem","DirectIncomes","HRef","Invoice","InvoiceItem","InvoiceLineItem","InvoiceStatusEnum","InvoiceTo","Invoices","Item","ItemRef","ItemStatusEnum","Items","Items1","ItemsAgedOutstandingAmount","ItemsAgedOutstandingAmountAmountsOutstandingByDataType","ItemsAllocation","Journal","JournalEntries","JournalEntry","JournalLine","JournalRef","JournalStatusEnum","Journals","Links","Metadata","One","Payment","PaymentAllocationPayment","PaymentLine","PaymentLineLink","PaymentLinkTypeEnum","PaymentMethod","PaymentMethodRef","PaymentMethodStatusEnum","PaymentMethodTypeEnum","PaymentMethods","Payments","PhoneNumberTypeEnum","PhoneNumbersitems","ProfitAndLossReport","ProfitAndLossReport1","ProjectRef","Propertiestracking","Propertiestracking1","Propertiestracking2","PurchaseOrder","PurchaseOrderLineItem","PurchaseOrderRef","PurchaseOrderStatusEnum","PurchaseOrders","PushChangeTypeEnum","PushFieldValidation","PushOperationChange","PushOperationRef","PushOperationStatusEnum","PushOperationSummary","PushOption","PushOptionChoice","PushOptionProperty","PushOptionTypeEnum","PushValidationInfo","ReportBasisEnum","ReportInputEnum","ReportLine","SalesOrder","SalesOrderInvoiceStatusEnum","SalesOrderLineItem","SalesOrderLineItemTracking","SalesOrderShipTo","SalesOrderShipToContact","SalesOrderStatusEnum","SalesOrders","Security","ShipTo","ShipToContact","StatusEnum","SupplementalData","Supplier","SupplierRef","SupplierStatusEnum","Suppliers","TaxRate","TaxRateComponent","TaxRateRef","TaxRateStatusEnum","TaxRates","Tracking","TrackingCategories","TrackingCategory","TrackingCategoryRef","TrackingCategoryTree","TrackingInvoiceTo","Transfer","TransferAccount","TransferContactRef","Transfers","UpdateBankAccountResponse","UpdateBillCreditNoteResponse","UpdateBillResponse","UpdateCreditNoteResponse","UpdateCustomerResponse","UpdateInvoiceResponse","UpdatePurchaseOrderResponse","ValidDataTypeLinks","Validation","ValidationItem","WithholdingTaxitems","Zero"]
184+
__all__ = ["Account","AccountRef","AccountStatusEnum","AccountTransaction","AccountTransactionLine","AccountTransactionStatusEnum","AccountTransactions","AccountTypeEnum","Accounts","AddressTypeEnum","Addressesitems","AgedCreditor","AgedCreditorAgedCurrencyOutstanding","AgedCreditorAgedCurrencyOutstandingAgedOutstandingAmount","AgedCreditorAgedCurrencyOutstandingAgedOutstandingAmountAmountsOutstandingByDataType","AgedCreditorReport","AgedCurrencyOutstandingitems","AgedDebtor","AgedDebtorReport","Attachment","AttachmentsDataset","BalanceSheet","BalanceSheet1","BankAccount","BankAccountBankAccountTypeEnum","BankAccountRef","BankAccountTransactions","BankAccounts","BankStatementAccount","BankTransactionLine","BankTransactionTypeEnum","BankTransactions","BankTransactionsResponse","Bill","BillCreditNote","BillCreditNoteLineItem","BillCreditNoteLineItemTracking","BillCreditNoteStatusEnum","BillCreditNotes","BillItem","BillLineItem","BillPayment","BillPaymentAllocation","BillPaymentAllocationAllocation","BillPaymentLine","BillPaymentLineLink","BillPaymentLineLinkTypeEnum","BillPayments","BillStatusEnum","BillSupplementalData","BillWithholdingTax","BilledToTypeEnum","BilledToTypeEnum1","Bills","CashFlowStatement","CashFlowStatement1","CompanyDataset","CompanyDatasetAddresses","CompanyDatasetPhone","CompanyDatasetWeblink","CompanyDatasetWeblinkTypeEnum","Contact","ContactRef","CreateAccountResponse","CreateBankAccountResponse","CreateBankTransactionsResponse","CreateBillCreditNoteResponse","CreateBillPaymentResponse","CreateBillResponse","CreateCreditNoteResponse","CreateCustomerResponse","CreateDirectCostResponse","CreateDirectIncomeResponse","CreateInvoiceResponse","CreateItemResponse","CreateJournalEntryResponse","CreatePaymentResponse","CreatePurchaseOrderResponse","CreateSupplierResponse","CreateTransferResponse","CreditNote","CreditNoteLineItem","CreditNoteLineItemTracking","CreditNoteStatusEnum","CreditNotes","Customer","CustomerRef","CustomerStatusEnum","Customers","DataTypeEnum","Dataset","DatasetStatusEnum","DirectCost","DirectCostLineItem","DirectCosts","DirectIncome","DirectIncomeLineItem","DirectIncomes","HalRef","Invoice","InvoiceItem","InvoiceLineItem","InvoiceStatusEnum","InvoiceTo","Invoices","Item","ItemRef","ItemStatusEnum","Items","Items1","ItemsAgedOutstandingAmount","ItemsAgedOutstandingAmountAmountsOutstandingByDataType","ItemsAllocation","Journal","JournalEntries","JournalEntry","JournalLine","JournalRef","JournalStatusEnum","Journals","Links","Metadata","One","Payment","PaymentAllocationPayment","PaymentLine","PaymentLineLink","PaymentLinkTypeEnum","PaymentMethod","PaymentMethodRef","PaymentMethodStatusEnum","PaymentMethodTypeEnum","PaymentMethods","Payments","PhoneNumberTypeEnum","PhoneNumbersitems","ProfitAndLossReport","ProfitAndLossReport1","ProjectRef","Propertiestracking","Propertiestracking1","Propertiestracking2","PurchaseOrder","PurchaseOrderLineItem","PurchaseOrderRef","PurchaseOrderStatusEnum","PurchaseOrders","PushChangeTypeEnum","PushFieldValidation","PushOperationChange","PushOperationRef","PushOperationStatusEnum","PushOperationSummary","PushOption","PushOptionChoice","PushOptionProperty","PushOptionTypeEnum","PushValidationInfo","ReportBasisEnum","ReportInputEnum","ReportLine","SalesOrder","SalesOrderInvoiceStatusEnum","SalesOrderLineItem","SalesOrderLineItemTracking","SalesOrderShipTo","SalesOrderShipToContact","SalesOrderStatusEnum","SalesOrders","Security","ShipTo","ShipToContact","StatusEnum","SupplementalData","Supplier","SupplierRef","SupplierStatusEnum","Suppliers","TaxRate","TaxRateComponent","TaxRateRef","TaxRateStatusEnum","TaxRates","Tracking","TrackingCategories","TrackingCategory","TrackingCategoryRef","TrackingCategoryTree","TrackingInvoiceTo","Transfer","TransferAccount","TransferContactRef","Transfers","UpdateBankAccountResponse","UpdateBillCreditNoteResponse","UpdateBillResponse","UpdateCreditNoteResponse","UpdateCustomerResponse","UpdateInvoiceResponse","UpdatePurchaseOrderResponse","ValidDataTypeLinks","Validation","ValidationItem","WithholdingTaxitems","Zero"]

accounting/src/codat/models/shared/companydataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CompanyDatasetAddresses:
3232

3333
@dataclass_json(undefined=Undefined.EXCLUDE)
3434
@dataclasses.dataclass
35-
class CompanyDatasetPhoneNumbers:
35+
class CompanyDatasetPhone:
3636

3737
number: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('number') }})
3838
r"""A phone number."""
@@ -142,7 +142,7 @@ class CompanyDataset:
142142
> Not all dates from Codat will contain information about time zones.
143143
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
144144
"""
145-
phone_numbers: Optional[list[CompanyDatasetPhoneNumbers]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phoneNumbers'), 'exclude': lambda f: f is None }})
145+
phone_numbers: Optional[list[CompanyDatasetPhone]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phoneNumbers'), 'exclude': lambda f: f is None }})
146146
r"""An array of phone numbers."""
147147
registration_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('registrationNumber'), 'exclude': lambda f: f is None }})
148148
r"""Registration number given to the linked company by the companies authority in the country of origin. In the UK this is Companies House."""

accounting/src/codat/models/shared/href.py renamed to accounting/src/codat/models/shared/halref.py

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

1010
@dataclass_json(undefined=Undefined.EXCLUDE)
1111
@dataclasses.dataclass
12-
class HRef:
12+
class HalRef:
1313

1414
href: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('href'), 'exclude': lambda f: f is None }})
1515

accounting/src/codat/models/shared/links.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44
import dataclasses
5-
from ..shared import href as shared_href
5+
from ..shared import halref as shared_halref
66
from codat import utils
77
from dataclasses_json import Undefined, dataclass_json
88
from typing import Optional
@@ -12,8 +12,8 @@
1212
@dataclasses.dataclass
1313
class Links:
1414

15-
current: shared_href.HRef = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('current') }})
16-
self_: shared_href.HRef = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self') }})
17-
next: Optional[shared_href.HRef] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('next'), 'exclude': lambda f: f is None }})
18-
previous: Optional[shared_href.HRef] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('previous'), 'exclude': lambda f: f is None }})
15+
current: shared_halref.HalRef = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('current') }})
16+
self_: shared_halref.HalRef = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('self') }})
17+
next: Optional[shared_halref.HalRef] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('next'), 'exclude': lambda f: f is None }})
18+
previous: Optional[shared_halref.HalRef] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('previous'), 'exclude': lambda f: f is None }})
1919

accounting/src/codat/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Codat:
102102
_security_client: requests_http.Session
103103
_server_url: str = SERVERS[0]
104104
_language: str = "python"
105-
_sdk_version: str = "0.9.5"
105+
_sdk_version: str = "0.9.6"
106106
_gen_version: str = "2.16.7"
107107

108108
def __init__(self,

0 commit comments

Comments
 (0)