@mamindom/contracts 1.0.220 → 1.0.222

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.
@@ -127,6 +127,11 @@ export interface PromotionResponse {
127
127
  planfixId?: string | undefined;
128
128
  /** Ярлик (стікер каталогу), який показується на товарах акції, поки вона діє. */
129
129
  stickerId?: string | undefined;
130
+ /**
131
+ * Показувати ярлик акції на товарах. Вимкнено — ярлик лишається прив'язаним
132
+ * до акції, але на вітрині не показується. Відсутнє — показувати.
133
+ */
134
+ showSticker?: boolean | undefined;
130
135
  }
131
136
  export interface PromotionResponse_NameEntry {
132
137
  key: string;
@@ -240,6 +245,8 @@ export interface CreatePromotionRequest {
240
245
  source?: string | undefined;
241
246
  planfixId?: string | undefined;
242
247
  stickerId?: string | undefined;
248
+ /** Відсутнє — показувати. */
249
+ showSticker?: boolean | undefined;
243
250
  }
244
251
  export interface CreatePromotionRequest_NameEntry {
245
252
  key: string;
@@ -297,6 +304,8 @@ export interface UpdatePromotionRequest {
297
304
  replaceExclusions?: boolean | undefined;
298
305
  /** Відсутнє — без змін; "" — прибрати ярлик акції. */
299
306
  stickerId?: string | undefined;
307
+ /** Відсутнє — без змін. */
308
+ showSticker?: boolean | undefined;
300
309
  }
301
310
  export interface UpdatePromotionRequest_NameEntry {
302
311
  key: string;
@@ -30,6 +30,11 @@ export interface SiteSettingsResponse {
30
30
  workingHours?: string | undefined;
31
31
  workingHoursNote?: string | undefined;
32
32
  sizeCategorySlugs?: string | undefined;
33
+ /**
34
+ * Показувати короткий опис на картці товару (видимий блок; для SEO короткий
35
+ * опис використовується завжди). Відсутнє — показувати.
36
+ */
37
+ showShortDescription?: boolean | undefined;
33
38
  }
34
39
  export interface GetSiteSettingsRequest {
35
40
  }
@@ -45,6 +50,8 @@ export interface UpdateSiteSettingsRequest {
45
50
  workingHours?: string | undefined;
46
51
  workingHoursNote?: string | undefined;
47
52
  sizeCategorySlugs?: string | undefined;
53
+ /** Відсутнє — без змін. */
54
+ showShortDescription?: boolean | undefined;
48
55
  }
49
56
  export declare const CONTENT_V1_PACKAGE_NAME = "content.v1";
50
57
  export interface SettingsServiceClient {
@@ -177,6 +177,9 @@ message PromotionResponse {
177
177
  optional string planfix_id = 38;
178
178
  // Ярлик (стікер каталогу), який показується на товарах акції, поки вона діє.
179
179
  optional string sticker_id = 39;
180
+ // Показувати ярлик акції на товарах. Вимкнено — ярлик лишається прив'язаним
181
+ // до акції, але на вітрині не показується. Відсутнє — показувати.
182
+ optional bool show_sticker = 40;
180
183
  }
181
184
 
182
185
 
@@ -277,6 +280,8 @@ message CreatePromotionRequest {
277
280
  optional string source = 28;
278
281
  optional string planfix_id = 29;
279
282
  optional string sticker_id = 30;
283
+ // Відсутнє — показувати.
284
+ optional bool show_sticker = 31;
280
285
  }
281
286
 
282
287
  message UpdatePromotionRequest {
@@ -322,6 +327,8 @@ message UpdatePromotionRequest {
322
327
  optional bool replace_exclusions = 29;
323
328
  // Відсутнє — без змін; "" — прибрати ярлик акції.
324
329
  optional string sticker_id = 30;
330
+ // Відсутнє — без змін.
331
+ optional bool show_sticker = 31;
325
332
  }
326
333
 
327
334
  message DeletePromotionRequest {
@@ -44,6 +44,10 @@ message SiteSettingsResponse {
44
44
  optional string working_hours_note = 8;
45
45
 
46
46
  optional string size_category_slugs = 9;
47
+
48
+ // Показувати короткий опис на картці товару (видимий блок; для SEO короткий
49
+ // опис використовується завжди). Відсутнє — показувати.
50
+ optional bool show_short_description = 10;
47
51
  }
48
52
 
49
53
 
@@ -66,4 +70,7 @@ message UpdateSiteSettingsRequest {
66
70
  optional string working_hours_note = 10;
67
71
 
68
72
  optional string size_category_slugs = 11;
73
+
74
+ // Відсутнє — без змін.
75
+ optional bool show_short_description = 12;
69
76
  }
package/gen/promotion.ts CHANGED
@@ -140,7 +140,14 @@ export interface PromotionResponse {
140
140
  | string
141
141
  | undefined;
142
142
  /** Ярлик (стікер каталогу), який показується на товарах акції, поки вона діє. */
143
- stickerId?: string | undefined;
143
+ stickerId?:
144
+ | string
145
+ | undefined;
146
+ /**
147
+ * Показувати ярлик акції на товарах. Вимкнено — ярлик лишається прив'язаним
148
+ * до акції, але на вітрині не показується. Відсутнє — показувати.
149
+ */
150
+ showSticker?: boolean | undefined;
144
151
  }
145
152
 
146
153
  export interface PromotionResponse_NameEntry {
@@ -257,7 +264,11 @@ export interface CreatePromotionRequest {
257
264
  bundleSize?: number | undefined;
258
265
  source?: string | undefined;
259
266
  planfixId?: string | undefined;
260
- stickerId?: string | undefined;
267
+ stickerId?:
268
+ | string
269
+ | undefined;
270
+ /** Відсутнє — показувати. */
271
+ showSticker?: boolean | undefined;
261
272
  }
262
273
 
263
274
  export interface CreatePromotionRequest_NameEntry {
@@ -313,7 +324,11 @@ export interface UpdatePromotionRequest {
313
324
  | boolean
314
325
  | undefined;
315
326
  /** Відсутнє — без змін; "" — прибрати ярлик акції. */
316
- stickerId?: string | undefined;
327
+ stickerId?:
328
+ | string
329
+ | undefined;
330
+ /** Відсутнє — без змін. */
331
+ showSticker?: boolean | undefined;
317
332
  }
318
333
 
319
334
  export interface UpdatePromotionRequest_NameEntry {
@@ -42,7 +42,14 @@ export interface SiteSettingsResponse {
42
42
  updatedAt: string;
43
43
  workingHours?: string | undefined;
44
44
  workingHoursNote?: string | undefined;
45
- sizeCategorySlugs?: string | undefined;
45
+ sizeCategorySlugs?:
46
+ | string
47
+ | undefined;
48
+ /**
49
+ * Показувати короткий опис на картці товару (видимий блок; для SEO короткий
50
+ * опис використовується завжди). Відсутнє — показувати.
51
+ */
52
+ showShortDescription?: boolean | undefined;
46
53
  }
47
54
 
48
55
  export interface GetSiteSettingsRequest {
@@ -59,7 +66,11 @@ export interface UpdateSiteSettingsRequest {
59
66
  clearTelegramUrl: boolean;
60
67
  workingHours?: string | undefined;
61
68
  workingHoursNote?: string | undefined;
62
- sizeCategorySlugs?: string | undefined;
69
+ sizeCategorySlugs?:
70
+ | string
71
+ | undefined;
72
+ /** Відсутнє — без змін. */
73
+ showShortDescription?: boolean | undefined;
63
74
  }
64
75
 
65
76
  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.220",
4
+ "version": "1.0.222",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -177,6 +177,9 @@ message PromotionResponse {
177
177
  optional string planfix_id = 38;
178
178
  // Ярлик (стікер каталогу), який показується на товарах акції, поки вона діє.
179
179
  optional string sticker_id = 39;
180
+ // Показувати ярлик акції на товарах. Вимкнено — ярлик лишається прив'язаним
181
+ // до акції, але на вітрині не показується. Відсутнє — показувати.
182
+ optional bool show_sticker = 40;
180
183
  }
181
184
 
182
185
 
@@ -277,6 +280,8 @@ message CreatePromotionRequest {
277
280
  optional string source = 28;
278
281
  optional string planfix_id = 29;
279
282
  optional string sticker_id = 30;
283
+ // Відсутнє — показувати.
284
+ optional bool show_sticker = 31;
280
285
  }
281
286
 
282
287
  message UpdatePromotionRequest {
@@ -322,6 +327,8 @@ message UpdatePromotionRequest {
322
327
  optional bool replace_exclusions = 29;
323
328
  // Відсутнє — без змін; "" — прибрати ярлик акції.
324
329
  optional string sticker_id = 30;
330
+ // Відсутнє — без змін.
331
+ optional bool show_sticker = 31;
325
332
  }
326
333
 
327
334
  message DeletePromotionRequest {
@@ -44,6 +44,10 @@ message SiteSettingsResponse {
44
44
  optional string working_hours_note = 8;
45
45
 
46
46
  optional string size_category_slugs = 9;
47
+
48
+ // Показувати короткий опис на картці товару (видимий блок; для SEO короткий
49
+ // опис використовується завжди). Відсутнє — показувати.
50
+ optional bool show_short_description = 10;
47
51
  }
48
52
 
49
53
 
@@ -66,4 +70,7 @@ message UpdateSiteSettingsRequest {
66
70
  optional string working_hours_note = 10;
67
71
 
68
72
  optional string size_category_slugs = 11;
73
+
74
+ // Відсутнє — без змін.
75
+ optional bool show_short_description = 12;
69
76
  }