@gambulls-org/gambulls-apis 3.0.769 → 3.0.771
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 -2
- package/apis/AdminUserManagementApi.js +38 -0
- package/apis/AdminUserManagementApi.ts +52 -0
- package/models/ApiAdminAffiliateEarningGetFilterParameter.js +9 -9
- package/models/ApiAdminAffiliateEarningGetFilterParameter.ts +22 -22
- package/models/ApiAdminAffiliateLinkGetFilterParameter.js +13 -13
- package/models/ApiAdminAffiliateLinkGetFilterParameter.ts +30 -30
- package/models/ApiAdminAffiliateReferralGetFilterParameter.js +5 -5
- package/models/ApiAdminAffiliateReferralGetFilterParameter.ts +14 -14
- package/models/ApiAdminAffiliateUserGetFilterParameter.js +17 -17
- package/models/ApiAdminAffiliateUserGetFilterParameter.ts +38 -38
- package/models/ApiAdminBonusGetFilterParameter.js +29 -29
- package/models/ApiAdminBonusGetFilterParameter.ts +62 -62
- package/models/ApiAdminBonusInstanceGetFilterParameter.js +17 -17
- package/models/ApiAdminBonusInstanceGetFilterParameter.ts +38 -38
- package/models/ApiAdminIbankrollUsersGetFilterParameter.js +7 -7
- package/models/ApiAdminIbankrollUsersGetFilterParameter.ts +18 -18
- package/models/ApiAdminUsersGet200ResponseResponseObjectItemsInner.js +40 -25
- package/models/ApiAdminUsersGet200ResponseResponseObjectItemsInner.ts +70 -34
- package/models/ApiAdminUsersGet200ResponseResponseObjectItemsInnerLoyalty.js +54 -0
- package/models/ApiAdminUsersGet200ResponseResponseObjectItemsInnerLoyalty.ts +75 -0
- package/models/ApiAdminUsersGetFilterParameter.js +23 -17
- package/models/ApiAdminUsersGetFilterParameter.ts +60 -36
- package/models/ApiAdminUsersGetFilterParameterTotalRealWager.js +54 -0
- package/models/ApiAdminUsersGetFilterParameterTotalRealWager.ts +97 -0
- package/models/ApiAdminUsersGetFilterParameterTotalRealWagerAnyOf.js +54 -0
- package/models/ApiAdminUsersGetFilterParameterTotalRealWagerAnyOf.ts +89 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200Response.js +61 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200Response.ts +100 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject.js +50 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject.ts +66 -0
- package/models/ApiAdminUsersUserIdBalanceHistoryGetFilterParameter.js +3 -3
- package/models/ApiAdminUsersUserIdBalanceHistoryGetFilterParameter.ts +10 -10
- package/models/ApiAdminUsersUserIdWithdrawalGetFilterParameter.js +13 -13
- package/models/ApiAdminUsersUserIdWithdrawalGetFilterParameter.ts +30 -30
- package/models/index.js +5 -2
- package/models/index.ts +5 -2
- package/package.json +1 -1
- package/models/ApiAdminUsersGetFilterParameterDeposits.js +0 -54
- package/models/ApiAdminUsersGetFilterParameterDeposits.ts +0 -97
- package/models/ApiAdminUsersGetFilterParameterDepositsAnyOf.js +0 -54
- package/models/ApiAdminUsersGetFilterParameterDepositsAnyOf.ts +0 -89
package/.openapi-generator/FILES
CHANGED
|
@@ -404,9 +404,12 @@ models/ApiAdminUsersDocumentPostRequest.ts
|
|
|
404
404
|
models/ApiAdminUsersGet200Response.ts
|
|
405
405
|
models/ApiAdminUsersGet200ResponseResponseObject.ts
|
|
406
406
|
models/ApiAdminUsersGet200ResponseResponseObjectItemsInner.ts
|
|
407
|
+
models/ApiAdminUsersGet200ResponseResponseObjectItemsInnerLoyalty.ts
|
|
407
408
|
models/ApiAdminUsersGetFilterParameter.ts
|
|
408
|
-
models/
|
|
409
|
-
models/
|
|
409
|
+
models/ApiAdminUsersGetFilterParameterTotalRealWager.ts
|
|
410
|
+
models/ApiAdminUsersGetFilterParameterTotalRealWagerAnyOf.ts
|
|
411
|
+
models/ApiAdminUsersGroupApiKeyUserIdPost200Response.ts
|
|
412
|
+
models/ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject.ts
|
|
410
413
|
models/ApiAdminUsersGroupPutRequest.ts
|
|
411
414
|
models/ApiAdminUsersRegisterPostRequest.ts
|
|
412
415
|
models/ApiAdminUsersUnflagAltAccountPost200Response.ts
|
|
@@ -481,6 +481,44 @@ class AdminUserManagementApi extends runtime.BaseAPI {
|
|
|
481
481
|
return yield response.value();
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
* User Streamer Group Generate API Key
|
|
486
|
+
*/
|
|
487
|
+
apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters, initOverrides) {
|
|
488
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
489
|
+
if (requestParameters['userId'] == null) {
|
|
490
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling apiAdminUsersGroupApiKeyUserIdPost().');
|
|
491
|
+
}
|
|
492
|
+
const queryParameters = {};
|
|
493
|
+
const headerParameters = {};
|
|
494
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
495
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
496
|
+
}
|
|
497
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
498
|
+
const token = this.configuration.accessToken;
|
|
499
|
+
const tokenString = yield token("BearerAuth", []);
|
|
500
|
+
if (tokenString) {
|
|
501
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
const response = yield this.request({
|
|
505
|
+
path: `/api/admin/users/group/api-key/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
506
|
+
method: 'POST',
|
|
507
|
+
headers: headerParameters,
|
|
508
|
+
query: queryParameters,
|
|
509
|
+
}, initOverrides);
|
|
510
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON)(jsonValue));
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* User Streamer Group Generate API Key
|
|
515
|
+
*/
|
|
516
|
+
apiAdminUsersGroupApiKeyUserIdPost(requestParameters, initOverrides) {
|
|
517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
518
|
+
const response = yield this.apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters, initOverrides);
|
|
519
|
+
return yield response.value();
|
|
520
|
+
});
|
|
521
|
+
}
|
|
484
522
|
/**
|
|
485
523
|
* User Group Update
|
|
486
524
|
*/
|
|
@@ -29,6 +29,7 @@ import type {
|
|
|
29
29
|
ApiAdminUsersDocumentPostRequest,
|
|
30
30
|
ApiAdminUsersGet200Response,
|
|
31
31
|
ApiAdminUsersGetFilterParameter,
|
|
32
|
+
ApiAdminUsersGroupApiKeyUserIdPost200Response,
|
|
32
33
|
ApiAdminUsersGroupPutRequest,
|
|
33
34
|
ApiAdminUsersRegisterPostRequest,
|
|
34
35
|
ApiAdminUsersUnflagAltAccountPost200Response,
|
|
@@ -85,6 +86,8 @@ import {
|
|
|
85
86
|
ApiAdminUsersGet200ResponseToJSON,
|
|
86
87
|
ApiAdminUsersGetFilterParameterFromJSON,
|
|
87
88
|
ApiAdminUsersGetFilterParameterToJSON,
|
|
89
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON,
|
|
90
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSON,
|
|
88
91
|
ApiAdminUsersGroupPutRequestFromJSON,
|
|
89
92
|
ApiAdminUsersGroupPutRequestToJSON,
|
|
90
93
|
ApiAdminUsersRegisterPostRequestFromJSON,
|
|
@@ -201,6 +204,10 @@ export interface ApiAdminUsersGetRequest {
|
|
|
201
204
|
sort?: string;
|
|
202
205
|
}
|
|
203
206
|
|
|
207
|
+
export interface ApiAdminUsersGroupApiKeyUserIdPostRequest {
|
|
208
|
+
userId: string;
|
|
209
|
+
}
|
|
210
|
+
|
|
204
211
|
export interface ApiAdminUsersGroupPutOperationRequest {
|
|
205
212
|
apiAdminUsersGroupPutRequest?: ApiAdminUsersGroupPutRequest;
|
|
206
213
|
}
|
|
@@ -820,6 +827,51 @@ export class AdminUserManagementApi extends runtime.BaseAPI {
|
|
|
820
827
|
return await response.value();
|
|
821
828
|
}
|
|
822
829
|
|
|
830
|
+
/**
|
|
831
|
+
* User Streamer Group Generate API Key
|
|
832
|
+
*/
|
|
833
|
+
async apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters: ApiAdminUsersGroupApiKeyUserIdPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminUsersGroupApiKeyUserIdPost200Response>> {
|
|
834
|
+
if (requestParameters['userId'] == null) {
|
|
835
|
+
throw new runtime.RequiredError(
|
|
836
|
+
'userId',
|
|
837
|
+
'Required parameter "userId" was null or undefined when calling apiAdminUsersGroupApiKeyUserIdPost().'
|
|
838
|
+
);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
const queryParameters: any = {};
|
|
842
|
+
|
|
843
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
844
|
+
|
|
845
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
846
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
850
|
+
const token = this.configuration.accessToken;
|
|
851
|
+
const tokenString = await token("BearerAuth", []);
|
|
852
|
+
|
|
853
|
+
if (tokenString) {
|
|
854
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
const response = await this.request({
|
|
858
|
+
path: `/api/admin/users/group/api-key/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
859
|
+
method: 'POST',
|
|
860
|
+
headers: headerParameters,
|
|
861
|
+
query: queryParameters,
|
|
862
|
+
}, initOverrides);
|
|
863
|
+
|
|
864
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON(jsonValue));
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* User Streamer Group Generate API Key
|
|
869
|
+
*/
|
|
870
|
+
async apiAdminUsersGroupApiKeyUserIdPost(requestParameters: ApiAdminUsersGroupApiKeyUserIdPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminUsersGroupApiKeyUserIdPost200Response> {
|
|
871
|
+
const response = await this.apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters, initOverrides);
|
|
872
|
+
return await response.value();
|
|
873
|
+
}
|
|
874
|
+
|
|
823
875
|
/**
|
|
824
876
|
* User Group Update
|
|
825
877
|
*/
|
|
@@ -19,7 +19,7 @@ exports.ApiAdminAffiliateEarningGetFilterParameterFromJSON = ApiAdminAffiliateEa
|
|
|
19
19
|
exports.ApiAdminAffiliateEarningGetFilterParameterFromJSONTyped = ApiAdminAffiliateEarningGetFilterParameterFromJSONTyped;
|
|
20
20
|
exports.ApiAdminAffiliateEarningGetFilterParameterToJSON = ApiAdminAffiliateEarningGetFilterParameterToJSON;
|
|
21
21
|
exports.ApiAdminAffiliateEarningGetFilterParameterToJSONTyped = ApiAdminAffiliateEarningGetFilterParameterToJSONTyped;
|
|
22
|
-
const
|
|
22
|
+
const ApiAdminUsersGetFilterParameterTotalRealWager_1 = require("./ApiAdminUsersGetFilterParameterTotalRealWager");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -50,10 +50,10 @@ function ApiAdminAffiliateEarningGetFilterParameterFromJSONTyped(json, ignoreDis
|
|
|
50
50
|
'referralCode': json['referralCode'] == null ? undefined : json['referralCode'],
|
|
51
51
|
'referralStatus': json['referralStatus'] == null ? undefined : json['referralStatus'],
|
|
52
52
|
'earningDate': json['earningDate'] == null ? undefined : json['earningDate'],
|
|
53
|
-
'earnedAmount': json['earnedAmount'] == null ? undefined : (0,
|
|
54
|
-
'totalWager': json['totalWager'] == null ? undefined : (0,
|
|
55
|
-
'countWager': json['countWager'] == null ? undefined : (0,
|
|
56
|
-
'commissionRate': json['commissionRate'] == null ? undefined : (0,
|
|
53
|
+
'earnedAmount': json['earnedAmount'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['earnedAmount']),
|
|
54
|
+
'totalWager': json['totalWager'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalWager']),
|
|
55
|
+
'countWager': json['countWager'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['countWager']),
|
|
56
|
+
'commissionRate': json['commissionRate'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['commissionRate']),
|
|
57
57
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
58
58
|
'remark': json['remark'] == null ? undefined : json['remark'],
|
|
59
59
|
};
|
|
@@ -74,10 +74,10 @@ function ApiAdminAffiliateEarningGetFilterParameterToJSONTyped(value, ignoreDisc
|
|
|
74
74
|
'referralCode': value['referralCode'],
|
|
75
75
|
'referralStatus': value['referralStatus'],
|
|
76
76
|
'earningDate': value['earningDate'],
|
|
77
|
-
'earnedAmount': (0,
|
|
78
|
-
'totalWager': (0,
|
|
79
|
-
'countWager': (0,
|
|
80
|
-
'commissionRate': (0,
|
|
77
|
+
'earnedAmount': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['earnedAmount']),
|
|
78
|
+
'totalWager': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalWager']),
|
|
79
|
+
'countWager': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['countWager']),
|
|
80
|
+
'commissionRate': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['commissionRate']),
|
|
81
81
|
'createdAt': value['createdAt'],
|
|
82
82
|
'remark': value['remark'],
|
|
83
83
|
};
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ApiAdminUsersGetFilterParameterTotalRealWager } from './ApiAdminUsersGetFilterParameterTotalRealWager';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON,
|
|
19
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerFromJSONTyped,
|
|
20
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerToJSON,
|
|
21
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerToJSONTyped,
|
|
22
|
+
} from './ApiAdminUsersGetFilterParameterTotalRealWager';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -77,28 +77,28 @@ export interface ApiAdminAffiliateEarningGetFilterParameter {
|
|
|
77
77
|
earningDate?: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
|
-
* @type {
|
|
80
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
81
81
|
* @memberof ApiAdminAffiliateEarningGetFilterParameter
|
|
82
82
|
*/
|
|
83
|
-
earnedAmount?:
|
|
83
|
+
earnedAmount?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
|
-
* @type {
|
|
86
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
87
87
|
* @memberof ApiAdminAffiliateEarningGetFilterParameter
|
|
88
88
|
*/
|
|
89
|
-
totalWager?:
|
|
89
|
+
totalWager?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
|
-
* @type {
|
|
92
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
93
93
|
* @memberof ApiAdminAffiliateEarningGetFilterParameter
|
|
94
94
|
*/
|
|
95
|
-
countWager?:
|
|
95
|
+
countWager?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
|
-
* @type {
|
|
98
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
99
99
|
* @memberof ApiAdminAffiliateEarningGetFilterParameter
|
|
100
100
|
*/
|
|
101
|
-
commissionRate?:
|
|
101
|
+
commissionRate?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @type {string}
|
|
@@ -150,10 +150,10 @@ export function ApiAdminAffiliateEarningGetFilterParameterFromJSONTyped(json: an
|
|
|
150
150
|
'referralCode': json['referralCode'] == null ? undefined : json['referralCode'],
|
|
151
151
|
'referralStatus': json['referralStatus'] == null ? undefined : json['referralStatus'],
|
|
152
152
|
'earningDate': json['earningDate'] == null ? undefined : json['earningDate'],
|
|
153
|
-
'earnedAmount': json['earnedAmount'] == null ? undefined :
|
|
154
|
-
'totalWager': json['totalWager'] == null ? undefined :
|
|
155
|
-
'countWager': json['countWager'] == null ? undefined :
|
|
156
|
-
'commissionRate': json['commissionRate'] == null ? undefined :
|
|
153
|
+
'earnedAmount': json['earnedAmount'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['earnedAmount']),
|
|
154
|
+
'totalWager': json['totalWager'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalWager']),
|
|
155
|
+
'countWager': json['countWager'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['countWager']),
|
|
156
|
+
'commissionRate': json['commissionRate'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['commissionRate']),
|
|
157
157
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
158
158
|
'remark': json['remark'] == null ? undefined : json['remark'],
|
|
159
159
|
};
|
|
@@ -178,10 +178,10 @@ export function ApiAdminAffiliateEarningGetFilterParameterFromJSONTyped(json: an
|
|
|
178
178
|
'referralCode': value['referralCode'],
|
|
179
179
|
'referralStatus': value['referralStatus'],
|
|
180
180
|
'earningDate': value['earningDate'],
|
|
181
|
-
'earnedAmount':
|
|
182
|
-
'totalWager':
|
|
183
|
-
'countWager':
|
|
184
|
-
'commissionRate':
|
|
181
|
+
'earnedAmount': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['earnedAmount']),
|
|
182
|
+
'totalWager': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalWager']),
|
|
183
|
+
'countWager': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['countWager']),
|
|
184
|
+
'commissionRate': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['commissionRate']),
|
|
185
185
|
'createdAt': value['createdAt'],
|
|
186
186
|
'remark': value['remark'],
|
|
187
187
|
};
|
|
@@ -19,7 +19,7 @@ exports.ApiAdminAffiliateLinkGetFilterParameterFromJSON = ApiAdminAffiliateLinkG
|
|
|
19
19
|
exports.ApiAdminAffiliateLinkGetFilterParameterFromJSONTyped = ApiAdminAffiliateLinkGetFilterParameterFromJSONTyped;
|
|
20
20
|
exports.ApiAdminAffiliateLinkGetFilterParameterToJSON = ApiAdminAffiliateLinkGetFilterParameterToJSON;
|
|
21
21
|
exports.ApiAdminAffiliateLinkGetFilterParameterToJSONTyped = ApiAdminAffiliateLinkGetFilterParameterToJSONTyped;
|
|
22
|
-
const
|
|
22
|
+
const ApiAdminUsersGetFilterParameterTotalRealWager_1 = require("./ApiAdminUsersGetFilterParameterTotalRealWager");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -46,13 +46,13 @@ function ApiAdminAffiliateLinkGetFilterParameterFromJSONTyped(json, ignoreDiscri
|
|
|
46
46
|
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
47
47
|
'referralCode': json['referralCode'] == null ? undefined : json['referralCode'],
|
|
48
48
|
'status': json['status'] == null ? undefined : json['status'],
|
|
49
|
-
'totalClicked': json['totalClicked'] == null ? undefined : (0,
|
|
49
|
+
'totalClicked': json['totalClicked'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalClicked']),
|
|
50
50
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
51
|
-
'totalWagered': json['totalWagered'] == null ? undefined : (0,
|
|
52
|
-
'totalEarned': json['totalEarned'] == null ? undefined : (0,
|
|
53
|
-
'totalSignup': json['totalSignup'] == null ? undefined : (0,
|
|
54
|
-
'totalWithdrawalUSD': json['totalWithdrawalUSD'] == null ? undefined : (0,
|
|
55
|
-
'totalDepositUSD': json['totalDepositUSD'] == null ? undefined : (0,
|
|
51
|
+
'totalWagered': json['totalWagered'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalWagered']),
|
|
52
|
+
'totalEarned': json['totalEarned'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalEarned']),
|
|
53
|
+
'totalSignup': json['totalSignup'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalSignup']),
|
|
54
|
+
'totalWithdrawalUSD': json['totalWithdrawalUSD'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalWithdrawalUSD']),
|
|
55
|
+
'totalDepositUSD': json['totalDepositUSD'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalDepositUSD']),
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
function ApiAdminAffiliateLinkGetFilterParameterToJSON(json) {
|
|
@@ -67,12 +67,12 @@ function ApiAdminAffiliateLinkGetFilterParameterToJSONTyped(value, ignoreDiscrim
|
|
|
67
67
|
'userId': value['userId'],
|
|
68
68
|
'referralCode': value['referralCode'],
|
|
69
69
|
'status': value['status'],
|
|
70
|
-
'totalClicked': (0,
|
|
70
|
+
'totalClicked': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalClicked']),
|
|
71
71
|
'createdAt': value['createdAt'],
|
|
72
|
-
'totalWagered': (0,
|
|
73
|
-
'totalEarned': (0,
|
|
74
|
-
'totalSignup': (0,
|
|
75
|
-
'totalWithdrawalUSD': (0,
|
|
76
|
-
'totalDepositUSD': (0,
|
|
72
|
+
'totalWagered': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalWagered']),
|
|
73
|
+
'totalEarned': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalEarned']),
|
|
74
|
+
'totalSignup': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalSignup']),
|
|
75
|
+
'totalWithdrawalUSD': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalWithdrawalUSD']),
|
|
76
|
+
'totalDepositUSD': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalDepositUSD']),
|
|
77
77
|
};
|
|
78
78
|
}
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ApiAdminUsersGetFilterParameterTotalRealWager } from './ApiAdminUsersGetFilterParameterTotalRealWager';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON,
|
|
19
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerFromJSONTyped,
|
|
20
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerToJSON,
|
|
21
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerToJSONTyped,
|
|
22
|
+
} from './ApiAdminUsersGetFilterParameterTotalRealWager';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -53,10 +53,10 @@ export interface ApiAdminAffiliateLinkGetFilterParameter {
|
|
|
53
53
|
status?: ApiAdminAffiliateLinkGetFilterParameterStatusEnum;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
57
57
|
* @memberof ApiAdminAffiliateLinkGetFilterParameter
|
|
58
58
|
*/
|
|
59
|
-
totalClicked?:
|
|
59
|
+
totalClicked?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
@@ -65,34 +65,34 @@ export interface ApiAdminAffiliateLinkGetFilterParameter {
|
|
|
65
65
|
createdAt?: string;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
|
-
* @type {
|
|
68
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
69
69
|
* @memberof ApiAdminAffiliateLinkGetFilterParameter
|
|
70
70
|
*/
|
|
71
|
-
totalWagered?:
|
|
71
|
+
totalWagered?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
|
-
* @type {
|
|
74
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
75
75
|
* @memberof ApiAdminAffiliateLinkGetFilterParameter
|
|
76
76
|
*/
|
|
77
|
-
totalEarned?:
|
|
77
|
+
totalEarned?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
|
-
* @type {
|
|
80
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
81
81
|
* @memberof ApiAdminAffiliateLinkGetFilterParameter
|
|
82
82
|
*/
|
|
83
|
-
totalSignup?:
|
|
83
|
+
totalSignup?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
|
-
* @type {
|
|
86
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
87
87
|
* @memberof ApiAdminAffiliateLinkGetFilterParameter
|
|
88
88
|
*/
|
|
89
|
-
totalWithdrawalUSD?:
|
|
89
|
+
totalWithdrawalUSD?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
|
-
* @type {
|
|
92
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
93
93
|
* @memberof ApiAdminAffiliateLinkGetFilterParameter
|
|
94
94
|
*/
|
|
95
|
-
totalDepositUSD?:
|
|
95
|
+
totalDepositUSD?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
|
|
@@ -128,13 +128,13 @@ export function ApiAdminAffiliateLinkGetFilterParameterFromJSONTyped(json: any,
|
|
|
128
128
|
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
129
129
|
'referralCode': json['referralCode'] == null ? undefined : json['referralCode'],
|
|
130
130
|
'status': json['status'] == null ? undefined : json['status'],
|
|
131
|
-
'totalClicked': json['totalClicked'] == null ? undefined :
|
|
131
|
+
'totalClicked': json['totalClicked'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalClicked']),
|
|
132
132
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
133
|
-
'totalWagered': json['totalWagered'] == null ? undefined :
|
|
134
|
-
'totalEarned': json['totalEarned'] == null ? undefined :
|
|
135
|
-
'totalSignup': json['totalSignup'] == null ? undefined :
|
|
136
|
-
'totalWithdrawalUSD': json['totalWithdrawalUSD'] == null ? undefined :
|
|
137
|
-
'totalDepositUSD': json['totalDepositUSD'] == null ? undefined :
|
|
133
|
+
'totalWagered': json['totalWagered'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalWagered']),
|
|
134
|
+
'totalEarned': json['totalEarned'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalEarned']),
|
|
135
|
+
'totalSignup': json['totalSignup'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalSignup']),
|
|
136
|
+
'totalWithdrawalUSD': json['totalWithdrawalUSD'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalWithdrawalUSD']),
|
|
137
|
+
'totalDepositUSD': json['totalDepositUSD'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalDepositUSD']),
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -153,13 +153,13 @@ export function ApiAdminAffiliateLinkGetFilterParameterFromJSONTyped(json: any,
|
|
|
153
153
|
'userId': value['userId'],
|
|
154
154
|
'referralCode': value['referralCode'],
|
|
155
155
|
'status': value['status'],
|
|
156
|
-
'totalClicked':
|
|
156
|
+
'totalClicked': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalClicked']),
|
|
157
157
|
'createdAt': value['createdAt'],
|
|
158
|
-
'totalWagered':
|
|
159
|
-
'totalEarned':
|
|
160
|
-
'totalSignup':
|
|
161
|
-
'totalWithdrawalUSD':
|
|
162
|
-
'totalDepositUSD':
|
|
158
|
+
'totalWagered': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalWagered']),
|
|
159
|
+
'totalEarned': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalEarned']),
|
|
160
|
+
'totalSignup': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalSignup']),
|
|
161
|
+
'totalWithdrawalUSD': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalWithdrawalUSD']),
|
|
162
|
+
'totalDepositUSD': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalDepositUSD']),
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -19,7 +19,7 @@ exports.ApiAdminAffiliateReferralGetFilterParameterFromJSON = ApiAdminAffiliateR
|
|
|
19
19
|
exports.ApiAdminAffiliateReferralGetFilterParameterFromJSONTyped = ApiAdminAffiliateReferralGetFilterParameterFromJSONTyped;
|
|
20
20
|
exports.ApiAdminAffiliateReferralGetFilterParameterToJSON = ApiAdminAffiliateReferralGetFilterParameterToJSON;
|
|
21
21
|
exports.ApiAdminAffiliateReferralGetFilterParameterToJSONTyped = ApiAdminAffiliateReferralGetFilterParameterToJSONTyped;
|
|
22
|
-
const
|
|
22
|
+
const ApiAdminUsersGetFilterParameterTotalRealWager_1 = require("./ApiAdminUsersGetFilterParameterTotalRealWager");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -55,8 +55,8 @@ function ApiAdminAffiliateReferralGetFilterParameterFromJSONTyped(json, ignoreDi
|
|
|
55
55
|
'referralCode': json['referralCode'] == null ? undefined : json['referralCode'],
|
|
56
56
|
'activatedAt': json['activatedAt'] == null ? undefined : json['activatedAt'],
|
|
57
57
|
'status': json['status'] == null ? undefined : json['status'],
|
|
58
|
-
'totalWagered': json['totalWagered'] == null ? undefined : (0,
|
|
59
|
-
'totalEarned': json['totalEarned'] == null ? undefined : (0,
|
|
58
|
+
'totalWagered': json['totalWagered'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalWagered']),
|
|
59
|
+
'totalEarned': json['totalEarned'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['totalEarned']),
|
|
60
60
|
'deactivatedAt': json['deactivatedAt'] == null ? undefined : json['deactivatedAt'],
|
|
61
61
|
'deactivatedBy': json['deactivatedBy'] == null ? undefined : json['deactivatedBy'],
|
|
62
62
|
'remark': json['remark'] == null ? undefined : json['remark'],
|
|
@@ -81,8 +81,8 @@ function ApiAdminAffiliateReferralGetFilterParameterToJSONTyped(value, ignoreDis
|
|
|
81
81
|
'referralCode': value['referralCode'],
|
|
82
82
|
'activatedAt': value['activatedAt'],
|
|
83
83
|
'status': value['status'],
|
|
84
|
-
'totalWagered': (0,
|
|
85
|
-
'totalEarned': (0,
|
|
84
|
+
'totalWagered': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalWagered']),
|
|
85
|
+
'totalEarned': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['totalEarned']),
|
|
86
86
|
'deactivatedAt': value['deactivatedAt'],
|
|
87
87
|
'deactivatedBy': value['deactivatedBy'],
|
|
88
88
|
'remark': value['remark'],
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ApiAdminUsersGetFilterParameterTotalRealWager } from './ApiAdminUsersGetFilterParameterTotalRealWager';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON,
|
|
19
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerFromJSONTyped,
|
|
20
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerToJSON,
|
|
21
|
+
ApiAdminUsersGetFilterParameterTotalRealWagerToJSONTyped,
|
|
22
|
+
} from './ApiAdminUsersGetFilterParameterTotalRealWager';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -95,16 +95,16 @@ export interface ApiAdminAffiliateReferralGetFilterParameter {
|
|
|
95
95
|
status?: ApiAdminAffiliateReferralGetFilterParameterStatusEnum;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
|
-
* @type {
|
|
98
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
99
99
|
* @memberof ApiAdminAffiliateReferralGetFilterParameter
|
|
100
100
|
*/
|
|
101
|
-
totalWagered?:
|
|
101
|
+
totalWagered?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
|
-
* @type {
|
|
104
|
+
* @type {ApiAdminUsersGetFilterParameterTotalRealWager}
|
|
105
105
|
* @memberof ApiAdminAffiliateReferralGetFilterParameter
|
|
106
106
|
*/
|
|
107
|
-
totalEarned?:
|
|
107
|
+
totalEarned?: ApiAdminUsersGetFilterParameterTotalRealWager;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @type {string}
|
|
@@ -167,8 +167,8 @@ export function ApiAdminAffiliateReferralGetFilterParameterFromJSONTyped(json: a
|
|
|
167
167
|
'referralCode': json['referralCode'] == null ? undefined : json['referralCode'],
|
|
168
168
|
'activatedAt': json['activatedAt'] == null ? undefined : json['activatedAt'],
|
|
169
169
|
'status': json['status'] == null ? undefined : json['status'],
|
|
170
|
-
'totalWagered': json['totalWagered'] == null ? undefined :
|
|
171
|
-
'totalEarned': json['totalEarned'] == null ? undefined :
|
|
170
|
+
'totalWagered': json['totalWagered'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalWagered']),
|
|
171
|
+
'totalEarned': json['totalEarned'] == null ? undefined : ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON(json['totalEarned']),
|
|
172
172
|
'deactivatedAt': json['deactivatedAt'] == null ? undefined : json['deactivatedAt'],
|
|
173
173
|
'deactivatedBy': json['deactivatedBy'] == null ? undefined : json['deactivatedBy'],
|
|
174
174
|
'remark': json['remark'] == null ? undefined : json['remark'],
|
|
@@ -197,8 +197,8 @@ export function ApiAdminAffiliateReferralGetFilterParameterFromJSONTyped(json: a
|
|
|
197
197
|
'referralCode': value['referralCode'],
|
|
198
198
|
'activatedAt': value['activatedAt'],
|
|
199
199
|
'status': value['status'],
|
|
200
|
-
'totalWagered':
|
|
201
|
-
'totalEarned':
|
|
200
|
+
'totalWagered': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalWagered']),
|
|
201
|
+
'totalEarned': ApiAdminUsersGetFilterParameterTotalRealWagerToJSON(value['totalEarned']),
|
|
202
202
|
'deactivatedAt': value['deactivatedAt'],
|
|
203
203
|
'deactivatedBy': value['deactivatedBy'],
|
|
204
204
|
'remark': value['remark'],
|
|
@@ -18,7 +18,7 @@ exports.ApiAdminAffiliateUserGetFilterParameterFromJSON = ApiAdminAffiliateUserG
|
|
|
18
18
|
exports.ApiAdminAffiliateUserGetFilterParameterFromJSONTyped = ApiAdminAffiliateUserGetFilterParameterFromJSONTyped;
|
|
19
19
|
exports.ApiAdminAffiliateUserGetFilterParameterToJSON = ApiAdminAffiliateUserGetFilterParameterToJSON;
|
|
20
20
|
exports.ApiAdminAffiliateUserGetFilterParameterToJSONTyped = ApiAdminAffiliateUserGetFilterParameterToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const ApiAdminUsersGetFilterParameterTotalRealWager_1 = require("./ApiAdminUsersGetFilterParameterTotalRealWager");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the ApiAdminAffiliateUserGetFilterParameter interface.
|
|
24
24
|
*/
|
|
@@ -37,17 +37,17 @@ function ApiAdminAffiliateUserGetFilterParameterFromJSONTyped(json, ignoreDiscri
|
|
|
37
37
|
'name': json['name'] == null ? undefined : json['name'],
|
|
38
38
|
'email': json['email'] == null ? undefined : json['email'],
|
|
39
39
|
'tagName': json['tagName'] == null ? undefined : json['tagName'],
|
|
40
|
-
'comissionRate': json['comissionRate'] == null ? undefined : (0,
|
|
40
|
+
'comissionRate': json['comissionRate'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['comissionRate']),
|
|
41
41
|
'isBanned': json['isBanned'] == null ? undefined : json['isBanned'],
|
|
42
42
|
'bannedReason': json['bannedReason'] == null ? undefined : json['bannedReason'],
|
|
43
43
|
'bannedAt': json['bannedAt'] == null ? undefined : json['bannedAt'],
|
|
44
|
-
'fraudCount': json['fraudCount'] == null ? undefined : (0,
|
|
45
|
-
'countAllUserReferred': json['countAllUserReferred'] == null ? undefined : (0,
|
|
46
|
-
'countActiveUserReferred': json['countActiveUserReferred'] == null ? undefined : (0,
|
|
47
|
-
'countInactiveUserReferred': json['countInactiveUserReferred'] == null ? undefined : (0,
|
|
48
|
-
'countPendingUserReferred': json['countPendingUserReferred'] == null ? undefined : (0,
|
|
49
|
-
'countFraudUserReferred': json['countFraudUserReferred'] == null ? undefined : (0,
|
|
50
|
-
'countAffiliateLink': json['countAffiliateLink'] == null ? undefined : (0,
|
|
44
|
+
'fraudCount': json['fraudCount'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['fraudCount']),
|
|
45
|
+
'countAllUserReferred': json['countAllUserReferred'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['countAllUserReferred']),
|
|
46
|
+
'countActiveUserReferred': json['countActiveUserReferred'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['countActiveUserReferred']),
|
|
47
|
+
'countInactiveUserReferred': json['countInactiveUserReferred'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['countInactiveUserReferred']),
|
|
48
|
+
'countPendingUserReferred': json['countPendingUserReferred'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['countPendingUserReferred']),
|
|
49
|
+
'countFraudUserReferred': json['countFraudUserReferred'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['countFraudUserReferred']),
|
|
50
|
+
'countAffiliateLink': json['countAffiliateLink'] == null ? undefined : (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerFromJSON)(json['countAffiliateLink']),
|
|
51
51
|
'totalAllTimeEarning': json['totalAllTimeEarning'] == null ? undefined : json['totalAllTimeEarning'],
|
|
52
52
|
'totalAllTimeWager': json['totalAllTimeWager'] == null ? undefined : json['totalAllTimeWager'],
|
|
53
53
|
};
|
|
@@ -64,17 +64,17 @@ function ApiAdminAffiliateUserGetFilterParameterToJSONTyped(value, ignoreDiscrim
|
|
|
64
64
|
'name': value['name'],
|
|
65
65
|
'email': value['email'],
|
|
66
66
|
'tagName': value['tagName'],
|
|
67
|
-
'comissionRate': (0,
|
|
67
|
+
'comissionRate': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['comissionRate']),
|
|
68
68
|
'isBanned': value['isBanned'],
|
|
69
69
|
'bannedReason': value['bannedReason'],
|
|
70
70
|
'bannedAt': value['bannedAt'],
|
|
71
|
-
'fraudCount': (0,
|
|
72
|
-
'countAllUserReferred': (0,
|
|
73
|
-
'countActiveUserReferred': (0,
|
|
74
|
-
'countInactiveUserReferred': (0,
|
|
75
|
-
'countPendingUserReferred': (0,
|
|
76
|
-
'countFraudUserReferred': (0,
|
|
77
|
-
'countAffiliateLink': (0,
|
|
71
|
+
'fraudCount': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['fraudCount']),
|
|
72
|
+
'countAllUserReferred': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['countAllUserReferred']),
|
|
73
|
+
'countActiveUserReferred': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['countActiveUserReferred']),
|
|
74
|
+
'countInactiveUserReferred': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['countInactiveUserReferred']),
|
|
75
|
+
'countPendingUserReferred': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['countPendingUserReferred']),
|
|
76
|
+
'countFraudUserReferred': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['countFraudUserReferred']),
|
|
77
|
+
'countAffiliateLink': (0, ApiAdminUsersGetFilterParameterTotalRealWager_1.ApiAdminUsersGetFilterParameterTotalRealWagerToJSON)(value['countAffiliateLink']),
|
|
78
78
|
'totalAllTimeEarning': value['totalAllTimeEarning'],
|
|
79
79
|
'totalAllTimeWager': value['totalAllTimeWager'],
|
|
80
80
|
};
|