maku2903 / pysonatawebapi Goto Github PK
View Code? Open in Web Editor NEWUnofficial Symfonia WebAPI asynchronous python3 client
License: Apache License 2.0
Unofficial Symfonia WebAPI asynchronous python3 client
License: Apache License 2.0
Should be
class DictionaryElementAttribute(BaseModel):
Id: int
Ingerited: bool
Name: str
Type: str
Value: str
class ContractorAddress(BaseModel):
ApartmentNo: Optional[str]
City: Optional[str]
Country: Optional[str]
FullAddress: Optional[str] = None
HouseNo: Optional[str]
PostCode: Optional[str]
Province: Optional[str] = None
Street: Optional[str]
class ContractorDeliveryAddress(ContractorAddress):
Code: Optional[str] = None
Id: Union[int, None] = None
should be
class PaymentRegistryBase(BaseModel):
AccountNumber: Optional[str] = None
Code: Optional[str] = None
Id: Optional[int] = None
should be:
class OrderIssuePosition(OrderIssuePositionElement):
Elements: Union[List[OrderIssuePositionElement], None] = None
VatRate: Optional["VatRateBase"] = None
and
class OrderIssuePositionElement(BaseModel):
Code: Optional[str]
Deliveries: Union[List[OrderIssueDelivery], None]
Name: Optional[str]
Quantity: Decimal
UnitOfMeasurement: Optional[str]
Value: Decimal
Lack of enum.value in function code
should be:
Code: Optional[str] = None
Data: Optional[OrderIssueContractorData] = None
DeliveryAddressCode: Optional[str] = None
Id: Union[int, None] = None
RecalculatePrices: bool
PySonataWebAPI.WebAPI.Interface.Orders.Interfaces.IOrderDimensionsController.Update
should raise error when out of cases.
There is ":" instead "=" in enum values definitions...
should be
class OrderIssue(OrderBase):
Positions: Union[List[OrderIssuePosition], None]
and
class OrderBase(BaseModel):
NumberInSeries: Optional[int] = None
Buyer: "OrderIssueContractor"
Department: str
Catalog: "OrderIssueCatalog"
PriceKind: "enumPriceKind"
Series: str
PaymentRegistry: "PaymentRegistryBase"
Note: str
Currency: str
ReceivedBy: str
Description: str
MaturityDate: Optional[datetime] = None
PaymentFormId: int
SaleDate: Optional[datetime] = None
CurrencyRate: Decimal
ReservationType: "enumDocumentReservationType"
SalePriceType: "enumSalePriceType"
SplitPayment: bool
Recipient: "OrderIssueContractor"
IssueDate: Optional[datetime] = None
Kind: "OrderIssueKind"
Marker: int
TypeCode: str
Currently is only str type
class Order(BaseModel):
Note: Optional[str]
Own order.Note is type str | None
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.