@gambulls-org/gambulls-apis 3.0.394 → 3.0.396

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.
@@ -137,6 +137,8 @@ models/ApiAdminDashboardStatsGet200Response.ts
137
137
  models/ApiAdminDashboardStatsGet200ResponseResponseObject.ts
138
138
  models/ApiAdminDashboardSumBalancesGet200Response.ts
139
139
  models/ApiAdminDashboardSumBalancesGet200ResponseResponseObject.ts
140
+ models/ApiAdminDashboardWagerGet200Response.ts
141
+ models/ApiAdminDashboardWagerGet200ResponseResponseObject.ts
140
142
  models/ApiAdminGamesBulkRecommendPutRequest.ts
141
143
  models/ApiAdminGamesBulkStatusPutRequest.ts
142
144
  models/ApiAdminGamesFilterDataGet200Response.ts
@@ -181,5 +181,58 @@ class AdminDashboardApi extends runtime.BaseAPI {
181
181
  return yield response.value();
182
182
  });
183
183
  }
184
+ /**
185
+ * Get Dashboard Wager Stats
186
+ */
187
+ apiAdminDashboardWagerGetRaw(requestParameters, initOverrides) {
188
+ return __awaiter(this, void 0, void 0, function* () {
189
+ if (requestParameters['startDate'] == null) {
190
+ throw new runtime.RequiredError('startDate', 'Required parameter "startDate" was null or undefined when calling apiAdminDashboardWagerGet().');
191
+ }
192
+ if (requestParameters['endDate'] == null) {
193
+ throw new runtime.RequiredError('endDate', 'Required parameter "endDate" was null or undefined when calling apiAdminDashboardWagerGet().');
194
+ }
195
+ const queryParameters = {};
196
+ if (requestParameters['startDate'] != null) {
197
+ queryParameters['startDate'] = requestParameters['startDate'];
198
+ }
199
+ if (requestParameters['endDate'] != null) {
200
+ queryParameters['endDate'] = requestParameters['endDate'];
201
+ }
202
+ if (requestParameters['isBonusBalance'] != null) {
203
+ queryParameters['isBonusBalance'] = requestParameters['isBonusBalance'];
204
+ }
205
+ if (requestParameters['isStreamer'] != null) {
206
+ queryParameters['isStreamer'] = requestParameters['isStreamer'];
207
+ }
208
+ const headerParameters = {};
209
+ if (this.configuration && this.configuration.apiKey) {
210
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
211
+ }
212
+ if (this.configuration && this.configuration.accessToken) {
213
+ const token = this.configuration.accessToken;
214
+ const tokenString = yield token("BearerAuth", []);
215
+ if (tokenString) {
216
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
217
+ }
218
+ }
219
+ const response = yield this.request({
220
+ path: `/api/admin/dashboard/wager`,
221
+ method: 'GET',
222
+ headers: headerParameters,
223
+ query: queryParameters,
224
+ }, initOverrides);
225
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiAdminDashboardWagerGet200ResponseFromJSON)(jsonValue));
226
+ });
227
+ }
228
+ /**
229
+ * Get Dashboard Wager Stats
230
+ */
231
+ apiAdminDashboardWagerGet(requestParameters, initOverrides) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ const response = yield this.apiAdminDashboardWagerGetRaw(requestParameters, initOverrides);
234
+ return yield response.value();
235
+ });
236
+ }
184
237
  }
185
238
  exports.AdminDashboardApi = AdminDashboardApi;
@@ -18,6 +18,7 @@ import type {
18
18
  ApiAdminDashboardChartGet200Response,
19
19
  ApiAdminDashboardStatsGet200Response,
20
20
  ApiAdminDashboardSumBalancesGet200Response,
21
+ ApiAdminDashboardWagerGet200Response,
21
22
  ApiUserHistoryDepositGetStartDateParameter,
22
23
  } from '../models/index';
