@gambulls-org/gambulls-apis 3.0.617 → 3.0.619

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.
@@ -35,6 +35,7 @@ apis/CMSApi.ts
35
35
  apis/CronDataCleanupApi.ts
36
36
  apis/CronRecoveryApi.ts
37
37
  apis/HealthCheckApi.ts
38
+ apis/JackpotApi.ts
38
39
  apis/PublicApi.ts
39
40
  apis/PublicBannerApi.ts
40
41
  apis/PublicGamesApi.ts
@@ -470,6 +471,12 @@ models/ApiCronRecoveryLoyaltyPost200Response.ts
470
471
  models/ApiCronRecoveryLoyaltyPost200ResponseResponseObject.ts
471
472
  models/ApiCronRecoveryLoyaltyPostRequest.ts
472
473
  models/ApiHealthCheckGet200Response.ts
474
+ models/ApiJackpotCallbackAuthenticatePostRequest.ts
475
+ models/ApiJackpotCallbackBalancePostRequest.ts
476
+ models/ApiJackpotCallbackCreditPostRequest.ts
477
+ models/ApiJackpotCallbackDebitPostRequest.ts
478
+ models/ApiJackpotCallbackRollbackPostRequest.ts
479
+ models/ApiJackpotLaunchPostRequest.ts
473
480
  models/ApiPublicGamesFilterDataGet200Response.ts
474
481
  models/ApiPublicGamesFilterDataGet200ResponseResponseObject.ts
475
482
  models/ApiPublicGamesFilterDataGet200ResponseResponseObjectProvidersInner.ts
