sdk-sapi-promarketing 0.0.25 → 0.0.27

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.
package/dist/index.d.mts CHANGED
@@ -232,6 +232,8 @@ interface GameCategoryType {
232
232
  name: string;
233
233
  /** Description of category. */
234
234
  description?: string;
235
+ /** List of themes. */
236
+ themes?: string[];
235
237
  }
236
238
 
237
239
  interface GameType {
@@ -1076,7 +1078,7 @@ interface PlayerBonusActivateType extends CommonMessageType, GenericResponseRequ
1076
1078
  }
1077
1079
  interface PlayerBonusPromotionActivateDataType {
1078
1080
  /** Represents type of promotion. */
1079
- promotion_type: PromotionTypeEnum;
1081
+ promotion_id: number;
1080
1082
  }
1081
1083
  interface PlayerBonusPromotionActivateDataItemType {
1082
1084
  /** Represents promotion_id of promotion. */
@@ -3290,6 +3292,13 @@ declare class GameService extends RequestBase {
3290
3292
  * @returns These returns values unknown.
3291
3293
  */
3292
3294
  getGameCategories: (options?: {}) => Promise<GameCategoryType[]>;
3295
+ /**
3296
+ * Get game categories.
3297
+ *
3298
+ * @param options Represent value options.
3299
+ * @returns These returns values unknown.
3300
+ */
3301
+ getGameCategoriesByThemes: (options?: {}) => Promise<GameCategoryType[]>;
3293
3302
  /**
3294
3303
  * Get game by lobby code.
3295
3304
  *
package/dist/index.d.ts CHANGED
@@ -232,6 +232,8 @@ interface GameCategoryType {
232
232
  name: string;
233
233
  /** Description of category. */
234
234
  description?: string;
235
+ /** List of themes. */
236
+ themes?: string[];
235
237
  }
236
238
 
237
239
  interface GameType {
@@ -1076,7 +1078,7 @@ interface PlayerBonusActivateType extends CommonMessageType, GenericResponseRequ
1076
1078
  }
1077
1079
  interface PlayerBonusPromotionActivateDataType {
1078
1080
  /** Represents type of promotion. */
1079
- promotion_type: PromotionTypeEnum;
1081
+ promotion_id: number;
1080
1082
  }
1081
1083
  interface PlayerBonusPromotionActivateDataItemType {
1082
1084
  /** Represents promotion_id of promotion. */
@@ -3290,6 +3292,13 @@ declare class GameService extends RequestBase {
3290
3292
  * @returns These returns values unknown.
3291
3293
  */
3292
3294
  getGameCategories: (options?: {}) => Promise<GameCategoryType[]>;
3295
+ /**
3296
+ * Get game categories.
3297
+ *
3298
+ * @param options Represent value options.
3299
+ * @returns These returns values unknown.
3300
+ */
3301
+ getGameCategoriesByThemes: (options?: {}) => Promise<GameCategoryType[]>;
3293
3302
  /**
3294
3303
  * Get game by lobby code.
3295
3304
  *
package/dist/index.js CHANGED
@@ -340,6 +340,16 @@ var GameService = class extends RequestBase {
340
340
  * @returns These returns values unknown.
341
341
  */
342
342
  getGameCategories = async (options = {}) => this.getBase(`/categories`, options, true);
343
+ /**
344
+ * Get game categories.
345
+ *
346
+ * @param options Represent value options.
347
+ * @returns These returns values unknown.
348
+ */
349
+ getGameCategoriesByThemes = async (options = {}) => this.getBase(
350
+ `/skin/${this.context.skin}/category/themes`,
351
+ options
352
+ );
343
353
  /**
344
354
  * Get game by lobby code.
345
355
  *