@mamindom/contracts 1.0.58 → 1.0.59
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.
- package/dist/gen/product.d.ts +28 -0
- package/dist/proto/product.proto +12 -0
- package/gen/product.ts +25 -0
- package/package.json +1 -1
- package/proto/product.proto +12 -0
package/dist/gen/product.d.ts
CHANGED
|
@@ -171,6 +171,8 @@ export interface ProductImageResponse_AltEntry {
|
|
|
171
171
|
export interface ProductWarehouseResponse {
|
|
172
172
|
warehouseId: string;
|
|
173
173
|
quantity: number;
|
|
174
|
+
reserved: number;
|
|
175
|
+
available: number;
|
|
174
176
|
}
|
|
175
177
|
export interface ProductVariantResponse {
|
|
176
178
|
id: string;
|
|
@@ -189,6 +191,32 @@ export interface ProductVariantResponse_OptionsEntry {
|
|
|
189
191
|
export interface ProductAttributeResponse {
|
|
190
192
|
attributeId: string;
|
|
191
193
|
attributeValueId: string;
|
|
194
|
+
attributeName: {
|
|
195
|
+
[key: string]: string;
|
|
196
|
+
};
|
|
197
|
+
attributeSlug: string;
|
|
198
|
+
displayType: string;
|
|
199
|
+
groupId?: string | undefined;
|
|
200
|
+
groupName: {
|
|
201
|
+
[key: string]: string;
|
|
202
|
+
};
|
|
203
|
+
value: {
|
|
204
|
+
[key: string]: string;
|
|
205
|
+
};
|
|
206
|
+
valueMeta?: string | undefined;
|
|
207
|
+
isFilterable: boolean;
|
|
208
|
+
}
|
|
209
|
+
export interface ProductAttributeResponse_AttributeNameEntry {
|
|
210
|
+
key: string;
|
|
211
|
+
value: string;
|
|
212
|
+
}
|
|
213
|
+
export interface ProductAttributeResponse_GroupNameEntry {
|
|
214
|
+
key: string;
|
|
215
|
+
value: string;
|
|
216
|
+
}
|
|
217
|
+
export interface ProductAttributeResponse_ValueEntry {
|
|
218
|
+
key: string;
|
|
219
|
+
value: string;
|
|
192
220
|
}
|
|
193
221
|
export interface ProductFileResponse {
|
|
194
222
|
id: string;
|
package/dist/proto/product.proto
CHANGED
|
@@ -169,6 +169,8 @@ message ProductImageResponse {
|
|
|
169
169
|
message ProductWarehouseResponse {
|
|
170
170
|
string warehouse_id = 1;
|
|
171
171
|
int32 quantity = 2;
|
|
172
|
+
int32 reserved = 3;
|
|
173
|
+
int32 available = 4;
|
|
172
174
|
}
|
|
173
175
|
|
|
174
176
|
message ProductVariantResponse {
|
|
@@ -183,6 +185,16 @@ message ProductVariantResponse {
|
|
|
183
185
|
message ProductAttributeResponse {
|
|
184
186
|
string attribute_id = 1;
|
|
185
187
|
string attribute_value_id = 2;
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
map<string, string> attribute_name = 3;
|
|
191
|
+
string attribute_slug = 4;
|
|
192
|
+
string display_type = 5;
|
|
193
|
+
optional string group_id = 6;
|
|
194
|
+
map<string, string> group_name = 7;
|
|
195
|
+
map<string, string> value = 8;
|
|
196
|
+
optional string value_meta = 9;
|
|
197
|
+
bool is_filterable = 10;
|
|
186
198
|
}
|
|
187
199
|
|
|
188
200
|
message ProductFileResponse {
|
package/gen/product.ts
CHANGED
|
@@ -184,6 +184,8 @@ export interface ProductImageResponse_AltEntry {
|
|
|
184
184
|
export interface ProductWarehouseResponse {
|
|
185
185
|
warehouseId: string;
|
|
186
186
|
quantity: number;
|
|
187
|
+
reserved: number;
|
|
188
|
+
available: number;
|
|
187
189
|
}
|
|
188
190
|
|
|
189
191
|
export interface ProductVariantResponse {
|
|
@@ -203,6 +205,29 @@ export interface ProductVariantResponse_OptionsEntry {
|
|
|
203
205
|
export interface ProductAttributeResponse {
|
|
204
206
|
attributeId: string;
|
|
205
207
|
attributeValueId: string;
|
|
208
|
+
attributeName: { [key: string]: string };
|
|
209
|
+
attributeSlug: string;
|
|
210
|
+
displayType: string;
|
|
211
|
+
groupId?: string | undefined;
|
|
212
|
+
groupName: { [key: string]: string };
|
|
213
|
+
value: { [key: string]: string };
|
|
214
|
+
valueMeta?: string | undefined;
|
|
215
|
+
isFilterable: boolean;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface ProductAttributeResponse_AttributeNameEntry {
|
|
219
|
+
key: string;
|
|
220
|
+
value: string;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export interface ProductAttributeResponse_GroupNameEntry {
|
|
224
|
+
key: string;
|
|
225
|
+
value: string;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface ProductAttributeResponse_ValueEntry {
|
|
229
|
+
key: string;
|
|
230
|
+
value: string;
|
|
206
231
|
}
|
|
207
232
|
|
|
208
233
|
export interface ProductFileResponse {
|
package/package.json
CHANGED
package/proto/product.proto
CHANGED
|
@@ -169,6 +169,8 @@ message ProductImageResponse {
|
|
|
169
169
|
message ProductWarehouseResponse {
|
|
170
170
|
string warehouse_id = 1;
|
|
171
171
|
int32 quantity = 2;
|
|
172
|
+
int32 reserved = 3;
|
|
173
|
+
int32 available = 4;
|
|
172
174
|
}
|
|
173
175
|
|
|
174
176
|
message ProductVariantResponse {
|
|
@@ -183,6 +185,16 @@ message ProductVariantResponse {
|
|
|
183
185
|
message ProductAttributeResponse {
|
|
184
186
|
string attribute_id = 1;
|
|
185
187
|
string attribute_value_id = 2;
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
map<string, string> attribute_name = 3;
|
|
191
|
+
string attribute_slug = 4;
|
|
192
|
+
string display_type = 5;
|
|
193
|
+
optional string group_id = 6;
|
|
194
|
+
map<string, string> group_name = 7;
|
|
195
|
+
map<string, string> value = 8;
|
|
196
|
+
optional string value_meta = 9;
|
|
197
|
+
bool is_filterable = 10;
|
|
186
198
|
}
|
|
187
199
|
|
|
188
200
|
message ProductFileResponse {
|