@smartico/public-api 0.0.250 → 0.0.251

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.
@@ -263,6 +263,11 @@ export interface StoreItemPublicMeta {
263
263
  priority: number;
264
264
  related_items: number[];
265
265
  hint_text: string;
266
+ show_timer?: boolean;
267
+ cant_buy_message?: string;
268
+ discount_prize?: number;
269
+ discount_prize_ribbon?: string;
270
+ custom_ribbon_image?: string;
266
271
  }
267
272
  declare enum StoreItemType {
268
273
  Bonus = 1,
@@ -275,6 +280,7 @@ export interface StoreItem {
275
280
  categoryIds?: number[];
276
281
  canBuy?: boolean;
277
282
  shopPool: number;
283
+ activeTillDate?: number;
278
284
  }
279
285
  export interface GetStoreItemsResponse extends ProtocolResponse {
280
286
  items: StoreItem[];
@@ -12,9 +12,9 @@ export interface StoreItemPublicMeta {
12
12
  related_items: number[];
13
13
  hint_text: string;
14
14
  custom_data: string;
15
- show_timer: boolean;
16
- cant_buy_message: string;
17
- discount_prize: number;
18
- discount_prize_ribbon: string;
19
- custom_ribbon_image: string;
15
+ show_timer?: boolean;
16
+ cant_buy_message?: string;
17
+ discount_prize?: number;
18
+ discount_prize_ribbon?: string;
19
+ custom_ribbon_image?: string;
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.250",
3
+ "version": "0.0.251",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -265,6 +265,11 @@ export interface StoreItemPublicMeta {
265
265
  priority: number;
266
266
  related_items: number[];
267
267
  hint_text: string;
268
+ show_timer?: boolean;
269
+ cant_buy_message?: string;
270
+ discount_prize?: number;
271
+ discount_prize_ribbon?: string;
272
+ custom_ribbon_image?: string;
268
273
  }
269
274
  declare enum StoreItemType {
270
275
  Bonus = 1,
@@ -277,6 +282,7 @@ export interface StoreItem {
277
282
  categoryIds?: number[];
278
283
  canBuy?: boolean;
279
284
  shopPool: number;
285
+ activeTillDate?: number;
280
286
  }
281
287
  export interface GetStoreItemsResponse extends ProtocolResponse {
282
288
  items: StoreItem[];
@@ -13,9 +13,9 @@ export interface StoreItemPublicMeta {
13
13
  related_items: number[];
14
14
  hint_text: string;
15
15
  custom_data: string;
16
- show_timer: boolean;
17
- cant_buy_message: string;
18
- discount_prize: number;
19
- discount_prize_ribbon: string;
20
- custom_ribbon_image: string;
16
+ show_timer?: boolean;
17
+ cant_buy_message?: string;
18
+ discount_prize?: number;
19
+ discount_prize_ribbon?: string;
20
+ custom_ribbon_image?: string;
21
21
  }