@mamindom/contracts 1.0.186 → 1.0.187

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.
@@ -121,6 +121,7 @@ export interface AttributeResponse {
121
121
  isFilterable: boolean;
122
122
  kind: string;
123
123
  valueCount: number;
124
+ isHidden: boolean;
124
125
  }
125
126
  export interface AttributeResponse_NameEntry {
126
127
  key: string;
@@ -151,6 +152,7 @@ export interface CreateAttributeRequest {
151
152
  guid1c?: string | undefined;
152
153
  isFilterable: boolean;
153
154
  kind?: string | undefined;
155
+ isHidden?: boolean | undefined;
154
156
  }
155
157
  export interface CreateAttributeRequest_NameEntry {
156
158
  key: string;
@@ -167,6 +169,7 @@ export interface UpdateAttributeRequest {
167
169
  sortOrder?: number | undefined;
168
170
  isFilterable?: boolean | undefined;
169
171
  kind?: string | undefined;
172
+ isHidden?: boolean | undefined;
170
173
  }
171
174
  export interface UpdateAttributeRequest_NameEntry {
172
175
  key: string;
@@ -255,6 +255,9 @@ export interface ProductAttributeResponse {
255
255
  };
256
256
  valueMeta?: string | undefined;
257
257
  isFilterable: boolean;
258
+ groupSortOrder: number;
259
+ sortOrder: number;
260
+ isHidden: boolean;
258
261
  }
259
262
  export interface ProductAttributeResponse_AttributeNameEntry {
260
263
  key: string;
@@ -129,6 +129,8 @@ message AttributeResponse {
129
129
  string kind = 9;
130
130
 
131
131
  int32 value_count = 10;
132
+
133
+ bool is_hidden = 11;
132
134
  }
133
135
 
134
136
  message GetAttributesRequest {
@@ -159,6 +161,7 @@ message CreateAttributeRequest {
159
161
  optional string guid1c = 6;
160
162
  bool is_filterable = 7;
161
163
  optional string kind = 8;
164
+ optional bool is_hidden = 9;
162
165
  }
163
166
 
164
167
  message UpdateAttributeRequest {
@@ -170,6 +173,7 @@ message UpdateAttributeRequest {
170
173
  optional int32 sort_order = 6;
171
174
  optional bool is_filterable = 7;
172
175
  optional string kind = 8;
176
+ optional bool is_hidden = 9;
173
177
  }
174
178
 
175
179
  message DeleteAttributeRequest {
@@ -276,9 +276,14 @@ message ProductAttributeResponse {
276
276
  string display_type = 5;
277
277
  optional string group_id = 6;
278
278
  map<string, string> group_name = 7;
279
- map<string, string> value = 8;
280
- optional string value_meta = 9;
279
+ map<string, string> value = 8;
280
+ optional string value_meta = 9;
281
281
  bool is_filterable = 10;
282
+
283
+ int32 group_sort_order = 11;
284
+ int32 sort_order = 12;
285
+
286
+ bool is_hidden = 13;
282
287
  }
283
288
 
284
289
  message ProductFileResponse {
package/gen/attribute.ts CHANGED
@@ -138,6 +138,7 @@ export interface AttributeResponse {
138
138
  isFilterable: boolean;
139
139
  kind: string;
140
140
  valueCount: number;
141
+ isHidden: boolean;
141
142
  }
142
143
 
143
144
  export interface AttributeResponse_NameEntry {
@@ -171,6 +172,7 @@ export interface CreateAttributeRequest {
171
172
  guid1c?: string | undefined;
172
173
  isFilterable: boolean;
173
174
  kind?: string | undefined;
175
+ isHidden?: boolean | undefined;
174
176
  }
175
177
 
176
178
  export interface CreateAttributeRequest_NameEntry {
@@ -187,6 +189,7 @@ export interface UpdateAttributeRequest {
187
189
  sortOrder?: number | undefined;
188
190
  isFilterable?: boolean | undefined;
189
191
  kind?: string | undefined;
192
+ isHidden?: boolean | undefined;
190
193
  }
191
194
 
192
195
  export interface UpdateAttributeRequest_NameEntry {
package/gen/product.ts CHANGED
@@ -265,6 +265,9 @@ export interface ProductAttributeResponse {
265
265
  value: { [key: string]: string };
266
266
  valueMeta?: string | undefined;
267
267
  isFilterable: boolean;
268
+ groupSortOrder: number;
269
+ sortOrder: number;
270
+ isHidden: boolean;
268
271
  }
269
272
 
270
273
  export interface ProductAttributeResponse_AttributeNameEntry {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.186",
4
+ "version": "1.0.187",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -129,6 +129,8 @@ message AttributeResponse {
129
129
  string kind = 9;
130
130
 
131
131
  int32 value_count = 10;
132
+
133
+ bool is_hidden = 11;
132
134
  }
133
135
 
134
136
  message GetAttributesRequest {
@@ -159,6 +161,7 @@ message CreateAttributeRequest {
159
161
  optional string guid1c = 6;
160
162
  bool is_filterable = 7;
161
163
  optional string kind = 8;
164
+ optional bool is_hidden = 9;
162
165
  }
163
166
 
164
167
  message UpdateAttributeRequest {
@@ -170,6 +173,7 @@ message UpdateAttributeRequest {
170
173
  optional int32 sort_order = 6;
171
174
  optional bool is_filterable = 7;
172
175
  optional string kind = 8;
176
+ optional bool is_hidden = 9;
173
177
  }
174
178
 
175
179
  message DeleteAttributeRequest {
@@ -276,9 +276,14 @@ message ProductAttributeResponse {
276
276
  string display_type = 5;
277
277
  optional string group_id = 6;
278
278
  map<string, string> group_name = 7;
279
- map<string, string> value = 8;
280
- optional string value_meta = 9;
279
+ map<string, string> value = 8;
280
+ optional string value_meta = 9;
281
281
  bool is_filterable = 10;
282
+
283
+ int32 group_sort_order = 11;
284
+ int32 sort_order = 12;
285
+
286
+ bool is_hidden = 13;
282
287
  }
283
288
 
284
289
  message ProductFileResponse {