@gambulls-org/gambulls-apis 3.0.501 → 3.0.503
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 +1 -1
- package/models/ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInner.js +3 -3
- package/models/ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInner.ts +10 -10
- package/models/ApiUserLastBetGet200ResponseResponseObjectInner.js +4 -3
- package/models/ApiUserLastBetGet200ResponseResponseObjectInner.ts +13 -5
- package/models/ApiUserLastBetGet200ResponseResponseObjectInnerUser.js +70 -0
- package/models/ApiUserLastBetGet200ResponseResponseObjectInnerUser.ts +111 -0
- package/models/index.js +1 -1
- package/models/index.ts +1 -1
- package/package.json +1 -1
- package/models/ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser.js +0 -70
- package/models/ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser.ts +0 -111
package/.openapi-generator/FILES
CHANGED
|
@@ -426,7 +426,6 @@ models/ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider.ts
|
|
|
426
426
|
models/ApiPublicLeaderboardCurrentGet200Response.ts
|
|
427
427
|
models/ApiPublicLeaderboardCurrentGet200ResponseResponseObject.ts
|
|
428
428
|
models/ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInner.ts
|
|
429
|
-
models/ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser.ts
|
|
430
429
|
models/ApiPublicLeaderboardCurrentGet200ResponseResponseObjectUserStats.ts
|
|
431
430
|
models/ApiPublicPolicyGet200Response.ts
|
|
432
431
|
models/ApiPublicPolicyGet200ResponseResponseObject.ts
|
|
@@ -626,6 +625,7 @@ models/ApiUserHistoryWithdrawalGet200ResponseResponseObject.ts
|
|
|
626
625
|
models/ApiUserHistoryWithdrawalGet200ResponseResponseObjectItemsInner.ts
|
|
627
626
|
models/ApiUserLastBetGet200Response.ts
|
|
628
627
|
models/ApiUserLastBetGet200ResponseResponseObjectInner.ts
|
|
628
|
+
models/ApiUserLastBetGet200ResponseResponseObjectInnerUser.ts
|
|
629
629
|
models/ApiUserLoyaltyGet200Response.ts
|
|
630
630
|
models/ApiUserLoyaltyGet200ResponseResponseObjectInner.ts
|
|
631
631
|
models/ApiUserLoyaltyMeGet200Response.ts
|
|
@@ -18,7 +18,7 @@ exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerFrom
|
|
|
18
18
|
exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerFromJSONTyped = ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerFromJSONTyped;
|
|
19
19
|
exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerToJSON = ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerToJSON;
|
|
20
20
|
exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerToJSONTyped = ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const ApiUserLastBetGet200ResponseResponseObjectInnerUser_1 = require("./ApiUserLastBetGet200ResponseResponseObjectInnerUser");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInner interface.
|
|
24
24
|
*/
|
|
@@ -42,7 +42,7 @@ function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerFro
|
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
44
|
'rank': json['rank'],
|
|
45
|
-
'user': (0,
|
|
45
|
+
'user': (0, ApiUserLastBetGet200ResponseResponseObjectInnerUser_1.ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON)(json['user']),
|
|
46
46
|
'wagerAmount': json['wagerAmount'],
|
|
47
47
|
'prize': json['prize'] == null ? undefined : json['prize'],
|
|
48
48
|
'currency': json['currency'],
|
|
@@ -57,7 +57,7 @@ function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerToJ
|
|
|
57
57
|
}
|
|
58
58
|
return {
|
|
59
59
|
'rank': value['rank'],
|
|
60
|
-
'user': (0,
|
|
60
|
+
'user': (0, ApiUserLastBetGet200ResponseResponseObjectInnerUser_1.ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON)(value['user']),
|
|
61
61
|
'wagerAmount': value['wagerAmount'],
|
|
62
62
|
'prize': value['prize'],
|
|
63
63
|
'currency': value['currency'],
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ApiUserLastBetGet200ResponseResponseObjectInnerUser } from './ApiUserLastBetGet200ResponseResponseObjectInnerUser';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON,
|
|
19
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped,
|
|
20
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON,
|
|
21
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped,
|
|
22
|
+
} from './ApiUserLastBetGet200ResponseResponseObjectInnerUser';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -35,10 +35,10 @@ export interface ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankings
|
|
|
35
35
|
rank: number;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {ApiUserLastBetGet200ResponseResponseObjectInnerUser}
|
|
39
39
|
* @memberof ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInner
|
|
40
40
|
*/
|
|
41
|
-
user:
|
|
41
|
+
user: ApiUserLastBetGet200ResponseResponseObjectInnerUser | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {number}
|
|
@@ -81,7 +81,7 @@ export function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsI
|
|
|
81
81
|
return {
|
|
82
82
|
|
|
83
83
|
'rank': json['rank'],
|
|
84
|
-
'user':
|
|
84
|
+
'user': ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON(json['user']),
|
|
85
85
|
'wagerAmount': json['wagerAmount'],
|
|
86
86
|
'prize': json['prize'] == null ? undefined : json['prize'],
|
|
87
87
|
'currency': json['currency'],
|
|
@@ -100,7 +100,7 @@ export function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsI
|
|
|
100
100
|
return {
|
|
101
101
|
|
|
102
102
|
'rank': value['rank'],
|
|
103
|
-
'user':
|
|
103
|
+
'user': ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON(value['user']),
|
|
104
104
|
'wagerAmount': value['wagerAmount'],
|
|
105
105
|
'prize': value['prize'],
|
|
106
106
|
'currency': value['currency'],
|
|
@@ -18,13 +18,14 @@ exports.ApiUserLastBetGet200ResponseResponseObjectInnerFromJSON = ApiUserLastBet
|
|
|
18
18
|
exports.ApiUserLastBetGet200ResponseResponseObjectInnerFromJSONTyped = ApiUserLastBetGet200ResponseResponseObjectInnerFromJSONTyped;
|
|
19
19
|
exports.ApiUserLastBetGet200ResponseResponseObjectInnerToJSON = ApiUserLastBetGet200ResponseResponseObjectInnerToJSON;
|
|
20
20
|
exports.ApiUserLastBetGet200ResponseResponseObjectInnerToJSONTyped = ApiUserLastBetGet200ResponseResponseObjectInnerToJSONTyped;
|
|
21
|
+
const ApiUserLastBetGet200ResponseResponseObjectInnerUser_1 = require("./ApiUserLastBetGet200ResponseResponseObjectInnerUser");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the ApiUserLastBetGet200ResponseResponseObjectInner interface.
|
|
23
24
|
*/
|
|
24
25
|
function instanceOfApiUserLastBetGet200ResponseResponseObjectInner(value) {
|
|
25
26
|
if (!('gameSlug' in value) || value['gameSlug'] === undefined)
|
|
26
27
|
return false;
|
|
27
|
-
if (!('
|
|
28
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
28
29
|
return false;
|
|
29
30
|
if (!('date' in value) || value['date'] === undefined)
|
|
30
31
|
return false;
|
|
@@ -47,7 +48,7 @@ function ApiUserLastBetGet200ResponseResponseObjectInnerFromJSONTyped(json, igno
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'gameSlug': json['gameSlug'],
|
|
50
|
-
'
|
|
51
|
+
'user': (0, ApiUserLastBetGet200ResponseResponseObjectInnerUser_1.ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON)(json['user']),
|
|
51
52
|
'date': json['date'],
|
|
52
53
|
'wager': json['wager'],
|
|
53
54
|
'multiplier': json['multiplier'],
|
|
@@ -64,7 +65,7 @@ function ApiUserLastBetGet200ResponseResponseObjectInnerToJSONTyped(value, ignor
|
|
|
64
65
|
}
|
|
65
66
|
return {
|
|
66
67
|
'gameSlug': value['gameSlug'],
|
|
67
|
-
'
|
|
68
|
+
'user': (0, ApiUserLastBetGet200ResponseResponseObjectInnerUser_1.ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON)(value['user']),
|
|
68
69
|
'date': value['date'],
|
|
69
70
|
'wager': value['wager'],
|
|
70
71
|
'multiplier': value['multiplier'],
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiUserLastBetGet200ResponseResponseObjectInnerUser } from './ApiUserLastBetGet200ResponseResponseObjectInnerUser';
|
|
17
|
+
import {
|
|
18
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON,
|
|
19
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped,
|
|
20
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON,
|
|
21
|
+
ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped,
|
|
22
|
+
} from './ApiUserLastBetGet200ResponseResponseObjectInnerUser';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -27,10 +35,10 @@ export interface ApiUserLastBetGet200ResponseResponseObjectInner {
|
|
|
27
35
|
gameSlug: string;
|
|
28
36
|
/**
|
|
29
37
|
*
|
|
30
|
-
* @type {
|
|
38
|
+
* @type {ApiUserLastBetGet200ResponseResponseObjectInnerUser}
|
|
31
39
|
* @memberof ApiUserLastBetGet200ResponseResponseObjectInner
|
|
32
40
|
*/
|
|
33
|
-
|
|
41
|
+
user: ApiUserLastBetGet200ResponseResponseObjectInnerUser | null;
|
|
34
42
|
/**
|
|
35
43
|
*
|
|
36
44
|
* @type {string}
|
|
@@ -68,7 +76,7 @@ export interface ApiUserLastBetGet200ResponseResponseObjectInner {
|
|
|
68
76
|
*/
|
|
69
77
|
export function instanceOfApiUserLastBetGet200ResponseResponseObjectInner(value: object): value is ApiUserLastBetGet200ResponseResponseObjectInner {
|
|
70
78
|
if (!('gameSlug' in value) || value['gameSlug'] === undefined) return false;
|
|
71
|
-
if (!('
|
|
79
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
72
80
|
if (!('date' in value) || value['date'] === undefined) return false;
|
|
73
81
|
if (!('wager' in value) || value['wager'] === undefined) return false;
|
|
74
82
|
if (!('multiplier' in value) || value['multiplier'] === undefined) return false;
|
|
@@ -88,7 +96,7 @@ export function ApiUserLastBetGet200ResponseResponseObjectInnerFromJSONTyped(jso
|
|
|
88
96
|
return {
|
|
89
97
|
|
|
90
98
|
'gameSlug': json['gameSlug'],
|
|
91
|
-
'
|
|
99
|
+
'user': ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON(json['user']),
|
|
92
100
|
'date': json['date'],
|
|
93
101
|
'wager': json['wager'],
|
|
94
102
|
'multiplier': json['multiplier'],
|
|
@@ -109,7 +117,7 @@ export function ApiUserLastBetGet200ResponseResponseObjectInnerFromJSONTyped(jso
|
|
|
109
117
|
return {
|
|
110
118
|
|
|
111
119
|
'gameSlug': value['gameSlug'],
|
|
112
|
-
'
|
|
120
|
+
'user': ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON(value['user']),
|
|
113
121
|
'date': value['date'],
|
|
114
122
|
'wager': value['wager'],
|
|
115
123
|
'multiplier': value['multiplier'],
|
|
@@ -0,0 +1,70 @@
|
|
|
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.instanceOfApiUserLastBetGet200ResponseResponseObjectInnerUser = instanceOfApiUserLastBetGet200ResponseResponseObjectInnerUser;
|
|
17
|
+
exports.ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON = ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON;
|
|
18
|
+
exports.ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped = ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped;
|
|
19
|
+
exports.ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON = ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON;
|
|
20
|
+
exports.ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped = ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiUserLastBetGet200ResponseResponseObjectInnerUser interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiUserLastBetGet200ResponseResponseObjectInnerUser(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('isAnonymous' in value) || value['isAnonymous'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('loyaltyIcon' in value) || value['loyaltyIcon'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('loyaltyName' in value) || value['loyaltyName'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('imageUrl' in value) || value['imageUrl'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON(json) {
|
|
40
|
+
return ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
'isAnonymous': json['isAnonymous'],
|
|
50
|
+
'loyaltyIcon': json['loyaltyIcon'],
|
|
51
|
+
'loyaltyName': json['loyaltyName'],
|
|
52
|
+
'imageUrl': json['imageUrl'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON(json) {
|
|
56
|
+
return ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'id': value['id'],
|
|
64
|
+
'name': value['name'],
|
|
65
|
+
'isAnonymous': value['isAnonymous'],
|
|
66
|
+
'loyaltyIcon': value['loyaltyIcon'],
|
|
67
|
+
'loyaltyName': value['loyaltyName'],
|
|
68
|
+
'imageUrl': value['imageUrl'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 ApiUserLastBetGet200ResponseResponseObjectInnerUser
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiUserLastBetGet200ResponseResponseObjectInnerUser {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiUserLastBetGet200ResponseResponseObjectInnerUser
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiUserLastBetGet200ResponseResponseObjectInnerUser
|
|
32
|
+
*/
|
|
33
|
+
name: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof ApiUserLastBetGet200ResponseResponseObjectInnerUser
|
|
38
|
+
*/
|
|
39
|
+
isAnonymous: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiUserLastBetGet200ResponseResponseObjectInnerUser
|
|
44
|
+
*/
|
|
45
|
+
loyaltyIcon: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiUserLastBetGet200ResponseResponseObjectInnerUser
|
|
50
|
+
*/
|
|
51
|
+
loyaltyName: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ApiUserLastBetGet200ResponseResponseObjectInnerUser
|
|
56
|
+
*/
|
|
57
|
+
imageUrl: string | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the ApiUserLastBetGet200ResponseResponseObjectInnerUser interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfApiUserLastBetGet200ResponseResponseObjectInnerUser(value: object): value is ApiUserLastBetGet200ResponseResponseObjectInnerUser {
|
|
64
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
66
|
+
if (!('isAnonymous' in value) || value['isAnonymous'] === undefined) return false;
|
|
67
|
+
if (!('loyaltyIcon' in value) || value['loyaltyIcon'] === undefined) return false;
|
|
68
|
+
if (!('loyaltyName' in value) || value['loyaltyName'] === undefined) return false;
|
|
69
|
+
if (!('imageUrl' in value) || value['imageUrl'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSON(json: any): ApiUserLastBetGet200ResponseResponseObjectInnerUser {
|
|
74
|
+
return ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ApiUserLastBetGet200ResponseResponseObjectInnerUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserLastBetGet200ResponseResponseObjectInnerUser {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': json['id'],
|
|
84
|
+
'name': json['name'],
|
|
85
|
+
'isAnonymous': json['isAnonymous'],
|
|
86
|
+
'loyaltyIcon': json['loyaltyIcon'],
|
|
87
|
+
'loyaltyName': json['loyaltyName'],
|
|
88
|
+
'imageUrl': json['imageUrl'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSON(json: any): ApiUserLastBetGet200ResponseResponseObjectInnerUser {
|
|
93
|
+
return ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function ApiUserLastBetGet200ResponseResponseObjectInnerUserToJSONTyped(value?: ApiUserLastBetGet200ResponseResponseObjectInnerUser | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'id': value['id'],
|
|
104
|
+
'name': value['name'],
|
|
105
|
+
'isAnonymous': value['isAnonymous'],
|
|
106
|
+
'loyaltyIcon': value['loyaltyIcon'],
|
|
107
|
+
'loyaltyName': value['loyaltyName'],
|
|
108
|
+
'imageUrl': value['imageUrl'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
package/models/index.js
CHANGED
|
@@ -380,7 +380,6 @@ __exportStar(require("./ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvi
|
|
|
380
380
|
__exportStar(require("./ApiPublicLeaderboardCurrentGet200Response"), exports);
|
|
381
381
|
__exportStar(require("./ApiPublicLeaderboardCurrentGet200ResponseResponseObject"), exports);
|
|
382
382
|
__exportStar(require("./ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInner"), exports);
|
|
383
|
-
__exportStar(require("./ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser"), exports);
|
|
384
383
|
__exportStar(require("./ApiPublicLeaderboardCurrentGet200ResponseResponseObjectUserStats"), exports);
|
|
385
384
|
__exportStar(require("./ApiPublicPolicyGet200Response"), exports);
|
|
386
385
|
__exportStar(require("./ApiPublicPolicyGet200ResponseResponseObject"), exports);
|
|
@@ -580,6 +579,7 @@ __exportStar(require("./ApiUserHistoryWithdrawalGet200ResponseResponseObject"),
|
|
|
580
579
|
__exportStar(require("./ApiUserHistoryWithdrawalGet200ResponseResponseObjectItemsInner"), exports);
|
|
581
580
|
__exportStar(require("./ApiUserLastBetGet200Response"), exports);
|
|
582
581
|
__exportStar(require("./ApiUserLastBetGet200ResponseResponseObjectInner"), exports);
|
|
582
|
+
__exportStar(require("./ApiUserLastBetGet200ResponseResponseObjectInnerUser"), exports);
|
|
583
583
|
__exportStar(require("./ApiUserLoyaltyGet200Response"), exports);
|
|
584
584
|
__exportStar(require("./ApiUserLoyaltyGet200ResponseResponseObjectInner"), exports);
|
|
585
585
|
__exportStar(require("./ApiUserLoyaltyMeGet200Response"), exports);
|
package/models/index.ts
CHANGED
|
@@ -364,7 +364,6 @@ export * from './ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider';
|
|
|
364
364
|
export * from './ApiPublicLeaderboardCurrentGet200Response';
|
|
365
365
|
export * from './ApiPublicLeaderboardCurrentGet200ResponseResponseObject';
|
|
366
366
|
export * from './ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInner';
|
|
367
|
-
export * from './ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser';
|
|
368
367
|
export * from './ApiPublicLeaderboardCurrentGet200ResponseResponseObjectUserStats';
|
|
369
368
|
export * from './ApiPublicPolicyGet200Response';
|
|
370
369
|
export * from './ApiPublicPolicyGet200ResponseResponseObject';
|
|
@@ -564,6 +563,7 @@ export * from './ApiUserHistoryWithdrawalGet200ResponseResponseObject';
|
|
|
564
563
|
export * from './ApiUserHistoryWithdrawalGet200ResponseResponseObjectItemsInner';
|
|
565
564
|
export * from './ApiUserLastBetGet200Response';
|
|
566
565
|
export * from './ApiUserLastBetGet200ResponseResponseObjectInner';
|
|
566
|
+
export * from './ApiUserLastBetGet200ResponseResponseObjectInnerUser';
|
|
567
567
|
export * from './ApiUserLoyaltyGet200Response';
|
|
568
568
|
export * from './ApiUserLoyaltyGet200ResponseResponseObjectInner';
|
|
569
569
|
export * from './ApiUserLoyaltyMeGet200Response';
|
package/package.json
CHANGED
|
@@ -1,70 +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.instanceOfApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser = instanceOfApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser;
|
|
17
|
-
exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSON = ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSON;
|
|
18
|
-
exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSONTyped = ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSONTyped;
|
|
19
|
-
exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSON = ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSON;
|
|
20
|
-
exports.ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSONTyped = ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('isAnonymous' in value) || value['isAnonymous'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('loyaltyIcon' in value) || value['loyaltyIcon'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('loyaltyName' in value) || value['loyaltyName'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('imageUrl' in value) || value['imageUrl'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSON(json) {
|
|
40
|
-
return ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'id': json['id'],
|
|
48
|
-
'name': json['name'],
|
|
49
|
-
'isAnonymous': json['isAnonymous'],
|
|
50
|
-
'loyaltyIcon': json['loyaltyIcon'],
|
|
51
|
-
'loyaltyName': json['loyaltyName'],
|
|
52
|
-
'imageUrl': json['imageUrl'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSON(json) {
|
|
56
|
-
return ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
'id': value['id'],
|
|
64
|
-
'name': value['name'],
|
|
65
|
-
'isAnonymous': value['isAnonymous'],
|
|
66
|
-
'loyaltyIcon': value['loyaltyIcon'],
|
|
67
|
-
'loyaltyName': value['loyaltyName'],
|
|
68
|
-
'imageUrl': value['imageUrl'],
|
|
69
|
-
};
|
|
70
|
-
}
|
|
@@ -1,111 +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 ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser
|
|
26
|
-
*/
|
|
27
|
-
id: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser
|
|
32
|
-
*/
|
|
33
|
-
name: string | null;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser
|
|
38
|
-
*/
|
|
39
|
-
isAnonymous: boolean;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser
|
|
44
|
-
*/
|
|
45
|
-
loyaltyIcon: string | null;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser
|
|
50
|
-
*/
|
|
51
|
-
loyaltyName: string | null;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser
|
|
56
|
-
*/
|
|
57
|
-
imageUrl: string | null;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Check if a given object implements the ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser interface.
|
|
62
|
-
*/
|
|
63
|
-
export function instanceOfApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser(value: object): value is ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser {
|
|
64
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
66
|
-
if (!('isAnonymous' in value) || value['isAnonymous'] === undefined) return false;
|
|
67
|
-
if (!('loyaltyIcon' in value) || value['loyaltyIcon'] === undefined) return false;
|
|
68
|
-
if (!('loyaltyName' in value) || value['loyaltyName'] === undefined) return false;
|
|
69
|
-
if (!('imageUrl' in value) || value['imageUrl'] === undefined) return false;
|
|
70
|
-
return true;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSON(json: any): ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser {
|
|
74
|
-
return ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSONTyped(json, false);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser {
|
|
78
|
-
if (json == null) {
|
|
79
|
-
return json;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
|
|
83
|
-
'id': json['id'],
|
|
84
|
-
'name': json['name'],
|
|
85
|
-
'isAnonymous': json['isAnonymous'],
|
|
86
|
-
'loyaltyIcon': json['loyaltyIcon'],
|
|
87
|
-
'loyaltyName': json['loyaltyName'],
|
|
88
|
-
'imageUrl': json['imageUrl'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSON(json: any): ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser {
|
|
93
|
-
return ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUserToJSONTyped(value?: ApiPublicLeaderboardCurrentGet200ResponseResponseObjectRankingsInnerUser | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
-
if (value == null) {
|
|
98
|
-
return value;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return {
|
|
102
|
-
|
|
103
|
-
'id': value['id'],
|
|
104
|
-
'name': value['name'],
|
|
105
|
-
'isAnonymous': value['isAnonymous'],
|
|
106
|
-
'loyaltyIcon': value['loyaltyIcon'],
|
|
107
|
-
'loyaltyName': value['loyaltyName'],
|
|
108
|
-
'imageUrl': value['imageUrl'],
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
|