23
24
  import {
@@ -27,6 +28,8 @@ import {
27
28
  ApiAdminDashboardStatsGet200ResponseToJSON,
28
29
  ApiAdminDashboardSumBalancesGet200ResponseFromJSON,
29
30
  ApiAdminDashboardSumBalancesGet200ResponseToJSON,
31
+ ApiAdminDashboardWagerGet200ResponseFromJSON,
32
+ ApiAdminDashboardWagerGet200ResponseToJSON,
30
33
  ApiUserHistoryDepositGetStartDateParameterFromJSON,
31
34
  ApiUserHistoryDepositGetStartDateParameterToJSON,
32
35
  } from '../models/index';
@@ -41,6 +44,13 @@ export interface ApiAdminDashboardStatsGetRequest {
41
44
  endDate: ApiUserHistoryDepositGetStartDateParameter;
42
45
  }
43
46
 
47
+ export interface ApiAdminDashboardWagerGetRequest {
48
+ startDate: ApiUserHistoryDepositGetStartDateParameter;
49
+ endDate: ApiUserHistoryDepositGetStartDateParameter;
50
+ isBonusBalance?: string;
51
+ isStreamer?: string;
52
+ }
53
+
44
54
  /**
45
55
  *
46
56
  */
@@ -204,4 +214,72 @@ export class AdminDashboardApi extends runtime.BaseAPI {
204
214
  return await response.value();
205
215
  }
206
216
 
217
+ /**
218
+ * Get Dashboard Wager Stats
219
+ */
220
+ async apiAdminDashboardWagerGetRaw(requestParameters: ApiAdminDashboardWagerGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminDashboardWagerGet200Response>> {
221
+ if (requestParameters['startDate'] == null) {
222
+ throw new runtime.RequiredError(
223
+ 'startDate',
224
+ 'Required parameter "startDate" was null or undefined when calling apiAdminDashboardWagerGet().'
225
+ );
226
+ }
227
+
228
+ if (requestParameters['endDate'] == null) {
229
+ throw new runtime.RequiredError(
230
+ 'endDate',
231
+ 'Required parameter "endDate" was null or undefined when calling apiAdminDashboardWagerGet().'
232
+ );
233
+ }
234
+
235
+ const queryParameters: any = {};
236
+
237
+ if (requestParameters['startDate'] != null) {
238
+ queryParameters['startDate'] = requestParameters['startDate'];
239
+ }
240
+
241
+ if (requestParameters['endDate'] != null) {
242
+ queryParameters['endDate'] = requestParameters['endDate'];
243
+ }
244
+
245
+ if (requestParameters['isBonusBalance'] != null) {
246
+ queryParameters['isBonusBalance'] = requestParameters['isBonusBalance'];
247
+ }
248
+
249
+ if (requestParameters['isStreamer'] != null) {
250
+ queryParameters['isStreamer'] = requestParameters['isStreamer'];
251
+ }
252
+
253
+ const headerParameters: runtime.HTTPHeaders = {};
254
+
255
+ if (this.configuration && this.configuration.apiKey) {
256
+ headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
257
+ }
258
+
259
+ if (this.configuration && this.configuration.accessToken) {
260
+ const token = this.configuration.accessToken;
261
+ const tokenString = await token("BearerAuth", []);
262
+
263
+ if (tokenString) {
264
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
265
+ }
266
+ }
267
+ const response = await this.request({
268
+ path: `/api/admin/dashboard/wager`,
269
+ method: 'GET',
270
+ headers: headerParameters,
271
+ query: queryParameters,
272
+ }, initOverrides);
273
+
274
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminDashboardWagerGet200ResponseFromJSON(jsonValue));
275
+ }
276
+
277
+ /**
278
+ * Get Dashboard Wager Stats
279
+ */
280
+ async apiAdminDashboardWagerGet(requestParameters: ApiAdminDashboardWagerGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminDashboardWagerGet200Response> {
281
+ const response = await this.apiAdminDashboardWagerGetRaw(requestParameters, initOverrides);
282
+ return await response.value();
283
+ }
284
+
207
285
  }
@@ -54,21 +54,33 @@ function instanceOfApiAdminDashboardStatsGet200ResponseResponseObject(value) {
54
54
  return false;
55
55
  if (!('previouspercentrepeatdeposits' in value) || value['previouspercentrepeatdeposits'] === undefined)
56
56
  return false;
57
- if (!('ggr' in value) || value['ggr'] === undefined)
57
+ if (!('totalrakebackclaimed' in value) || value['totalrakebackclaimed'] === undefined)
58
58
  return false;
59
- if (!('previousggr' in value) || value['previousggr'] === undefined)
59
+ if (!('totalaffiliateclaimed' in value) || value['totalaffiliateclaimed'] === undefined)
60
60
  return false;
61
- if (!('totalwager' in value) || value['totalwager'] === undefined)
61
+ if (!('totalloyaltyclaimed' in value) || value['totalloyaltyclaimed'] === undefined)
62
62
  return false;
63
- if (!('totalwin' in value) || value['totalwin'] === undefined)
63
+ if (!('totalbonusclaimed' in value) || value['totalbonusclaimed'] === undefined)
64
64
  return false;
65
- if (!('previoustotalwager' in value) || value['previoustotalwager'] === undefined)
65
+ if (!('totalrain' in value) || value['totalrain'] === undefined)
66
66
  return false;
67
- if (!('previoustotalwin' in value) || value['previoustotalwin'] === undefined)
67
+ if (!('totaltip' in value) || value['totaltip'] === undefined)
68
68
  return false;
69
- if (!('overallrtp' in value) || value['overallrtp'] === undefined)
69
+ if (!('totalmanualdeposit' in value) || value['totalmanualdeposit'] === undefined)
70
70
  return false;
71
- if (!('previousoverallrtp' in value) || value['previousoverallrtp'] === undefined)
71
+ if (!('previoustotalrakebackclaimed' in value) || value['previoustotalrakebackclaimed'] === undefined)
72
+ return false;
73
+ if (!('previoustotalaffiliateclaimed' in value) || value['previoustotalaffiliateclaimed'] === undefined)
74
+ return false;
75
+ if (!('previoustotalloyaltyclaimed' in value) || value['previoustotalloyaltyclaimed'] === undefined)
76
+ return false;
77
+ if (!('previoustotalbonusclaimed' in value) || value['previoustotalbonusclaimed'] === undefined)
78
+ return false;
79
+ if (!('previoustotalrain' in value) || value['previoustotalrain'] === undefined)
80
+ return false;
81
+ if (!('previoustotaltip' in value) || value['previoustotaltip'] === undefined)
82
+ return false;
83
+ if (!('previoustotalmanualdeposit' in value) || value['previoustotalmanualdeposit'] === undefined)
72
84
  return false;
73
85
  return true;
74
86
  }
@@ -96,14 +108,20 @@ function ApiAdminDashboardStatsGet200ResponseResponseObjectFromJSONTyped(json, i
96
108
  'previousamountoffirstdeposits': json['previousamountoffirstdeposits'],
97
109
  'previouspercentregisteredwithdeposit': json['previouspercentregisteredwithdeposit'],
98
110
  'previouspercentrepeatdeposits': json['previouspercentrepeatdeposits'],
99
- 'ggr': json['ggr'],
100
- 'previousggr': json['previousggr'],
101
- 'totalwager': json['totalwager'],
102
- 'totalwin': json['totalwin'],
103
- 'previoustotalwager': json['previoustotalwager'],
104
- 'previoustotalwin': json['previoustotalwin'],
105
- 'overallrtp': json['overallrtp'],
106
- 'previousoverallrtp': json['previousoverallrtp'],
111
+ 'totalrakebackclaimed': json['totalrakebackclaimed'],
112
+ 'totalaffiliateclaimed': json['totalaffiliateclaimed'],
113
+ 'totalloyaltyclaimed': json['totalloyaltyclaimed'],
114
+ 'totalbonusclaimed': json['totalbonusclaimed'],
115
+ 'totalrain': json['totalrain'],
116
+ 'totaltip': json['totaltip'],
117
+ 'totalmanualdeposit': json['totalmanualdeposit'],
118
+ 'previoustotalrakebackclaimed': json['previoustotalrakebackclaimed'],
119
+ 'previoustotalaffiliateclaimed': json['previoustotalaffiliateclaimed'],
120
+ 'previoustotalloyaltyclaimed': json['previoustotalloyaltyclaimed'],
121
+ 'previoustotalbonusclaimed': json['previoustotalbonusclaimed'],
122
+ 'previoustotalrain': json['previoustotalrain'],
123
+ 'previoustotaltip': json['previoustotaltip'],
124
+ 'previoustotalmanualdeposit': json['previoustotalmanualdeposit'],
107
125
  };
108
126
  }
