@mamindom/contracts 1.0.181 → 1.0.183

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.
@@ -39,6 +39,8 @@ export interface VariantStockDetail {
39
39
  options: {
40
40
  [key: string]: string;
41
41
  };
42
+ available: number;
43
+ stockTracked: boolean;
42
44
  }
43
45
  export interface VariantStockDetail_OptionsEntry {
44
46
  key: string;
@@ -63,8 +63,13 @@ message VariantStockDetail {
63
63
  string variant_id = 1;
64
64
  string sku = 2;
65
65
  optional string barcode = 3;
66
+
66
67
  int32 stock = 4;
67
68
  map<string, string> options = 5;
69
+
70
+ int32 available = 6;
71
+
72
+ bool stock_tracked = 7;
68
73
  }
69
74
 
70
75
  message StockMovementResponse {
package/gen/stock.ts CHANGED
@@ -51,6 +51,8 @@ export interface VariantStockDetail {
51
51
  barcode?: string | undefined;
52
52
  stock: number;
53
53
  options: { [key: string]: string };
54
+ available: number;
55
+ stockTracked: boolean;
54
56
  }
55
57
 
56
58
  export interface VariantStockDetail_OptionsEntry {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.181",
4
+ "version": "1.0.183",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
package/proto/stock.proto CHANGED
@@ -63,8 +63,13 @@ message VariantStockDetail {
63
63
  string variant_id = 1;
64
64
  string sku = 2;
65
65
  optional string barcode = 3;
66
+
66
67
  int32 stock = 4;
67
68
  map<string, string> options = 5;
69
+
70
+ int32 available = 6;
71
+
72
+ bool stock_tracked = 7;
68
73
  }
69
74
 
70
75
  message StockMovementResponse {