@gambulls-org/gambulls-apis 3.0.621 → 3.0.623
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/.openapi-generator/FILES +2 -1
- package/apis/JackpotApi.js +10 -9
- package/apis/JackpotApi.ts +18 -14
- package/models/ApiUserJackpotLaunchGameCodeGet200Response.js +61 -0
- package/models/ApiUserJackpotLaunchGameCodeGet200Response.ts +100 -0
- package/models/ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject.js +54 -0
- package/models/ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject.ts +75 -0
- package/models/index.js +2 -1
- package/models/index.ts +2 -1
- package/package.json +1 -1
- package/models/ApiJackpotLaunchPostRequest.js +0 -58
- package/models/ApiJackpotLaunchPostRequest.ts +0 -84
package/.openapi-generator/FILES
CHANGED
|
@@ -476,7 +476,6 @@ models/ApiJackpotCallbackBalancePostRequest.ts
|
|
|
476
476
|
models/ApiJackpotCallbackCreditPostRequest.ts
|
|
477
477
|
models/ApiJackpotCallbackDebitPostRequest.ts
|
|
478
478
|
models/ApiJackpotCallbackRollbackPostRequest.ts
|
|
479
|
-
models/ApiJackpotLaunchPostRequest.ts
|
|
480
479
|
models/ApiPublicGamesFilterDataGet200Response.ts
|
|
481
480
|
models/ApiPublicGamesFilterDataGet200ResponseResponseObject.ts
|
|
482
481
|
models/ApiPublicGamesFilterDataGet200ResponseResponseObjectProvidersInner.ts
|
|
@@ -704,6 +703,8 @@ models/ApiUserHistoryTipGetFilterParameterIsAnonymous.ts
|
|
|
704
703
|
models/ApiUserHistoryWithdrawalGet200Response.ts
|
|
705
704
|
models/ApiUserHistoryWithdrawalGet200ResponseResponseObject.ts
|
|
706
705
|
models/ApiUserHistoryWithdrawalGet200ResponseResponseObjectItemsInner.ts
|
|
706
|
+
models/ApiUserJackpotLaunchGameCodeGet200Response.ts
|
|
707
|
+
models/ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject.ts
|
|
707
708
|
models/ApiUserLastBetGet200Response.ts
|
|
708
709
|
models/ApiUserLastBetGet200ResponseResponseObjectInner.ts
|
|
709
710
|
models/ApiUserLastBetGet200ResponseResponseObjectInnerUser.ts
|
package/apis/JackpotApi.js
CHANGED
|
@@ -310,11 +310,13 @@ class JackpotApi extends runtime.BaseAPI {
|
|
|
310
310
|
/**
|
|
311
311
|
* Jackpot - Launch Game Session
|
|
312
312
|
*/
|
|
313
|
-
|
|
313
|
+
apiUserJackpotLaunchGameCodeGetRaw(requestParameters, initOverrides) {
|
|
314
314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
315
|
+
if (requestParameters['gameCode'] == null) {
|
|
316
|
+
throw new runtime.RequiredError('gameCode', 'Required parameter "gameCode" was null or undefined when calling apiUserJackpotLaunchGameCodeGet().');
|
|
317
|
+
}
|
|
315
318
|
const queryParameters = {};
|
|
316
319
|
const headerParameters = {};
|
|
317
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
318
320
|
if (this.configuration && this.configuration.apiKey) {
|
|
319
321
|
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
320
322
|
}
|
|
@@ -326,21 +328,20 @@ class JackpotApi extends runtime.BaseAPI {
|
|
|
326
328
|
}
|
|
327
329
|
}
|
|
328
330
|
const response = yield this.request({
|
|
329
|
-
path: `/api/jackpot/launch`,
|
|
330
|
-
method: '
|
|
331
|
+
path: `/api/user/jackpot/launch/{gameCode}`.replace(`{${"gameCode"}}`, encodeURIComponent(String(requestParameters['gameCode']))),
|
|
332
|
+
method: 'GET',
|
|
331
333
|
headers: headerParameters,
|
|
332
334
|
query: queryParameters,
|
|
333
|
-
body: (0, index_1.ApiJackpotLaunchPostRequestToJSON)(requestParameters['apiJackpotLaunchPostRequest']),
|
|
334
335
|
}, initOverrides);
|
|
335
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
336
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserJackpotLaunchGameCodeGet200ResponseFromJSON)(jsonValue));
|
|
336
337
|
});
|
|
337
338
|
}
|
|
338
339
|
/**
|
|
339
340
|
* Jackpot - Launch Game Session
|
|
340
341
|
*/
|
|
341
|
-
|
|
342
|
-
return __awaiter(this,
|
|
343
|
-
const response = yield this.
|
|
342
|
+
apiUserJackpotLaunchGameCodeGet(requestParameters, initOverrides) {
|
|
343
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
344
|
+
const response = yield this.apiUserJackpotLaunchGameCodeGetRaw(requestParameters, initOverrides);
|
|
344
345
|
return yield response.value();
|
|
345
346
|
});
|
|
346
347
|
}
|
package/apis/JackpotApi.ts
CHANGED
|
@@ -20,8 +20,8 @@ import type {
|
|
|
20
20
|
ApiJackpotCallbackCreditPostRequest,
|
|
21
21
|
ApiJackpotCallbackDebitPostRequest,
|
|
22
22
|
ApiJackpotCallbackRollbackPostRequest,
|
|
23
|
-
ApiJackpotLaunchPostRequest,
|
|
24
23
|
ApiUserAvatarPut200Response,
|
|
24
|
+
ApiUserJackpotLaunchGameCodeGet200Response,
|
|
25
25
|
} from '../models/index';
|
|
26
26
|
import {
|
|
27
27
|
ApiJackpotCallbackAuthenticatePostRequestFromJSON,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
ApiJackpotCallbackDebitPostRequestToJSON,
|
|
35
35
|
ApiJackpotCallbackRollbackPostRequestFromJSON,
|
|
36
36
|
ApiJackpotCallbackRollbackPostRequestToJSON,
|
|
37
|
-
ApiJackpotLaunchPostRequestFromJSON,
|
|
38
|
-
ApiJackpotLaunchPostRequestToJSON,
|
|
39
37
|
ApiUserAvatarPut200ResponseFromJSON,
|
|
40
38
|
ApiUserAvatarPut200ResponseToJSON,
|
|
39
|
+
ApiUserJackpotLaunchGameCodeGet200ResponseFromJSON,
|
|
40
|
+
ApiUserJackpotLaunchGameCodeGet200ResponseToJSON,
|
|
41
41
|
} from '../models/index';
|
|
42
42
|
|
|
43
43
|
export interface ApiJackpotCallbackAuthenticatePostOperationRequest {
|
|
@@ -60,8 +60,8 @@ export interface ApiJackpotCallbackRollbackPostOperationRequest {
|
|
|
60
60
|
apiJackpotCallbackRollbackPostRequest?: ApiJackpotCallbackRollbackPostRequest;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export interface
|
|
64
|
-
|
|
63
|
+
export interface ApiUserJackpotLaunchGameCodeGetRequest {
|
|
64
|
+
gameCode: string;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
@@ -353,13 +353,18 @@ export class JackpotApi extends runtime.BaseAPI {
|
|
|
353
353
|
/**
|
|
354
354
|
* Jackpot - Launch Game Session
|
|
355
355
|
*/
|
|
356
|
-
async
|
|
356
|
+
async apiUserJackpotLaunchGameCodeGetRaw(requestParameters: ApiUserJackpotLaunchGameCodeGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserJackpotLaunchGameCodeGet200Response>> {
|
|
357
|
+
if (requestParameters['gameCode'] == null) {
|
|
358
|
+
throw new runtime.RequiredError(
|
|
359
|
+
'gameCode',
|
|
360
|
+
'Required parameter "gameCode" was null or undefined when calling apiUserJackpotLaunchGameCodeGet().'
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
|
|
357
364
|
const queryParameters: any = {};
|
|
358
365
|
|
|
359
366
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
360
367
|
|
|
361
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
362
|
-
|
|
363
368
|
if (this.configuration && this.configuration.apiKey) {
|
|
364
369
|
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
365
370
|
}
|
|
@@ -373,21 +378,20 @@ export class JackpotApi extends runtime.BaseAPI {
|
|
|
373
378
|
}
|
|
374
379
|
}
|
|
375
380
|
const response = await this.request({
|
|
376
|
-
path: `/api/jackpot/launch`,
|
|
377
|
-
method: '
|
|
381
|
+
path: `/api/user/jackpot/launch/{gameCode}`.replace(`{${"gameCode"}}`, encodeURIComponent(String(requestParameters['gameCode']))),
|
|
382
|
+
method: 'GET',
|
|
378
383
|
headers: headerParameters,
|
|
379
384
|
query: queryParameters,
|
|
380
|
-
body: ApiJackpotLaunchPostRequestToJSON(requestParameters['apiJackpotLaunchPostRequest']),
|
|
381
385
|
}, initOverrides);
|
|
382
386
|
|
|
383
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
387
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserJackpotLaunchGameCodeGet200ResponseFromJSON(jsonValue));
|
|
384
388
|
}
|
|
385
389
|
|
|
386
390
|
/**
|
|
387
391
|
* Jackpot - Launch Game Session
|
|
388
392
|
*/
|
|
389
|
-
async
|
|
390
|
-
const response = await this.
|
|
393
|
+
async apiUserJackpotLaunchGameCodeGet(requestParameters: ApiUserJackpotLaunchGameCodeGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserJackpotLaunchGameCodeGet200Response> {
|
|
394
|
+
const response = await this.apiUserJackpotLaunchGameCodeGetRaw(requestParameters, initOverrides);
|
|
391
395
|
return await response.value();
|
|
392
396
|
}
|
|
393
397
|
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiUserJackpotLaunchGameCodeGet200Response = instanceOfApiUserJackpotLaunchGameCodeGet200Response;
|
|
17
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseFromJSON = ApiUserJackpotLaunchGameCodeGet200ResponseFromJSON;
|
|
18
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseFromJSONTyped = ApiUserJackpotLaunchGameCodeGet200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseToJSON = ApiUserJackpotLaunchGameCodeGet200ResponseToJSON;
|
|
20
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseToJSONTyped = ApiUserJackpotLaunchGameCodeGet200ResponseToJSONTyped;
|
|
21
|
+
const ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject_1 = require("./ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiUserJackpotLaunchGameCodeGet200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiUserJackpotLaunchGameCodeGet200Response(value) {
|
|
26
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseFromJSON(json) {
|
|
35
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'success': json['success'],
|
|
43
|
+
'message': json['message'],
|
|
44
|
+
'responseObject': json['responseObject'] == null ? undefined : (0, ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject_1.ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSON)(json['responseObject']),
|
|
45
|
+
'statusCode': json['statusCode'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseToJSON(json) {
|
|
49
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'success': value['success'],
|
|
57
|
+
'message': value['message'],
|
|
58
|
+
'responseObject': (0, ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject_1.ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSON)(value['responseObject']),
|
|
59
|
+
'statusCode': value['statusCode'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject } from './ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiUserJackpotLaunchGameCodeGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiUserJackpotLaunchGameCodeGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiUserJackpotLaunchGameCodeGet200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiUserJackpotLaunchGameCodeGet200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiUserJackpotLaunchGameCodeGet200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiUserJackpotLaunchGameCodeGet200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiUserJackpotLaunchGameCodeGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiUserJackpotLaunchGameCodeGet200Response(value: object): value is ApiUserJackpotLaunchGameCodeGet200Response {
|
|
60
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
61
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
62
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseFromJSON(json: any): ApiUserJackpotLaunchGameCodeGet200Response {
|
|
67
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserJackpotLaunchGameCodeGet200Response {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': json['success'],
|
|
77
|
+
'message': json['message'],
|
|
78
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseToJSON(json: any): ApiUserJackpotLaunchGameCodeGet200Response {
|
|
84
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseToJSONTyped(value?: ApiUserJackpotLaunchGameCodeGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'success': value['success'],
|
|
95
|
+
'message': value['message'],
|
|
96
|
+
'responseObject': ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiUserJackpotLaunchGameCodeGet200ResponseResponseObject = instanceOfApiUserJackpotLaunchGameCodeGet200ResponseResponseObject;
|
|
17
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSON = ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSON;
|
|
18
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSONTyped = ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSONTyped;
|
|
19
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSON = ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSON;
|
|
20
|
+
exports.ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSONTyped = ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiUserJackpotLaunchGameCodeGet200ResponseResponseObject(value) {
|
|
25
|
+
if (!('sessionToken' in value) || value['sessionToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSON(json) {
|
|
32
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'sessionToken': json['sessionToken'],
|
|
40
|
+
'launchUrl': json['launchUrl'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSON(json) {
|
|
44
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'sessionToken': value['sessionToken'],
|
|
52
|
+
'launchUrl': value['launchUrl'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject
|
|
26
|
+
*/
|
|
27
|
+
sessionToken: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject
|
|
32
|
+
*/
|
|
33
|
+
launchUrl: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfApiUserJackpotLaunchGameCodeGet200ResponseResponseObject(value: object): value is ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject {
|
|
40
|
+
if (!('sessionToken' in value) || value['sessionToken'] === undefined) return false;
|
|
41
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSON(json: any): ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject {
|
|
46
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'sessionToken': json['sessionToken'],
|
|
56
|
+
'launchUrl': json['launchUrl'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSON(json: any): ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject {
|
|
61
|
+
return ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ApiUserJackpotLaunchGameCodeGet200ResponseResponseObjectToJSONTyped(value?: ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'sessionToken': value['sessionToken'],
|
|
72
|
+
'launchUrl': value['launchUrl'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/models/index.js
CHANGED
|
@@ -422,7 +422,6 @@ __exportStar(require("./ApiJackpotCallbackBalancePostRequest"), exports);
|
|
|
422
422
|
__exportStar(require("./ApiJackpotCallbackCreditPostRequest"), exports);
|
|
423
423
|
__exportStar(require("./ApiJackpotCallbackDebitPostRequest"), exports);
|
|
424
424
|
__exportStar(require("./ApiJackpotCallbackRollbackPostRequest"), exports);
|
|
425
|
-
__exportStar(require("./ApiJackpotLaunchPostRequest"), exports);
|
|
426
425
|
__exportStar(require("./ApiPublicGamesFilterDataGet200Response"), exports);
|
|
427
426
|
__exportStar(require("./ApiPublicGamesFilterDataGet200ResponseResponseObject"), exports);
|
|
428
427
|
__exportStar(require("./ApiPublicGamesFilterDataGet200ResponseResponseObjectProvidersInner"), exports);
|
|
@@ -650,6 +649,8 @@ __exportStar(require("./ApiUserHistoryTipGetFilterParameterIsAnonymous"), export
|
|
|
650
649
|
__exportStar(require("./ApiUserHistoryWithdrawalGet200Response"), exports);
|
|
651
650
|
__exportStar(require("./ApiUserHistoryWithdrawalGet200ResponseResponseObject"), exports);
|
|
652
651
|
__exportStar(require("./ApiUserHistoryWithdrawalGet200ResponseResponseObjectItemsInner"), exports);
|
|
652
|
+
__exportStar(require("./ApiUserJackpotLaunchGameCodeGet200Response"), exports);
|
|
653
|
+
__exportStar(require("./ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject"), exports);
|
|
653
654
|
__exportStar(require("./ApiUserLastBetGet200Response"), exports);
|
|
654
655
|
__exportStar(require("./ApiUserLastBetGet200ResponseResponseObjectInner"), exports);
|
|
655
656
|
__exportStar(require("./ApiUserLastBetGet200ResponseResponseObjectInnerUser"), exports);
|
package/models/index.ts
CHANGED
|
@@ -406,7 +406,6 @@ export * from './ApiJackpotCallbackBalancePostRequest';
|
|
|
406
406
|
export * from './ApiJackpotCallbackCreditPostRequest';
|
|
407
407
|
export * from './ApiJackpotCallbackDebitPostRequest';
|
|
408
408
|
export * from './ApiJackpotCallbackRollbackPostRequest';
|
|
409
|
-
export * from './ApiJackpotLaunchPostRequest';
|
|
410
409
|
export * from './ApiPublicGamesFilterDataGet200Response';
|
|
411
410
|
export * from './ApiPublicGamesFilterDataGet200ResponseResponseObject';
|
|
412
411
|
export * from './ApiPublicGamesFilterDataGet200ResponseResponseObjectProvidersInner';
|
|
@@ -634,6 +633,8 @@ export * from './ApiUserHistoryTipGetFilterParameterIsAnonymous';
|
|
|
634
633
|
export * from './ApiUserHistoryWithdrawalGet200Response';
|
|
635
634
|
export * from './ApiUserHistoryWithdrawalGet200ResponseResponseObject';
|
|
636
635
|
export * from './ApiUserHistoryWithdrawalGet200ResponseResponseObjectItemsInner';
|
|
636
|
+
export * from './ApiUserJackpotLaunchGameCodeGet200Response';
|
|
637
|
+
export * from './ApiUserJackpotLaunchGameCodeGet200ResponseResponseObject';
|
|
637
638
|
export * from './ApiUserLastBetGet200Response';
|
|
638
639
|
export * from './ApiUserLastBetGet200ResponseResponseObjectInner';
|
|
639
640
|
export * from './ApiUserLastBetGet200ResponseResponseObjectInnerUser';
|
package/package.json
CHANGED
|
@@ -1,58 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfApiJackpotLaunchPostRequest = instanceOfApiJackpotLaunchPostRequest;
|
|
17
|
-
exports.ApiJackpotLaunchPostRequestFromJSON = ApiJackpotLaunchPostRequestFromJSON;
|
|
18
|
-
exports.ApiJackpotLaunchPostRequestFromJSONTyped = ApiJackpotLaunchPostRequestFromJSONTyped;
|
|
19
|
-
exports.ApiJackpotLaunchPostRequestToJSON = ApiJackpotLaunchPostRequestToJSON;
|
|
20
|
-
exports.ApiJackpotLaunchPostRequestToJSONTyped = ApiJackpotLaunchPostRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ApiJackpotLaunchPostRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfApiJackpotLaunchPostRequest(value) {
|
|
25
|
-
if (!('playerId' in value) || value['playerId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('gameCode' in value) || value['gameCode'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('currency' in value) || value['currency'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function ApiJackpotLaunchPostRequestFromJSON(json) {
|
|
34
|
-
return ApiJackpotLaunchPostRequestFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function ApiJackpotLaunchPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'playerId': json['playerId'],
|
|
42
|
-
'gameCode': json['gameCode'],
|
|
43
|
-
'currency': json['currency'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function ApiJackpotLaunchPostRequestToJSON(json) {
|
|
47
|
-
return ApiJackpotLaunchPostRequestToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function ApiJackpotLaunchPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'playerId': value['playerId'],
|
|
55
|
-
'gameCode': value['gameCode'],
|
|
56
|
-
'currency': value['currency'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ApiJackpotLaunchPostRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiJackpotLaunchPostRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiJackpotLaunchPostRequest
|
|
26
|
-
*/
|
|
27
|
-
playerId: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiJackpotLaunchPostRequest
|
|
32
|
-
*/
|
|
33
|
-
gameCode: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ApiJackpotLaunchPostRequest
|
|
38
|
-
*/
|
|
39
|
-
currency: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the ApiJackpotLaunchPostRequest interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfApiJackpotLaunchPostRequest(value: object): value is ApiJackpotLaunchPostRequest {
|
|
46
|
-
if (!('playerId' in value) || value['playerId'] === undefined) return false;
|
|
47
|
-
if (!('gameCode' in value) || value['gameCode'] === undefined) return false;
|
|
48
|
-
if (!('currency' in value) || value['currency'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ApiJackpotLaunchPostRequestFromJSON(json: any): ApiJackpotLaunchPostRequest {
|
|
53
|
-
return ApiJackpotLaunchPostRequestFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ApiJackpotLaunchPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiJackpotLaunchPostRequest {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'playerId': json['playerId'],
|
|
63
|
-
'gameCode': json['gameCode'],
|
|
64
|
-
'currency': json['currency'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function ApiJackpotLaunchPostRequestToJSON(json: any): ApiJackpotLaunchPostRequest {
|
|
69
|
-
return ApiJackpotLaunchPostRequestToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function ApiJackpotLaunchPostRequestToJSONTyped(value?: ApiJackpotLaunchPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'playerId': value['playerId'],
|
|
80
|
-
'gameCode': value['gameCode'],
|
|
81
|
-
'currency': value['currency'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|