@mamindom/contracts 1.0.163 → 1.0.164

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.
@@ -443,6 +443,7 @@ export interface UpdateProductRequest {
443
443
  colorHex?: string | undefined;
444
444
  manualRating?: number | undefined;
445
445
  weightKg?: number | undefined;
446
+ guid1c?: string | undefined;
446
447
  }
447
448
  export interface UpdateProductRequest_NameEntry {
448
449
  key: string;
@@ -1020,6 +1021,7 @@ export interface ProductSyncItem {
1020
1021
  attributeValueGuids: string[];
1021
1022
  characteristicGuids: string[];
1022
1023
  categoryGuids: string[];
1024
+ barcode?: string | undefined;
1023
1025
  }
1024
1026
  export interface ProductSyncItem_NameEntry {
1025
1027
  key: string;
@@ -211,7 +211,7 @@ message ProductDetailResponse {
211
211
 
212
212
  string main_image = 17;
213
213
  optional string video_url = 18;
214
- optional string guid_1c = 19;
214
+ optional string guid1c = 19;
215
215
 
216
216
  repeated string category_ids = 20;
217
217
  repeated ProductImageResponse images = 21;
@@ -363,7 +363,7 @@ message CreateProductRequest {
363
363
  map<string, string> meta_description = 11;
364
364
 
365
365
  optional string main_image = 12;
366
- optional string guid_1c = 13;
366
+ optional string guid1c = 13;
367
367
 
368
368
  repeated string category_ids = 14;
369
369
 
@@ -417,6 +417,7 @@ message UpdateProductRequest {
417
417
  optional string color_hex = 24;
418
418
  optional float manual_rating = 25;
419
419
  optional double weight_kg = 26;
420
+ optional string guid1c = 27;
420
421
  }
421
422
 
422
423
  message SetManualRatingRequest {
@@ -836,7 +837,7 @@ message ProductColorResponse {
836
837
  optional string main_image = 6;
837
838
  optional string main_image_id = 7;
838
839
  int32 sort_order = 8;
839
- optional string guid_1c = 9;
840
+ optional string guid1c = 9;
840
841
  repeated ProductColorImageResponse images = 10;
841
842
  }
842
843
 
@@ -848,7 +849,7 @@ message CreateProductColorRequest {
848
849
  optional string main_image = 5;
849
850
  optional string main_image_id = 6;
850
851
  optional int32 sort_order = 7;
851
- optional string guid_1c = 8;
852
+ optional string guid1c = 8;
852
853
  repeated ProductColorImagePayload images = 9;
853
854
  }
854
855
 
@@ -860,7 +861,7 @@ message UpdateProductColorRequest {
860
861
  optional string main_image = 5;
861
862
  optional string main_image_id = 6;
862
863
  optional int32 sort_order = 7;
863
- optional string guid_1c = 8;
864
+ optional string guid1c = 8;
864
865
  repeated ProductColorImagePayload images = 9;
865
866
 
866
867
  bool clear_hex = 30;
@@ -893,13 +894,14 @@ message ColorSortOrderItem {
893
894
 
894
895
 
895
896
  message ProductSyncItem {
896
- string product_guid = 1;
897
- string sku = 2;
898
- map<string, string> name = 3;
899
- optional string brand_value_guid = 4;
900
- repeated string attribute_value_guids = 5;
901
- repeated string characteristic_guids = 6;
902
- repeated string category_guids = 7;
897
+ string product_guid = 1;
898
+ string sku = 2;
899
+ map<string, string> name = 3;
900
+ optional string brand_value_guid = 4;
901
+ repeated string attribute_value_guids = 5;
902
+ repeated string characteristic_guids = 6;
903
+ repeated string category_guids = 7;
904
+ optional string barcode = 8;
903
905
  }
904
906
 
905
907
  message UpsertProductsRequest {
package/gen/product.ts CHANGED
@@ -444,6 +444,7 @@ export interface UpdateProductRequest {
444
444
  colorHex?: string | undefined;
445
445
  manualRating?: number | undefined;
446
446
  weightKg?: number | undefined;
447
+ guid1c?: string | undefined;
447
448
  }
448
449
 
449
450
  export interface UpdateProductRequest_NameEntry {
@@ -1045,6 +1046,7 @@ export interface ProductSyncItem {
1045
1046
  attributeValueGuids: string[];
1046
1047
  characteristicGuids: string[];
1047
1048
  categoryGuids: string[];
1049
+ barcode?: string | undefined;
1048
1050
  }
1049
1051
 
1050
1052
  export interface ProductSyncItem_NameEntry {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.163",
4
+ "version": "1.0.164",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -211,7 +211,7 @@ message ProductDetailResponse {
211
211
 
212
212
  string main_image = 17;
213
213
  optional string video_url = 18;
214
- optional string guid_1c = 19;
214
+ optional string guid1c = 19;
215
215
 
216
216
  repeated string category_ids = 20;
217
217
  repeated ProductImageResponse images = 21;
@@ -363,7 +363,7 @@ message CreateProductRequest {
363
363
  map<string, string> meta_description = 11;
364
364
 
365
365
  optional string main_image = 12;
366
- optional string guid_1c = 13;
366
+ optional string guid1c = 13;
367
367
 
368
368
  repeated string category_ids = 14;
369
369
 
@@ -417,6 +417,7 @@ message UpdateProductRequest {
417
417
  optional string color_hex = 24;
418
418
  optional float manual_rating = 25;
419
419
  optional double weight_kg = 26;
420
+ optional string guid1c = 27;
420
421
  }
421
422
 
422
423
  message SetManualRatingRequest {
@@ -836,7 +837,7 @@ message ProductColorResponse {
836
837
  optional string main_image = 6;
837
838
  optional string main_image_id = 7;
838
839
  int32 sort_order = 8;
839
- optional string guid_1c = 9;
840
+ optional string guid1c = 9;
840
841
  repeated ProductColorImageResponse images = 10;
841
842
  }
842
843
 
@@ -848,7 +849,7 @@ message CreateProductColorRequest {
848
849
  optional string main_image = 5;
849
850
  optional string main_image_id = 6;
850
851
  optional int32 sort_order = 7;
851
- optional string guid_1c = 8;
852
+ optional string guid1c = 8;
852
853
  repeated ProductColorImagePayload images = 9;
853
854
  }
854
855
 
@@ -860,7 +861,7 @@ message UpdateProductColorRequest {
860
861
  optional string main_image = 5;
861
862
  optional string main_image_id = 6;
862
863
  optional int32 sort_order = 7;
863
- optional string guid_1c = 8;
864
+ optional string guid1c = 8;
864
865
  repeated ProductColorImagePayload images = 9;
865
866
 
866
867
  bool clear_hex = 30;
@@ -893,13 +894,14 @@ message ColorSortOrderItem {
893
894
 
894
895
 
895
896
  message ProductSyncItem {
896
- string product_guid = 1;
897
- string sku = 2;
898
- map<string, string> name = 3;
899
- optional string brand_value_guid = 4;
900
- repeated string attribute_value_guids = 5;
901
- repeated string characteristic_guids = 6;
902
- repeated string category_guids = 7;
897
+ string product_guid = 1;
898
+ string sku = 2;
899
+ map<string, string> name = 3;
900
+ optional string brand_value_guid = 4;
901
+ repeated string attribute_value_guids = 5;
902
+ repeated string characteristic_guids = 6;
903
+ repeated string category_guids = 7;
904
+ optional string barcode = 8;
903
905
  }
904
906
 
905
907
  message UpsertProductsRequest {