@mamindom/contracts 1.0.101 → 1.0.102

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.
@@ -822,6 +822,9 @@ export interface ProductLookupResult {
822
822
  sku: string;
823
823
  nameUk: string;
824
824
  found: boolean;
825
+ mainImage: string;
826
+ price: number;
827
+ stock: number;
825
828
  }
826
829
  export interface BulkLookupProductsRequest {
827
830
  identifiers: string[];
@@ -694,11 +694,14 @@ enum IdentifierType {
694
694
  }
695
695
 
696
696
  message ProductLookupResult {
697
- string identifier = 1;
698
- string product_id = 2;
699
- string sku = 3;
700
- string name_uk = 4;
701
- bool found = 5;
697
+ string identifier = 1;
698
+ string product_id = 2;
699
+ string sku = 3;
700
+ string name_uk = 4;
701
+ bool found = 5;
702
+ string main_image = 6;
703
+ double price = 7;
704
+ int32 stock = 8;
702
705
  }
703
706
 
704
707
  message BulkLookupProductsRequest {
package/gen/product.ts CHANGED
@@ -839,6 +839,9 @@ export interface ProductLookupResult {
839
839
  sku: string;
840
840
  nameUk: string;
841
841
  found: boolean;
842
+ mainImage: string;
843
+ price: number;
844
+ stock: number;
842
845
  }
843
846
 
844
847
  export interface BulkLookupProductsRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.101",
4
+ "version": "1.0.102",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -694,11 +694,14 @@ enum IdentifierType {
694
694
  }
695
695
 
696
696
  message ProductLookupResult {
697
- string identifier = 1;
698
- string product_id = 2;
699
- string sku = 3;
700
- string name_uk = 4;
701
- bool found = 5;
697
+ string identifier = 1;
698
+ string product_id = 2;
699
+ string sku = 3;
700
+ string name_uk = 4;
701
+ bool found = 5;
702
+ string main_image = 6;
703
+ double price = 7;
704
+ int32 stock = 8;
702
705
  }
703
706
 
704
707
  message BulkLookupProductsRequest {