@gambulls-org/gambulls-apis 3.0.157 → 3.0.159
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 +5 -0
- package/apis/SportsbookApi.js +140 -0
- package/apis/SportsbookApi.ts +129 -0
- package/apis/index.js +1 -0
- package/apis/index.ts +1 -0
- package/models/ApiSportsbookGetBalancePost200Response.js +74 -0
- package/models/ApiSportsbookGetBalancePost200Response.ts +120 -0
- package/models/ApiSportsbookGetBalancePostRequest.js +70 -0
- package/models/ApiSportsbookGetBalancePostRequest.ts +111 -0
- package/models/ApiSportsbookGetUserInfoPost200Response.js +149 -0
- package/models/ApiSportsbookGetUserInfoPost200Response.ts +309 -0
- package/models/ApiSportsbookGetUserInfoPostRequest.js +62 -0
- package/models/ApiSportsbookGetUserInfoPostRequest.ts +93 -0
- package/models/index.js +4 -0
- package/models/index.ts +4 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -26,6 +26,7 @@ apis/PublicGamesApi.ts
|
|
|
26
26
|
apis/PublicPolicyApi.ts
|
|
27
27
|
apis/RGSApi.ts
|
|
28
28
|
apis/RGSV2Api.ts
|
|
29
|
+
apis/SportsbookApi.ts
|
|
29
30
|
apis/TatumApi.ts
|
|
30
31
|
apis/TestForNonProductionOnlyApi.ts
|
|
31
32
|
apis/UserAffiliateApi.ts
|
|
@@ -383,6 +384,10 @@ models/ApiRgsV2ResultPostRequest.ts
|
|
|
383
384
|
models/ApiRgsV2ResultPostRequestInf.ts
|
|
384
385
|
models/ApiRgsWinPostRequest.ts
|
|
385
386
|
models/ApiRgsWinPostRequestItemsInner.ts
|
|
387
|
+
models/ApiSportsbookGetBalancePost200Response.ts
|
|
388
|
+
models/ApiSportsbookGetBalancePostRequest.ts
|
|
389
|
+
models/ApiSportsbookGetUserInfoPost200Response.ts
|
|
390
|
+
models/ApiSportsbookGetUserInfoPostRequest.ts
|
|
386
391
|
models/ApiTatumHotWalletOutgoingNativePostRequest.ts
|
|
387
392
|
models/ApiTatumHotWalletOutgoingTokenPostRequest.ts
|
|
388
393
|
models/ApiTatumIncomingNativePostRequest.ts
|
|
@@ -0,0 +1,140 @@
|
|
|
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 () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
49
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
50
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
51
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
52
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
53
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
54
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
+
exports.SportsbookApi = void 0;
|
|
59
|
+
const runtime = __importStar(require("../runtime"));
|
|
60
|
+
const index_1 = require("../models/index");
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
class SportsbookApi extends runtime.BaseAPI {
|
|
65
|
+
/**
|
|
66
|
+
* Sportsbook GetBalance
|
|
67
|
+
*/
|
|
68
|
+
apiSportsbookGetBalancePostRaw(requestParameters, initOverrides) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
const queryParameters = {};
|
|
71
|
+
const headerParameters = {};
|
|
72
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
73
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
74
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
75
|
+
}
|
|
76
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
77
|
+
const token = this.configuration.accessToken;
|
|
78
|
+
const tokenString = yield token("BearerAuth", []);
|
|
79
|
+
if (tokenString) {
|
|
80
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const response = yield this.request({
|
|
84
|
+
path: `/api/sportsbook/GetBalance`,
|
|
85
|
+
method: 'POST',
|
|
86
|
+
headers: headerParameters,
|
|
87
|
+
query: queryParameters,
|
|
88
|
+
body: (0, index_1.ApiSportsbookGetBalancePostRequestToJSON)(requestParameters['apiSportsbookGetBalancePostRequest']),
|
|
89
|
+
}, initOverrides);
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiSportsbookGetBalancePost200ResponseFromJSON)(jsonValue));
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Sportsbook GetBalance
|
|
95
|
+
*/
|
|
96
|
+
apiSportsbookGetBalancePost() {
|
|
97
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
98
|
+
const response = yield this.apiSportsbookGetBalancePostRaw(requestParameters, initOverrides);
|
|
99
|
+
return yield response.value();
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Sportsbook GetUserInfo
|
|
104
|
+
*/
|
|
105
|
+
apiSportsbookGetUserInfoPostRaw(requestParameters, initOverrides) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
const queryParameters = {};
|
|
108
|
+
const headerParameters = {};
|
|
109
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
110
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
111
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
112
|
+
}
|
|
113
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
114
|
+
const token = this.configuration.accessToken;
|
|
115
|
+
const tokenString = yield token("BearerAuth", []);
|
|
116
|
+
if (tokenString) {
|
|
117
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
const response = yield this.request({
|
|
121
|
+
path: `/api/sportsbook/GetUserInfo`,
|
|
122
|
+
method: 'POST',
|
|
123
|
+
headers: headerParameters,
|
|
124
|
+
query: queryParameters,
|
|
125
|
+
body: (0, index_1.ApiSportsbookGetUserInfoPostRequestToJSON)(requestParameters['apiSportsbookGetUserInfoPostRequest']),
|
|
126
|
+
}, initOverrides);
|
|
127
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiSportsbookGetUserInfoPost200ResponseFromJSON)(jsonValue));
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Sportsbook GetUserInfo
|
|
132
|
+
*/
|
|
133
|
+
apiSportsbookGetUserInfoPost() {
|
|
134
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
135
|
+
const response = yield this.apiSportsbookGetUserInfoPostRaw(requestParameters, initOverrides);
|
|
136
|
+
return yield response.value();
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.SportsbookApi = SportsbookApi;
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
ApiSportsbookGetBalancePost200Response,
|
|
19
|
+
ApiSportsbookGetBalancePostRequest,
|
|
20
|
+
ApiSportsbookGetUserInfoPost200Response,
|
|
21
|
+
ApiSportsbookGetUserInfoPostRequest,
|
|
22
|
+
} from '../models/index';
|
|
23
|
+
import {
|
|
24
|
+
ApiSportsbookGetBalancePost200ResponseFromJSON,
|
|
25
|
+
ApiSportsbookGetBalancePost200ResponseToJSON,
|
|
26
|
+
ApiSportsbookGetBalancePostRequestFromJSON,
|
|
27
|
+
ApiSportsbookGetBalancePostRequestToJSON,
|
|
28
|
+
ApiSportsbookGetUserInfoPost200ResponseFromJSON,
|
|
29
|
+
ApiSportsbookGetUserInfoPost200ResponseToJSON,
|
|
30
|
+
ApiSportsbookGetUserInfoPostRequestFromJSON,
|
|
31
|
+
ApiSportsbookGetUserInfoPostRequestToJSON,
|
|
32
|
+
} from '../models/index';
|
|
33
|
+
|
|
34
|
+
export interface ApiSportsbookGetBalancePostOperationRequest {
|
|
35
|
+
apiSportsbookGetBalancePostRequest?: ApiSportsbookGetBalancePostRequest;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface ApiSportsbookGetUserInfoPostOperationRequest {
|
|
39
|
+
apiSportsbookGetUserInfoPostRequest?: ApiSportsbookGetUserInfoPostRequest;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export class SportsbookApi extends runtime.BaseAPI {
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Sportsbook GetBalance
|
|
49
|
+
*/
|
|
50
|
+
async apiSportsbookGetBalancePostRaw(requestParameters: ApiSportsbookGetBalancePostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSportsbookGetBalancePost200Response>> {
|
|
51
|
+
const queryParameters: any = {};
|
|
52
|
+
|
|
53
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
54
|
+
|
|
55
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
56
|
+
|
|
57
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
58
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
62
|
+
const token = this.configuration.accessToken;
|
|
63
|
+
const tokenString = await token("BearerAuth", []);
|
|
64
|
+
|
|
65
|
+
if (tokenString) {
|
|
66
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
const response = await this.request({
|
|
70
|
+
path: `/api/sportsbook/GetBalance`,
|
|
71
|
+
method: 'POST',
|
|
72
|
+
headers: headerParameters,
|
|
73
|
+
query: queryParameters,
|
|
74
|
+
body: ApiSportsbookGetBalancePostRequestToJSON(requestParameters['apiSportsbookGetBalancePostRequest']),
|
|
75
|
+
}, initOverrides);
|
|
76
|
+
|
|
77
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiSportsbookGetBalancePost200ResponseFromJSON(jsonValue));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Sportsbook GetBalance
|
|
82
|
+
*/
|
|
83
|
+
async apiSportsbookGetBalancePost(requestParameters: ApiSportsbookGetBalancePostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSportsbookGetBalancePost200Response> {
|
|
84
|
+
const response = await this.apiSportsbookGetBalancePostRaw(requestParameters, initOverrides);
|
|
85
|
+
return await response.value();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Sportsbook GetUserInfo
|
|
90
|
+
*/
|
|
91
|
+
async apiSportsbookGetUserInfoPostRaw(requestParameters: ApiSportsbookGetUserInfoPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiSportsbookGetUserInfoPost200Response>> {
|
|
92
|
+
const queryParameters: any = {};
|
|
93
|
+
|
|
94
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
95
|
+
|
|
96
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
97
|
+
|
|
98
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
99
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
103
|
+
const token = this.configuration.accessToken;
|
|
104
|
+
const tokenString = await token("BearerAuth", []);
|
|
105
|
+
|
|
106
|
+
if (tokenString) {
|
|
107
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
const response = await this.request({
|
|
111
|
+
path: `/api/sportsbook/GetUserInfo`,
|
|
112
|
+
method: 'POST',
|
|
113
|
+
headers: headerParameters,
|
|
114
|
+
query: queryParameters,
|
|
115
|
+
body: ApiSportsbookGetUserInfoPostRequestToJSON(requestParameters['apiSportsbookGetUserInfoPostRequest']),
|
|
116
|
+
}, initOverrides);
|
|
117
|
+
|
|
118
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiSportsbookGetUserInfoPost200ResponseFromJSON(jsonValue));
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Sportsbook GetUserInfo
|
|
123
|
+
*/
|
|
124
|
+
async apiSportsbookGetUserInfoPost(requestParameters: ApiSportsbookGetUserInfoPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiSportsbookGetUserInfoPost200Response> {
|
|
125
|
+
const response = await this.apiSportsbookGetUserInfoPostRaw(requestParameters, initOverrides);
|
|
126
|
+
return await response.value();
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
}
|
package/apis/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __exportStar(require("./PublicGamesApi"), exports);
|
|
|
44
44
|
__exportStar(require("./PublicPolicyApi"), exports);
|
|
45
45
|
__exportStar(require("./RGSApi"), exports);
|
|
46
46
|
__exportStar(require("./RGSV2Api"), exports);
|
|
47
|
+
__exportStar(require("./SportsbookApi"), exports);
|
|
47
48
|
__exportStar(require("./TatumApi"), exports);
|
|
48
49
|
__exportStar(require("./TestForNonProductionOnlyApi"), exports);
|
|
49
50
|
__exportStar(require("./UserAffiliateApi"), exports);
|
package/apis/index.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './PublicGamesApi';
|
|
|
28
28
|
export * from './PublicPolicyApi';
|
|
29
29
|
export * from './RGSApi';
|
|
30
30
|
export * from './RGSV2Api';
|
|
31
|
+
export * from './SportsbookApi';
|
|
31
32
|
export * from './TatumApi';
|
|
32
33
|
export * from './TestForNonProductionOnlyApi';
|
|
33
34
|
export * from './UserAffiliateApi';
|
|
@@ -0,0 +1,74 @@
|
|
|
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.instanceOfApiSportsbookGetBalancePost200Response = instanceOfApiSportsbookGetBalancePost200Response;
|
|
17
|
+
exports.ApiSportsbookGetBalancePost200ResponseFromJSON = ApiSportsbookGetBalancePost200ResponseFromJSON;
|
|
18
|
+
exports.ApiSportsbookGetBalancePost200ResponseFromJSONTyped = ApiSportsbookGetBalancePost200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiSportsbookGetBalancePost200ResponseToJSON = ApiSportsbookGetBalancePost200ResponseToJSON;
|
|
20
|
+
exports.ApiSportsbookGetBalancePost200ResponseToJSONTyped = ApiSportsbookGetBalancePost200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiSportsbookGetBalancePost200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiSportsbookGetBalancePost200Response(value) {
|
|
25
|
+
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('availableBalance' in value) || value['availableBalance'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('currencyId' in value) || value['currencyId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('signature' in value) || value['signature'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ApiSportsbookGetBalancePost200ResponseFromJSON(json) {
|
|
42
|
+
return ApiSportsbookGetBalancePost200ResponseFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ApiSportsbookGetBalancePost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'responseCode': json['ResponseCode'],
|
|
50
|
+
'description': json['Description'],
|
|
51
|
+
'timeStamp': json['TimeStamp'],
|
|
52
|
+
'token': json['Token'],
|
|
53
|
+
'availableBalance': json['AvailableBalance'],
|
|
54
|
+
'currencyId': json['CurrencyId'],
|
|
55
|
+
'signature': json['Signature'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function ApiSportsbookGetBalancePost200ResponseToJSON(json) {
|
|
59
|
+
return ApiSportsbookGetBalancePost200ResponseToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function ApiSportsbookGetBalancePost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'ResponseCode': value['responseCode'],
|
|
67
|
+
'Description': value['description'],
|
|
68
|
+
'TimeStamp': value['timeStamp'],
|
|
69
|
+
'Token': value['token'],
|
|
70
|
+
'AvailableBalance': value['availableBalance'],
|
|
71
|
+
'CurrencyId': value['currencyId'],
|
|
72
|
+
'Signature': value['signature'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 ApiSportsbookGetBalancePost200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiSportsbookGetBalancePost200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiSportsbookGetBalancePost200Response
|
|
26
|
+
*/
|
|
27
|
+
responseCode: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiSportsbookGetBalancePost200Response
|
|
32
|
+
*/
|
|
33
|
+
description: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ApiSportsbookGetBalancePost200Response
|
|
38
|
+
*/
|
|
39
|
+
timeStamp: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiSportsbookGetBalancePost200Response
|
|
44
|
+
*/
|
|
45
|
+
token: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ApiSportsbookGetBalancePost200Response
|
|
50
|
+
*/
|
|
51
|
+
availableBalance: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ApiSportsbookGetBalancePost200Response
|
|
56
|
+
*/
|
|
57
|
+
currencyId: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ApiSportsbookGetBalancePost200Response
|
|
62
|
+
*/
|
|
63
|
+
signature: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the ApiSportsbookGetBalancePost200Response interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfApiSportsbookGetBalancePost200Response(value: object): value is ApiSportsbookGetBalancePost200Response {
|
|
70
|
+
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
71
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
72
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined) return false;
|
|
73
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
74
|
+
if (!('availableBalance' in value) || value['availableBalance'] === undefined) return false;
|
|
75
|
+
if (!('currencyId' in value) || value['currencyId'] === undefined) return false;
|
|
76
|
+
if (!('signature' in value) || value['signature'] === undefined) return false;
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function ApiSportsbookGetBalancePost200ResponseFromJSON(json: any): ApiSportsbookGetBalancePost200Response {
|
|
81
|
+
return ApiSportsbookGetBalancePost200ResponseFromJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function ApiSportsbookGetBalancePost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSportsbookGetBalancePost200Response {
|
|
85
|
+
if (json == null) {
|
|
86
|
+
return json;
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'responseCode': json['ResponseCode'],
|
|
91
|
+
'description': json['Description'],
|
|
92
|
+
'timeStamp': json['TimeStamp'],
|
|
93
|
+
'token': json['Token'],
|
|
94
|
+
'availableBalance': json['AvailableBalance'],
|
|
95
|
+
'currencyId': json['CurrencyId'],
|
|
96
|
+
'signature': json['Signature'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function ApiSportsbookGetBalancePost200ResponseToJSON(json: any): ApiSportsbookGetBalancePost200Response {
|
|
101
|
+
return ApiSportsbookGetBalancePost200ResponseToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function ApiSportsbookGetBalancePost200ResponseToJSONTyped(value?: ApiSportsbookGetBalancePost200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'ResponseCode': value['responseCode'],
|
|
112
|
+
'Description': value['description'],
|
|
113
|
+
'TimeStamp': value['timeStamp'],
|
|
114
|
+
'Token': value['token'],
|
|
115
|
+
'AvailableBalance': value['availableBalance'],
|
|
116
|
+
'CurrencyId': value['currencyId'],
|
|
117
|
+
'Signature': value['signature'],
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -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.instanceOfApiSportsbookGetBalancePostRequest = instanceOfApiSportsbookGetBalancePostRequest;
|
|
17
|
+
exports.ApiSportsbookGetBalancePostRequestFromJSON = ApiSportsbookGetBalancePostRequestFromJSON;
|
|
18
|
+
exports.ApiSportsbookGetBalancePostRequestFromJSONTyped = ApiSportsbookGetBalancePostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiSportsbookGetBalancePostRequestToJSON = ApiSportsbookGetBalancePostRequestToJSON;
|
|
20
|
+
exports.ApiSportsbookGetBalancePostRequestToJSONTyped = ApiSportsbookGetBalancePostRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiSportsbookGetBalancePostRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiSportsbookGetBalancePostRequest(value) {
|
|
25
|
+
if (!('partnerId' in value) || value['partnerId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('currencyId' in value) || value['currencyId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('signature' in value) || value['signature'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function ApiSportsbookGetBalancePostRequestFromJSON(json) {
|
|
40
|
+
return ApiSportsbookGetBalancePostRequestFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ApiSportsbookGetBalancePostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'partnerId': json['PartnerId'],
|
|
48
|
+
'timeStamp': json['TimeStamp'],
|
|
49
|
+
'token': json['Token'],
|
|
50
|
+
'clientId': json['ClientId'],
|
|
51
|
+
'currencyId': json['CurrencyId'],
|
|
52
|
+
'signature': json['Signature'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function ApiSportsbookGetBalancePostRequestToJSON(json) {
|
|
56
|
+
return ApiSportsbookGetBalancePostRequestToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function ApiSportsbookGetBalancePostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'PartnerId': value['partnerId'],
|
|
64
|
+
'TimeStamp': value['timeStamp'],
|
|
65
|
+
'Token': value['token'],
|
|
66
|
+
'ClientId': value['clientId'],
|
|
67
|
+
'CurrencyId': value['currencyId'],
|
|
68
|
+
'Signature': value['signature'],
|
|
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 ApiSportsbookGetBalancePostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiSportsbookGetBalancePostRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiSportsbookGetBalancePostRequest
|
|
26
|
+
*/
|
|
27
|
+
partnerId: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ApiSportsbookGetBalancePostRequest
|
|
32
|
+
*/
|
|
33
|
+
timeStamp: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiSportsbookGetBalancePostRequest
|
|
38
|
+
*/
|
|
39
|
+
token: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiSportsbookGetBalancePostRequest
|
|
44
|
+
*/
|
|
45
|
+
clientId: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiSportsbookGetBalancePostRequest
|
|
50
|
+
*/
|
|
51
|
+
currencyId: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ApiSportsbookGetBalancePostRequest
|
|
56
|
+
*/
|
|
57
|
+
signature: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the ApiSportsbookGetBalancePostRequest interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfApiSportsbookGetBalancePostRequest(value: object): value is ApiSportsbookGetBalancePostRequest {
|
|
64
|
+
if (!('partnerId' in value) || value['partnerId'] === undefined) return false;
|
|
65
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined) return false;
|
|
66
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
67
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
68
|
+
if (!('currencyId' in value) || value['currencyId'] === undefined) return false;
|
|
69
|
+
if (!('signature' in value) || value['signature'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ApiSportsbookGetBalancePostRequestFromJSON(json: any): ApiSportsbookGetBalancePostRequest {
|
|
74
|
+
return ApiSportsbookGetBalancePostRequestFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ApiSportsbookGetBalancePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSportsbookGetBalancePostRequest {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'partnerId': json['PartnerId'],
|
|
84
|
+
'timeStamp': json['TimeStamp'],
|
|
85
|
+
'token': json['Token'],
|
|
86
|
+
'clientId': json['ClientId'],
|
|
87
|
+
'currencyId': json['CurrencyId'],
|
|
88
|
+
'signature': json['Signature'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function ApiSportsbookGetBalancePostRequestToJSON(json: any): ApiSportsbookGetBalancePostRequest {
|
|
93
|
+
return ApiSportsbookGetBalancePostRequestToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function ApiSportsbookGetBalancePostRequestToJSONTyped(value?: ApiSportsbookGetBalancePostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'PartnerId': value['partnerId'],
|
|
104
|
+
'TimeStamp': value['timeStamp'],
|
|
105
|
+
'Token': value['token'],
|
|
106
|
+
'ClientId': value['clientId'],
|
|
107
|
+
'CurrencyId': value['currencyId'],
|
|
108
|
+
'Signature': value['signature'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,149 @@
|
|
|
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.ApiSportsbookGetUserInfoPost200ResponseExclusionIdEnum = exports.ApiSportsbookGetUserInfoPost200ResponseUserTypeIdEnum = exports.ApiSportsbookGetUserInfoPost200ResponseGenderEnum = void 0;
|
|
17
|
+
exports.instanceOfApiSportsbookGetUserInfoPost200Response = instanceOfApiSportsbookGetUserInfoPost200Response;
|
|
18
|
+
exports.ApiSportsbookGetUserInfoPost200ResponseFromJSON = ApiSportsbookGetUserInfoPost200ResponseFromJSON;
|
|
19
|
+
exports.ApiSportsbookGetUserInfoPost200ResponseFromJSONTyped = ApiSportsbookGetUserInfoPost200ResponseFromJSONTyped;
|
|
20
|
+
exports.ApiSportsbookGetUserInfoPost200ResponseToJSON = ApiSportsbookGetUserInfoPost200ResponseToJSON;
|
|
21
|
+
exports.ApiSportsbookGetUserInfoPost200ResponseToJSONTyped = ApiSportsbookGetUserInfoPost200ResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ApiSportsbookGetUserInfoPost200ResponseGenderEnum = {
|
|
26
|
+
NUMBER_1: 1,
|
|
27
|
+
NUMBER_2: 2
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.ApiSportsbookGetUserInfoPost200ResponseUserTypeIdEnum = {
|
|
33
|
+
NUMBER_7: 7,
|
|
34
|
+
NUMBER_2: 2
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
exports.ApiSportsbookGetUserInfoPost200ResponseExclusionIdEnum = {
|
|
40
|
+
NUMBER_1: 1,
|
|
41
|
+
NUMBER_2: 2,
|
|
42
|
+
NUMBER_3: 3
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiSportsbookGetUserInfoPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
function instanceOfApiSportsbookGetUserInfoPost200Response(value) {
|
|
48
|
+
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('currencyId' in value) || value['currencyId'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('gender' in value) || value['gender'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('birthDate' in value) || value['birthDate'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
if (!('betShopId' in value) || value['betShopId'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('territoryId' in value) || value['territoryId'] === undefined)
|
|
71
|
+
return false;
|
|
72
|
+
if (!('availableBalance' in value) || value['availableBalance'] === undefined)
|
|
73
|
+
return false;
|
|
74
|
+
if (!('signature' in value) || value['signature'] === undefined)
|
|
75
|
+
return false;
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
function ApiSportsbookGetUserInfoPost200ResponseFromJSON(json) {
|
|
79
|
+
return ApiSportsbookGetUserInfoPost200ResponseFromJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
function ApiSportsbookGetUserInfoPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
82
|
+
if (json == null) {
|
|
83
|
+
return json;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'responseCode': json['ResponseCode'],
|
|
87
|
+
'description': json['Description'],
|
|
88
|
+
'timeStamp': json['TimeStamp'],
|
|
89
|
+
'token': json['Token'],
|
|
90
|
+
'clientId': json['ClientId'],
|
|
91
|
+
'currencyId': json['CurrencyId'],
|
|
92
|
+
'firstName': json['FirstName'],
|
|
93
|
+
'lastName': json['LastName'],
|
|
94
|
+
'gender': json['Gender'],
|
|
95
|
+
'birthDate': json['BirthDate'],
|
|
96
|
+
'betShopId': json['BetShopId'],
|
|
97
|
+
'territoryId': json['TerritoryId'],
|
|
98
|
+
'userTypeId': json['UserTypeId'] == null ? undefined : json['UserTypeId'],
|
|
99
|
+
'availableBalance': json['AvailableBalance'],
|
|
100
|
+
'isBot': json['IsBot'] == null ? undefined : json['IsBot'],
|
|
101
|
+
'percentLimit': json['PercentLimit'] == null ? undefined : json['PercentLimit'],
|
|
102
|
+
'groupId': json['GroupId'] == null ? undefined : json['GroupId'],
|
|
103
|
+
'userClass': json['UserClass'] == null ? undefined : json['UserClass'],
|
|
104
|
+
'minBetAmount': json['MinBetAmount'] == null ? undefined : json['MinBetAmount'],
|
|
105
|
+
'minSingleBetAmount': json['MinSingleBetAmount'] == null ? undefined : json['MinSingleBetAmount'],
|
|
106
|
+
'minExpressBetAmount': json['MinExpressBetAmount'] == null ? undefined : json['MinExpressBetAmount'],
|
|
107
|
+
'userGroupId': json['UserGroupId'] == null ? undefined : json['UserGroupId'],
|
|
108
|
+
'signature': json['Signature'],
|
|
109
|
+
'nickName': json['NickName'] == null ? undefined : json['NickName'],
|
|
110
|
+
'terminalId': json['TerminalId'] == null ? undefined : json['TerminalId'],
|
|
111
|
+
'exclusionId': json['ExclusionId'] == null ? undefined : json['ExclusionId'],
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function ApiSportsbookGetUserInfoPost200ResponseToJSON(json) {
|
|
115
|
+
return ApiSportsbookGetUserInfoPost200ResponseToJSONTyped(json, false);
|
|
116
|
+
}
|
|
117
|
+
function ApiSportsbookGetUserInfoPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
118
|
+
if (value == null) {
|
|
119
|
+
return value;
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
'ResponseCode': value['responseCode'],
|
|
123
|
+
'Description': value['description'],
|
|
124
|
+
'TimeStamp': value['timeStamp'],
|
|
125
|
+
'Token': value['token'],
|
|
126
|
+
'ClientId': value['clientId'],
|
|
127
|
+
'CurrencyId': value['currencyId'],
|
|
128
|
+
'FirstName': value['firstName'],
|
|
129
|
+
'LastName': value['lastName'],
|
|
130
|
+
'Gender': value['gender'],
|
|
131
|
+
'BirthDate': value['birthDate'],
|
|
132
|
+
'BetShopId': value['betShopId'],
|
|
133
|
+
'TerritoryId': value['territoryId'],
|
|
134
|
+
'UserTypeId': value['userTypeId'],
|
|
135
|
+
'AvailableBalance': value['availableBalance'],
|
|
136
|
+
'IsBot': value['isBot'],
|
|
137
|
+
'PercentLimit': value['percentLimit'],
|
|
138
|
+
'GroupId': value['groupId'],
|
|
139
|
+
'UserClass': value['userClass'],
|
|
140
|
+
'MinBetAmount': value['minBetAmount'],
|
|
141
|
+
'MinSingleBetAmount': value['minSingleBetAmount'],
|
|
142
|
+
'MinExpressBetAmount': value['minExpressBetAmount'],
|
|
143
|
+
'UserGroupId': value['userGroupId'],
|
|
144
|
+
'Signature': value['signature'],
|
|
145
|
+
'NickName': value['nickName'],
|
|
146
|
+
'TerminalId': value['terminalId'],
|
|
147
|
+
'ExclusionId': value['exclusionId'],
|
|
148
|
+
};
|
|
149
|
+
}
|
|
@@ -0,0 +1,309 @@
|
|
|
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 ApiSportsbookGetUserInfoPost200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiSportsbookGetUserInfoPost200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
26
|
+
*/
|
|
27
|
+
responseCode: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
32
|
+
*/
|
|
33
|
+
description: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
38
|
+
*/
|
|
39
|
+
timeStamp: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
44
|
+
*/
|
|
45
|
+
token: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
50
|
+
*/
|
|
51
|
+
clientId: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
56
|
+
*/
|
|
57
|
+
currencyId: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
62
|
+
*/
|
|
63
|
+
firstName: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
68
|
+
*/
|
|
69
|
+
lastName: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
74
|
+
*/
|
|
75
|
+
gender: ApiSportsbookGetUserInfoPost200ResponseGenderEnum;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
80
|
+
*/
|
|
81
|
+
birthDate: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
86
|
+
*/
|
|
87
|
+
betShopId: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
92
|
+
*/
|
|
93
|
+
territoryId: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
98
|
+
*/
|
|
99
|
+
userTypeId?: ApiSportsbookGetUserInfoPost200ResponseUserTypeIdEnum;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
104
|
+
*/
|
|
105
|
+
availableBalance: number;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {boolean}
|
|
109
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
110
|
+
*/
|
|
111
|
+
isBot?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
116
|
+
*/
|
|
117
|
+
percentLimit?: number;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {number}
|
|
121
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
122
|
+
*/
|
|
123
|
+
groupId?: number;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
128
|
+
*/
|
|
129
|
+
userClass?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {number}
|
|
133
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
134
|
+
*/
|
|
135
|
+
minBetAmount?: number;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {number}
|
|
139
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
140
|
+
*/
|
|
141
|
+
minSingleBetAmount?: number;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {number}
|
|
145
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
146
|
+
*/
|
|
147
|
+
minExpressBetAmount?: number;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {number}
|
|
151
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
152
|
+
*/
|
|
153
|
+
userGroupId?: number;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
158
|
+
*/
|
|
159
|
+
signature: string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
164
|
+
*/
|
|
165
|
+
nickName?: string;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {number}
|
|
169
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
170
|
+
*/
|
|
171
|
+
terminalId?: number;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {number}
|
|
175
|
+
* @memberof ApiSportsbookGetUserInfoPost200Response
|
|
176
|
+
*/
|
|
177
|
+
exclusionId?: ApiSportsbookGetUserInfoPost200ResponseExclusionIdEnum;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @export
|
|
183
|
+
*/
|
|
184
|
+
export const ApiSportsbookGetUserInfoPost200ResponseGenderEnum = {
|
|
185
|
+
NUMBER_1: 1,
|
|
186
|
+
NUMBER_2: 2
|
|
187
|
+
} as const;
|
|
188
|
+
export type ApiSportsbookGetUserInfoPost200ResponseGenderEnum = typeof ApiSportsbookGetUserInfoPost200ResponseGenderEnum[keyof typeof ApiSportsbookGetUserInfoPost200ResponseGenderEnum];
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @export
|
|
192
|
+
*/
|
|
193
|
+
export const ApiSportsbookGetUserInfoPost200ResponseUserTypeIdEnum = {
|
|
194
|
+
NUMBER_7: 7,
|
|
195
|
+
NUMBER_2: 2
|
|
196
|
+
} as const;
|
|
197
|
+
export type ApiSportsbookGetUserInfoPost200ResponseUserTypeIdEnum = typeof ApiSportsbookGetUserInfoPost200ResponseUserTypeIdEnum[keyof typeof ApiSportsbookGetUserInfoPost200ResponseUserTypeIdEnum];
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @export
|
|
201
|
+
*/
|
|
202
|
+
export const ApiSportsbookGetUserInfoPost200ResponseExclusionIdEnum = {
|
|
203
|
+
NUMBER_1: 1,
|
|
204
|
+
NUMBER_2: 2,
|
|
205
|
+
NUMBER_3: 3
|
|
206
|
+
} as const;
|
|
207
|
+
export type ApiSportsbookGetUserInfoPost200ResponseExclusionIdEnum = typeof ApiSportsbookGetUserInfoPost200ResponseExclusionIdEnum[keyof typeof ApiSportsbookGetUserInfoPost200ResponseExclusionIdEnum];
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Check if a given object implements the ApiSportsbookGetUserInfoPost200Response interface.
|
|
212
|
+
*/
|
|
213
|
+
export function instanceOfApiSportsbookGetUserInfoPost200Response(value: object): value is ApiSportsbookGetUserInfoPost200Response {
|
|
214
|
+
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
215
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
216
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined) return false;
|
|
217
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
218
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
219
|
+
if (!('currencyId' in value) || value['currencyId'] === undefined) return false;
|
|
220
|
+
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
221
|
+
if (!('lastName' in value) || value['lastName'] === undefined) return false;
|
|
222
|
+
if (!('gender' in value) || value['gender'] === undefined) return false;
|
|
223
|
+
if (!('birthDate' in value) || value['birthDate'] === undefined) return false;
|
|
224
|
+
if (!('betShopId' in value) || value['betShopId'] === undefined) return false;
|
|
225
|
+
if (!('territoryId' in value) || value['territoryId'] === undefined) return false;
|
|
226
|
+
if (!('availableBalance' in value) || value['availableBalance'] === undefined) return false;
|
|
227
|
+
if (!('signature' in value) || value['signature'] === undefined) return false;
|
|
228
|
+
return true;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export function ApiSportsbookGetUserInfoPost200ResponseFromJSON(json: any): ApiSportsbookGetUserInfoPost200Response {
|
|
232
|
+
return ApiSportsbookGetUserInfoPost200ResponseFromJSONTyped(json, false);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export function ApiSportsbookGetUserInfoPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSportsbookGetUserInfoPost200Response {
|
|
236
|
+
if (json == null) {
|
|
237
|
+
return json;
|
|
238
|
+
}
|
|
239
|
+
return {
|
|
240
|
+
|
|
241
|
+
'responseCode': json['ResponseCode'],
|
|
242
|
+
'description': json['Description'],
|
|
243
|
+
'timeStamp': json['TimeStamp'],
|
|
244
|
+
'token': json['Token'],
|
|
245
|
+
'clientId': json['ClientId'],
|
|
246
|
+
'currencyId': json['CurrencyId'],
|
|
247
|
+
'firstName': json['FirstName'],
|
|
248
|
+
'lastName': json['LastName'],
|
|
249
|
+
'gender': json['Gender'],
|
|
250
|
+
'birthDate': json['BirthDate'],
|
|
251
|
+
'betShopId': json['BetShopId'],
|
|
252
|
+
'territoryId': json['TerritoryId'],
|
|
253
|
+
'userTypeId': json['UserTypeId'] == null ? undefined : json['UserTypeId'],
|
|
254
|
+
'availableBalance': json['AvailableBalance'],
|
|
255
|
+
'isBot': json['IsBot'] == null ? undefined : json['IsBot'],
|
|
256
|
+
'percentLimit': json['PercentLimit'] == null ? undefined : json['PercentLimit'],
|
|
257
|
+
'groupId': json['GroupId'] == null ? undefined : json['GroupId'],
|
|
258
|
+
'userClass': json['UserClass'] == null ? undefined : json['UserClass'],
|
|
259
|
+
'minBetAmount': json['MinBetAmount'] == null ? undefined : json['MinBetAmount'],
|
|
260
|
+
'minSingleBetAmount': json['MinSingleBetAmount'] == null ? undefined : json['MinSingleBetAmount'],
|
|
261
|
+
'minExpressBetAmount': json['MinExpressBetAmount'] == null ? undefined : json['MinExpressBetAmount'],
|
|
262
|
+
'userGroupId': json['UserGroupId'] == null ? undefined : json['UserGroupId'],
|
|
263
|
+
'signature': json['Signature'],
|
|
264
|
+
'nickName': json['NickName'] == null ? undefined : json['NickName'],
|
|
265
|
+
'terminalId': json['TerminalId'] == null ? undefined : json['TerminalId'],
|
|
266
|
+
'exclusionId': json['ExclusionId'] == null ? undefined : json['ExclusionId'],
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export function ApiSportsbookGetUserInfoPost200ResponseToJSON(json: any): ApiSportsbookGetUserInfoPost200Response {
|
|
271
|
+
return ApiSportsbookGetUserInfoPost200ResponseToJSONTyped(json, false);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export function ApiSportsbookGetUserInfoPost200ResponseToJSONTyped(value?: ApiSportsbookGetUserInfoPost200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
275
|
+
if (value == null) {
|
|
276
|
+
return value;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
return {
|
|
280
|
+
|
|
281
|
+
'ResponseCode': value['responseCode'],
|
|
282
|
+
'Description': value['description'],
|
|
283
|
+
'TimeStamp': value['timeStamp'],
|
|
284
|
+
'Token': value['token'],
|
|
285
|
+
'ClientId': value['clientId'],
|
|
286
|
+
'CurrencyId': value['currencyId'],
|
|
287
|
+
'FirstName': value['firstName'],
|
|
288
|
+
'LastName': value['lastName'],
|
|
289
|
+
'Gender': value['gender'],
|
|
290
|
+
'BirthDate': value['birthDate'],
|
|
291
|
+
'BetShopId': value['betShopId'],
|
|
292
|
+
'TerritoryId': value['territoryId'],
|
|
293
|
+
'UserTypeId': value['userTypeId'],
|
|
294
|
+
'AvailableBalance': value['availableBalance'],
|
|
295
|
+
'IsBot': value['isBot'],
|
|
296
|
+
'PercentLimit': value['percentLimit'],
|
|
297
|
+
'GroupId': value['groupId'],
|
|
298
|
+
'UserClass': value['userClass'],
|
|
299
|
+
'MinBetAmount': value['minBetAmount'],
|
|
300
|
+
'MinSingleBetAmount': value['minSingleBetAmount'],
|
|
301
|
+
'MinExpressBetAmount': value['minExpressBetAmount'],
|
|
302
|
+
'UserGroupId': value['userGroupId'],
|
|
303
|
+
'Signature': value['signature'],
|
|
304
|
+
'NickName': value['nickName'],
|
|
305
|
+
'TerminalId': value['terminalId'],
|
|
306
|
+
'ExclusionId': value['exclusionId'],
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfApiSportsbookGetUserInfoPostRequest = instanceOfApiSportsbookGetUserInfoPostRequest;
|
|
17
|
+
exports.ApiSportsbookGetUserInfoPostRequestFromJSON = ApiSportsbookGetUserInfoPostRequestFromJSON;
|
|
18
|
+
exports.ApiSportsbookGetUserInfoPostRequestFromJSONTyped = ApiSportsbookGetUserInfoPostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiSportsbookGetUserInfoPostRequestToJSON = ApiSportsbookGetUserInfoPostRequestToJSON;
|
|
20
|
+
exports.ApiSportsbookGetUserInfoPostRequestToJSONTyped = ApiSportsbookGetUserInfoPostRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiSportsbookGetUserInfoPostRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiSportsbookGetUserInfoPostRequest(value) {
|
|
25
|
+
if (!('partnerId' in value) || value['partnerId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('signature' in value) || value['signature'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ApiSportsbookGetUserInfoPostRequestFromJSON(json) {
|
|
36
|
+
return ApiSportsbookGetUserInfoPostRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ApiSportsbookGetUserInfoPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'partnerId': json['PartnerId'],
|
|
44
|
+
'timeStamp': json['TimeStamp'],
|
|
45
|
+
'token': json['Token'],
|
|
46
|
+
'signature': json['Signature'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ApiSportsbookGetUserInfoPostRequestToJSON(json) {
|
|
50
|
+
return ApiSportsbookGetUserInfoPostRequestToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ApiSportsbookGetUserInfoPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'PartnerId': value['partnerId'],
|
|
58
|
+
'TimeStamp': value['timeStamp'],
|
|
59
|
+
'Token': value['token'],
|
|
60
|
+
'Signature': value['signature'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 ApiSportsbookGetUserInfoPostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiSportsbookGetUserInfoPostRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiSportsbookGetUserInfoPostRequest
|
|
26
|
+
*/
|
|
27
|
+
partnerId: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ApiSportsbookGetUserInfoPostRequest
|
|
32
|
+
*/
|
|
33
|
+
timeStamp: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiSportsbookGetUserInfoPostRequest
|
|
38
|
+
*/
|
|
39
|
+
token: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiSportsbookGetUserInfoPostRequest
|
|
44
|
+
*/
|
|
45
|
+
signature: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ApiSportsbookGetUserInfoPostRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfApiSportsbookGetUserInfoPostRequest(value: object): value is ApiSportsbookGetUserInfoPostRequest {
|
|
52
|
+
if (!('partnerId' in value) || value['partnerId'] === undefined) return false;
|
|
53
|
+
if (!('timeStamp' in value) || value['timeStamp'] === undefined) return false;
|
|
54
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
55
|
+
if (!('signature' in value) || value['signature'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ApiSportsbookGetUserInfoPostRequestFromJSON(json: any): ApiSportsbookGetUserInfoPostRequest {
|
|
60
|
+
return ApiSportsbookGetUserInfoPostRequestFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ApiSportsbookGetUserInfoPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiSportsbookGetUserInfoPostRequest {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'partnerId': json['PartnerId'],
|
|
70
|
+
'timeStamp': json['TimeStamp'],
|
|
71
|
+
'token': json['Token'],
|
|
72
|
+
'signature': json['Signature'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ApiSportsbookGetUserInfoPostRequestToJSON(json: any): ApiSportsbookGetUserInfoPostRequest {
|
|
77
|
+
return ApiSportsbookGetUserInfoPostRequestToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function ApiSportsbookGetUserInfoPostRequestToJSONTyped(value?: ApiSportsbookGetUserInfoPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'PartnerId': value['partnerId'],
|
|
88
|
+
'TimeStamp': value['timeStamp'],
|
|
89
|
+
'Token': value['token'],
|
|
90
|
+
'Signature': value['signature'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
package/models/index.js
CHANGED
|
@@ -350,6 +350,10 @@ __exportStar(require("./ApiRgsV2ResultPostRequest"), exports);
|
|
|
350
350
|
__exportStar(require("./ApiRgsV2ResultPostRequestInf"), exports);
|
|
351
351
|
__exportStar(require("./ApiRgsWinPostRequest"), exports);
|
|
352
352
|
__exportStar(require("./ApiRgsWinPostRequestItemsInner"), exports);
|
|
353
|
+
__exportStar(require("./ApiSportsbookGetBalancePost200Response"), exports);
|
|
354
|
+
__exportStar(require("./ApiSportsbookGetBalancePostRequest"), exports);
|
|
355
|
+
__exportStar(require("./ApiSportsbookGetUserInfoPost200Response"), exports);
|
|
356
|
+
__exportStar(require("./ApiSportsbookGetUserInfoPostRequest"), exports);
|
|
353
357
|
__exportStar(require("./ApiTatumHotWalletOutgoingNativePostRequest"), exports);
|
|
354
358
|
__exportStar(require("./ApiTatumHotWalletOutgoingTokenPostRequest"), exports);
|
|
355
359
|
__exportStar(require("./ApiTatumIncomingNativePostRequest"), exports);
|
package/models/index.ts
CHANGED
|
@@ -334,6 +334,10 @@ export * from './ApiRgsV2ResultPostRequest';
|
|
|
334
334
|
export * from './ApiRgsV2ResultPostRequestInf';
|
|
335
335
|
export * from './ApiRgsWinPostRequest';
|
|
336
336
|
export * from './ApiRgsWinPostRequestItemsInner';
|
|
337
|
+
export * from './ApiSportsbookGetBalancePost200Response';
|
|
338
|
+
export * from './ApiSportsbookGetBalancePostRequest';
|
|
339
|
+
export * from './ApiSportsbookGetUserInfoPost200Response';
|
|
340
|
+
export * from './ApiSportsbookGetUserInfoPostRequest';
|
|
337
341
|
export * from './ApiTatumHotWalletOutgoingNativePostRequest';
|
|
338
342
|
export * from './ApiTatumHotWalletOutgoingTokenPostRequest';
|
|
339
343
|
export * from './ApiTatumIncomingNativePostRequest';
|