@gambulls-org/gambulls-apis 3.0.623 → 3.0.625

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.
@@ -12,6 +12,7 @@ apis/AdminFileManagementApi.ts
12
12
  apis/AdminGamesApi.ts
13
13
  apis/AdminGroupApi.ts
14
14
  apis/AdminIBankRollApi.ts
15
+ apis/AdminJackpotApi.ts
15
16
  apis/AdminLeaderboardApi.ts
16
17
  apis/AdminLoyaltyApi.ts
17
18
  apis/AdminManagementApi.ts
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.AdminJackpotApi = void 0;
49
+ const runtime = __importStar(require("../runtime"));
50
+ const index_1 = require("../models/index");
51
+ /**
52
+ *
53
+ */
54
+ class AdminJackpotApi extends runtime.BaseAPI {
55
+ /**
56
+ * Jackpot - List Currencies
57
+ */
58
+ apiAdminJackpotCurrenciesGetRaw(initOverrides) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ const queryParameters = {};
61
+ const headerParameters = {};
62
+ if (this.configuration && this.configuration.apiKey) {
63
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
64
+ }
65
+ if (this.configuration && this.configuration.accessToken) {
66
+ const token = this.configuration.accessToken;
67
+ const tokenString = yield token("BearerAuth", []);
68
+ if (tokenString) {
69
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
70
+ }
71
+ }
72
+ const response = yield this.request({
73
+ path: `/api/admin/jackpot/currencies`,
74
+ method: 'GET',
75
+ headers: headerParameters,
76
+ query: queryParameters,
77
+ }, initOverrides);
78
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
79
+ });
80
+ }
81
+ /**
82
+ * Jackpot - List Currencies
83
+ */
84
+ apiAdminJackpotCurrenciesGet(initOverrides) {
85
+ return __awaiter(this, void 0, void 0, function* () {
86
+ const response = yield this.apiAdminJackpotCurrenciesGetRaw(initOverrides);
87
+ return yield response.value();
88
+ });
89
+ }
90
+ /**
91
+ * Jackpot - List Games
92
+ */
93
+ apiAdminJackpotGamesGetRaw(initOverrides) {
94
+ return __awaiter(this, void 0, void 0, function* () {
95
+ const queryParameters = {};
96
+ const headerParameters = {};
97
+ if (this.configuration && this.configuration.apiKey) {
98
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
99
+ }
100
+ if (this.configuration && this.configuration.accessToken) {
101
+ const token = this.configuration.accessToken;
102
+ const tokenString = yield token("BearerAuth", []);
103
+ if (tokenString) {
104
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
105
+ }
106
+ }
107
+ const response = yield this.request({
108
+ path: `/api/admin/jackpot/games`,
109
+ method: 'GET',
110
+ headers: headerParameters,
111
+ query: queryParameters,
112
+ }, initOverrides);
113
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
114
+ });
115
+ }
116
+ /**
117
+ * Jackpot - List Games
118
+ */
119
+ apiAdminJackpotGamesGet(initOverrides) {
120
+ return __awaiter(this, void 0, void 0, function* () {
121
+ const response = yield this.apiAdminJackpotGamesGetRaw(initOverrides);
122
+ return yield response.value();
123
+ });
124
+ }
125
+ }
126
+ exports.AdminJackpotApi = AdminJackpotApi;
@@ -0,0 +1,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import * as runtime from '../runtime';
17
+ import type {
18
+ ApiUserAvatarPut200Response,
19
+ } from '../models/index';
20
+ import {
21
+ ApiUserAvatarPut200ResponseFromJSON,
22
+ ApiUserAvatarPut200ResponseToJSON,
23
+ } from '../models/index';
24
+
25
+ /**
26
+ *
27
+ */
28
+ export class AdminJackpotApi extends runtime.BaseAPI {
29
+
30
+ /**
31
+ * Jackpot - List Currencies
32
+ */
33
+ async apiAdminJackpotCurrenciesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
34
+ const queryParameters: any = {};
35
+
36
+ const headerParameters: runtime.HTTPHeaders = {};
37
+
38
+ if (this.configuration && this.configuration.apiKey) {
39
+ headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
40
+ }
41
+
42
+ if (this.configuration && this.configuration.accessToken) {
43
+ const token = this.configuration.accessToken;
44
+ const tokenString = await token("BearerAuth", []);
45
+
46
+ if (tokenString) {
47
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
48
+ }
49
+ }
50
+ const response = await this.request({
51
+ path: `/api/admin/jackpot/currencies`,
52
+ method: 'GET',
53
+ headers: headerParameters,
54
+ query: queryParameters,
55
+ }, initOverrides);
56
+
57
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserAvatarPut200ResponseFromJSON(jsonValue));
58
+ }
59
+
60
+ /**
61
+ * Jackpot - List Currencies
62
+ */
63
+ async apiAdminJackpotCurrenciesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
64
+ const response = await this.apiAdminJackpotCurrenciesGetRaw(initOverrides);
65
+ return await response.value();
66
+ }
67
+
68
+ /**
69
+ * Jackpot - List Games
70
+ */
71
+ async apiAdminJackpotGamesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
72
+ const queryParameters: any = {};
73
+
74
+ const headerParameters: runtime.HTTPHeaders = {};
75
+
76
+ if (this.configuration && this.configuration.apiKey) {
77
+ headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
78
+ }
79
+
80
+ if (this.configuration && this.configuration.accessToken) {
81
+ const token = this.configuration.accessToken;
82
+ const tokenString = await token("BearerAuth", []);
83
+
84
+ if (tokenString) {
85
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
86
+ }
87
+ }
88
+ const response = await this.request({
89
+ path: `/api/admin/jackpot/games`,
90
+ method: 'GET',
91
+ headers: headerParameters,
92
+ query: queryParameters,
93
+ }, initOverrides);
94
+
95
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserAvatarPut200ResponseFromJSON(jsonValue));
96
+ }
97
+
98
+ /**
99
+ * Jackpot - List Games
100
+ */
101
+ async apiAdminJackpotGamesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
102
+ const response = await this.apiAdminJackpotGamesGetRaw(initOverrides);
103
+ return await response.value();
104
+ }
105
+
106
+ }
@@ -237,76 +237,6 @@ class JackpotApi extends runtime.BaseAPI {
237
237
  return yield response.value();
238
238
  });