109
127
  function ApiAdminDashboardStatsGet200ResponseResponseObjectToJSON(json) {
@@ -130,13 +148,19 @@ function ApiAdminDashboardStatsGet200ResponseResponseObjectToJSONTyped(value, ig
130
148
  'previousamountoffirstdeposits': value['previousamountoffirstdeposits'],
131
149
  'previouspercentregisteredwithdeposit': value['previouspercentregisteredwithdeposit'],
132
150
  'previouspercentrepeatdeposits': value['previouspercentrepeatdeposits'],
133
- 'ggr': value['ggr'],
134
- 'previousggr': value['previousggr'],
135
- 'totalwager': value['totalwager'],
136
- 'totalwin': value['totalwin'],
137
- 'previoustotalwager': value['previoustotalwager'],
138
- 'previoustotalwin': value['previoustotalwin'],
139
- 'overallrtp': value['overallrtp'],
140
- 'previousoverallrtp': value['previousoverallrtp'],
151
+ 'totalrakebackclaimed': value['totalrakebackclaimed'],
152
+ 'totalaffiliateclaimed': value['totalaffiliateclaimed'],
153
+ 'totalloyaltyclaimed': value['totalloyaltyclaimed'],
154
+ 'totalbonusclaimed': value['totalbonusclaimed'],
155
+ 'totalrain': value['totalrain'],
156
+ 'totaltip': value['totaltip'],
157
+ 'totalmanualdeposit': value['totalmanualdeposit'],
158
+ 'previoustotalrakebackclaimed': value['previoustotalrakebackclaimed'],
159
+ 'previoustotalaffiliateclaimed': value['previoustotalaffiliateclaimed'],
160
+ 'previoustotalloyaltyclaimed': value['previoustotalloyaltyclaimed'],
161
+ 'previoustotalbonusclaimed': value['previoustotalbonusclaimed'],
162
+ 'previoustotalrain': value['previoustotalrain'],
163
+ 'previoustotaltip': value['previoustotaltip'],
164
+ 'previoustotalmanualdeposit': value['previoustotalmanualdeposit'],
141
165
  };
142
166
  }
