@gambulls-org/gambulls-apis 3.0.813 → 3.0.815
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/AdminPaymentSystemApi.js +3 -0
- package/apis/AdminPaymentSystemApi.ts +5 -0
- package/apis/Hub88Api.js +185 -0
- package/apis/Hub88Api.ts +243 -0
- package/models/ApiHub88CallbackBalancePostRequest.js +62 -0
- package/models/ApiHub88CallbackBalancePostRequest.ts +93 -0
- package/models/ApiHub88CallbackBetPostRequest.js +96 -0
- package/models/ApiHub88CallbackBetPostRequest.ts +201 -0
- package/models/ApiHub88CallbackRollbackPostRequest.js +78 -0
- package/models/ApiHub88CallbackRollbackPostRequest.ts +143 -0
- package/models/ApiHub88CallbackUserInfoPostRequest.js +54 -0
- package/models/ApiHub88CallbackUserInfoPostRequest.ts +75 -0
- package/models/ApiHub88CallbackWinPostRequest.js +98 -0
- package/models/ApiHub88CallbackWinPostRequest.ts +209 -0
- package/models/index.js +5 -0
- package/models/index.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
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.instanceOfApiHub88CallbackWinPostRequest = instanceOfApiHub88CallbackWinPostRequest;
|
|
17
|
+
exports.ApiHub88CallbackWinPostRequestFromJSON = ApiHub88CallbackWinPostRequestFromJSON;
|
|
18
|
+
exports.ApiHub88CallbackWinPostRequestFromJSONTyped = ApiHub88CallbackWinPostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiHub88CallbackWinPostRequestToJSON = ApiHub88CallbackWinPostRequestToJSON;
|
|
20
|
+
exports.ApiHub88CallbackWinPostRequestToJSONTyped = ApiHub88CallbackWinPostRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiHub88CallbackWinPostRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiHub88CallbackWinPostRequest(value) {
|
|
25
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('transactionUuid' in value) || value['transactionUuid'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('requestUuid' in value) || value['requestUuid'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('referenceTransactionUuid' in value) || value['referenceTransactionUuid'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('gameCode' in value) || value['gameCode'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function ApiHub88CallbackWinPostRequestFromJSON(json) {
|
|
44
|
+
return ApiHub88CallbackWinPostRequestFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ApiHub88CallbackWinPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'user': json['user'],
|
|
52
|
+
'transactionUuid': json['transaction_uuid'],
|
|
53
|
+
'supplierTransactionId': json['supplier_transaction_id'] == null ? undefined : json['supplier_transaction_id'],
|
|
54
|
+
'token': json['token'],
|
|
55
|
+
'supplierUser': json['supplier_user'] == null ? undefined : json['supplier_user'],
|
|
56
|
+
'roundClosed': json['round_closed'] == null ? undefined : json['round_closed'],
|
|
57
|
+
'round': json['round'] == null ? undefined : json['round'],
|
|
58
|
+
'rewardUuid': json['reward_uuid'] == null ? undefined : json['reward_uuid'],
|
|
59
|
+
'requestUuid': json['request_uuid'],
|
|
60
|
+
'referenceTransactionUuid': json['reference_transaction_uuid'],
|
|
61
|
+
'isFree': json['is_free'] == null ? undefined : json['is_free'],
|
|
62
|
+
'isSupplierPromo': json['is_supplier_promo'] == null ? undefined : json['is_supplier_promo'],
|
|
63
|
+
'isAggregated': json['is_aggregated'] == null ? undefined : json['is_aggregated'],
|
|
64
|
+
'gameCode': json['game_code'],
|
|
65
|
+
'currency': json['currency'],
|
|
66
|
+
'bet': json['bet'] == null ? undefined : json['bet'],
|
|
67
|
+
'amount': json['amount'],
|
|
68
|
+
'meta': json['meta'] == null ? undefined : json['meta'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function ApiHub88CallbackWinPostRequestToJSON(json) {
|
|
72
|
+
return ApiHub88CallbackWinPostRequestToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
function ApiHub88CallbackWinPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'user': value['user'],
|
|
80
|
+
'transaction_uuid': value['transactionUuid'],
|
|
81
|
+
'supplier_transaction_id': value['supplierTransactionId'],
|
|
82
|
+
'token': value['token'],
|
|
83
|
+
'supplier_user': value['supplierUser'],
|
|
84
|
+
'round_closed': value['roundClosed'],
|
|
85
|
+
'round': value['round'],
|
|
86
|
+
'reward_uuid': value['rewardUuid'],
|
|
87
|
+
'request_uuid': value['requestUuid'],
|
|
88
|
+
'reference_transaction_uuid': value['referenceTransactionUuid'],
|
|
89
|
+
'is_free': value['isFree'],
|
|
90
|
+
'is_supplier_promo': value['isSupplierPromo'],
|
|
91
|
+
'is_aggregated': value['isAggregated'],
|
|
92
|
+
'game_code': value['gameCode'],
|
|
93
|
+
'currency': value['currency'],
|
|
94
|
+
'bet': value['bet'],
|
|
95
|
+
'amount': value['amount'],
|
|
96
|
+
'meta': value['meta'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
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 ApiHub88CallbackWinPostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiHub88CallbackWinPostRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
26
|
+
*/
|
|
27
|
+
user: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
32
|
+
*/
|
|
33
|
+
transactionUuid: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
38
|
+
*/
|
|
39
|
+
supplierTransactionId?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
44
|
+
*/
|
|
45
|
+
token: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
50
|
+
*/
|
|
51
|
+
supplierUser?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
56
|
+
*/
|
|
57
|
+
roundClosed?: boolean | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
62
|
+
*/
|
|
63
|
+
round?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
68
|
+
*/
|
|
69
|
+
rewardUuid?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
74
|
+
*/
|
|
75
|
+
requestUuid: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
80
|
+
*/
|
|
81
|
+
referenceTransactionUuid: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
86
|
+
*/
|
|
87
|
+
isFree?: boolean | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
92
|
+
*/
|
|
93
|
+
isSupplierPromo?: boolean | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
98
|
+
*/
|
|
99
|
+
isAggregated?: boolean | null;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
104
|
+
*/
|
|
105
|
+
gameCode: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
110
|
+
*/
|
|
111
|
+
currency: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
116
|
+
*/
|
|
117
|
+
bet?: string | null;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {number}
|
|
121
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
122
|
+
*/
|
|
123
|
+
amount: number;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {any}
|
|
127
|
+
* @memberof ApiHub88CallbackWinPostRequest
|
|
128
|
+
*/
|
|
129
|
+
meta?: any | null;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Check if a given object implements the ApiHub88CallbackWinPostRequest interface.
|
|
134
|
+
*/
|
|
135
|
+
export function instanceOfApiHub88CallbackWinPostRequest(value: object): value is ApiHub88CallbackWinPostRequest {
|
|
136
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
137
|
+
if (!('transactionUuid' in value) || value['transactionUuid'] === undefined) return false;
|
|
138
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
139
|
+
if (!('requestUuid' in value) || value['requestUuid'] === undefined) return false;
|
|
140
|
+
if (!('referenceTransactionUuid' in value) || value['referenceTransactionUuid'] === undefined) return false;
|
|
141
|
+
if (!('gameCode' in value) || value['gameCode'] === undefined) return false;
|
|
142
|
+
if (!('currency' in value) || value['currency'] === undefined) return false;
|
|
143
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
144
|
+
return true;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function ApiHub88CallbackWinPostRequestFromJSON(json: any): ApiHub88CallbackWinPostRequest {
|
|
148
|
+
return ApiHub88CallbackWinPostRequestFromJSONTyped(json, false);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function ApiHub88CallbackWinPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiHub88CallbackWinPostRequest {
|
|
152
|
+
if (json == null) {
|
|
153
|
+
return json;
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
|
|
157
|
+
'user': json['user'],
|
|
158
|
+
'transactionUuid': json['transaction_uuid'],
|
|
159
|
+
'supplierTransactionId': json['supplier_transaction_id'] == null ? undefined : json['supplier_transaction_id'],
|
|
160
|
+
'token': json['token'],
|
|
161
|
+
'supplierUser': json['supplier_user'] == null ? undefined : json['supplier_user'],
|
|
162
|
+
'roundClosed': json['round_closed'] == null ? undefined : json['round_closed'],
|
|
163
|
+
'round': json['round'] == null ? undefined : json['round'],
|
|
164
|
+
'rewardUuid': json['reward_uuid'] == null ? undefined : json['reward_uuid'],
|
|
165
|
+
'requestUuid': json['request_uuid'],
|
|
166
|
+
'referenceTransactionUuid': json['reference_transaction_uuid'],
|
|
167
|
+
'isFree': json['is_free'] == null ? undefined : json['is_free'],
|
|
168
|
+
'isSupplierPromo': json['is_supplier_promo'] == null ? undefined : json['is_supplier_promo'],
|
|
169
|
+
'isAggregated': json['is_aggregated'] == null ? undefined : json['is_aggregated'],
|
|
170
|
+
'gameCode': json['game_code'],
|
|
171
|
+
'currency': json['currency'],
|
|
172
|
+
'bet': json['bet'] == null ? undefined : json['bet'],
|
|
173
|
+
'amount': json['amount'],
|
|
174
|
+
'meta': json['meta'] == null ? undefined : json['meta'],
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function ApiHub88CallbackWinPostRequestToJSON(json: any): ApiHub88CallbackWinPostRequest {
|
|
179
|
+
return ApiHub88CallbackWinPostRequestToJSONTyped(json, false);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export function ApiHub88CallbackWinPostRequestToJSONTyped(value?: ApiHub88CallbackWinPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
183
|
+
if (value == null) {
|
|
184
|
+
return value;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
return {
|
|
188
|
+
|
|
189
|
+
'user': value['user'],
|
|
190
|
+
'transaction_uuid': value['transactionUuid'],
|
|
191
|
+
'supplier_transaction_id': value['supplierTransactionId'],
|
|
192
|
+
'token': value['token'],
|
|
193
|
+
'supplier_user': value['supplierUser'],
|
|
194
|
+
'round_closed': value['roundClosed'],
|
|
195
|
+
'round': value['round'],
|
|
196
|
+
'reward_uuid': value['rewardUuid'],
|
|
197
|
+
'request_uuid': value['requestUuid'],
|
|
198
|
+
'reference_transaction_uuid': value['referenceTransactionUuid'],
|
|
199
|
+
'is_free': value['isFree'],
|
|
200
|
+
'is_supplier_promo': value['isSupplierPromo'],
|
|
201
|
+
'is_aggregated': value['isAggregated'],
|
|
202
|
+
'game_code': value['gameCode'],
|
|
203
|
+
'currency': value['currency'],
|
|
204
|
+
'bet': value['bet'],
|
|
205
|
+
'amount': value['amount'],
|
|
206
|
+
'meta': value['meta'],
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
|
package/models/index.js
CHANGED
|
@@ -505,6 +505,11 @@ __exportStar(require("./ApiCronRecoveryLoyaltyPost200Response"), exports);
|
|
|
505
505
|
__exportStar(require("./ApiCronRecoveryLoyaltyPost200ResponseResponseObject"), exports);
|
|
506
506
|
__exportStar(require("./ApiCronRecoveryLoyaltyPostRequest"), exports);
|
|
507
507
|
__exportStar(require("./ApiHealthCheckGet200Response"), exports);
|
|
508
|
+
__exportStar(require("./ApiHub88CallbackBalancePostRequest"), exports);
|
|
509
|
+
__exportStar(require("./ApiHub88CallbackBetPostRequest"), exports);
|
|
510
|
+
__exportStar(require("./ApiHub88CallbackRollbackPostRequest"), exports);
|
|
511
|
+
__exportStar(require("./ApiHub88CallbackUserInfoPostRequest"), exports);
|
|
512
|
+
__exportStar(require("./ApiHub88CallbackWinPostRequest"), exports);
|
|
508
513
|
__exportStar(require("./ApiJackpotCallbackAuthenticatePostRequest"), exports);
|
|
509
514
|
__exportStar(require("./ApiJackpotCallbackBalancePostRequest"), exports);
|
|
510
515
|
__exportStar(require("./ApiJackpotCallbackCreditPostRequest"), exports);
|
package/models/index.ts
CHANGED
|
@@ -489,6 +489,11 @@ export * from './ApiCronRecoveryLoyaltyPost200Response';
|
|
|
489
489
|
export * from './ApiCronRecoveryLoyaltyPost200ResponseResponseObject';
|
|
490
490
|
export * from './ApiCronRecoveryLoyaltyPostRequest';
|
|
491
491
|
export * from './ApiHealthCheckGet200Response';
|
|
492
|
+
export * from './ApiHub88CallbackBalancePostRequest';
|
|
493
|
+
export * from './ApiHub88CallbackBetPostRequest';
|
|
494
|
+
export * from './ApiHub88CallbackRollbackPostRequest';
|
|
495
|
+
export * from './ApiHub88CallbackUserInfoPostRequest';
|
|
496
|
+
export * from './ApiHub88CallbackWinPostRequest';
|
|
492
497
|
export * from './ApiJackpotCallbackAuthenticatePostRequest';
|
|
493
498
|
export * from './ApiJackpotCallbackBalancePostRequest';
|
|
494
499
|
export * from './ApiJackpotCallbackCreditPostRequest';
|