239
239
  }
240
- /**
241
- * Jackpot - List Currencies
242
- */
243
- apiJackpotCurrenciesGetRaw(initOverrides) {
244
- return __awaiter(this, void 0, void 0, function* () {
245
- const queryParameters = {};
246
- const headerParameters = {};
247
- if (this.configuration && this.configuration.apiKey) {
248
- headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
249
- }
250
- if (this.configuration && this.configuration.accessToken) {
251
- const token = this.configuration.accessToken;
252
- const tokenString = yield token("BearerAuth", []);
253
- if (tokenString) {
254
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
255
- }
256
- }
257
- const response = yield this.request({
258
- path: `/api/jackpot/currencies`,
259
- method: 'GET',
260
- headers: headerParameters,
261
- query: queryParameters,
262
- }, initOverrides);
263
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
264
- });
265
- }
266
- /**
267
- * Jackpot - List Currencies
268
- */
269
- apiJackpotCurrenciesGet(initOverrides) {
270
- return __awaiter(this, void 0, void 0, function* () {
271
- const response = yield this.apiJackpotCurrenciesGetRaw(initOverrides);
272
- return yield response.value();
273
- });
274
- }
275
- /**
276
- * Jackpot - List Games
277
- */
278
- apiJackpotGamesGetRaw(initOverrides) {
279
- return __awaiter(this, void 0, void 0, function* () {
280
- const queryParameters = {};
281
- const headerParameters = {};
282
- if (this.configuration && this.configuration.apiKey) {
283
- headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
284
- }
285
- if (this.configuration && this.configuration.accessToken) {
286
- const token = this.configuration.accessToken;
287
- const tokenString = yield token("BearerAuth", []);
288
- if (tokenString) {
289
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
290
- }
291
- }
292
- const response = yield this.request({
293
- path: `/api/jackpot/games`,
294
- method: 'GET',
295
- headers: headerParameters,
296
- query: queryParameters,
297
- }, initOverrides);
298
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
299
- });
300
- }
301
- /**
302
- * Jackpot - List Games
303
- */
304
- apiJackpotGamesGet(initOverrides) {
305
- return __awaiter(this, void 0, void 0, function* () {
306
- const response = yield this.apiJackpotGamesGetRaw(initOverrides);
307
- return yield response.value();
308
- });
309
- }
310
240
  /**
311
241
  * Jackpot - Launch Game Session
312
242
  */
@@ -274,82 +274,6 @@ export class JackpotApi extends runtime.BaseAPI {
274
274
  return await response.value();
275
275
  }
276
276
 
