@prodoctors/contracts 1.12.0 → 1.13.0
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/gen/inventory.ts +8 -1
- package/package.json +1 -1
- package/proto/inventory.proto +3 -0
package/gen/inventory.ts
CHANGED
|
@@ -227,7 +227,14 @@ export interface ListProductsRequest {
|
|
|
227
227
|
| ProductStatus
|
|
228
228
|
| undefined;
|
|
229
229
|
/** Faqat biror dorixonada mavjud (remaining - reserved > 0) mahsulotlar. */
|
|
230
|
-
inStockOnly?:
|
|
230
|
+
inStockOnly?:
|
|
231
|
+
| boolean
|
|
232
|
+
| undefined;
|
|
233
|
+
/**
|
|
234
|
+
* Yashirmaydi, lekin sotuvda bor mahsulotlarni ro'yxat boshiga chiqaradi.
|
|
235
|
+
* Sahifalash saqlanadi: avval mavjudlar, tugagach qolganlari.
|
|
236
|
+
*/
|
|
237
|
+
prioritizeInStock?: boolean | undefined;
|
|
231
238
|
}
|
|
232
239
|
|
|
233
240
|
export interface ListProductsResponse {
|
package/package.json
CHANGED
package/proto/inventory.proto
CHANGED
|
@@ -209,6 +209,9 @@ message ListProductsRequest {
|
|
|
209
209
|
optional ProductStatus status = 7;
|
|
210
210
|
// Faqat biror dorixonada mavjud (remaining - reserved > 0) mahsulotlar.
|
|
211
211
|
optional bool in_stock_only = 8;
|
|
212
|
+
// Yashirmaydi, lekin sotuvda bor mahsulotlarni ro'yxat boshiga chiqaradi.
|
|
213
|
+
// Sahifalash saqlanadi: avval mavjudlar, tugagach qolganlari.
|
|
214
|
+
optional bool prioritize_in_stock = 9;
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
message ListProductsResponse {
|