@jagota/interfaces 1.2.5 → 1.2.7

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.5",
3
+ "version": "1.2.7",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "src/index.ts",
@@ -35,6 +35,7 @@ export interface IProspect extends IProspectMini {
35
35
  credit_day: number;
36
36
  credit_limit: number;
37
37
 
38
+ special_requirements: ISpecialRequirements;
38
39
  registration_addess: IAddress;
39
40
  billing_addess: IAddress;
40
41
  payment_addess: IAddress;
@@ -43,6 +44,24 @@ export interface IProspect extends IProspectMini {
43
44
  miniContacts: IContactMini[];
44
45
  }
45
46
 
47
+ export interface ISpecialRequirements {
48
+ require_po: boolean;
49
+ not_over_po_status: boolean;
50
+ po_for_acct_dept: boolean;
51
+ inform_before_delivery: boolean;
52
+ accept_merge_vat: boolean;
53
+ accept_cn: boolean;
54
+ vat_free_zone: boolean;
55
+ transport_to_charge: boolean;
56
+ cust_stamp: boolean;
57
+ require_3rd: boolean;
58
+ by_air: boolean;
59
+ by_ground: boolean;
60
+ call_before_delivery: boolean;
61
+ haccp: boolean;
62
+ require_coa: boolean;
63
+ }
64
+
46
65
  export interface IAddress {
47
66
  custCode: string;
48
67
  country: string;
@@ -81,4 +100,4 @@ export const defaultAddress: IAddress = {
81
100
  fax: '',
82
101
  latitude: '',
83
102
  longitude: ''
84
- };
103
+ };