@jagota/interfaces 1.2.45 → 1.2.47

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.45",
3
+ "version": "1.2.47",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "src/index.ts",
@@ -0,0 +1,4 @@
1
+ export interface IBaseResponse {
2
+ error: boolean;
3
+ message: string;
4
+ }
@@ -1,3 +1,5 @@
1
+ import { IBaseResponse } from "./base.interface";
2
+
1
3
  export interface IBiddingType {
2
4
  recordId: number;
3
5
  name: string;
@@ -88,4 +90,39 @@ export interface ISetBiddingPricelistPayload extends IBiddingPricelistPayload {
88
90
  custProductCode: string;
89
91
  productCode: string;
90
92
  price?: number;
93
+ }
94
+
95
+ export interface IGetBiddingPriceListResponse extends IBaseResponse {
96
+ data: IBiddingPricelist[];
97
+ }
98
+
99
+ export interface ISetBiddingPricelistResponse extends IBaseResponse {
100
+ data: {
101
+ PRICE: number;
102
+ }
103
+ }
104
+
105
+ export interface IBiddingStatusPayload {
106
+ recordId: number;
107
+ status: string;
108
+ }
109
+ export interface IBiddingStatusResponse extends IBaseResponse {
110
+ data: {
111
+ STATUS: string;
112
+ }
113
+ }
114
+
115
+ export interface IBiddingList extends IBiddingStatusPayload{
116
+ periodFrom: string;
117
+ periodTo: string;
118
+ winRate: number;
119
+ docType: string;
120
+ docBook: string;
121
+ docNo: string;
122
+ }
123
+ export interface IBiddingListPayload {
124
+ custCode: string;
125
+ }
126
+ export interface IBiddingListResponse extends IBaseResponse {
127
+ data: IBiddingList[];
91
128
  }