@mamindom/contracts 1.0.104 → 1.0.106

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.
@@ -215,6 +215,7 @@ export interface ApplyBundleRulesRequest {
215
215
  export interface GetBundlesByProductRequest {
216
216
  productId: string;
217
217
  status?: BundleStatus | undefined;
218
+ placement?: string | undefined;
218
219
  }
219
220
  export interface BulkUpdateBundleStatusRequest {
220
221
  bundleIds: string[];
@@ -11,6 +11,8 @@ export interface PickupPointResponse {
11
11
  lng?: number | undefined;
12
12
  isActive: boolean;
13
13
  code1c?: string | undefined;
14
+ /** JSON-encoded WeekSchedule */
15
+ schedule?: string | undefined;
14
16
  }
15
17
  export interface GetPickupPointsRequest {
16
18
  isActive?: boolean | undefined;
@@ -31,6 +33,7 @@ export interface CreatePickupPointRequest {
31
33
  lng?: number | undefined;
32
34
  isActive?: boolean | undefined;
33
35
  code1c?: string | undefined;
36
+ schedule?: string | undefined;
34
37
  }
35
38
  export interface UpdatePickupPointRequest {
36
39
  id: string;
@@ -42,6 +45,7 @@ export interface UpdatePickupPointRequest {
42
45
  lng?: number | undefined;
43
46
  isActive?: boolean | undefined;
44
47
  code1c?: string | undefined;
48
+ schedule?: string | undefined;
45
49
  }
46
50
  export interface DeletePickupPointRequest {
47
51
  id: string;
@@ -220,6 +220,7 @@ message ApplyBundleRulesRequest {
220
220
  message GetBundlesByProductRequest {
221
221
  string product_id = 1;
222
222
  optional BundleStatus status = 2;
223
+ optional string placement = 3;
223
224
  }
224
225
 
225
226
  message BulkUpdateBundleStatusRequest {
@@ -32,6 +32,7 @@ message PickupPointResponse {
32
32
  optional double lng = 7;
33
33
  bool is_active = 8;
34
34
  optional string code_1c = 9;
35
+ optional string schedule = 10; // JSON-encoded WeekSchedule
35
36
  }
36
37
 
37
38
  message GetPickupPointsRequest {
@@ -56,6 +57,7 @@ message CreatePickupPointRequest {
56
57
  optional double lng = 6;
57
58
  optional bool is_active = 7;
58
59
  optional string code_1c = 8;
60
+ optional string schedule = 9;
59
61
  }
60
62
 
61
63
  message UpdatePickupPointRequest {
@@ -68,6 +70,7 @@ message UpdatePickupPointRequest {
68
70
  optional double lng = 7;
69
71
  optional bool is_active = 8;
70
72
  optional string code_1c = 9;
73
+ optional string schedule = 10;
71
74
  }
72
75
 
73
76
  message DeletePickupPointRequest {
package/gen/bundle.ts CHANGED
@@ -235,6 +235,7 @@ export interface ApplyBundleRulesRequest {
235
235
  export interface GetBundlesByProductRequest {
236
236
  productId: string;
237
237
  status?: BundleStatus | undefined;
238
+ placement?: string | undefined;
238
239
  }
239
240
 
240
241
  export interface BulkUpdateBundleStatusRequest {
package/gen/pickup.ts CHANGED
@@ -20,7 +20,11 @@ export interface PickupPointResponse {
20
20
  lat?: number | undefined;
21
21
  lng?: number | undefined;
22
22
  isActive: boolean;
23
- code1c?: string | undefined;
23
+ code1c?:
24
+ | string
25
+ | undefined;
26
+ /** JSON-encoded WeekSchedule */
27
+ schedule?: string | undefined;
24
28
  }
25
29
 
26
30
  export interface GetPickupPointsRequest {
@@ -45,6 +49,7 @@ export interface CreatePickupPointRequest {
45
49
  lng?: number | undefined;
46
50
  isActive?: boolean | undefined;
47
51
  code1c?: string | undefined;
52
+ schedule?: string | undefined;
48
53
  }
49
54
 
50
55
  export interface UpdatePickupPointRequest {
@@ -57,6 +62,7 @@ export interface UpdatePickupPointRequest {
57
62
  lng?: number | undefined;
58
63
  isActive?: boolean | undefined;
59
64
  code1c?: string | undefined;
65
+ schedule?: string | undefined;
60
66
  }
61
67
 
62
68
  export interface DeletePickupPointRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.104",
4
+ "version": "1.0.106",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -220,6 +220,7 @@ message ApplyBundleRulesRequest {
220
220
  message GetBundlesByProductRequest {
221
221
  string product_id = 1;
222
222
  optional BundleStatus status = 2;
223
+ optional string placement = 3;
223
224
  }
224
225
 
225
226
  message BulkUpdateBundleStatusRequest {
@@ -32,6 +32,7 @@ message PickupPointResponse {
32
32
  optional double lng = 7;
33
33
  bool is_active = 8;
34
34
  optional string code_1c = 9;
35
+ optional string schedule = 10; // JSON-encoded WeekSchedule
35
36
  }
36
37
 
37
38
  message GetPickupPointsRequest {
@@ -56,6 +57,7 @@ message CreatePickupPointRequest {
56
57
  optional double lng = 6;
57
58
  optional bool is_active = 7;
58
59
  optional string code_1c = 8;
60
+ optional string schedule = 9;
59
61
  }
60
62
 
61
63
  message UpdatePickupPointRequest {
@@ -68,6 +70,7 @@ message UpdatePickupPointRequest {
68
70
  optional double lng = 7;
69
71
  optional bool is_active = 8;
70
72
  optional string code_1c = 9;
73
+ optional string schedule = 10;
71
74
  }
72
75
 
73
76
  message DeletePickupPointRequest {