@jagota/interfaces 1.2.23 → 1.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jagota/interfaces",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "src/index.ts",
@@ -43,12 +43,12 @@ export interface IProspect extends IProspectMini {
43
43
 
44
44
  specialRequirements: ISpecialRequirements;
45
45
  registrationAddess: IAddress;
46
- billingAddess: IAddress;
47
- paymentAddess: IAddress;
46
+ billingAddess?: IAddress;
47
+ paymentAddess?: IAddress;
48
48
 
49
- contacts: IContact[];
50
- miniContacts: IContactMini[];
51
- deliveryAddress: IDeliveryAddress[];
49
+ contacts?: IContact[];
50
+ miniContacts?: IContactMini[];
51
+ deliveryAddress?: IDeliveryAddress[];
52
52
  }
53
53
 
54
54
  export interface ISpecialRequirements {
@@ -88,7 +88,7 @@ export interface IAddress {
88
88
  fax: string;
89
89
  latitude: string;
90
90
  longitude: string;
91
- contacts : IContact[];
91
+ contacts? : IContact[];
92
92
  }
93
93
 
94
94
  export interface IDeliveryAddress extends IAddress {
@@ -107,7 +107,6 @@ export interface IDeliveryAddress extends IAddress {
107
107
  timeTo: string;
108
108
  time2From: string;
109
109
  time2To: string;
110
- contacts : IContact[];
111
110
  }
112
111
 
113
112
  export const defaultAddress: IAddress = {
@@ -127,8 +126,7 @@ export const defaultAddress: IAddress = {
127
126
  tel: '',
128
127
  fax: '',
129
128
  latitude: '',
130
- longitude: '',
131
- contacts:[]
129
+ longitude: ''
132
130
  };
133
131
 
134
132
  export const defaultDeliveryAddress: IDeliveryAddress = {
@@ -163,8 +161,7 @@ export const defaultDeliveryAddress: IDeliveryAddress = {
163
161
  timeFrom: '',
164
162
  timeTo: '',
165
163
  time2From: '',
166
- time2To: '',
167
- contacts:[]
164
+ time2To: ''
168
165
  };
169
166
 
170
167
  export const defaultContact: IContact = {