Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
1ccafa8c87 | |||
850d56df8b | |||
dead451ab0 | |||
d7855494a7 | |||
0a12915c7e | |||
9a942cafa5 | |||
0292b4fef4 | |||
2d9d2a5a47 | |||
079e315b23 | |||
caf3e4766f |
28
changelog.md
28
changelog.md
@ -1,5 +1,33 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-03-20 - 7.0.0 - BREAKING CHANGE(business/address)
|
||||||
|
Remove eAddress property from IAddress interface
|
||||||
|
|
||||||
|
- Removed eAddress field that allowed storage of electronic contact means (phone, email, peppolId)
|
||||||
|
|
||||||
|
## 2025-03-20 - 6.1.2 - fix(business/address)
|
||||||
|
Improve documentation comments for address interface properties
|
||||||
|
|
||||||
|
- Added detailed comments for the 'coordinates' property to explain its usage
|
||||||
|
- Added detailed comments for the 'eAddress' property to describe the storage of electronic contact information
|
||||||
|
|
||||||
|
## 2025-03-20 - 6.1.1 - fix(finance)
|
||||||
|
Add clarifying comment for the buyerReference field in the invoice interface
|
||||||
|
|
||||||
|
- Document buyerReference as an optional field to help buyers identify the invoice
|
||||||
|
|
||||||
|
## 2025-03-20 - 6.1.0 - feat(business/address)
|
||||||
|
Add optional countryCode and coordinates properties to IAddress interface
|
||||||
|
|
||||||
|
- Extend address interface with an optional countryCode property
|
||||||
|
- Add optional coordinates object with lat and lng for geographic metadata
|
||||||
|
|
||||||
|
## 2025-03-19 - 6.0.1 - fix(business)
|
||||||
|
Remove exports for 'company' and 'person' modules from the business index
|
||||||
|
|
||||||
|
- Removed export statement for './company.js' in ts/business/index.ts
|
||||||
|
- Removed export statement for './person.js' in ts/business/index.ts
|
||||||
|
|
||||||
## 2025-03-19 - 6.0.0 - BREAKING CHANGE(TContact)
|
## 2025-03-19 - 6.0.0 - BREAKING CHANGE(TContact)
|
||||||
Reaffirm project metadata and documentation consistency
|
Reaffirm project metadata and documentation consistency
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@tsclass/tsclass',
|
name: '@tsclass/tsclass',
|
||||||
version: '6.0.0',
|
version: '7.0.0',
|
||||||
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,13 @@ export interface IAddress {
|
|||||||
postalCode: string;
|
postalCode: string;
|
||||||
city: string;
|
city: string;
|
||||||
country: string;
|
country: string;
|
||||||
|
countryCode?: string;
|
||||||
|
/**
|
||||||
|
* allows storage of coordinates for this address
|
||||||
|
* useful for countries where addresses are not unique
|
||||||
|
*/
|
||||||
|
coordinates?: {
|
||||||
|
lat: number;
|
||||||
|
lng: number;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
export * from './address.js';
|
export * from './address.js';
|
||||||
export * from './company.js';
|
|
||||||
export * from './contact.js';
|
export * from './contact.js';
|
||||||
export * from './job.js';
|
export * from './job.js';
|
||||||
export * from './letter.js';
|
export * from './letter.js';
|
||||||
export * from './pdf.js';
|
export * from './pdf.js';
|
||||||
export * from './person.js';
|
|
||||||
export * from './project.js';
|
export * from './project.js';
|
||||||
|
@ -17,6 +17,10 @@ export interface IInvoice {
|
|||||||
id: string;
|
id: string;
|
||||||
billedBy: business.TContact;
|
billedBy: business.TContact;
|
||||||
billedTo: business.TContact;
|
billedTo: business.TContact;
|
||||||
|
/**
|
||||||
|
* buyer reference is an optional field, that helps the buyer to identify the invoice
|
||||||
|
*/
|
||||||
|
buyerReference?: string;
|
||||||
type: 'creditnote' | 'debitnote';
|
type: 'creditnote' | 'debitnote';
|
||||||
status: TInvoiceStatus;
|
status: TInvoiceStatus;
|
||||||
items: IInvoiceItem[];
|
items: IInvoiceItem[];
|
||||||
|
Reference in New Issue
Block a user