@@ -0,0 +1,348 @@
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.JackpotApi = void 0;
49
+ const runtime = __importStar(require("../runtime"));
50
+ const index_1 = require("../models/index");
51
+ /**
52
+ *
53
+ */
54
+ class JackpotApi extends runtime.BaseAPI {
55
+ /**
56
+ * Jackpot Callback - Authenticate
57
+ */
58
+ apiJackpotCallbackAuthenticatePostRaw(requestParameters, initOverrides) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ const queryParameters = {};
61
+ const headerParameters = {};
62
+ headerParameters['Content-Type'] = 'application/json';
63
+ if (this.configuration && this.configuration.apiKey) {
64
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
65
+ }
66
+ if (this.configuration && this.configuration.accessToken) {
67
+ const token = this.configuration.accessToken;
68
+ const tokenString = yield token("BearerAuth", []);
69
+ if (tokenString) {
70
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
71
+ }
72
+ }
73
+ const response = yield this.request({
74
+ path: `/api/jackpot/callback/authenticate`,
75
+ method: 'POST',
76
+ headers: headerParameters,
77
+ query: queryParameters,
78
+ body: (0, index_1.ApiJackpotCallbackAuthenticatePostRequestToJSON)(requestParameters['apiJackpotCallbackAuthenticatePostRequest']),
79
+ }, initOverrides);
80
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
81
+ });
82
+ }
83
+ /**
84
+ * Jackpot Callback - Authenticate
85
+ */
86
+ apiJackpotCallbackAuthenticatePost() {
87
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
88
+ const response = yield this.apiJackpotCallbackAuthenticatePostRaw(requestParameters, initOverrides);
89
+ return yield response.value();
90
+ });
91
+ }
92
+ /**
93
+ * Jackpot Callback - Balance
94
+ */
95
+ apiJackpotCallbackBalancePostRaw(requestParameters, initOverrides) {
96
+ return __awaiter(this, void 0, void 0, function* () {
97
+ const queryParameters = {};
98
+ const headerParameters = {};
99
+ headerParameters['Content-Type'] = 'application/json';
100
+ if (this.configuration && this.configuration.apiKey) {
101
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
102
+ }
103
+ if (this.configuration && this.configuration.accessToken) {
104
+ const token = this.configuration.accessToken;
105
+ const tokenString = yield token("BearerAuth", []);
106
+ if (tokenString) {
107
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
108
+ }
109
+ }
110
+ const response = yield this.request({
111
+ path: `/api/jackpot/callback/balance`,
112
+ method: 'POST',
113
+ headers: headerParameters,
114
+ query: queryParameters,
115
+ body: (0, index_1.ApiJackpotCallbackBalancePostRequestToJSON)(requestParameters['apiJackpotCallbackBalancePostRequest']),
116
+ }, initOverrides);
117
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
118
+ });
119
+ }
120
+ /**
121
+ * Jackpot Callback - Balance
122
+ */
123
+ apiJackpotCallbackBalancePost() {
124
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
125
+ const response = yield this.apiJackpotCallbackBalancePostRaw(requestParameters, initOverrides);
126
+ return yield response.value();
127
+ });
128
+ }
129
+ /**
130
+ * Jackpot Callback - Credit (Win)
131
+ */
132
+ apiJackpotCallbackCreditPostRaw(requestParameters, initOverrides) {
133
+ return __awaiter(this, void 0, void 0, function* () {
134
+ const queryParameters = {};
135
+ const headerParameters = {};
136
+ headerParameters['Content-Type'] = 'application/json';
137
+ if (this.configuration && this.configuration.apiKey) {
138
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
139
+ }
140
+ if (this.configuration && this.configuration.accessToken) {
141
+ const token = this.configuration.accessToken;
142
+ const tokenString = yield token("BearerAuth", []);
143
+ if (tokenString) {
144
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
145
+ }
146
+ }
147
+ const response = yield this.request({
148
+ path: `/api/jackpot/callback/credit`,
149
+ method: 'POST',
150
+ headers: headerParameters,
151
+ query: queryParameters,
152
+ body: (0, index_1.ApiJackpotCallbackCreditPostRequestToJSON)(requestParameters['apiJackpotCallbackCreditPostRequest']),
153
+ }, initOverrides);
154
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
155
+ });
156
+ }
157
+ /**
158
+ * Jackpot Callback - Credit (Win)
159
+ */
160
+ apiJackpotCallbackCreditPost() {
161
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
162
+ const response = yield this.apiJackpotCallbackCreditPostRaw(requestParameters, initOverrides);
163
+ return yield response.value();
164
+ });
165
+ }
166
+ /**
167
+ * Jackpot Callback - Debit (Bet)
168
+ */
169
+ apiJackpotCallbackDebitPostRaw(requestParameters, initOverrides) {
170
+ return __awaiter(this, void 0, void 0, function* () {
171
+ const queryParameters = {};
172
+ const headerParameters = {};
173
+ headerParameters['Content-Type'] = 'application/json';
174
+ if (this.configuration && this.configuration.apiKey) {
175
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
176
+ }
177
+ if (this.configuration && this.configuration.accessToken) {
178
+ const token = this.configuration.accessToken;
179
+ const tokenString = yield token("BearerAuth", []);
180
+ if (tokenString) {
181
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
182
+ }
183
+ }
184
+ const response = yield this.request({
185
+ path: `/api/jackpot/callback/debit`,
186
+ method: 'POST',
187
+ headers: headerParameters,
188
+ query: queryParameters,
189
+ body: (0, index_1.ApiJackpotCallbackDebitPostRequestToJSON)(requestParameters['apiJackpotCallbackDebitPostRequest']),
190
+ }, initOverrides);
191
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
192
+ });
193
+ }
194
+ /**
195
+ * Jackpot Callback - Debit (Bet)
196
+ */
197
+ apiJackpotCallbackDebitPost() {
198
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
199
+ const response = yield this.apiJackpotCallbackDebitPostRaw(requestParameters, initOverrides);
200
+ return yield response.value();
201
+ });
202
+ }
203
+ /**
204
+ * Jackpot Callback - Rollback
205
+ */
206
+ apiJackpotCallbackRollbackPostRaw(requestParameters, initOverrides) {
207
+ return __awaiter(this, void 0, void 0, function* () {
208
+ const queryParameters = {};
209
+ const headerParameters = {};
210
+ headerParameters['Content-Type'] = 'application/json';
211
+ if (this.configuration && this.configuration.apiKey) {
212
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
213
+ }
214
+ if (this.configuration && this.configuration.accessToken) {
215
+ const token = this.configuration.accessToken;
216
+ const tokenString = yield token("BearerAuth", []);
217
+ if (tokenString) {
218
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
219
+ }
220
+ }
221
+ const response = yield this.request({
222
+ path: `/api/jackpot/callback/rollback`,
223
+ method: 'POST',
224
+ headers: headerParameters,
225
+ query: queryParameters,
226
+ body: (0, index_1.ApiJackpotCallbackRollbackPostRequestToJSON)(requestParameters['apiJackpotCallbackRollbackPostRequest']),
227
+ }, initOverrides);
228
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
229
+ });
230
+ }
231
+ /**
232
+ * Jackpot Callback - Rollback
233
+ */
234
+ apiJackpotCallbackRollbackPost() {
235
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
236
+ const response = yield this.apiJackpotCallbackRollbackPostRaw(requestParameters, initOverrides);
237
+ return yield response.value();
238
+ });
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
+ /**
311
+ * Jackpot - Launch Game Session
312
+ */
313
+ apiJackpotLaunchPostRaw(requestParameters, initOverrides) {
314
+ return __awaiter(this, void 0, void 0, function* () {
315
+ const queryParameters = {};
316
+ const headerParameters = {};
317
+ headerParameters['Content-Type'] = 'application/json';
318
+ if (this.configuration && this.configuration.apiKey) {
319
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
320
+ }
321
+ if (this.configuration && this.configuration.accessToken) {
322
+ const token = this.configuration.accessToken;
323
+ const tokenString = yield token("BearerAuth", []);
324
+ if (tokenString) {
325
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
326
+ }
327
+ }
328
+ const response = yield this.request({
329
+ path: `/api/jackpot/launch`,
330
+ method: 'POST',
331
+ headers: headerParameters,
332
+ query: queryParameters,
333
+ body: (0, index_1.ApiJackpotLaunchPostRequestToJSON)(requestParameters['apiJackpotLaunchPostRequest']),
334
+ }, initOverrides);
335
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
336
+ });
337
+ }
338
+ /**
339
+ * Jackpot - Launch Game Session
340
+ */
341
+ apiJackpotLaunchPost() {
342
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
343
+ const response = yield this.apiJackpotLaunchPostRaw(requestParameters, initOverrides);
344
+ return yield response.value();
345
+ });
346
+ }
347
+ }
348
+ exports.JackpotApi = JackpotApi;