@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 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?: boolean | undefined;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prodoctors/contracts",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Protobuf definitions and generated Typescript types for ProDoctors",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -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 {