@mamindom/contracts 1.0.192 → 1.0.193

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.
@@ -13,11 +13,14 @@ export interface PickupPointResponse {
13
13
  code1c?: string | undefined;
14
14
  schedule?: string | undefined;
15
15
  showOnContacts: boolean;
16
+ isPickup: boolean;
17
+ sortOrder: number;
16
18
  }
17
19
  export interface GetPickupPointsRequest {
18
20
  isActive?: boolean | undefined;
19
21
  city?: string | undefined;
20
22
  showOnContacts?: boolean | undefined;
23
+ isPickup?: boolean | undefined;
21
24
  }
22
25
  export interface GetPickupPointsResponse {
23
26
  items: PickupPointResponse[];
@@ -36,6 +39,8 @@ export interface CreatePickupPointRequest {
36
39
  code1c?: string | undefined;
37
40
  schedule?: string | undefined;
38
41
  showOnContacts?: boolean | undefined;
42
+ isPickup?: boolean | undefined;
43
+ sortOrder?: number | undefined;
39
44
  }
40
45
  export interface UpdatePickupPointRequest {
41
46
  id: string;
@@ -49,6 +54,8 @@ export interface UpdatePickupPointRequest {
49
54
  code1c?: string | undefined;
50
55
  schedule?: string | undefined;
51
56
  showOnContacts?: boolean | undefined;
57
+ isPickup?: boolean | undefined;
58
+ sortOrder?: number | undefined;
52
59
  }
53
60
  export interface DeletePickupPointRequest {
54
61
  id: string;
@@ -27,6 +27,8 @@ export interface SiteSettingsResponse {
27
27
  facebookUrl?: string | undefined;
28
28
  telegramUrl?: string | undefined;
29
29
  updatedAt: string;
30
+ workingHours?: string | undefined;
31
+ workingHoursNote?: string | undefined;
30
32
  }
31
33
  export interface GetSiteSettingsRequest {
32
34
  }
@@ -39,6 +41,8 @@ export interface UpdateSiteSettingsRequest {
39
41
  clearInstagramUrl: boolean;
40
42
  clearFacebookUrl: boolean;
41
43
  clearTelegramUrl: boolean;
44
+ workingHours?: string | undefined;
45
+ workingHoursNote?: string | undefined;
42
46
  }
43
47
  export declare const CONTENT_V1_PACKAGE_NAME = "content.v1";
44
48
  export interface SettingsServiceClient {
@@ -33,12 +33,15 @@ message PickupPointResponse {
33
33
  optional string code1c = 9;
34
34
  optional string schedule = 10;
35
35
  bool show_on_contacts = 11;
36
+ bool is_pickup = 12;
37
+ int32 sort_order = 13;
36
38
  }
37
39
 
38
40
  message GetPickupPointsRequest {
39
41
  optional bool is_active = 1;
40
42
  optional string city = 2;
41
43
  optional bool show_on_contacts = 3;
44
+ optional bool is_pickup = 4;
42
45
  }
43
46
 
44
47
  message GetPickupPointsResponse {
@@ -60,6 +63,8 @@ message CreatePickupPointRequest {
60
63
  optional string code1c = 8;
61
64
  optional string schedule = 9;
62
65
  optional bool show_on_contacts = 10;
66
+ optional bool is_pickup = 11;
67
+ optional int32 sort_order = 12;
63
68
  }
64
69
 
65
70
  message UpdatePickupPointRequest {
@@ -74,6 +79,8 @@ message UpdatePickupPointRequest {
74
79
  optional string code1c = 9;
75
80
  optional string schedule = 10;
76
81
  optional bool show_on_contacts = 11;
82
+ optional bool is_pickup = 12;
83
+ optional int32 sort_order = 13;
77
84
  }
78
85
 
79
86
  message DeletePickupPointRequest {
@@ -39,6 +39,9 @@ message SiteSettingsResponse {
39
39
  optional string telegram_url = 5;
40
40
 
41
41
  string updated_at = 6;
42
+
43
+ optional string working_hours = 7;
44
+ optional string working_hours_note = 8;
42
45
  }
43
46
 
44
47
 
@@ -56,4 +59,7 @@ message UpdateSiteSettingsRequest {
56
59
  bool clear_instagram_url = 6;
57
60
  bool clear_facebook_url = 7;
58
61
  bool clear_telegram_url = 8;
62
+
63
+ optional string working_hours = 9;
64
+ optional string working_hours_note = 10;
59
65
  }
package/gen/pickup.ts CHANGED
@@ -23,12 +23,15 @@ export interface PickupPointResponse {
23
23
  code1c?: string | undefined;
24
24
  schedule?: string | undefined;
25
25
  showOnContacts: boolean;
26
+ isPickup: boolean;
27
+ sortOrder: number;
26
28
  }
27
29
 
28
30
  export interface GetPickupPointsRequest {
29
31
  isActive?: boolean | undefined;
30
32
  city?: string | undefined;
31
33
  showOnContacts?: boolean | undefined;
34
+ isPickup?: boolean | undefined;
32
35
  }
33
36
 
34
37
  export interface GetPickupPointsResponse {
@@ -50,6 +53,8 @@ export interface CreatePickupPointRequest {
50
53
  code1c?: string | undefined;
51
54
  schedule?: string | undefined;
52
55
  showOnContacts?: boolean | undefined;
56
+ isPickup?: boolean | undefined;
57
+ sortOrder?: number | undefined;
53
58
  }
54
59
 
55
60
  export interface UpdatePickupPointRequest {
@@ -64,6 +69,8 @@ export interface UpdatePickupPointRequest {
64
69
  code1c?: string | undefined;
65
70
  schedule?: string | undefined;
66
71
  showOnContacts?: boolean | undefined;
72
+ isPickup?: boolean | undefined;
73
+ sortOrder?: number | undefined;
67
74
  }
68
75
 
69
76
  export interface DeletePickupPointRequest {
@@ -40,6 +40,8 @@ export interface SiteSettingsResponse {
40
40
  facebookUrl?: string | undefined;
41
41
  telegramUrl?: string | undefined;
42
42
  updatedAt: string;
43
+ workingHours?: string | undefined;
44
+ workingHoursNote?: string | undefined;
43
45
  }
44
46
 
45
47
  export interface GetSiteSettingsRequest {
@@ -54,6 +56,8 @@ export interface UpdateSiteSettingsRequest {
54
56
  clearInstagramUrl: boolean;
55
57
  clearFacebookUrl: boolean;
56
58
  clearTelegramUrl: boolean;
59
+ workingHours?: string | undefined;
60
+ workingHoursNote?: string | undefined;
57
61
  }
58
62
 
59
63
  export const CONTENT_V1_PACKAGE_NAME = "content.v1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.192",
4
+ "version": "1.0.193",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -33,12 +33,15 @@ message PickupPointResponse {
33
33
  optional string code1c = 9;
34
34
  optional string schedule = 10;
35
35
  bool show_on_contacts = 11;
36
+ bool is_pickup = 12;
37
+ int32 sort_order = 13;
36
38
  }
37
39
 
38
40
  message GetPickupPointsRequest {
39
41
  optional bool is_active = 1;
40
42
  optional string city = 2;
41
43
  optional bool show_on_contacts = 3;
44
+ optional bool is_pickup = 4;
42
45
  }
43
46
 
44
47
  message GetPickupPointsResponse {
@@ -60,6 +63,8 @@ message CreatePickupPointRequest {
60
63
  optional string code1c = 8;
61
64
  optional string schedule = 9;
62
65
  optional bool show_on_contacts = 10;
66
+ optional bool is_pickup = 11;
67
+ optional int32 sort_order = 12;
63
68
  }
64
69
 
65
70
  message UpdatePickupPointRequest {
@@ -74,6 +79,8 @@ message UpdatePickupPointRequest {
74
79
  optional string code1c = 9;
75
80
  optional string schedule = 10;
76
81
  optional bool show_on_contacts = 11;
82
+ optional bool is_pickup = 12;
83
+ optional int32 sort_order = 13;
77
84
  }
78
85
 
79
86
  message DeletePickupPointRequest {
@@ -39,6 +39,9 @@ message SiteSettingsResponse {
39
39
  optional string telegram_url = 5;
40
40
 
41
41
  string updated_at = 6;
42
+
43
+ optional string working_hours = 7;
44
+ optional string working_hours_note = 8;
42
45
  }
43
46
 
44
47
 
@@ -56,4 +59,7 @@ message UpdateSiteSettingsRequest {
56
59
  bool clear_instagram_url = 6;
57
60
  bool clear_facebook_url = 7;
58
61
  bool clear_telegram_url = 8;
62
+
63
+ optional string working_hours = 9;
64
+ optional string working_hours_note = 10;
59
65
  }