sdk-sapi-promarketing 0.0.26 → 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 +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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 {
|
|
@@ -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 {
|
|
@@ -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
|
*
|