Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

chore: 🐝 Update SDK - Generate 0.16.1 #15

Merged
merged 1 commit into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.554.1
speakeasyVersion: 1.555.0
sources:
accounting:
sourceNamespace: apideck-accounting-only-oas
sourceRevisionDigest: sha256:07f00dd1d80112ff7b0cd20f760547d7d794f77f99f52977c8b16493f85728a5
sourceBlobDigest: sha256:031ea6d40063706f7d27efc31ec09f35d18017945c4a7d419c90a7e948957cc8
sourceRevisionDigest: sha256:b944eb0582b04e721539272323eaa52e06f45821795a0e2dfc339192d8dd9942
sourceBlobDigest: sha256:72650e96f5675586bc5b9980f08e48745f4adb4e6caa616c7ab8f4a6fb80d706
tags:
- latest
- speakeasy-sdk-regen-1748304302
- speakeasy-sdk-regen-1748649912
- 10.17.2
lending:
sourceNamespace: lending
Expand All @@ -19,10 +19,10 @@ targets:
accounting-py:
source: accounting
sourceNamespace: apideck-accounting-only-oas
sourceRevisionDigest: sha256:07f00dd1d80112ff7b0cd20f760547d7d794f77f99f52977c8b16493f85728a5
sourceBlobDigest: sha256:031ea6d40063706f7d27efc31ec09f35d18017945c4a7d419c90a7e948957cc8
sourceRevisionDigest: sha256:b944eb0582b04e721539272323eaa52e06f45821795a0e2dfc339192d8dd9942
sourceBlobDigest: sha256:72650e96f5675586bc5b9980f08e48745f4adb4e6caa616c7ab8f4a6fb80d706
codeSamplesNamespace: apideck-accounting-only-oas-python-code-samples
codeSamplesRevisionDigest: sha256:2c637e1c1d81342f5e869ec43b968a4e1818dbf62ce06ea4e0045ad8f2d9b5e1
codeSamplesRevisionDigest: sha256:d8a89398fd6bb045bb24d356f1ec9ab48fab3ba8699f1abb368f8e4d285dc258
accounting-ts:
source: accounting
sourceNamespace: accounting
Expand Down
10 changes: 5 additions & 5 deletions accounting/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 7d6df67c-ae69-48d7-917a-ebe77fda919e
management:
docChecksum: ae65961b639f1187fdcd44bc9130ad1e
docChecksum: 3cebcf519e1ab652eef11b56b5de2ea0
docVersion: 10.17.2
speakeasyVersion: 1.554.1
generationVersion: 2.616.1
releaseVersion: 0.16.0
configChecksum: c1b34890b1c5d7ed8e96960ee4259edd
speakeasyVersion: 1.555.0
generationVersion: 2.618.0
releaseVersion: 0.16.1
configChecksum: 03b085d62ae13c2e9b7656b6d5f01051
repoURL: https://github.com/apideck-libraries/sdk-python-pack.git
repoSubDirectory: accounting
installationURL: https://github.com/apideck-libraries/sdk-python-pack.git#subdirectory=accounting
Expand Down
2 changes: 1 addition & 1 deletion accounting/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
python:
version: 0.16.0
version: 0.16.1
additionalDependencies:
dev: {}
main: {}
Expand Down
12 changes: 11 additions & 1 deletion accounting/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,14 @@ Based on:
### Generated
- [python v0.16.0] accounting
### Releases
- [PyPI v0.16.0] https://pypi.org/project/apideck-accounting-unify/0.16.0 - accounting
- [PyPI v0.16.0] https://pypi.org/project/apideck-accounting-unify/0.16.0 - accounting

