@platfformx/proto-contracts 1.5.11 → 1.5.13
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.
|
@@ -30,7 +30,7 @@ export interface CancelReservationResponse {
|
|
|
30
30
|
}
|
|
31
31
|
export interface RefundStockRequest {
|
|
32
32
|
orderId: string;
|
|
33
|
-
|
|
33
|
+
productIds: string[];
|
|
34
34
|
}
|
|
35
35
|
export interface RefundStockResponse {
|
|
36
36
|
ok: boolean;
|
|
@@ -44,7 +44,6 @@ export interface GetStockResponse {
|
|
|
44
44
|
export interface StockItem {
|
|
45
45
|
productId: string;
|
|
46
46
|
quantity: number;
|
|
47
|
-
status: string;
|
|
48
47
|
}
|
|
49
48
|
export interface StockAvailability {
|
|
50
49
|
productId: string;
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@ message CancelReservationResponse {
|
|
|
50
50
|
|
|
51
51
|
message RefundStockRequest {
|
|
52
52
|
string order_id = 1;
|
|
53
|
-
repeated
|
|
53
|
+
repeated string product_ids = 2;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
message RefundStockResponse {
|
|
@@ -67,9 +67,10 @@ message GetStockResponse {
|
|
|
67
67
|
message StockItem {
|
|
68
68
|
string product_id = 1;
|
|
69
69
|
int32 quantity = 2;
|
|
70
|
-
string status = 3;
|
|
71
70
|
}
|
|
72
71
|
|
|
72
|
+
|
|
73
|
+
|
|
73
74
|
message StockAvailability {
|
|
74
75
|
string product_id = 1;
|
|
75
76
|
int32 available = 2;
|