In private repos, I have been working on several API changes, and I want to reflect them here as well.
New models
[x] Address: first line, second line, city, municipality, postal code, notes
[x] Billing Company: id number, name
[x] Shipper: name
[x] Sell Status: code, name
[x] Payment Type: name
Model changes
[x] Person does not have an "address" property anymore.
[x] Person's phone1 & phone2 types are string. Language-agnostic regex pattern is included in the documentation and must be validated at any possible extent.
[x] Person's "idCard" property is now named "idNumber" and is not nullable.
[x] "Sell type" is named "Billing type" instead.
[x] The (now-called) billingType property of Sell is a string instead of an object reference.
[x] Sell is related to two Addresses: shipping address + billing address, both are nullables.
[x] Sell is related to a Shipper, a Billing Company, and a Salesperson, all of them nullables.
[x] Sell has new properties: date, netValue, status, paymentType.
In private repos, I have been working on several API changes, and I want to reflect them here as well.
New models
Model changes