@mamindom/contracts 1.0.148 → 1.0.150
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/category.d.ts +22 -0
- package/dist/gen/category.js +1 -0
- package/dist/gen/pickup.d.ts +4 -0
- package/dist/gen/users.d.ts +12 -3
- package/dist/gen/users.js +1 -0
- package/dist/proto/category.proto +19 -1
- package/dist/proto/pickup.proto +5 -1
- package/dist/proto/users.proto +18 -3
- package/gen/category.ts +28 -0
- package/gen/pickup.ts +4 -0
- package/gen/users.ts +19 -3
- package/package.json +1 -1
- package/proto/category.proto +19 -1
- package/proto/pickup.proto +5 -1
- package/proto/users.proto +18 -3
package/dist/gen/category.d.ts
CHANGED
|
@@ -30,6 +30,26 @@ export interface GetAllCategoriesRequest {
|
|
|
30
30
|
export interface GetAllCategoriesResponse {
|
|
31
31
|
items: CategoryResponse[];
|
|
32
32
|
}
|
|
33
|
+
export interface CategoryLight {
|
|
34
|
+
id: string;
|
|
35
|
+
parentId?: string | undefined;
|
|
36
|
+
slug: string;
|
|
37
|
+
image?: string | undefined;
|
|
38
|
+
status: boolean;
|
|
39
|
+
sortOrder: number;
|
|
40
|
+
name: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
imageId?: string | undefined;
|
|
44
|
+
guid1c?: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface CategoryLight_NameEntry {
|
|
47
|
+
key: string;
|
|
48
|
+
value: string;
|
|
49
|
+
}
|
|
50
|
+
export interface GetAllCategoriesLightResponse {
|
|
51
|
+
items: CategoryLight[];
|
|
52
|
+
}
|
|
33
53
|
export interface GetCategoryTreeRequest {
|
|
34
54
|
lang: string;
|
|
35
55
|
}
|
|
@@ -222,6 +242,7 @@ export interface CategoryAdminServiceClient {
|
|
|
222
242
|
deleteCategory(request: DeleteCategoryRequest): Observable<DeleteResponse>;
|
|
223
243
|
updateCategoryOrder(request: UpdateCategoryOrderRequest): Observable<SuccessResponse>;
|
|
224
244
|
getAllCategories(request: GetAllCategoriesRequest): Observable<GetAllCategoriesResponse>;
|
|
245
|
+
getAllCategoriesLight(request: GetAllCategoriesRequest): Observable<GetAllCategoriesLightResponse>;
|
|
225
246
|
upsertCategories(request: UpsertCategoriesRequest): Observable<UpsertCategoriesResponse>;
|
|
226
247
|
}
|
|
227
248
|
export interface CategoryAdminServiceController {
|
|
@@ -232,6 +253,7 @@ export interface CategoryAdminServiceController {
|
|
|
232
253
|
deleteCategory(request: DeleteCategoryRequest): Promise<DeleteResponse> | Observable<DeleteResponse> | DeleteResponse;
|
|
233
254
|
updateCategoryOrder(request: UpdateCategoryOrderRequest): Promise<SuccessResponse> | Observable<SuccessResponse> | SuccessResponse;
|
|
234
255
|
getAllCategories(request: GetAllCategoriesRequest): Promise<GetAllCategoriesResponse> | Observable<GetAllCategoriesResponse> | GetAllCategoriesResponse;
|
|
256
|
+
getAllCategoriesLight(request: GetAllCategoriesRequest): Promise<GetAllCategoriesLightResponse> | Observable<GetAllCategoriesLightResponse> | GetAllCategoriesLightResponse;
|
|
235
257
|
upsertCategories(request: UpsertCategoriesRequest): Promise<UpsertCategoriesResponse> | Observable<UpsertCategoriesResponse> | UpsertCategoriesResponse;
|
|
236
258
|
}
|
|
237
259
|
export declare function CategoryAdminServiceControllerMethods(): (constructor: Function) => void;
|
package/dist/gen/category.js
CHANGED
package/dist/gen/pickup.d.ts
CHANGED
|
@@ -12,10 +12,12 @@ export interface PickupPointResponse {
|
|
|
12
12
|
isActive: boolean;
|
|
13
13
|
code1c?: string | undefined;
|
|
14
14
|
schedule?: string | undefined;
|
|
15
|
+
showOnContacts: boolean;
|
|
15
16
|
}
|
|
16
17
|
export interface GetPickupPointsRequest {
|
|
17
18
|
isActive?: boolean | undefined;
|
|
18
19
|
city?: string | undefined;
|
|
20
|
+
showOnContacts?: boolean | undefined;
|
|
19
21
|
}
|
|
20
22
|
export interface GetPickupPointsResponse {
|
|
21
23
|
items: PickupPointResponse[];
|
|
@@ -33,6 +35,7 @@ export interface CreatePickupPointRequest {
|
|
|
33
35
|
isActive?: boolean | undefined;
|
|
34
36
|
code1c?: string | undefined;
|
|
35
37
|
schedule?: string | undefined;
|
|
38
|
+
showOnContacts?: boolean | undefined;
|
|
36
39
|
}
|
|
37
40
|
export interface UpdatePickupPointRequest {
|
|
38
41
|
id: string;
|
|
@@ -45,6 +48,7 @@ export interface UpdatePickupPointRequest {
|
|
|
45
48
|
isActive?: boolean | undefined;
|
|
46
49
|
code1c?: string | undefined;
|
|
47
50
|
schedule?: string | undefined;
|
|
51
|
+
showOnContacts?: boolean | undefined;
|
|
48
52
|
}
|
|
49
53
|
export interface DeletePickupPointRequest {
|
|
50
54
|
id: string;
|
package/dist/gen/users.d.ts
CHANGED
|
@@ -177,7 +177,7 @@ export interface GetFamilyRequest {
|
|
|
177
177
|
}
|
|
178
178
|
export interface GetFamilyResponse {
|
|
179
179
|
children: Child[];
|
|
180
|
-
|
|
180
|
+
expectedDeliveryDate?: string | undefined;
|
|
181
181
|
}
|
|
182
182
|
export interface AddChildRequest {
|
|
183
183
|
userId: string;
|
|
@@ -206,11 +206,18 @@ export interface GetPregnancyRequest {
|
|
|
206
206
|
userId: string;
|
|
207
207
|
}
|
|
208
208
|
export interface GetPregnancyResponse {
|
|
209
|
-
|
|
209
|
+
expectedDeliveryDate?: string | undefined;
|
|
210
210
|
}
|
|
211
211
|
export interface UpdatePregnancyRequest {
|
|
212
212
|
userId: string;
|
|
213
|
-
|
|
213
|
+
expectedDeliveryDate?: string | undefined;
|
|
214
|
+
}
|
|
215
|
+
export interface SetPlanfixContactIdRequest {
|
|
216
|
+
userId: string;
|
|
217
|
+
planfixContactId: string;
|
|
218
|
+
}
|
|
219
|
+
export interface SetPlanfixContactIdResponse {
|
|
220
|
+
ok: boolean;
|
|
214
221
|
}
|
|
215
222
|
export interface CartItemVariant {
|
|
216
223
|
key: string;
|
|
@@ -282,6 +289,7 @@ export interface UsersServiceClient {
|
|
|
282
289
|
removeChild(request: RemoveChildRequest): Observable<RemoveChildResponse>;
|
|
283
290
|
getPregnancy(request: GetPregnancyRequest): Observable<GetPregnancyResponse>;
|
|
284
291
|
updatePregnancy(request: UpdatePregnancyRequest): Observable<GetPregnancyResponse>;
|
|
292
|
+
setPlanfixContactId(request: SetPlanfixContactIdRequest): Observable<SetPlanfixContactIdResponse>;
|
|
285
293
|
getCart(request: GetCartRequest): Observable<GetCartResponse>;
|
|
286
294
|
upsertCartItem(request: UpsertCartItemRequest): Observable<GetCartResponse>;
|
|
287
295
|
removeCartItem(request: RemoveCartItemRequest): Observable<GetCartResponse>;
|
|
@@ -312,6 +320,7 @@ export interface UsersServiceController {
|
|
|
312
320
|
removeChild(request: RemoveChildRequest): Promise<RemoveChildResponse> | Observable<RemoveChildResponse> | RemoveChildResponse;
|
|
313
321
|
getPregnancy(request: GetPregnancyRequest): Promise<GetPregnancyResponse> | Observable<GetPregnancyResponse> | GetPregnancyResponse;
|
|
314
322
|
updatePregnancy(request: UpdatePregnancyRequest): Promise<GetPregnancyResponse> | Observable<GetPregnancyResponse> | GetPregnancyResponse;
|
|
323
|
+
setPlanfixContactId(request: SetPlanfixContactIdRequest): Promise<SetPlanfixContactIdResponse> | Observable<SetPlanfixContactIdResponse> | SetPlanfixContactIdResponse;
|
|
315
324
|
getCart(request: GetCartRequest): Promise<GetCartResponse> | Observable<GetCartResponse> | GetCartResponse;
|
|
316
325
|
upsertCartItem(request: UpsertCartItemRequest): Promise<GetCartResponse> | Observable<GetCartResponse> | GetCartResponse;
|
|
317
326
|
removeCartItem(request: RemoveCartItemRequest): Promise<GetCartResponse> | Observable<GetCartResponse> | GetCartResponse;
|
package/dist/gen/users.js
CHANGED
|
@@ -24,7 +24,9 @@ service CategoryAdminService {
|
|
|
24
24
|
|
|
25
25
|
rpc GetAllCategories (GetAllCategoriesRequest) returns (GetAllCategoriesResponse);
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
rpc GetAllCategoriesLight (GetAllCategoriesRequest) returns (GetAllCategoriesLightResponse);
|
|
28
|
+
|
|
29
|
+
|
|
28
30
|
rpc UpsertCategories (UpsertCategoriesRequest) returns (UpsertCategoriesResponse);
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -56,6 +58,22 @@ message GetAllCategoriesRequest {}
|
|
|
56
58
|
message GetAllCategoriesResponse {
|
|
57
59
|
repeated CategoryResponse items = 1;
|
|
58
60
|
}
|
|
61
|
+
|
|
62
|
+
message CategoryLight {
|
|
63
|
+
string id = 1;
|
|
64
|
+
optional string parent_id = 2;
|
|
65
|
+
string slug = 3;
|
|
66
|
+
optional string image = 4;
|
|
67
|
+
bool status = 5;
|
|
68
|
+
int32 sort_order = 6;
|
|
69
|
+
map<string, string> name = 7;
|
|
70
|
+
optional string image_id = 8;
|
|
71
|
+
optional string guid_1c = 9;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message GetAllCategoriesLightResponse {
|
|
75
|
+
repeated CategoryLight items = 1;
|
|
76
|
+
}
|
|
59
77
|
message GetCategoryTreeRequest {
|
|
60
78
|
string lang = 1;
|
|
61
79
|
}
|
package/dist/proto/pickup.proto
CHANGED
|
@@ -31,12 +31,14 @@ message PickupPointResponse {
|
|
|
31
31
|
optional double lng = 7;
|
|
32
32
|
bool is_active = 8;
|
|
33
33
|
optional string code_1c = 9;
|
|
34
|
-
optional string schedule = 10;
|
|
34
|
+
optional string schedule = 10;
|
|
35
|
+
bool show_on_contacts = 11;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
message GetPickupPointsRequest {
|
|
38
39
|
optional bool is_active = 1;
|
|
39
40
|
optional string city = 2;
|
|
41
|
+
optional bool show_on_contacts = 3;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
message GetPickupPointsResponse {
|
|
@@ -57,6 +59,7 @@ message CreatePickupPointRequest {
|
|
|
57
59
|
optional bool is_active = 7;
|
|
58
60
|
optional string code_1c = 8;
|
|
59
61
|
optional string schedule = 9;
|
|
62
|
+
optional bool show_on_contacts = 10;
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
message UpdatePickupPointRequest {
|
|
@@ -70,6 +73,7 @@ message UpdatePickupPointRequest {
|
|
|
70
73
|
optional bool is_active = 8;
|
|
71
74
|
optional string code_1c = 9;
|
|
72
75
|
optional string schedule = 10;
|
|
76
|
+
optional bool show_on_contacts = 11;
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
message DeletePickupPointRequest {
|
package/dist/proto/users.proto
CHANGED
|
@@ -41,6 +41,9 @@ service UsersService {
|
|
|
41
41
|
rpc GetPregnancy(GetPregnancyRequest) returns (GetPregnancyResponse);
|
|
42
42
|
rpc UpdatePregnancy(UpdatePregnancyRequest) returns (GetPregnancyResponse);
|
|
43
43
|
|
|
44
|
+
|
|
45
|
+
rpc SetPlanfixContactId(SetPlanfixContactIdRequest) returns (SetPlanfixContactIdResponse);
|
|
46
|
+
|
|
44
47
|
|
|
45
48
|
rpc GetCart(GetCartRequest) returns (GetCartResponse);
|
|
46
49
|
rpc UpsertCartItem(UpsertCartItemRequest) returns (GetCartResponse);
|
|
@@ -268,7 +271,8 @@ message GetFamilyRequest {
|
|
|
268
271
|
|
|
269
272
|
message GetFamilyResponse {
|
|
270
273
|
repeated Child children = 1;
|
|
271
|
-
|
|
274
|
+
|
|
275
|
+
optional string expected_delivery_date = 2;
|
|
272
276
|
}
|
|
273
277
|
|
|
274
278
|
message AddChildRequest {
|
|
@@ -305,12 +309,23 @@ message GetPregnancyRequest {
|
|
|
305
309
|
}
|
|
306
310
|
|
|
307
311
|
message GetPregnancyResponse {
|
|
308
|
-
|
|
312
|
+
|
|
313
|
+
optional string expected_delivery_date = 1;
|
|
309
314
|
}
|
|
310
315
|
|
|
311
316
|
message UpdatePregnancyRequest {
|
|
312
317
|
string user_id = 1;
|
|
313
|
-
|
|
318
|
+
|
|
319
|
+
optional string expected_delivery_date = 2;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
message SetPlanfixContactIdRequest {
|
|
323
|
+
string user_id = 1;
|
|
324
|
+
string planfix_contact_id = 2;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
message SetPlanfixContactIdResponse {
|
|
328
|
+
bool ok = 1;
|
|
314
329
|
}
|
|
315
330
|
|
|
316
331
|
|
package/gen/category.ts
CHANGED
|
@@ -45,6 +45,27 @@ export interface GetAllCategoriesResponse {
|
|
|
45
45
|
items: CategoryResponse[];
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
export interface CategoryLight {
|
|
49
|
+
id: string;
|
|
50
|
+
parentId?: string | undefined;
|
|
51
|
+
slug: string;
|
|
52
|
+
image?: string | undefined;
|
|
53
|
+
status: boolean;
|
|
54
|
+
sortOrder: number;
|
|
55
|
+
name: { [key: string]: string };
|
|
56
|
+
imageId?: string | undefined;
|
|
57
|
+
guid1c?: string | undefined;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface CategoryLight_NameEntry {
|
|
61
|
+
key: string;
|
|
62
|
+
value: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface GetAllCategoriesLightResponse {
|
|
66
|
+
items: CategoryLight[];
|
|
67
|
+
}
|
|
68
|
+
|
|
48
69
|
export interface GetCategoryTreeRequest {
|
|
49
70
|
lang: string;
|
|
50
71
|
}
|
|
@@ -237,6 +258,8 @@ export interface CategoryAdminServiceClient {
|
|
|
237
258
|
|
|
238
259
|
getAllCategories(request: GetAllCategoriesRequest): Observable<GetAllCategoriesResponse>;
|
|
239
260
|
|
|
261
|
+
getAllCategoriesLight(request: GetAllCategoriesRequest): Observable<GetAllCategoriesLightResponse>;
|
|
262
|
+
|
|
240
263
|
upsertCategories(request: UpsertCategoriesRequest): Observable<UpsertCategoriesResponse>;
|
|
241
264
|
}
|
|
242
265
|
|
|
@@ -265,6 +288,10 @@ export interface CategoryAdminServiceController {
|
|
|
265
288
|
request: GetAllCategoriesRequest,
|
|
266
289
|
): Promise<GetAllCategoriesResponse> | Observable<GetAllCategoriesResponse> | GetAllCategoriesResponse;
|
|
267
290
|
|
|
291
|
+
getAllCategoriesLight(
|
|
292
|
+
request: GetAllCategoriesRequest,
|
|
293
|
+
): Promise<GetAllCategoriesLightResponse> | Observable<GetAllCategoriesLightResponse> | GetAllCategoriesLightResponse;
|
|
294
|
+
|
|
268
295
|
upsertCategories(
|
|
269
296
|
request: UpsertCategoriesRequest,
|
|
270
297
|
): Promise<UpsertCategoriesResponse> | Observable<UpsertCategoriesResponse> | UpsertCategoriesResponse;
|
|
@@ -280,6 +307,7 @@ export function CategoryAdminServiceControllerMethods() {
|
|
|
280
307
|
"deleteCategory",
|
|
281
308
|
"updateCategoryOrder",
|
|
282
309
|
"getAllCategories",
|
|
310
|
+
"getAllCategoriesLight",
|
|
283
311
|
"upsertCategories",
|
|
284
312
|
];
|
|
285
313
|
for (const method of grpcMethods) {
|
package/gen/pickup.ts
CHANGED
|
@@ -22,11 +22,13 @@ export interface PickupPointResponse {
|
|
|
22
22
|
isActive: boolean;
|
|
23
23
|
code1c?: string | undefined;
|
|
24
24
|
schedule?: string | undefined;
|
|
25
|
+
showOnContacts: boolean;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export interface GetPickupPointsRequest {
|
|
28
29
|
isActive?: boolean | undefined;
|
|
29
30
|
city?: string | undefined;
|
|
31
|
+
showOnContacts?: boolean | undefined;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
export interface GetPickupPointsResponse {
|
|
@@ -47,6 +49,7 @@ export interface CreatePickupPointRequest {
|
|
|
47
49
|
isActive?: boolean | undefined;
|
|
48
50
|
code1c?: string | undefined;
|
|
49
51
|
schedule?: string | undefined;
|
|
52
|
+
showOnContacts?: boolean | undefined;
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
export interface UpdatePickupPointRequest {
|
|
@@ -60,6 +63,7 @@ export interface UpdatePickupPointRequest {
|
|
|
60
63
|
isActive?: boolean | undefined;
|
|
61
64
|
code1c?: string | undefined;
|
|
62
65
|
schedule?: string | undefined;
|
|
66
|
+
showOnContacts?: boolean | undefined;
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
export interface DeletePickupPointRequest {
|
package/gen/users.ts
CHANGED
|
@@ -226,7 +226,7 @@ export interface GetFamilyRequest {
|
|
|
226
226
|
|
|
227
227
|
export interface GetFamilyResponse {
|
|
228
228
|
children: Child[];
|
|
229
|
-
|
|
229
|
+
expectedDeliveryDate?: string | undefined;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
export interface AddChildRequest {
|
|
@@ -262,12 +262,21 @@ export interface GetPregnancyRequest {
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
export interface GetPregnancyResponse {
|
|
265
|
-
|
|
265
|
+
expectedDeliveryDate?: string | undefined;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
export interface UpdatePregnancyRequest {
|
|
269
269
|
userId: string;
|
|
270
|
-
|
|
270
|
+
expectedDeliveryDate?: string | undefined;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export interface SetPlanfixContactIdRequest {
|
|
274
|
+
userId: string;
|
|
275
|
+
planfixContactId: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export interface SetPlanfixContactIdResponse {
|
|
279
|
+
ok: boolean;
|
|
271
280
|
}
|
|
272
281
|
|
|
273
282
|
export interface CartItemVariant {
|
|
@@ -375,6 +384,8 @@ export interface UsersServiceClient {
|
|
|
375
384
|
|
|
376
385
|
updatePregnancy(request: UpdatePregnancyRequest): Observable<GetPregnancyResponse>;
|
|
377
386
|
|
|
387
|
+
setPlanfixContactId(request: SetPlanfixContactIdRequest): Observable<SetPlanfixContactIdResponse>;
|
|
388
|
+
|
|
378
389
|
getCart(request: GetCartRequest): Observable<GetCartResponse>;
|
|
379
390
|
|
|
380
391
|
upsertCartItem(request: UpsertCartItemRequest): Observable<GetCartResponse>;
|
|
@@ -470,6 +481,10 @@ export interface UsersServiceController {
|
|
|
470
481
|
request: UpdatePregnancyRequest,
|
|
471
482
|
): Promise<GetPregnancyResponse> | Observable<GetPregnancyResponse> | GetPregnancyResponse;
|
|
472
483
|
|
|
484
|
+
setPlanfixContactId(
|
|
485
|
+
request: SetPlanfixContactIdRequest,
|
|
486
|
+
): Promise<SetPlanfixContactIdResponse> | Observable<SetPlanfixContactIdResponse> | SetPlanfixContactIdResponse;
|
|
487
|
+
|
|
473
488
|
getCart(request: GetCartRequest): Promise<GetCartResponse> | Observable<GetCartResponse> | GetCartResponse;
|
|
474
489
|
|
|
475
490
|
upsertCartItem(
|
|
@@ -514,6 +529,7 @@ export function UsersServiceControllerMethods() {
|
|
|
514
529
|
"removeChild",
|
|
515
530
|
"getPregnancy",
|
|
516
531
|
"updatePregnancy",
|
|
532
|
+
"setPlanfixContactId",
|
|
517
533
|
"getCart",
|
|
518
534
|
"upsertCartItem",
|
|
519
535
|
"removeCartItem",
|
package/package.json
CHANGED
package/proto/category.proto
CHANGED
|
@@ -24,7 +24,9 @@ service CategoryAdminService {
|
|
|
24
24
|
|
|
25
25
|
rpc GetAllCategories (GetAllCategoriesRequest) returns (GetAllCategoriesResponse);
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
rpc GetAllCategoriesLight (GetAllCategoriesRequest) returns (GetAllCategoriesLightResponse);
|
|
28
|
+
|
|
29
|
+
|
|
28
30
|
rpc UpsertCategories (UpsertCategoriesRequest) returns (UpsertCategoriesResponse);
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -56,6 +58,22 @@ message GetAllCategoriesRequest {}
|
|
|
56
58
|
message GetAllCategoriesResponse {
|
|
57
59
|
repeated CategoryResponse items = 1;
|
|
58
60
|
}
|
|
61
|
+
|
|
62
|
+
message CategoryLight {
|
|
63
|
+
string id = 1;
|
|
64
|
+
optional string parent_id = 2;
|
|
65
|
+
string slug = 3;
|
|
66
|
+
optional string image = 4;
|
|
67
|
+
bool status = 5;
|
|
68
|
+
int32 sort_order = 6;
|
|
69
|
+
map<string, string> name = 7;
|
|
70
|
+
optional string image_id = 8;
|
|
71
|
+
optional string guid_1c = 9;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message GetAllCategoriesLightResponse {
|
|
75
|
+
repeated CategoryLight items = 1;
|
|
76
|
+
}
|
|
59
77
|
message GetCategoryTreeRequest {
|
|
60
78
|
string lang = 1;
|
|
61
79
|
}
|
package/proto/pickup.proto
CHANGED
|
@@ -31,12 +31,14 @@ message PickupPointResponse {
|
|
|
31
31
|
optional double lng = 7;
|
|
32
32
|
bool is_active = 8;
|
|
33
33
|
optional string code_1c = 9;
|
|
34
|
-
optional string schedule = 10;
|
|
34
|
+
optional string schedule = 10;
|
|
35
|
+
bool show_on_contacts = 11;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
message GetPickupPointsRequest {
|
|
38
39
|
optional bool is_active = 1;
|
|
39
40
|
optional string city = 2;
|
|
41
|
+
optional bool show_on_contacts = 3;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
message GetPickupPointsResponse {
|
|
@@ -57,6 +59,7 @@ message CreatePickupPointRequest {
|
|
|
57
59
|
optional bool is_active = 7;
|
|
58
60
|
optional string code_1c = 8;
|
|
59
61
|
optional string schedule = 9;
|
|
62
|
+
optional bool show_on_contacts = 10;
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
message UpdatePickupPointRequest {
|
|
@@ -70,6 +73,7 @@ message UpdatePickupPointRequest {
|
|
|
70
73
|
optional bool is_active = 8;
|
|
71
74
|
optional string code_1c = 9;
|
|
72
75
|
optional string schedule = 10;
|
|
76
|
+
optional bool show_on_contacts = 11;
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
message DeletePickupPointRequest {
|
package/proto/users.proto
CHANGED
|
@@ -41,6 +41,9 @@ service UsersService {
|
|
|
41
41
|
rpc GetPregnancy(GetPregnancyRequest) returns (GetPregnancyResponse);
|
|
42
42
|
rpc UpdatePregnancy(UpdatePregnancyRequest) returns (GetPregnancyResponse);
|
|
43
43
|
|
|
44
|
+
|
|
45
|
+
rpc SetPlanfixContactId(SetPlanfixContactIdRequest) returns (SetPlanfixContactIdResponse);
|
|
46
|
+
|
|
44
47
|
|
|
45
48
|
rpc GetCart(GetCartRequest) returns (GetCartResponse);
|
|
46
49
|
rpc UpsertCartItem(UpsertCartItemRequest) returns (GetCartResponse);
|
|
@@ -268,7 +271,8 @@ message GetFamilyRequest {
|
|
|
268
271
|
|
|
269
272
|
message GetFamilyResponse {
|
|
270
273
|
repeated Child children = 1;
|
|
271
|
-
|
|
274
|
+
|
|
275
|
+
optional string expected_delivery_date = 2;
|
|
272
276
|
}
|
|
273
277
|
|
|
274
278
|
message AddChildRequest {
|
|
@@ -305,12 +309,23 @@ message GetPregnancyRequest {
|
|
|
305
309
|
}
|
|
306
310
|
|
|
307
311
|
message GetPregnancyResponse {
|
|
308
|
-
|
|
312
|
+
|
|
313
|
+
optional string expected_delivery_date = 1;
|
|
309
314
|
}
|
|
310
315
|
|
|
311
316
|
message UpdatePregnancyRequest {
|
|
312
317
|
string user_id = 1;
|
|
313
|
-
|
|
318
|
+
|
|
319
|
+
optional string expected_delivery_date = 2;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
message SetPlanfixContactIdRequest {
|
|
323
|
+
string user_id = 1;
|
|
324
|
+
string planfix_contact_id = 2;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
message SetPlanfixContactIdResponse {
|
|
328
|
+
bool ok = 1;
|
|
314
329
|
}
|
|
315
330
|
|
|
316
331
|
|