277
- /**
278
- * Jackpot - List Currencies
279
- */
280
- async apiJackpotCurrenciesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
281
- const queryParameters: any = {};
282
-
283
- const headerParameters: runtime.HTTPHeaders = {};
284
-
285
- if (this.configuration && this.configuration.apiKey) {
286
- headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
287
- }
288
-
289
- if (this.configuration && this.configuration.accessToken) {
290
- const token = this.configuration.accessToken;
291
- const tokenString = await token("BearerAuth", []);
292
-
293
- if (tokenString) {
294
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
295
- }
296
- }
297
- const response = await this.request({
298
- path: `/api/jackpot/currencies`,
299
- method: 'GET',
300
- headers: headerParameters,
301
- query: queryParameters,
302
- }, initOverrides);
303
-
304
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserAvatarPut200ResponseFromJSON(jsonValue));
305
- }
306
-
307
- /**
308
- * Jackpot - List Currencies
309
- */
310
- async apiJackpotCurrenciesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
311
- const response = await this.apiJackpotCurrenciesGetRaw(initOverrides);
312
- return await response.value();
313
- }
314
-
315
- /**
316
- * Jackpot - List Games
317
- */
318
- async apiJackpotGamesGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
319
- const queryParameters: any = {};
320
-
321
- const headerParameters: runtime.HTTPHeaders = {};
322
-
323
- if (this.configuration && this.configuration.apiKey) {
324
- headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
325
- }
326
-
327
- if (this.configuration && this.configuration.accessToken) {
328
- const token = this.configuration.accessToken;
329
- const tokenString = await token("BearerAuth", []);
330
-
331
- if (tokenString) {
332
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
333
- }
334
- }
335
- const response = await this.request({
336
- path: `/api/jackpot/games`,
337
- method: 'GET',
338
- headers: headerParameters,
339
- query: queryParameters,
340
- }, initOverrides);
341
-
342
- return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserAvatarPut200ResponseFromJSON(jsonValue));
343
- }
344
-
345
- /**
346
- * Jackpot - List Games
347
- */
348
- async apiJackpotGamesGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
349
- const response = await this.apiJackpotGamesGetRaw(initOverrides);
350
- return await response.value();
351
- }
352
-
353
277
  /**
354
278
  * Jackpot - Launch Game Session
355
279
  */
@@ -607,5 +607,6 @@ exports.ApiPublicGamesSeoGetCategoryEnum = {
607
607
  Mines: 'mines',
608
608
  ScratchCards: 'scratch-cards',
609
609
  Plinko: 'plinko',
610
- TableGames: 'table-games'
610
+ TableGames: 'table-games',
611
+ Originals: 'originals'
611
612
  };
@@ -729,6 +729,7 @@ export const ApiPublicGamesSeoGetCategoryEnum = {
729
729
  Mines: 'mines',
730
730
  ScratchCards: 'scratch-cards',
731
731
  Plinko: 'plinko',
732
- TableGames: 'table-games'
732
+ TableGames: 'table-games',
733
+ Originals: 'originals'
733
734
  } as const;
734
735
  export type ApiPublicGamesSeoGetCategoryEnum = typeof ApiPublicGamesSeoGetCategoryEnum[keyof typeof ApiPublicGamesSeoGetCategoryEnum];
package/apis/index.js CHANGED
@@ -30,6 +30,7 @@ __exportStar(require("./AdminFileManagementApi"), exports);
30
30
  __exportStar(require("./AdminGamesApi"), exports);
31
31
  __exportStar(require("./AdminGroupApi"), exports);
32
32
  __exportStar(require("./AdminIBankRollApi"), exports);
33
+ __exportStar(require("./AdminJackpotApi"), exports);
33
34
  __exportStar(require("./AdminLeaderboardApi"), exports);
34
35
  __exportStar(require("./AdminLoyaltyApi"), exports);
35
36
  __exportStar(require("./AdminManagementApi"), exports);
package/apis/index.ts CHANGED
@@ -14,6 +14,7 @@ export * from './AdminFileManagementApi';
14
14
  export * from './AdminGamesApi';
15
15
  export * from './AdminGroupApi';
16
16
  export * from './AdminIBankRollApi';
17
+ export * from './AdminJackpotApi';
17
18
  export * from './AdminLeaderboardApi';
18
19
  export * from './AdminLoyaltyApi';
19
20
  export * from './AdminManagementApi';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gambulls-org/gambulls-apis",
3
- "version": "3.0.623",
3
+ "version": "3.0.625",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "tsc",