@jagota/interfaces 1.2.10 → 1.2.12

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.10",
3
+ "version": "1.2.12",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "src/index.ts",
@@ -35,6 +35,12 @@ export interface IProspect extends IProspectMini {
35
35
  creditDay: number;
36
36
  creditLimit: number;
37
37
 
38
+ taxId: string;
39
+ regPlace: string;
40
+ regDate: string;
41
+ regBudget: string;
42
+ employeeCount: string;
43
+
38
44
  specialRequirements: ISpecialRequirements;
39
45
  registrationAddess: IAddress;
40
46
  billingAddess: IAddress;
@@ -85,6 +91,7 @@ export interface IAddress {
85
91
  }
86
92
 
87
93
  export interface IDeliveryAddress extends IAddress {
94
+ seq: string;
88
95
  branchName: string;
89
96
  defaultBranch: boolean;
90
97
  ediBranchCode: string;
@@ -117,4 +124,58 @@ export const defaultAddress: IAddress = {
117
124
  fax: '',
118
125
  latitude: '',
119
126
  longitude: ''
127
+ };
128
+
129
+ export const defaultDeliveryAddress: IDeliveryAddress = {
130
+ custCode: '',
131
+ country: '',
132
+ province: '',
133
+ amphur: '',
134
+ tumbol: '',
135
+ postalCode: '',
136
+ region: '',
137
+ buildingNo: '',
138
+ buildingName: '',
139
+ soi: '',
140
+ road: '',
141
+ contactPerson: '',
142
+ mobile: '',
143
+ tel: '',
144
+ fax: '',
145
+ latitude: '',
146
+ longitude: '',
147
+ seq: '',
148
+ branchName: '',
149
+ defaultBranch: false,
150
+ ediBranchCode: '',
151
+ mon: false,
152
+ tue: false,
153
+ web: false,
154
+ thu: false,
155
+ fri: false,
156
+ sat: false,
157
+ sun: false,
158
+ timeFrom: '',
159
+ timeTo: ''
160
+ };
161
+
162
+ export const defaultContact: IContact = {
163
+ custCode: '',
164
+ contact: '',
165
+ email: '',
166
+ mobile: '',
167
+ imgPath: '',
168
+ primary: false,
169
+ position: '',
170
+ positionDesc: '',
171
+ tel: '',
172
+ fax: '',
173
+ remark: '',
174
+ address: '',
175
+ timeContact: '',
176
+ website: '',
177
+ foreigner: false,
178
+ smsCashStatus: false,
179
+ dob: '',
180
+ systemUser: false,
120
181
  };