@jagota/interfaces 1.3.7 → 1.3.9

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.3.7",
3
+ "version": "1.3.9",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "src/index.ts",
@@ -82,14 +82,23 @@ export interface IBiddingPricelist extends IBiddingCustomerProductList {
82
82
  price?: number;
83
83
  }
84
84
 
85
- export interface ISetBiddingPriceHPayload {
85
+ export interface IBiddingPricelistPayload {
86
86
  custCode: string;
87
87
  periodFrom: string;
88
88
  periodTo: string;
89
+ }
90
+
91
+ export interface ISetBiddingPriceHPayload extends IBiddingPricelistPayload{
89
92
  submissionDay: number;
90
93
  tenderDay: number;
91
94
  }
92
95
 
96
+ export interface ISetBiddingPriceHResponse extends IBaseResponse {
97
+ data: {
98
+ RECORD_ID: number;
99
+ }
100
+ }
101
+
93
102
  export interface ISetBiddingPriceDPayload {
94
103
  recordID: number;
95
104
  custProductCode: string;
@@ -97,6 +106,12 @@ export interface ISetBiddingPriceDPayload {
97
106
  price?: number;
98
107
  }
99
108
 
109
+ export interface ISetBiddingPriceDResponse extends IBaseResponse {
110
+ data: {
111
+ PRICE: number;
112
+ }
113
+ }
114
+
100
115
  export interface IGetBiddingPriceListResponse extends IBaseResponse {
101
116
  data: IBiddingPricelist[];
102
117
  }
@@ -187,4 +202,26 @@ export interface ISetLossReason {
187
202
  }
188
203
  export interface IBiddingReasonByDetailRidResponse extends IBaseResponse {
189
204
  data: IBiddingReason[];
205
+ }
206
+
207
+ export interface IBiddingCustomer {
208
+ custCode: string;
209
+ custName: string;
210
+ startDate: Date;
211
+ submissionDay: number;
212
+ tenderDay: number;
213
+ }
214
+
215
+ export interface IBiddingCustomerWithPeriod extends IBiddingCustomer {
216
+ biddingTypeName: string;
217
+ }
218
+ export interface IBiddingCustomerWithPeriodResponse extends IBaseResponse {
219
+ data: IBiddingCustomerWithPeriod[];
220
+ }
221
+
222
+ export interface IBiddingCustomerHistory extends IBiddingCustomer{
223
+ recordId: number;
224
+ }
225
+ export interface IBiddingCustomerHistoryResponse extends IBaseResponse {
226
+ data: IBiddingCustomerHistory[];
190
227
  }