@mamindom/contracts 1.0.106 → 1.0.108

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.
@@ -7,8 +7,9 @@ export declare enum BannerPlacement {
7
7
  BANNER_PLACEMENT_HOME_SECONDARY = 2,
8
8
  BANNER_PLACEMENT_CATEGORY_TOP = 3,
9
9
  BANNER_PLACEMENT_PROMO = 4,
10
- BANNER_PLACEMENT_SIDEBAR = 5,
11
- BANNER_PLACEMENT_CUSTOM = 6,
10
+ BANNER_PLACEMENT_PRODUCT_PAGE = 5,
11
+ BANNER_PLACEMENT_PROMO_PAGE = 6,
12
+ BANNER_PLACEMENT_ABOUT_PAGE = 7,
12
13
  UNRECOGNIZED = -1
13
14
  }
14
15
  export interface BannerListItemResponse {
@@ -273,6 +274,9 @@ export interface BannerSlideButton {
273
274
  fontSizeMobile?: string | undefined;
274
275
  paddingXMobile?: string | undefined;
275
276
  paddingYMobile?: string | undefined;
277
+ categoryId?: string | undefined;
278
+ textAlign?: string | undefined;
279
+ textAlignMobile?: string | undefined;
276
280
  }
277
281
  export interface BannerSlideButton_TextEntry {
278
282
  key: string;
@@ -303,6 +307,8 @@ export interface PublicBannerSlideButton {
303
307
  fontSizeMobile?: string | undefined;
304
308
  paddingXMobile?: string | undefined;
305
309
  paddingYMobile?: string | undefined;
310
+ textAlign?: string | undefined;
311
+ textAlignMobile?: string | undefined;
306
312
  }
307
313
  export interface PublicBannerSlideLink {
308
314
  text: string;
@@ -17,8 +17,9 @@ var BannerPlacement;
17
17
  BannerPlacement[BannerPlacement["BANNER_PLACEMENT_HOME_SECONDARY"] = 2] = "BANNER_PLACEMENT_HOME_SECONDARY";
18
18
  BannerPlacement[BannerPlacement["BANNER_PLACEMENT_CATEGORY_TOP"] = 3] = "BANNER_PLACEMENT_CATEGORY_TOP";
19
19
  BannerPlacement[BannerPlacement["BANNER_PLACEMENT_PROMO"] = 4] = "BANNER_PLACEMENT_PROMO";
20
- BannerPlacement[BannerPlacement["BANNER_PLACEMENT_SIDEBAR"] = 5] = "BANNER_PLACEMENT_SIDEBAR";
21
- BannerPlacement[BannerPlacement["BANNER_PLACEMENT_CUSTOM"] = 6] = "BANNER_PLACEMENT_CUSTOM";
20
+ BannerPlacement[BannerPlacement["BANNER_PLACEMENT_PRODUCT_PAGE"] = 5] = "BANNER_PLACEMENT_PRODUCT_PAGE";
21
+ BannerPlacement[BannerPlacement["BANNER_PLACEMENT_PROMO_PAGE"] = 6] = "BANNER_PLACEMENT_PROMO_PAGE";
22
+ BannerPlacement[BannerPlacement["BANNER_PLACEMENT_ABOUT_PAGE"] = 7] = "BANNER_PLACEMENT_ABOUT_PAGE";
22
23
  BannerPlacement[BannerPlacement["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
23
24
  })(BannerPlacement || (exports.BannerPlacement = BannerPlacement = {}));
24
25
  exports.CONTENT_V1_PACKAGE_NAME = "content.v1";
@@ -28,8 +28,9 @@ enum BannerPlacement {
28
28
  BANNER_PLACEMENT_HOME_SECONDARY = 2;
29
29
  BANNER_PLACEMENT_CATEGORY_TOP = 3;
30
30
  BANNER_PLACEMENT_PROMO = 4;
31
- BANNER_PLACEMENT_SIDEBAR = 5;
32
- BANNER_PLACEMENT_CUSTOM = 6;
31
+ BANNER_PLACEMENT_PRODUCT_PAGE = 5;
32
+ BANNER_PLACEMENT_PROMO_PAGE = 6;
33
+ BANNER_PLACEMENT_ABOUT_PAGE = 7;
33
34
  }
34
35
 
35
36
 
@@ -257,6 +258,9 @@ message BannerSlideButton {
257
258
  optional string font_size_mobile = 11;
258
259
  optional string padding_x_mobile = 12;
259
260
  optional string padding_y_mobile = 13;
261
+ optional string category_id = 14;
262
+ optional string text_align = 15;
263
+ optional string text_align_mobile = 16;
260
264
  }
261
265
 
262
266
  message BannerSlideLink {
@@ -279,6 +283,8 @@ message PublicBannerSlideButton {
279
283
  optional string font_size_mobile = 11;
280
284
  optional string padding_x_mobile = 12;
281
285
  optional string padding_y_mobile = 13;
286
+ optional string text_align = 14;
287
+ optional string text_align_mobile = 15;
282
288
  }
283
289
 
284
290
  message PublicBannerSlideLink {
package/gen/banner.ts CHANGED
@@ -17,8 +17,9 @@ export enum BannerPlacement {
17
17
  BANNER_PLACEMENT_HOME_SECONDARY = 2,
18
18
  BANNER_PLACEMENT_CATEGORY_TOP = 3,
19
19
  BANNER_PLACEMENT_PROMO = 4,
20
- BANNER_PLACEMENT_SIDEBAR = 5,
21
- BANNER_PLACEMENT_CUSTOM = 6,
20
+ BANNER_PLACEMENT_PRODUCT_PAGE = 5,
21
+ BANNER_PLACEMENT_PROMO_PAGE = 6,
22
+ BANNER_PLACEMENT_ABOUT_PAGE = 7,
22
23
  UNRECOGNIZED = -1,
23
24
  }
24
25
 
@@ -290,6 +291,9 @@ export interface BannerSlideButton {
290
291
  fontSizeMobile?: string | undefined;
291
292
  paddingXMobile?: string | undefined;
292
293
  paddingYMobile?: string | undefined;
294
+ categoryId?: string | undefined;
295
+ textAlign?: string | undefined;
296
+ textAlignMobile?: string | undefined;
293
297
  }
294
298
 
295
299
  export interface BannerSlideButton_TextEntry {
@@ -322,6 +326,8 @@ export interface PublicBannerSlideButton {
322
326
  fontSizeMobile?: string | undefined;
323
327
  paddingXMobile?: string | undefined;
324
328
  paddingYMobile?: string | undefined;
329
+ textAlign?: string | undefined;
330
+ textAlignMobile?: string | undefined;
325
331
  }
326
332
 
327
333
  export interface PublicBannerSlideLink {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.106",
4
+ "version": "1.0.108",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -28,8 +28,9 @@ enum BannerPlacement {
28
28
  BANNER_PLACEMENT_HOME_SECONDARY = 2;
29
29
  BANNER_PLACEMENT_CATEGORY_TOP = 3;
30
30
  BANNER_PLACEMENT_PROMO = 4;
31
- BANNER_PLACEMENT_SIDEBAR = 5;
32
- BANNER_PLACEMENT_CUSTOM = 6;
31
+ BANNER_PLACEMENT_PRODUCT_PAGE = 5;
32
+ BANNER_PLACEMENT_PROMO_PAGE = 6;
33
+ BANNER_PLACEMENT_ABOUT_PAGE = 7;
33
34
  }
34
35
 
35
36
 
@@ -257,6 +258,9 @@ message BannerSlideButton {
257
258
  optional string font_size_mobile = 11;
258
259
  optional string padding_x_mobile = 12;
259
260
  optional string padding_y_mobile = 13;
261
+ optional string category_id = 14;
262
+ optional string text_align = 15;
263
+ optional string text_align_mobile = 16;
260
264
  }
261
265
 
262
266
  message BannerSlideLink {
@@ -279,6 +283,8 @@ message PublicBannerSlideButton {
279
283
  optional string font_size_mobile = 11;
280
284
  optional string padding_x_mobile = 12;
281
285
  optional string padding_y_mobile = 13;
286
+ optional string text_align = 14;
287
+ optional string text_align_mobile = 15;
282
288
  }
283
289
 
284
290
  message PublicBannerSlideLink {