@gambulls-org/gambulls-apis 3.0.812 → 3.0.814
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 +3 -0
- package/apis/AdminHub88Api.js +175 -0
- package/apis/AdminHub88Api.ts +179 -0
- package/apis/AdminPaymentSystemApi.js +3 -0
- package/apis/AdminPaymentSystemApi.ts +5 -0
- package/apis/Hub88Api.js +113 -0
- package/apis/Hub88Api.ts +110 -0
- package/apis/index.js +2 -0
- package/apis/index.ts +2 -0
- package/models/ApiAdminHub88SyncGamesPostRequest.js +50 -0
- package/models/ApiAdminHub88SyncGamesPostRequest.ts +73 -0
- package/models/index.js +1 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -13,6 +13,7 @@ apis/AdminExchangeApi.ts
|
|
|
13
13
|
apis/AdminFileManagementApi.ts
|
|
14
14
|
apis/AdminGamesApi.ts
|
|
15
15
|
apis/AdminGroupApi.ts
|
|
16
|
+
apis/AdminHub88Api.ts
|
|
16
17
|
apis/AdminIBankRollApi.ts
|
|
17
18
|
apis/AdminJackpotApi.ts
|
|
18
19
|
apis/AdminLeaderboardApi.ts
|
|
@@ -40,6 +41,7 @@ apis/CMSApi.ts
|
|
|
40
41
|
apis/CronDataCleanupApi.ts
|
|
41
42
|
apis/CronRecoveryApi.ts
|
|
42
43
|
apis/HealthCheckApi.ts
|
|
44
|
+
apis/Hub88Api.ts
|
|
43
45
|
apis/JackpotApi.ts
|
|
44
46
|
apis/PublicApi.ts
|
|
45
47
|
apis/PublicBannerApi.ts
|
|
@@ -259,6 +261,7 @@ models/ApiAdminGroupGroupIdGet200ResponseResponseObjectGroupUsersInnerUser.ts
|
|
|
259
261
|
models/ApiAdminGroupPost200Response.ts
|
|
260
262
|
models/ApiAdminGroupPost200ResponseResponseObject.ts
|
|
261
263
|
models/ApiAdminGroupPostRequest.ts
|
|
264
|
+
models/ApiAdminHub88SyncGamesPostRequest.ts
|
|
262
265
|
models/ApiAdminIbankrollBetFeedGet200Response.ts
|
|
263
266
|
models/ApiAdminIbankrollBetFeedGet200ResponseResponseObject.ts
|
|
264
267
|
models/ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner.ts
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.AdminHub88Api = void 0;
|
|
49
|
+
const runtime = __importStar(require("../runtime"));
|
|
50
|
+
const index_1 = require("../models/index");
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
class AdminHub88Api extends runtime.BaseAPI {
|
|
55
|
+
/**
|
|
56
|
+
* Hub88 - Get Game Round
|
|
57
|
+
*/
|
|
58
|
+
apiAdminHub88GameRoundGetRaw(requestParameters, initOverrides) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
if (requestParameters['round'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('round', 'Required parameter "round" was null or undefined when calling apiAdminHub88GameRoundGet().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
if (requestParameters['round'] != null) {
|
|
65
|
+
queryParameters['round'] = requestParameters['round'];
|
|
66
|
+
}
|
|
67
|
+
if (requestParameters['user'] != null) {
|
|
68
|
+
queryParameters['user'] = requestParameters['user'];
|
|
69
|
+
}
|
|
70
|
+
if (requestParameters['transactionUuid'] != null) {
|
|
71
|
+
queryParameters['transactionUuid'] = requestParameters['transactionUuid'];
|
|
72
|
+
}
|
|
73
|
+
const headerParameters = {};
|
|
74
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
75
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
76
|
+
}
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = yield token("BearerAuth", []);
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
const response = yield this.request({
|
|
85
|
+
path: `/api/admin/hub88/game-round`,
|
|
86
|
+
method: 'GET',
|
|
87
|
+
headers: headerParameters,
|
|
88
|
+
query: queryParameters,
|
|
89
|
+
}, initOverrides);
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Hub88 - Get Game Round
|
|
95
|
+
*/
|
|
96
|
+
apiAdminHub88GameRoundGet(requestParameters, initOverrides) {
|
|
97
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
const response = yield this.apiAdminHub88GameRoundGetRaw(requestParameters, initOverrides);
|
|
99
|
+
return yield response.value();
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Hub88 - List Products
|
|
104
|
+
*/
|
|
105
|
+
apiAdminHub88ProductsGetRaw(initOverrides) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
const queryParameters = {};
|
|
108
|
+
const headerParameters = {};
|
|
109
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
110
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
111
|
+
}
|
|
112
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
113
|
+
const token = this.configuration.accessToken;
|
|
114
|
+
const tokenString = yield token("BearerAuth", []);
|
|
115
|
+
if (tokenString) {
|
|
116
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
const response = yield this.request({
|
|
120
|
+
path: `/api/admin/hub88/products`,
|
|
121
|
+
method: 'GET',
|
|
122
|
+
headers: headerParameters,
|
|
123
|
+
query: queryParameters,
|
|
124
|
+
}, initOverrides);
|
|
125
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Hub88 - List Products
|
|
130
|
+
*/
|
|
131
|
+
apiAdminHub88ProductsGet(initOverrides) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
const response = yield this.apiAdminHub88ProductsGetRaw(initOverrides);
|
|
134
|
+
return yield response.value();
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Hub88 - Sync Games
|
|
139
|
+
*/
|
|
140
|
+
apiAdminHub88SyncGamesPostRaw(requestParameters, initOverrides) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
const queryParameters = {};
|
|
143
|
+
const headerParameters = {};
|
|
144
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
145
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
146
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
147
|
+
}
|
|
148
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
149
|
+
const token = this.configuration.accessToken;
|
|
150
|
+
const tokenString = yield token("BearerAuth", []);
|
|
151
|
+
if (tokenString) {
|
|
152
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
const response = yield this.request({
|
|
156
|
+
path: `/api/admin/hub88/sync-games`,
|
|
157
|
+
method: 'POST',
|
|
158
|
+
headers: headerParameters,
|
|
159
|
+
query: queryParameters,
|
|
160
|
+
body: (0, index_1.ApiAdminHub88SyncGamesPostRequestToJSON)(requestParameters['apiAdminHub88SyncGamesPostRequest']),
|
|
161
|
+
}, initOverrides);
|
|
162
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserAvatarPut200ResponseFromJSON)(jsonValue));
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Hub88 - Sync Games
|
|
167
|
+
*/
|
|
168
|
+
apiAdminHub88SyncGamesPost() {
|
|
169
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
170
|
+
const response = yield this.apiAdminHub88SyncGamesPostRaw(requestParameters, initOverrides);
|
|
171
|
+
return yield response.value();
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.AdminHub88Api = AdminHub88Api;
|
|
@@ -0,0 +1,179 @@
|
|
|
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
|
+
ApiAdminHub88SyncGamesPostRequest,
|
|
19
|
+
ApiUserAvatarPut200Response,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
ApiAdminHub88SyncGamesPostRequestFromJSON,
|
|
23
|
+
ApiAdminHub88SyncGamesPostRequestToJSON,
|
|
24
|
+
ApiUserAvatarPut200ResponseFromJSON,
|
|
25
|
+
ApiUserAvatarPut200ResponseToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface ApiAdminHub88GameRoundGetRequest {
|
|
29
|
+
round: string;
|
|
30
|
+
user?: string;
|
|
31
|
+
transactionUuid?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface ApiAdminHub88SyncGamesPostOperationRequest {
|
|
35
|
+
apiAdminHub88SyncGamesPostRequest?: ApiAdminHub88SyncGamesPostRequest;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export class AdminHub88Api extends runtime.BaseAPI {
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Hub88 - Get Game Round
|
|
45
|
+
*/
|
|
46
|
+
async apiAdminHub88GameRoundGetRaw(requestParameters: ApiAdminHub88GameRoundGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
|
|
47
|
+
if (requestParameters['round'] == null) {
|
|
48
|
+
throw new runtime.RequiredError(
|
|
49
|
+
'round',
|
|
50
|
+
'Required parameter "round" was null or undefined when calling apiAdminHub88GameRoundGet().'
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const queryParameters: any = {};
|
|
55
|
+
|
|
56
|
+
if (requestParameters['round'] != null) {
|
|
57
|
+
queryParameters['round'] = requestParameters['round'];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (requestParameters['user'] != null) {
|
|
61
|
+
queryParameters['user'] = requestParameters['user'];
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (requestParameters['transactionUuid'] != null) {
|
|
65
|
+
queryParameters['transactionUuid'] = requestParameters['transactionUuid'];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
69
|
+
|
|
70
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
71
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
75
|
+
const token = this.configuration.accessToken;
|
|
76
|
+
const tokenString = await token("BearerAuth", []);
|
|
77
|
+
|
|
78
|
+
if (tokenString) {
|
|
79
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const response = await this.request({
|
|
83
|
+
path: `/api/admin/hub88/game-round`,
|
|
84
|
+
method: 'GET',
|
|
85
|
+
headers: headerParameters,
|
|
86
|
+
query: queryParameters,
|
|
87
|
+
}, initOverrides);
|
|
88
|
+
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserAvatarPut200ResponseFromJSON(jsonValue));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Hub88 - Get Game Round
|
|
94
|
+
*/
|
|
95
|
+
async apiAdminHub88GameRoundGet(requestParameters: ApiAdminHub88GameRoundGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
|
|
96
|
+
const response = await this.apiAdminHub88GameRoundGetRaw(requestParameters, initOverrides);
|
|
97
|
+
return await response.value();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Hub88 - List Products
|
|
102
|
+
*/
|
|
103
|
+
async apiAdminHub88ProductsGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
|
|
104
|
+
const queryParameters: any = {};
|
|
105
|
+
|
|
106
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
107
|
+
|
|
108
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
109
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
113
|
+
const token = this.configuration.accessToken;
|
|
114
|
+
const tokenString = await token("BearerAuth", []);
|
|
115
|
+
|
|
116
|
+
if (tokenString) {
|
|
117
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
const response = await this.request({
|
|
121
|
+
path: `/api/admin/hub88/products`,
|
|
122
|
+
method: 'GET',
|
|
123
|
+
headers: headerParameters,
|
|
124
|
+
query: queryParameters,
|
|
125
|
+
}, initOverrides);
|
|
126
|
+
|
|
127
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserAvatarPut200ResponseFromJSON(jsonValue));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Hub88 - List Products
|
|
132
|
+
*/
|
|
133
|
+
async apiAdminHub88ProductsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
|
|
134
|
+
const response = await this.apiAdminHub88ProductsGetRaw(initOverrides);
|
|
135
|
+
return await response.value();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Hub88 - Sync Games
|
|
140
|
+
*/
|
|
141
|
+
async apiAdminHub88SyncGamesPostRaw(requestParameters: ApiAdminHub88SyncGamesPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
|
|
142
|
+
const queryParameters: any = {};
|
|
143
|
+
|
|
144
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
145
|
+
|
|
146
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
147
|
+
|
|
148
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
149
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
153
|
+
const token = this.configuration.accessToken;
|
|
154
|
+
const tokenString = await token("BearerAuth", []);
|
|
155
|
+
|
|
156
|
+
if (tokenString) {
|
|
157
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
const response = await this.request({
|
|
161
|
+
path: `/api/admin/hub88/sync-games`,
|
|
162
|
+
method: 'POST',
|
|
163
|
+
headers: headerParameters,
|
|
164
|
+
query: queryParameters,
|
|
165
|
+
body: ApiAdminHub88SyncGamesPostRequestToJSON(requestParameters['apiAdminHub88SyncGamesPostRequest']),
|
|
166
|
+
}, initOverrides);
|
|
167
|
+
|
|
168
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserAvatarPut200ResponseFromJSON(jsonValue));
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Hub88 - Sync Games
|
|
173
|
+
*/
|
|
174
|
+
async apiAdminHub88SyncGamesPost(requestParameters: ApiAdminHub88SyncGamesPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
|
|
175
|
+
const response = await this.apiAdminHub88SyncGamesPostRaw(requestParameters, initOverrides);
|
|
176
|
+
return await response.value();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
}
|
|
@@ -534,6 +534,9 @@ class AdminPaymentSystemApi extends runtime.BaseAPI {
|
|
|
534
534
|
if (requestParameters['status'] != null) {
|
|
535
535
|
queryParameters['status'] = requestParameters['status'];
|
|
536
536
|
}
|
|
537
|
+
if (requestParameters['isSwap'] != null) {
|
|
538
|
+
queryParameters['isSwap'] = requestParameters['isSwap'];
|
|
539
|
+
}
|
|
537
540
|
if (requestParameters['sortBy'] != null) {
|
|
538
541
|
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
539
542
|
}
|
|
@@ -140,6 +140,7 @@ export interface ApiAdminPsHotWalletTxGetRequest {
|
|
|
140
140
|
hotWalletId: string;
|
|
141
141
|
trxId?: string;
|
|
142
142
|
status?: ApiAdminPsHotWalletTxGetStatusEnum;
|
|
143
|
+
isSwap?: boolean | null;
|
|
143
144
|
sortBy?: ApiAdminPsHotWalletTxGetSortByEnum;
|
|
144
145
|
sortOrder?: ApiAdminPsHotWalletTxGetSortOrderEnum;
|
|
145
146
|
}
|
|
@@ -760,6 +761,10 @@ export class AdminPaymentSystemApi extends runtime.BaseAPI {
|
|
|
760
761
|
queryParameters['status'] = requestParameters['status'];
|
|
761
762
|
}
|
|
762
763
|
|
|
764
|
+
if (requestParameters['isSwap'] != null) {
|
|
765
|
+
queryParameters['isSwap'] = requestParameters['isSwap'];
|
|
766
|
+
}
|
|
767
|
+
|
|
763
768
|
if (requestParameters['sortBy'] != null) {
|
|
764
769
|
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
765
770
|
}
|
package/apis/Hub88Api.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.ApiUserAuthenticateOptionalHub88LaunchGetPlatformEnum = exports.Hub88Api = void 0;
|
|
49
|
+
const runtime = __importStar(require("../runtime"));
|
|
50
|
+
const index_1 = require("../models/index");
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
class Hub88Api extends runtime.BaseAPI {
|
|
55
|
+
/**
|
|
56
|
+
* Hub88 - Launch Game Session
|
|
57
|
+
*/
|
|
58
|
+
apiUserAuthenticateOptionalHub88LaunchGetRaw(requestParameters, initOverrides) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
if (requestParameters['gameCode'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('gameCode', 'Required parameter "gameCode" was null or undefined when calling apiUserAuthenticateOptionalHub88LaunchGet().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
if (requestParameters['gameCode'] != null) {
|
|
65
|
+
queryParameters['gameCode'] = requestParameters['gameCode'];
|
|
66
|
+
}
|
|
67
|
+
if (requestParameters['platform'] != null) {
|
|
68
|
+
queryParameters['platform'] = requestParameters['platform'];
|
|
69
|
+
}
|
|
70
|
+
if (requestParameters['lang'] != null) {
|
|
71
|
+
queryParameters['lang'] = requestParameters['lang'];
|
|
72
|
+
}
|
|
73
|
+
if (requestParameters['demo'] != null) {
|
|
74
|
+
queryParameters['demo'] = requestParameters['demo'];
|
|
75
|
+
}
|
|
76
|
+
const headerParameters = {};
|
|
77
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
78
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
79
|
+
}
|
|
80
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
81
|
+
const token = this.configuration.accessToken;
|
|
82
|
+
const tokenString = yield token("BearerAuth", []);
|
|
83
|
+
if (tokenString) {
|
|
84
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
const response = yield this.request({
|
|
88
|
+
path: `/api/user/authenticate-optional/hub88/launch`,
|
|
89
|
+
method: 'GET',
|
|
90
|
+
headers: headerParameters,
|
|
91
|
+
query: queryParameters,
|
|
92
|
+
}, initOverrides);
|
|
93
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserUploadPost200ResponseFromJSON)(jsonValue));
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Hub88 - Launch Game Session
|
|
98
|
+
*/
|
|
99
|
+
apiUserAuthenticateOptionalHub88LaunchGet(requestParameters, initOverrides) {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
const response = yield this.apiUserAuthenticateOptionalHub88LaunchGetRaw(requestParameters, initOverrides);
|
|
102
|
+
return yield response.value();
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.Hub88Api = Hub88Api;
|
|
107
|
+
/**
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
exports.ApiUserAuthenticateOptionalHub88LaunchGetPlatformEnum = {
|
|
111
|
+
Desktop: 'GPL_DESKTOP',
|
|
112
|
+
Mobile: 'GPL_MOBILE'
|
|
113
|
+
};
|
package/apis/Hub88Api.ts
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
ApiUserAuthenticateOptionalJackpotLaunchGetDemoParameter,
|
|
19
|
+
ApiUserUploadPost200Response,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
ApiUserAuthenticateOptionalJackpotLaunchGetDemoParameterFromJSON,
|
|
23
|
+
ApiUserAuthenticateOptionalJackpotLaunchGetDemoParameterToJSON,
|
|
24
|
+
ApiUserUploadPost200ResponseFromJSON,
|
|
25
|
+
ApiUserUploadPost200ResponseToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface ApiUserAuthenticateOptionalHub88LaunchGetRequest {
|
|
29
|
+
gameCode: string;
|
|
30
|
+
platform?: ApiUserAuthenticateOptionalHub88LaunchGetPlatformEnum;
|
|
31
|
+
lang?: string;
|
|
32
|
+
demo?: ApiUserAuthenticateOptionalJackpotLaunchGetDemoParameter;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export class Hub88Api extends runtime.BaseAPI {
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Hub88 - Launch Game Session
|
|
42
|
+
*/
|
|
43
|
+
async apiUserAuthenticateOptionalHub88LaunchGetRaw(requestParameters: ApiUserAuthenticateOptionalHub88LaunchGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserUploadPost200Response>> {
|
|
44
|
+
if (requestParameters['gameCode'] == null) {
|
|
45
|
+
throw new runtime.RequiredError(
|
|
46
|
+
'gameCode',
|
|
47
|
+
'Required parameter "gameCode" was null or undefined when calling apiUserAuthenticateOptionalHub88LaunchGet().'
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const queryParameters: any = {};
|
|
52
|
+
|
|
53
|
+
if (requestParameters['gameCode'] != null) {
|
|
54
|
+
queryParameters['gameCode'] = requestParameters['gameCode'];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (requestParameters['platform'] != null) {
|
|
58
|
+
queryParameters['platform'] = requestParameters['platform'];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (requestParameters['lang'] != null) {
|
|
62
|
+
queryParameters['lang'] = requestParameters['lang'];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (requestParameters['demo'] != null) {
|
|
66
|
+
queryParameters['demo'] = requestParameters['demo'];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
70
|
+
|
|
71
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
72
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
76
|
+
const token = this.configuration.accessToken;
|
|
77
|
+
const tokenString = await token("BearerAuth", []);
|
|
78
|
+
|
|
79
|
+
if (tokenString) {
|
|
80
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const response = await this.request({
|
|
84
|
+
path: `/api/user/authenticate-optional/hub88/launch`,
|
|
85
|
+
method: 'GET',
|
|
86
|
+
headers: headerParameters,
|
|
87
|
+
query: queryParameters,
|
|
88
|
+
}, initOverrides);
|
|
89
|
+
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserUploadPost200ResponseFromJSON(jsonValue));
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Hub88 - Launch Game Session
|
|
95
|
+
*/
|
|
96
|
+
async apiUserAuthenticateOptionalHub88LaunchGet(requestParameters: ApiUserAuthenticateOptionalHub88LaunchGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserUploadPost200Response> {
|
|
97
|
+
const response = await this.apiUserAuthenticateOptionalHub88LaunchGetRaw(requestParameters, initOverrides);
|
|
98
|
+
return await response.value();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export const ApiUserAuthenticateOptionalHub88LaunchGetPlatformEnum = {
|
|
107
|
+
Desktop: 'GPL_DESKTOP',
|
|
108
|
+
Mobile: 'GPL_MOBILE'
|
|
109
|
+
} as const;
|
|
110
|
+
export type ApiUserAuthenticateOptionalHub88LaunchGetPlatformEnum = typeof ApiUserAuthenticateOptionalHub88LaunchGetPlatformEnum[keyof typeof ApiUserAuthenticateOptionalHub88LaunchGetPlatformEnum];
|
package/apis/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __exportStar(require("./AdminExchangeApi"), exports);
|
|
|
31
31
|
__exportStar(require("./AdminFileManagementApi"), exports);
|
|
32
32
|
__exportStar(require("./AdminGamesApi"), exports);
|
|
33
33
|
__exportStar(require("./AdminGroupApi"), exports);
|
|
34
|
+
__exportStar(require("./AdminHub88Api"), exports);
|
|
34
35
|
__exportStar(require("./AdminIBankRollApi"), exports);
|
|
35
36
|
__exportStar(require("./AdminJackpotApi"), exports);
|
|
36
37
|
__exportStar(require("./AdminLeaderboardApi"), exports);
|
|
@@ -58,6 +59,7 @@ __exportStar(require("./CMSApi"), exports);
|
|
|
58
59
|
__exportStar(require("./CronDataCleanupApi"), exports);
|
|
59
60
|
__exportStar(require("./CronRecoveryApi"), exports);
|
|
60
61
|
__exportStar(require("./HealthCheckApi"), exports);
|
|
62
|
+
__exportStar(require("./Hub88Api"), exports);
|
|
61
63
|
__exportStar(require("./JackpotApi"), exports);
|
|
62
64
|
__exportStar(require("./PublicApi"), exports);
|
|
63
65
|
__exportStar(require("./PublicBannerApi"), exports);
|
package/apis/index.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './AdminExchangeApi';
|
|
|
15
15
|
export * from './AdminFileManagementApi';
|
|
16
16
|
export * from './AdminGamesApi';
|
|
17
17
|
export * from './AdminGroupApi';
|
|
18
|
+
export * from './AdminHub88Api';
|
|
18
19
|
export * from './AdminIBankRollApi';
|
|
19
20
|
export * from './AdminJackpotApi';
|
|
20
21
|
export * from './AdminLeaderboardApi';
|
|
@@ -42,6 +43,7 @@ export * from './CMSApi';
|
|
|
42
43
|
export * from './CronDataCleanupApi';
|
|
43
44
|
export * from './CronRecoveryApi';
|
|
44
45
|
export * from './HealthCheckApi';
|
|
46
|
+
export * from './Hub88Api';
|
|
45
47
|
export * from './JackpotApi';
|
|
46
48
|
export * from './PublicApi';
|
|
47
49
|
export * from './PublicBannerApi';
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfApiAdminHub88SyncGamesPostRequest = instanceOfApiAdminHub88SyncGamesPostRequest;
|
|
17
|
+
exports.ApiAdminHub88SyncGamesPostRequestFromJSON = ApiAdminHub88SyncGamesPostRequestFromJSON;
|
|
18
|
+
exports.ApiAdminHub88SyncGamesPostRequestFromJSONTyped = ApiAdminHub88SyncGamesPostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiAdminHub88SyncGamesPostRequestToJSON = ApiAdminHub88SyncGamesPostRequestToJSON;
|
|
20
|
+
exports.ApiAdminHub88SyncGamesPostRequestToJSONTyped = ApiAdminHub88SyncGamesPostRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiAdminHub88SyncGamesPostRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiAdminHub88SyncGamesPostRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiAdminHub88SyncGamesPostRequestFromJSON(json) {
|
|
28
|
+
return ApiAdminHub88SyncGamesPostRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiAdminHub88SyncGamesPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'productCode': json['productCode'] == null ? undefined : json['productCode'],
|
|
36
|
+
'releaseDate': json['releaseDate'] == null ? undefined : json['releaseDate'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ApiAdminHub88SyncGamesPostRequestToJSON(json) {
|
|
40
|
+
return ApiAdminHub88SyncGamesPostRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ApiAdminHub88SyncGamesPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'productCode': value['productCode'],
|
|
48
|
+
'releaseDate': value['releaseDate'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 ApiAdminHub88SyncGamesPostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminHub88SyncGamesPostRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiAdminHub88SyncGamesPostRequest
|
|
26
|
+
*/
|
|
27
|
+
productCode?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiAdminHub88SyncGamesPostRequest
|
|
32
|
+
*/
|
|
33
|
+
releaseDate?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ApiAdminHub88SyncGamesPostRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfApiAdminHub88SyncGamesPostRequest(value: object): value is ApiAdminHub88SyncGamesPostRequest {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ApiAdminHub88SyncGamesPostRequestFromJSON(json: any): ApiAdminHub88SyncGamesPostRequest {
|
|
44
|
+
return ApiAdminHub88SyncGamesPostRequestFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function ApiAdminHub88SyncGamesPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminHub88SyncGamesPostRequest {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'productCode': json['productCode'] == null ? undefined : json['productCode'],
|
|
54
|
+
'releaseDate': json['releaseDate'] == null ? undefined : json['releaseDate'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ApiAdminHub88SyncGamesPostRequestToJSON(json: any): ApiAdminHub88SyncGamesPostRequest {
|
|
59
|
+
return ApiAdminHub88SyncGamesPostRequestToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ApiAdminHub88SyncGamesPostRequestToJSONTyped(value?: ApiAdminHub88SyncGamesPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'productCode': value['productCode'],
|
|
70
|
+
'releaseDate': value['releaseDate'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
package/models/index.js
CHANGED
|
@@ -199,6 +199,7 @@ __exportStar(require("./ApiAdminGroupGroupIdGet200ResponseResponseObjectGroupUse
|
|
|
199
199
|
__exportStar(require("./ApiAdminGroupPost200Response"), exports);
|
|
200
200
|
__exportStar(require("./ApiAdminGroupPost200ResponseResponseObject"), exports);
|
|
201
201
|
__exportStar(require("./ApiAdminGroupPostRequest"), exports);
|
|
202
|
+
__exportStar(require("./ApiAdminHub88SyncGamesPostRequest"), exports);
|
|
202
203
|
__exportStar(require("./ApiAdminIbankrollBetFeedGet200Response"), exports);
|
|
203
204
|
__exportStar(require("./ApiAdminIbankrollBetFeedGet200ResponseResponseObject"), exports);
|
|
204
205
|
__exportStar(require("./ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner"), exports);
|
package/models/index.ts
CHANGED
|
@@ -183,6 +183,7 @@ export * from './ApiAdminGroupGroupIdGet200ResponseResponseObjectGroupUsersInner
|
|
|
183
183
|
export * from './ApiAdminGroupPost200Response';
|
|
184
184
|
export * from './ApiAdminGroupPost200ResponseResponseObject';
|
|
185
185
|
export * from './ApiAdminGroupPostRequest';
|
|
186
|
+
export * from './ApiAdminHub88SyncGamesPostRequest';
|
|
186
187
|
export * from './ApiAdminIbankrollBetFeedGet200Response';
|
|
187
188
|
export * from './ApiAdminIbankrollBetFeedGet200ResponseResponseObject';
|
|
188
189
|
export * from './ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner';
|