@jagota/interfaces 1.3.18 → 1.3.20

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.18",
3
+ "version": "1.3.20",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "src/index.ts",
@@ -178,8 +178,9 @@ export interface IBiddingDetail {
178
178
  thumbnail: string;
179
179
  unit: string;
180
180
  price: number;
181
- winLoss: string;
181
+ winLoss: "W" | "L" | null;
182
182
  winLossHistory: IProductWinLossHistory[];
183
+ lossReasons: IBiddingReason[];
183
184
  }
184
185
  export interface IBiddingDetailResponse extends IBaseResponse {
185
186
  data: IBiddingDetail[];
@@ -194,7 +195,7 @@ export interface IBiddingReasonResponse extends IBaseResponse {
194
195
  }
195
196
  export interface IBiddingWinLoss {
196
197
  recordId: number;
197
- winLoss: string;
198
+ winLoss: "W" | "L" | null;
198
199
  }
199
200
  export interface IBiddingWinLossResponse extends IBaseResponse {
200
201
  data: IBiddingWinLoss;
@@ -231,7 +232,7 @@ export interface IBiddingCustomerHistoryResponse extends IBaseResponse {
231
232
  data: IBiddingCustomerHistory[];
232
233
  }
233
234
  export interface IProductWinLossHistory {
234
- winLoss: string;
235
+ winLoss: "W" | "L" | null;
235
236
  periodFrom: string;
236
237
  periodTo: string;
237
238
  }