@@ -120,49 +120,85 @@ export interface ApiAdminDashboardStatsGet200ResponseResponseObject {
120
120
  * @type {string}
121
121
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
122
122
  */
123
- ggr: string | null;
123
+ totalrakebackclaimed: string | null;
124
124
  /**
125
125
  *
126
126
  * @type {string}
127
127
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
128
128
  */
129
- previousggr: string | null;
129
+ totalaffiliateclaimed: string | null;
130
130
  /**
131
131
  *
132
132
  * @type {string}
133
133
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
134
134
  */
135
- totalwager: string | null;
135
+ totalloyaltyclaimed: string | null;
136
136
  /**
137
137
  *
138
138
  * @type {string}
139
139
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
140
140
  */
141
- totalwin: string | null;
141
+ totalbonusclaimed: string | null;
142
142
  /**
143
143
  *
144
144
  * @type {string}
145
145
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
146
146
  */
147
- previoustotalwager: string | null;
147
+ totalrain: string | null;
148
148
  /**
149
149
  *
150
150
  * @type {string}
151
151
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
152
152
  */
153
- previoustotalwin: string | null;
153
+ totaltip: string | null;
154
154
  /**
155
155
  *
156
156
  * @type {string}
157
157
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
158
158
  */
159
- overallrtp: string | null;
159
+ totalmanualdeposit: string | null;
160
160
  /**
161
161
  *
162
162
  * @type {string}
163
163
  * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
164
164
  */
165
- previousoverallrtp: string | null;
165
+ previoustotalrakebackclaimed: string | null;
166
+ /**
167
+ *
168
+ * @type {string}
169
+ * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
170
+ */
171
+ previoustotalaffiliateclaimed: string | null;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
176
+ */
177
+ previoustotalloyaltyclaimed: string | null;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
182
+ */
183
+ previoustotalbonusclaimed: string | null;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
188
+ */
189
+ previoustotalrain: string | null;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
194
+ */
195
+ previoustotaltip: string | null;
196
+ /**
197
+ *
198
+ * @type {string}
199
+ * @memberof ApiAdminDashboardStatsGet200ResponseResponseObject
200
+ */
201
+ previoustotalmanualdeposit: string | null;
166
202
  }
167
203
 
