@prodoctors/contracts 1.12.0 → 1.14.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/branch.ts +3 -0
- package/gen/inventory.ts +8 -1
- package/package.json +1 -1
- package/proto/branch.proto +3 -0
- package/proto/inventory.proto +344 -341
- package/proto/reservation.proto +207 -207
- package/proto/shift.proto +143 -143
package/gen/branch.ts
CHANGED
|
@@ -38,6 +38,7 @@ export interface Branch {
|
|
|
38
38
|
updatedAt: Timestamp | undefined;
|
|
39
39
|
regionId?: string | undefined;
|
|
40
40
|
bankDetails?: BranchBankDetails | undefined;
|
|
41
|
+
coverImageUrl?: string | undefined;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
export interface CreateBranchRequest {
|
|
@@ -52,6 +53,7 @@ export interface CreateBranchRequest {
|
|
|
52
53
|
parentBranchId?: string | undefined;
|
|
53
54
|
regionId?: string | undefined;
|
|
54
55
|
bankDetails?: BranchBankDetails | undefined;
|
|
56
|
+
coverImageUrl?: string | undefined;
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
export interface UpdateBranchRequest {
|
|
@@ -67,6 +69,7 @@ export interface UpdateBranchRequest {
|
|
|
67
69
|
parentBranchId?: string | undefined;
|
|
68
70
|
regionId?: string | undefined;
|
|
69
71
|
bankDetails?: BranchBankDetails | undefined;
|
|
72
|
+
coverImageUrl?: string | undefined;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
75
|
export interface ListBranchesRequest {
|
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/branch.proto
CHANGED
|
@@ -31,6 +31,7 @@ message Branch {
|
|
|
31
31
|
google.protobuf.Timestamp updated_at = 12;
|
|
32
32
|
optional string region_id = 13;
|
|
33
33
|
optional BranchBankDetails bank_details = 14;
|
|
34
|
+
optional string cover_image_url = 15;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
message CreateBranchRequest {
|
|
@@ -45,6 +46,7 @@ message CreateBranchRequest {
|
|
|
45
46
|
optional string parent_branch_id = 9;
|
|
46
47
|
optional string region_id = 10;
|
|
47
48
|
optional BranchBankDetails bank_details = 11;
|
|
49
|
+
optional string cover_image_url = 12;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
message UpdateBranchRequest {
|
|
@@ -60,6 +62,7 @@ message UpdateBranchRequest {
|
|
|
60
62
|
optional string parent_branch_id = 10;
|
|
61
63
|
optional string region_id = 11;
|
|
62
64
|
optional BranchBankDetails bank_details = 12;
|
|
65
|
+
optional string cover_image_url = 13;
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
message ListBranchesRequest {
|