@jagota/interfaces 1.2.10 → 1.2.11

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.11",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "src/index.ts",
@@ -85,6 +85,7 @@ export interface IAddress {
85
85
  }
86
86
 
87
87
  export interface IDeliveryAddress extends IAddress {
88
+ seq: string;
88
89
  branchName: string;
89
90
  defaultBranch: boolean;
90
91
  ediBranchCode: string;
@@ -117,4 +118,58 @@ export const defaultAddress: IAddress = {
117
118
  fax: '',
118
119
  latitude: '',
119
120
  longitude: ''
121
+ };
122
+
123
+ export const defaultDeliveryAddress: IDeliveryAddress = {
124
+ custCode: '',
125
+ country: '',
126
+ province: '',
127
+ amphur: '',
128
+ tumbol: '',
129
+ postalCode: '',
130
+ region: '',
131
+ buildingNo: '',
132
+ buildingName: '',
133
+ soi: '',
134
+ road: '',
135
+ contactPerson: '',
136
+ mobile: '',
137
+ tel: '',
138
+ fax: '',
139
+ latitude: '',
140
+ longitude: '',
141
+ seq: '',
142
+ branchName: '',
143
+ defaultBranch: false,
144
+ ediBranchCode: '',
145
+ mon: false,
146
+ tue: false,
147
+ web: false,
148
+ thu: false,
149
+ fri: false,
150
+ sat: false,
151
+ sun: false,
152
+ timeFrom: '',
153
+ timeTo: ''
154
+ };
155
+
156
+ export const defaultContact: IContact = {
157
+ custCode: '',
158
+ contact: '',
159
+ email: '',
160
+ mobile: '',
161
+ imgPath: '',
162
+ primary: false,
163
+ position: '',
164
+ positionDesc: '',
165
+ tel: '',
166
+ fax: '',
167
+ remark: '',
168
+ address: '',
169
+ timeContact: '',
170
+ website: '',
171
+ foreigner: false,
172
+ smsCashStatus: false,
173
+ dob: '',
174
+ systemUser: false,
120
175
  };