168
204
  /**
@@ -185,14 +221,20 @@ export function instanceOfApiAdminDashboardStatsGet200ResponseResponseObject(val
185
221
  if (!('previousamountoffirstdeposits' in value) || value['previousamountoffirstdeposits'] === undefined) return false;
186
222
  if (!('previouspercentregisteredwithdeposit' in value) || value['previouspercentregisteredwithdeposit'] === undefined) return false;
187
223
  if (!('previouspercentrepeatdeposits' in value) || value['previouspercentrepeatdeposits'] === undefined) return false;
188
- if (!('ggr' in value) || value['ggr'] === undefined) return false;
189
- if (!('previousggr' in value) || value['previousggr'] === undefined) return false;
190
- if (!('totalwager' in value) || value['totalwager'] === undefined) return false;
191
- if (!('totalwin' in value) || value['totalwin'] === undefined) return false;
192
- if (!('previoustotalwager' in value) || value['previoustotalwager'] === undefined) return false;
193
- if (!('previoustotalwin' in value) || value['previoustotalwin'] === undefined) return false;
194
- if (!('overallrtp' in value) || value['overallrtp'] === undefined) return false;
195
- if (!('previousoverallrtp' in value) || value['previousoverallrtp'] === undefined) return false;
224
+ if (!('totalrakebackclaimed' in value) || value['totalrakebackclaimed'] === undefined) return false;
225
+ if (!('totalaffiliateclaimed' in value) || value['totalaffiliateclaimed'] === undefined) return false;
226
+ if (!('totalloyaltyclaimed' in value) || value['totalloyaltyclaimed'] === undefined) return false;
227
+ if (!('totalbonusclaimed' in value) || value['totalbonusclaimed'] === undefined) return false;
228
+ if (!('totalrain' in value) || value['totalrain'] === undefined) return false;
229
+ if (!('totaltip' in value) || value['totaltip'] === undefined) return false;
230
+ if (!('totalmanualdeposit' in value) || value['totalmanualdeposit'] === undefined) return false;
231
+ if (!('previoustotalrakebackclaimed' in value) || value['previoustotalrakebackclaimed'] === undefined) return false;
232
+ if (!('previoustotalaffiliateclaimed' in value) || value['previoustotalaffiliateclaimed'] === undefined) return false;
233
+ if (!('previoustotalloyaltyclaimed' in value) || value['previoustotalloyaltyclaimed'] === undefined) return false;
234
+ if (!('previoustotalbonusclaimed' in value) || value['previoustotalbonusclaimed'] === undefined) return false;
235
+ if (!('previoustotalrain' in value) || value['previoustotalrain'] === undefined) return false;
236
+ if (!('previoustotaltip' in value) || value['previoustotaltip'] === undefined) return false;
237
+ if (!('previoustotalmanualdeposit' in value) || value['previoustotalmanualdeposit'] === undefined) return false;
196
238
  return true;
197
239
  }
198
240
 
@@ -222,14 +264,20 @@ export function ApiAdminDashboardStatsGet200ResponseResponseObjectFromJSONTyped(
222
264
  'previousamountoffirstdeposits': json['previousamountoffirstdeposits'],
223
265
  'previouspercentregisteredwithdeposit': json['previouspercentregisteredwithdeposit'],
224
266
  'previouspercentrepeatdeposits': json['previouspercentrepeatdeposits'],
225
- 'ggr': json['ggr'],
226
- 'previousggr': json['previousggr'],
227
- 'totalwager': json['totalwager'],
228
- 'totalwin': json['totalwin'],
229
- 'previoustotalwager': json['previoustotalwager'],
230
- 'previoustotalwin': json['previoustotalwin'],
231
- 'overallrtp': json['overallrtp'],
232
- 'previousoverallrtp': json['previousoverallrtp'],
267
+ 'totalrakebackclaimed': json['totalrakebackclaimed'],
268
+ 'totalaffiliateclaimed': json['totalaffiliateclaimed'],
269
+ 'totalloyaltyclaimed': json['totalloyaltyclaimed'],
270
+ 'totalbonusclaimed': json['totalbonusclaimed'],
271
+ 'totalrain': json['totalrain'],
272
+ 'totaltip': json['totaltip'],
273
+ 'totalmanualdeposit': json['totalmanualdeposit'],
274
+ 'previoustotalrakebackclaimed': json['previoustotalrakebackclaimed'],
275
+ 'previoustotalaffiliateclaimed': json['previoustotalaffiliateclaimed'],
276
+ 'previoustotalloyaltyclaimed': json['previoustotalloyaltyclaimed'],
277
+ 'previoustotalbonusclaimed': json['previoustotalbonusclaimed'],
278
+ 'previoustotalrain': json['previoustotalrain'],
279
+ 'previoustotaltip': json['previoustotaltip'],
280
+ 'previoustotalmanualdeposit': json['previoustotalmanualdeposit'],
233
281
  };
234
282
  }
235
283
 
@@ -260,14 +308,20 @@ export function ApiAdminDashboardStatsGet200ResponseResponseObjectFromJSONTyped(
260
308
  'previousamountoffirstdeposits': value['previousamountoffirstdeposits'],
261
309
  'previouspercentregisteredwithdeposit': value['previouspercentregisteredwithdeposit'],
262
310
  'previouspercentrepeatdeposits': value['previouspercentrepeatdeposits'],
263
- 'ggr': value['ggr'],
264
- 'previousggr': value['previousggr'],
265
- 'totalwager': value['totalwager'],
266
- 'totalwin': value['totalwin'],
267
- 'previoustotalwager': value['previoustotalwager'],
268
- 'previoustotalwin': value['previoustotalwin'],
269
- 'overallrtp': value['overallrtp'],
270
- 'previousoverallrtp': value['previousoverallrtp'],
311
+ 'totalrakebackclaimed': value['totalrakebackclaimed'],
312
+ 'totalaffiliateclaimed': value['totalaffiliateclaimed'],
313
+ 'totalloyaltyclaimed': value['totalloyaltyclaimed'],
314
+ 'totalbonusclaimed': value['totalbonusclaimed'],
315
+ 'totalrain': value['totalrain'],
316
+ 'totaltip': value['totaltip'],
317
+ 'totalmanualdeposit': value['totalmanualdeposit'],
318
+ 'previoustotalrakebackclaimed': value['previoustotalrakebackclaimed'],
319
+ 'previoustotalaffiliateclaimed': value['previoustotalaffiliateclaimed'],
320
+ 'previoustotalloyaltyclaimed': value['previoustotalloyaltyclaimed'],
321
+ 'previoustotalbonusclaimed': value['previoustotalbonusclaimed'],
322
+ 'previoustotalrain': value['previoustotalrain'],
323
+ 'previoustotaltip': value['previoustotaltip'],
324
+ 'previoustotalmanualdeposit': value['previoustotalmanualdeposit'],
271
325
  };
272
326
  }
273
327
 
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiAdminDashboardWagerGet200Response = instanceOfApiAdminDashboardWagerGet200Response;
17
+ exports.ApiAdminDashboardWagerGet200ResponseFromJSON = ApiAdminDashboardWagerGet200ResponseFromJSON;
18
+ exports.ApiAdminDashboardWagerGet200ResponseFromJSONTyped = ApiAdminDashboardWagerGet200ResponseFromJSONTyped;
19
+ exports.ApiAdminDashboardWagerGet200ResponseToJSON = ApiAdminDashboardWagerGet200ResponseToJSON;
20
+ exports.ApiAdminDashboardWagerGet200ResponseToJSONTyped = ApiAdminDashboardWagerGet200ResponseToJSONTyped;
21
+ const ApiAdminDashboardWagerGet200ResponseResponseObject_1 = require("./ApiAdminDashboardWagerGet200ResponseResponseObject");
22
+ /**
23
+ * Check if a given object implements the ApiAdminDashboardWagerGet200Response interface.
24
+ */
25
+ function instanceOfApiAdminDashboardWagerGet200Response(value) {
26
+ if (!('success' in value) || value['success'] === undefined)
27
+ return false;
28
+ if (!('message' in value) || value['message'] === undefined)
29
+ return false;
30
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function ApiAdminDashboardWagerGet200ResponseFromJSON(json) {
35
+ return ApiAdminDashboardWagerGet200ResponseFromJSONTyped(json, false);
36
+ }
37
+ function ApiAdminDashboardWagerGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'success': json['success'],
43
+ 'message': json['message'],
44
+ 'responseObject': json['responseObject'] == null ? undefined : (0, ApiAdminDashboardWagerGet200ResponseResponseObject_1.ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSON)(json['responseObject']),
45
+ 'statusCode': json['statusCode'],
46
+ };
47
+ }
48
+ function ApiAdminDashboardWagerGet200ResponseToJSON(json) {
49
+ return ApiAdminDashboardWagerGet200ResponseToJSONTyped(json, false);
50
+ }
51
+ function ApiAdminDashboardWagerGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'success': value['success'],
57
+ 'message': value['message'],
58
+ 'responseObject': (0, ApiAdminDashboardWagerGet200ResponseResponseObject_1.ApiAdminDashboardWagerGet200ResponseResponseObjectToJSON)(value['responseObject']),
59
+ 'statusCode': value['statusCode'],
60
+ };
61
+ }
@@ -0,0 +1,100 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ApiAdminDashboardWagerGet200ResponseResponseObject } from './ApiAdminDashboardWagerGet200ResponseResponseObject';
17
+ import {
18
+ ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSON,
19
+ ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSONTyped,
20
+ ApiAdminDashboardWagerGet200ResponseResponseObjectToJSON,
21
+ ApiAdminDashboardWagerGet200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiAdminDashboardWagerGet200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiAdminDashboardWagerGet200Response
28
+ */
29
+ export interface ApiAdminDashboardWagerGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiAdminDashboardWagerGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiAdminDashboardWagerGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiAdminDashboardWagerGet200ResponseResponseObject}
45
+ * @memberof ApiAdminDashboardWagerGet200Response
46
+ */
47
+ responseObject?: ApiAdminDashboardWagerGet200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiAdminDashboardWagerGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiAdminDashboardWagerGet200Response interface.
58
+ */
59
+ export function instanceOfApiAdminDashboardWagerGet200Response(value: object): value is ApiAdminDashboardWagerGet200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiAdminDashboardWagerGet200ResponseFromJSON(json: any): ApiAdminDashboardWagerGet200Response {
67
+ return ApiAdminDashboardWagerGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiAdminDashboardWagerGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminDashboardWagerGet200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiAdminDashboardWagerGet200ResponseToJSON(json: any): ApiAdminDashboardWagerGet200Response {
84
+ return ApiAdminDashboardWagerGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiAdminDashboardWagerGet200ResponseToJSONTyped(value?: ApiAdminDashboardWagerGet200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiAdminDashboardWagerGet200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,78 @@
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.instanceOfApiAdminDashboardWagerGet200ResponseResponseObject = instanceOfApiAdminDashboardWagerGet200ResponseResponseObject;
17
+ exports.ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSON = ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSON;
18
+ exports.ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSONTyped = ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSONTyped;
19
+ exports.ApiAdminDashboardWagerGet200ResponseResponseObjectToJSON = ApiAdminDashboardWagerGet200ResponseResponseObjectToJSON;
20
+ exports.ApiAdminDashboardWagerGet200ResponseResponseObjectToJSONTyped = ApiAdminDashboardWagerGet200ResponseResponseObjectToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiAdminDashboardWagerGet200ResponseResponseObject interface.
23
+ */
24
+ function instanceOfApiAdminDashboardWagerGet200ResponseResponseObject(value) {
25
+ if (!('ggr' in value) || value['ggr'] === undefined)
26
+ return false;
27
+ if (!('totalwager' in value) || value['totalwager'] === undefined)
28
+ return false;
29
+ if (!('totalwin' in value) || value['totalwin'] === undefined)
30
+ return false;
31
+ if (!('overallrtp' in value) || value['overallrtp'] === undefined)
32
+ return false;
33
+ if (!('previousggr' in value) || value['previousggr'] === undefined)
34
+ return false;
35
+ if (!('previoustotalwager' in value) || value['previoustotalwager'] === undefined)
36
+ return false;
37
+ if (!('previoustotalwin' in value) || value['previoustotalwin'] === undefined)
38
+ return false;
39
+ if (!('previousoverallrtp' in value) || value['previousoverallrtp'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSON(json) {
44
+ return ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSONTyped(json, false);
45
+ }
46
+ function ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'ggr': json['ggr'],
52
+ 'totalwager': json['totalwager'],
53
+ 'totalwin': json['totalwin'],
54
+ 'overallrtp': json['overallrtp'],
55
+ 'previousggr': json['previousggr'],
56
+ 'previoustotalwager': json['previoustotalwager'],
57
+ 'previoustotalwin': json['previoustotalwin'],
58
+ 'previousoverallrtp': json['previousoverallrtp'],
59
+ };
60
+ }
61
+ function ApiAdminDashboardWagerGet200ResponseResponseObjectToJSON(json) {
62
+ return ApiAdminDashboardWagerGet200ResponseResponseObjectToJSONTyped(json, false);
63
+ }
64
+ function ApiAdminDashboardWagerGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'ggr': value['ggr'],
70
+ 'totalwager': value['totalwager'],
71
+ 'totalwin': value['totalwin'],
72
+ 'overallrtp': value['overallrtp'],
73
+ 'previousggr': value['previousggr'],
74
+ 'previoustotalwager': value['previoustotalwager'],
75
+ 'previoustotalwin': value['previoustotalwin'],
76
+ 'previousoverallrtp': value['previousoverallrtp'],
77
+ };
78
+ }
@@ -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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiAdminDashboardWagerGet200ResponseResponseObject
20
+ */
21
+ export interface ApiAdminDashboardWagerGet200ResponseResponseObject {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
26
+ */
27
+ ggr: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
32
+ */
33
+ totalwager: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
38
+ */
39
+ totalwin: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
44
+ */
45
+ overallrtp: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
50
+ */
51
+ previousggr: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
56
+ */
57
+ previoustotalwager: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
62
+ */
63
+ previoustotalwin: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof ApiAdminDashboardWagerGet200ResponseResponseObject
68
+ */
69
+ previousoverallrtp: string;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the ApiAdminDashboardWagerGet200ResponseResponseObject interface.
74
+ */
75
+ export function instanceOfApiAdminDashboardWagerGet200ResponseResponseObject(value: object): value is ApiAdminDashboardWagerGet200ResponseResponseObject {
76
+ if (!('ggr' in value) || value['ggr'] === undefined) return false;
77
+ if (!('totalwager' in value) || value['totalwager'] === undefined) return false;
78
+ if (!('totalwin' in value) || value['totalwin'] === undefined) return false;
79
+ if (!('overallrtp' in value) || value['overallrtp'] === undefined) return false;
80
+ if (!('previousggr' in value) || value['previousggr'] === undefined) return false;
81
+ if (!('previoustotalwager' in value) || value['previoustotalwager'] === undefined) return false;
82
+ if (!('previoustotalwin' in value) || value['previoustotalwin'] === undefined) return false;
83
+ if (!('previousoverallrtp' in value) || value['previousoverallrtp'] === undefined) return false;
84
+ return true;
85
+ }
86
+
87
+ export function ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSON(json: any): ApiAdminDashboardWagerGet200ResponseResponseObject {
88
+ return ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSONTyped(json, false);
89
+ }
90
+
91
+ export function ApiAdminDashboardWagerGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminDashboardWagerGet200ResponseResponseObject {
92
+ if (json == null) {
93
+ return json;
94
+ }
95
+ return {
96
+
97
+ 'ggr': json['ggr'],
98
+ 'totalwager': json['totalwager'],
99
+ 'totalwin': json['totalwin'],
100
+ 'overallrtp': json['overallrtp'],
101
+ 'previousggr': json['previousggr'],
102
+ 'previoustotalwager': json['previoustotalwager'],
103
+ 'previoustotalwin': json['previoustotalwin'],
104
+ 'previousoverallrtp': json['previousoverallrtp'],
105
+ };
106
+ }
107
+
108
+ export function ApiAdminDashboardWagerGet200ResponseResponseObjectToJSON(json: any): ApiAdminDashboardWagerGet200ResponseResponseObject {
109
+ return ApiAdminDashboardWagerGet200ResponseResponseObjectToJSONTyped(json, false);
110
+ }
111
+
112
+ export function ApiAdminDashboardWagerGet200ResponseResponseObjectToJSONTyped(value?: ApiAdminDashboardWagerGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'ggr': value['ggr'],
120
+ 'totalwager': value['totalwager'],
121
+ 'totalwin': value['totalwin'],
122
+ 'overallrtp': value['overallrtp'],
123
+ 'previousggr': value['previousggr'],
124
+ 'previoustotalwager': value['previoustotalwager'],
125
+ 'previoustotalwin': value['previoustotalwin'],
126
+ 'previousoverallrtp': value['previousoverallrtp'],
127
+ };
128
+ }
129
+
package/models/index.js CHANGED
@@ -96,6 +96,8 @@ __exportStar(require("./ApiAdminDashboardStatsGet200Response"), exports);
96
96
  __exportStar(require("./ApiAdminDashboardStatsGet200ResponseResponseObject"), exports);
97
97
  __exportStar(require("./ApiAdminDashboardSumBalancesGet200Response"), exports);
98
98
  __exportStar(require("./ApiAdminDashboardSumBalancesGet200ResponseResponseObject"), exports);
99
+ __exportStar(require("./ApiAdminDashboardWagerGet200Response"), exports);
100
+ __exportStar(require("./ApiAdminDashboardWagerGet200ResponseResponseObject"), exports);
99
101
  __exportStar(require("./ApiAdminGamesBulkRecommendPutRequest"), exports);
100
102
  __exportStar(require("./ApiAdminGamesBulkStatusPutRequest"), exports);
101
103
  __exportStar(require("./ApiAdminGamesFilterDataGet200Response"), exports);
package/models/index.ts CHANGED
@@ -80,6 +80,8 @@ export * from './ApiAdminDashboardStatsGet200Response';
80
80
  export * from './ApiAdminDashboardStatsGet200ResponseResponseObject';
81
81
  export * from './ApiAdminDashboardSumBalancesGet200Response';
82
82
  export * from './ApiAdminDashboardSumBalancesGet200ResponseResponseObject';
83
+ export * from './ApiAdminDashboardWagerGet200Response';
84
+ export * from './ApiAdminDashboardWagerGet200ResponseResponseObject';
83
85
  export * from './ApiAdminGamesBulkRecommendPutRequest';
84
86
  export * from './ApiAdminGamesBulkStatusPutRequest';
85
87
  export * from './ApiAdminGamesFilterDataGet200Response';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gambulls-org/gambulls-apis",
3
- "version": "3.0.394",
3
+ "version": "3.0.396",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "tsc",