@mamindom/contracts 1.0.184 → 1.0.185

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.
@@ -120,6 +120,7 @@ export interface AttributeResponse {
120
120
  guid1c?: string | undefined;
121
121
  isFilterable: boolean;
122
122
  kind: string;
123
+ valueCount: number;
123
124
  }
124
125
  export interface AttributeResponse_NameEntry {
125
126
  key: string;
@@ -128,6 +129,8 @@ export interface AttributeResponse_NameEntry {
128
129
  export interface GetAttributesRequest {
129
130
  pagination: PaginationRequest | undefined;
130
131
  groupId?: string | undefined;
132
+ search?: string | undefined;
133
+ withoutValues?: boolean | undefined;
131
134
  }
132
135
  export interface GetAttributesResponse {
133
136
  items: AttributeResponse[];
@@ -42,6 +42,7 @@ export interface CategoryLight {
42
42
  };
43
43
  imageId?: string | undefined;
44
44
  guid1c?: string | undefined;
45
+ productCount: number;
45
46
  }
46
47
  export interface CategoryLight_NameEntry {
47
48
  key: string;
@@ -127,11 +127,17 @@ message AttributeResponse {
127
127
  optional string guid1c = 7;
128
128
  bool is_filterable = 8;
129
129
  string kind = 9;
130
+
131
+ int32 value_count = 10;
130
132
  }
131
133
 
132
134
  message GetAttributesRequest {
133
135
  PaginationRequest pagination = 1;
134
136
  optional string group_id = 2;
137
+
138
+ optional string search = 3;
139
+
140
+ optional bool without_values = 4;
135
141
  }
136
142
 
137
143
  message GetAttributesResponse {
@@ -60,6 +60,8 @@ message CategoryLight {
60
60
  map<string, string> name = 7;
61
61
  optional string image_id = 8;
62
62
  optional string guid1c = 9;
63
+
64
+ int32 product_count = 10;
63
65
  }
64
66
 
65
67
  message GetAllCategoriesLightResponse {
package/gen/attribute.ts CHANGED
@@ -137,6 +137,7 @@ export interface AttributeResponse {
137
137
  guid1c?: string | undefined;
138
138
  isFilterable: boolean;
139
139
  kind: string;
140
+ valueCount: number;
140
141
  }
141
142
 
142
143
  export interface AttributeResponse_NameEntry {
@@ -147,6 +148,8 @@ export interface AttributeResponse_NameEntry {
147
148
  export interface GetAttributesRequest {
148
149
  pagination: PaginationRequest | undefined;
149
150
  groupId?: string | undefined;
151
+ search?: string | undefined;
152
+ withoutValues?: boolean | undefined;
150
153
  }
151
154
 
152
155
  export interface GetAttributesResponse {
package/gen/category.ts CHANGED
@@ -55,6 +55,7 @@ export interface CategoryLight {
55
55
  name: { [key: string]: string };
56
56
  imageId?: string | undefined;
57
57
  guid1c?: string | undefined;
58
+ productCount: number;
58
59
  }
59
60
 
60
61
  export interface CategoryLight_NameEntry {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.184",
4
+ "version": "1.0.185",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -127,11 +127,17 @@ message AttributeResponse {
127
127
  optional string guid1c = 7;
128
128
  bool is_filterable = 8;
129
129
  string kind = 9;
130
+
131
+ int32 value_count = 10;
130
132
  }
131
133
 
132
134
  message GetAttributesRequest {
133
135
  PaginationRequest pagination = 1;
134
136
  optional string group_id = 2;
137
+
138
+ optional string search = 3;
139
+
140
+ optional bool without_values = 4;
135
141
  }
136
142
 
137
143
  message GetAttributesResponse {
@@ -60,6 +60,8 @@ message CategoryLight {
60
60
  map<string, string> name = 7;
61
61
  optional string image_id = 8;
62
62
  optional string guid1c = 9;
63
+
64
+ int32 product_count = 10;
63
65
  }
64
66
 
65
67
  message GetAllCategoriesLightResponse {