## 2025-06-03 00:05:06
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.555.0 (2.618.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.16.1] accounting
### Releases
- [PyPI v0.16.1] https://pypi.org/project/apideck-accounting-unify/0.16.1 - accounting
2 changes: 1 addition & 1 deletion accounting/docs/models/costofgoodssold.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ The cost of goods sold accounts
| `code` | *Optional[str]* | :heavy_minus_sign: | The account code of the account | 1100 |
| `title` | *Optional[str]* | :heavy_minus_sign: | The name of the account. | Current assets |
| `type` | [OptionalNullable[models.ProfitAndLossType]](../models/profitandlosstype.md) | :heavy_minus_sign: | The type of profit and loss | Section |
| `total` | *Nullable[float]* | :heavy_check_mark: | The aggregated total of all accounts within this category. | 1000 |
| `total` | *OptionalNullable[float]* | :heavy_minus_sign: | The aggregated total of all accounts within this category. | 1000 |
| `records` | *Any* | :heavy_check_mark: | N/A | |
3 changes: 2 additions & 1 deletion accounting/docs/models/journalentrystatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Journal entry status
| `POSTED` | posted |
| `VOIDED` | voided |
| `REJECTED` | rejected |
| `DELETED` | deleted |
| `DELETED` | deleted |
| `OTHER` | other |
2 changes: 1 addition & 1 deletion accounting/docs/models/profitandlossindicator.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

| Field | Type | Required | Description | Example |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| `total` | *Nullable[float]* | :heavy_check_mark: | The total amount of the transaction or record | 49.99 |
| `total` | *OptionalNullable[float]* | :heavy_minus_sign: | The total amount of the transaction or record | 49.99 |
2 changes: 1 addition & 1 deletion accounting/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "apideck-accounting-unify"
version = "0.16.0"
version = "0.16.1"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Speakeasy" },]
readme = "README-PYPI.md"
Expand Down
6 changes: 3 additions & 3 deletions accounting/src/apideck_accounting_unify/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import importlib.metadata

__title__: str = "apideck-accounting-unify"
__version__: str = "0.16.0"
__version__: str = "0.16.1"
__openapi_doc_version__: str = "10.17.2"
__gen_version__: str = "2.616.1"
__gen_version__: str = "2.618.0"
__user_agent__: str = (
"speakeasy-sdk/python 0.16.0 2.616.1 10.17.2 apideck-accounting-unify"
"speakeasy-sdk/python 0.16.1 2.618.0 10.17.2 apideck-accounting-unify"
)

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class JournalEntryStatus(str, Enum):
VOIDED = "voided"
REJECTED = "rejected"
DELETED = "deleted"
OTHER = "other"


class JournalEntryTypedDict(TypedDict):
Expand Down
12 changes: 6 additions & 6 deletions accounting/src/apideck_accounting_unify/models/profitandloss.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ def serialize_model(self, handler):
class CostOfGoodsSoldTypedDict(TypedDict):
r"""The cost of goods sold accounts"""

total: Nullable[float]
r"""The aggregated total of all accounts within this category."""
records: Any
id: NotRequired[str]
r"""A unique identifier for an object."""
Expand All @@ -100,14 +98,13 @@ class CostOfGoodsSoldTypedDict(TypedDict):
r"""The name of the account."""
type: NotRequired[Nullable[ProfitAndLossType]]
r"""The type of profit and loss"""
total: NotRequired[Nullable[float]]
r"""The aggregated total of all accounts within this category."""


class CostOfGoodsSold(BaseModel):
r"""The cost of goods sold accounts"""

total: Nullable[float]
r"""The aggregated total of all accounts within this category."""

records: Any

id: Optional[str] = None
Expand All @@ -122,9 +119,12 @@ class CostOfGoodsSold(BaseModel):
type: OptionalNullable[ProfitAndLossType] = UNSET
r"""The type of profit and loss"""

total: OptionalNullable[float] = UNSET
r"""The aggregated total of all accounts within this category."""

@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = ["id", "code", "title", "type"]
optional_fields = ["id", "code", "title", "type", "total"]
nullable_fields = ["type", "total"]
null_default_fields = []

Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from apideck_accounting_unify.types import BaseModel, Nullable, UNSET_SENTINEL
from apideck_accounting_unify.types import (
BaseModel,
Nullable,
OptionalNullable,
UNSET,
UNSET_SENTINEL,
)
from pydantic import model_serializer
from typing_extensions import TypedDict
from typing_extensions import NotRequired, TypedDict


class ProfitAndLossIndicatorTypedDict(TypedDict):
total: Nullable[float]
total: NotRequired[Nullable[float]]
r"""The total amount of the transaction or record"""


class ProfitAndLossIndicator(BaseModel):
total: Nullable[float]
total: OptionalNullable[float] = UNSET
r"""The total amount of the transaction or record"""

@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = []
optional_fields = ["total"]
nullable_fields = ["total"]
null_default_fields = []

Expand Down