@gambulls-org/gambulls-apis 3.0.347 → 3.0.349
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 +4 -0
- package/apis/CronRecoveryApi.js +222 -0
- package/apis/CronRecoveryApi.ts +221 -0
- package/apis/index.js +1 -0
- package/apis/index.ts +1 -0
- package/models/ApiCronRecoveryLoyaltyPost200Response.js +61 -0
- package/models/ApiCronRecoveryLoyaltyPost200Response.ts +100 -0
- package/models/ApiCronRecoveryLoyaltyPost200ResponseResponseObject.js +50 -0
- package/models/ApiCronRecoveryLoyaltyPost200ResponseResponseObject.ts +66 -0
- package/models/ApiCronRecoveryLoyaltyPostRequest.js +50 -0
- package/models/ApiCronRecoveryLoyaltyPostRequest.ts +66 -0
- package/models/index.js +3 -0
- package/models/index.ts +3 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -25,6 +25,7 @@ apis/AdminUserManagementApi.ts
|
|
|
25
25
|
apis/AuthApi.ts
|
|
26
26
|
apis/CMSApi.ts
|
|
27
27
|
apis/CronDataCleanupApi.ts
|
|
28
|
+
apis/CronRecoveryApi.ts
|
|
28
29
|
apis/HealthCheckApi.ts
|
|
29
30
|
apis/PublicBannerApi.ts
|
|
30
31
|
apis/PublicGamesApi.ts
|
|
@@ -359,6 +360,9 @@ models/ApiCronDataCleanupStatusGet200ResponseResponseObjectStatistics.ts
|
|
|
359
360
|
models/ApiCronDataCleanupTriggerPost200Response.ts
|
|
360
361
|
models/ApiCronDataCleanupTriggerPost200ResponseResponseObject.ts
|
|
361
362
|
models/ApiCronDataCleanupTriggerPostRequest.ts
|
|
363
|
+
models/ApiCronRecoveryLoyaltyPost200Response.ts
|
|
364
|
+
models/ApiCronRecoveryLoyaltyPost200ResponseResponseObject.ts
|
|
365
|
+
models/ApiCronRecoveryLoyaltyPostRequest.ts
|
|
362
366
|
models/ApiHealthCheckGet200Response.ts
|
|
363
367
|
models/ApiPublicGamesFilterDataGet200Response.ts
|
|
364
368
|
models/ApiPublicGamesFilterDataGet200ResponseResponseObject.ts
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
49
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
50
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
51
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
52
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
53
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
54
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
+
exports.CronRecoveryApi = void 0;
|
|
59
|
+
const runtime = __importStar(require("../runtime"));
|
|
60
|
+
const index_1 = require("../models/index");
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
class CronRecoveryApi extends runtime.BaseAPI {
|
|
65
|
+
/**
|
|
66
|
+
* Recover stalled affiliate for a specific user
|
|
67
|
+
* Recover Stalled Affiliate
|
|
68
|
+
*/
|
|
69
|
+
apiCronRecoveryAffiliatePostRaw(requestParameters, initOverrides) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
const queryParameters = {};
|
|
72
|
+
const headerParameters = {};
|
|
73
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
74
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
75
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
76
|
+
}
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = yield token("BearerAuth", []);
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
const response = yield this.request({
|
|
85
|
+
path: `/api/cron/recovery/affiliate`,
|
|
86
|
+
method: 'POST',
|
|
87
|
+
headers: headerParameters,
|
|
88
|
+
query: queryParameters,
|
|
89
|
+
body: (0, index_1.ApiCronRecoveryLoyaltyPostRequestToJSON)(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
90
|
+
}, initOverrides);
|
|
91
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiCronRecoveryLoyaltyPost200ResponseFromJSON)(jsonValue));
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Recover stalled affiliate for a specific user
|
|
96
|
+
* Recover Stalled Affiliate
|
|
97
|
+
*/
|
|
98
|
+
apiCronRecoveryAffiliatePost() {
|
|
99
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
100
|
+
const response = yield this.apiCronRecoveryAffiliatePostRaw(requestParameters, initOverrides);
|
|
101
|
+
return yield response.value();
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Recover stalled bonus for a specific user
|
|
106
|
+
* Recover Stalled Bonus
|
|
107
|
+
*/
|
|
108
|
+
apiCronRecoveryBonusPostRaw(requestParameters, initOverrides) {
|
|
109
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
const queryParameters = {};
|
|
111
|
+
const headerParameters = {};
|
|
112
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
113
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
114
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
115
|
+
}
|
|
116
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
117
|
+
const token = this.configuration.accessToken;
|
|
118
|
+
const tokenString = yield token("BearerAuth", []);
|
|
119
|
+
if (tokenString) {
|
|
120
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
const response = yield this.request({
|
|
124
|
+
path: `/api/cron/recovery/bonus`,
|
|
125
|
+
method: 'POST',
|
|
126
|
+
headers: headerParameters,
|
|
127
|
+
query: queryParameters,
|
|
128
|
+
body: (0, index_1.ApiCronRecoveryLoyaltyPostRequestToJSON)(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
129
|
+
}, initOverrides);
|
|
130
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiCronRecoveryLoyaltyPost200ResponseFromJSON)(jsonValue));
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Recover stalled bonus for a specific user
|
|
135
|
+
* Recover Stalled Bonus
|
|
136
|
+
*/
|
|
137
|
+
apiCronRecoveryBonusPost() {
|
|
138
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
139
|
+
const response = yield this.apiCronRecoveryBonusPostRaw(requestParameters, initOverrides);
|
|
140
|
+
return yield response.value();
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Recover stalled loyalty for a specific user
|
|
145
|
+
* Recover Stalled Loyalty
|
|
146
|
+
*/
|
|
147
|
+
apiCronRecoveryLoyaltyPostRaw(requestParameters, initOverrides) {
|
|
148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
149
|
+
const queryParameters = {};
|
|
150
|
+
const headerParameters = {};
|
|
151
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
152
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
153
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
154
|
+
}
|
|
155
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
156
|
+
const token = this.configuration.accessToken;
|
|
157
|
+
const tokenString = yield token("BearerAuth", []);
|
|
158
|
+
if (tokenString) {
|
|
159
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
const response = yield this.request({
|
|
163
|
+
path: `/api/cron/recovery/loyalty`,
|
|
164
|
+
method: 'POST',
|
|
165
|
+
headers: headerParameters,
|
|
166
|
+
query: queryParameters,
|
|
167
|
+
body: (0, index_1.ApiCronRecoveryLoyaltyPostRequestToJSON)(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
168
|
+
}, initOverrides);
|
|
169
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiCronRecoveryLoyaltyPost200ResponseFromJSON)(jsonValue));
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Recover stalled loyalty for a specific user
|
|
174
|
+
* Recover Stalled Loyalty
|
|
175
|
+
*/
|
|
176
|
+
apiCronRecoveryLoyaltyPost() {
|
|
177
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
178
|
+
const response = yield this.apiCronRecoveryLoyaltyPostRaw(requestParameters, initOverrides);
|
|
179
|
+
return yield response.value();
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Recover stalled rakeback for a specific user
|
|
184
|
+
* Recover Stalled Rakeback
|
|
185
|
+
*/
|
|
186
|
+
apiCronRecoveryRakebackPostRaw(requestParameters, initOverrides) {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
const queryParameters = {};
|
|
189
|
+
const headerParameters = {};
|
|
190
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
191
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
192
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
193
|
+
}
|
|
194
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
195
|
+
const token = this.configuration.accessToken;
|
|
196
|
+
const tokenString = yield token("BearerAuth", []);
|
|
197
|
+
if (tokenString) {
|
|
198
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
const response = yield this.request({
|
|
202
|
+
path: `/api/cron/recovery/rakeback`,
|
|
203
|
+
method: 'POST',
|
|
204
|
+
headers: headerParameters,
|
|
205
|
+
query: queryParameters,
|
|
206
|
+
body: (0, index_1.ApiCronRecoveryLoyaltyPostRequestToJSON)(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
207
|
+
}, initOverrides);
|
|
208
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiCronRecoveryLoyaltyPost200ResponseFromJSON)(jsonValue));
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Recover stalled rakeback for a specific user
|
|
213
|
+
* Recover Stalled Rakeback
|
|
214
|
+
*/
|
|
215
|
+
apiCronRecoveryRakebackPost() {
|
|
216
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
217
|
+
const response = yield this.apiCronRecoveryRakebackPostRaw(requestParameters, initOverrides);
|
|
218
|
+
return yield response.value();
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
exports.CronRecoveryApi = CronRecoveryApi;
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
ApiCronRecoveryLoyaltyPost200Response,
|
|
19
|
+
ApiCronRecoveryLoyaltyPostRequest,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
ApiCronRecoveryLoyaltyPost200ResponseFromJSON,
|
|
23
|
+
ApiCronRecoveryLoyaltyPost200ResponseToJSON,
|
|
24
|
+
ApiCronRecoveryLoyaltyPostRequestFromJSON,
|
|
25
|
+
ApiCronRecoveryLoyaltyPostRequestToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface ApiCronRecoveryAffiliatePostRequest {
|
|
29
|
+
apiCronRecoveryLoyaltyPostRequest?: ApiCronRecoveryLoyaltyPostRequest;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface ApiCronRecoveryBonusPostRequest {
|
|
33
|
+
apiCronRecoveryLoyaltyPostRequest?: ApiCronRecoveryLoyaltyPostRequest;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface ApiCronRecoveryLoyaltyPostOperationRequest {
|
|
37
|
+
apiCronRecoveryLoyaltyPostRequest?: ApiCronRecoveryLoyaltyPostRequest;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface ApiCronRecoveryRakebackPostRequest {
|
|
41
|
+
apiCronRecoveryLoyaltyPostRequest?: ApiCronRecoveryLoyaltyPostRequest;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
export class CronRecoveryApi extends runtime.BaseAPI {
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Recover stalled affiliate for a specific user
|
|
51
|
+
* Recover Stalled Affiliate
|
|
52
|
+
*/
|
|
53
|
+
async apiCronRecoveryAffiliatePostRaw(requestParameters: ApiCronRecoveryAffiliatePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCronRecoveryLoyaltyPost200Response>> {
|
|
54
|
+
const queryParameters: any = {};
|
|
55
|
+
|
|
56
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
57
|
+
|
|
58
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
59
|
+
|
|
60
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
61
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
65
|
+
const token = this.configuration.accessToken;
|
|
66
|
+
const tokenString = await token("BearerAuth", []);
|
|
67
|
+
|
|
68
|
+
if (tokenString) {
|
|
69
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
const response = await this.request({
|
|
73
|
+
path: `/api/cron/recovery/affiliate`,
|
|
74
|
+
method: 'POST',
|
|
75
|
+
headers: headerParameters,
|
|
76
|
+
query: queryParameters,
|
|
77
|
+
body: ApiCronRecoveryLoyaltyPostRequestToJSON(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
78
|
+
}, initOverrides);
|
|
79
|
+
|
|
80
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiCronRecoveryLoyaltyPost200ResponseFromJSON(jsonValue));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Recover stalled affiliate for a specific user
|
|
85
|
+
* Recover Stalled Affiliate
|
|
86
|
+
*/
|
|
87
|
+
async apiCronRecoveryAffiliatePost(requestParameters: ApiCronRecoveryAffiliatePostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCronRecoveryLoyaltyPost200Response> {
|
|
88
|
+
const response = await this.apiCronRecoveryAffiliatePostRaw(requestParameters, initOverrides);
|
|
89
|
+
return await response.value();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Recover stalled bonus for a specific user
|
|
94
|
+
* Recover Stalled Bonus
|
|
95
|
+
*/
|
|
96
|
+
async apiCronRecoveryBonusPostRaw(requestParameters: ApiCronRecoveryBonusPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCronRecoveryLoyaltyPost200Response>> {
|
|
97
|
+
const queryParameters: any = {};
|
|
98
|
+
|
|
99
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
100
|
+
|
|
101
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
102
|
+
|
|
103
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
104
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
108
|
+
const token = this.configuration.accessToken;
|
|
109
|
+
const tokenString = await token("BearerAuth", []);
|
|
110
|
+
|
|
111
|
+
if (tokenString) {
|
|
112
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
const response = await this.request({
|
|
116
|
+
path: `/api/cron/recovery/bonus`,
|
|
117
|
+
method: 'POST',
|
|
118
|
+
headers: headerParameters,
|
|
119
|
+
query: queryParameters,
|
|
120
|
+
body: ApiCronRecoveryLoyaltyPostRequestToJSON(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
121
|
+
}, initOverrides);
|
|
122
|
+
|
|
123
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiCronRecoveryLoyaltyPost200ResponseFromJSON(jsonValue));
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Recover stalled bonus for a specific user
|
|
128
|
+
* Recover Stalled Bonus
|
|
129
|
+
*/
|
|
130
|
+
async apiCronRecoveryBonusPost(requestParameters: ApiCronRecoveryBonusPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCronRecoveryLoyaltyPost200Response> {
|
|
131
|
+
const response = await this.apiCronRecoveryBonusPostRaw(requestParameters, initOverrides);
|
|
132
|
+
return await response.value();
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Recover stalled loyalty for a specific user
|
|
137
|
+
* Recover Stalled Loyalty
|
|
138
|
+
*/
|
|
139
|
+
async apiCronRecoveryLoyaltyPostRaw(requestParameters: ApiCronRecoveryLoyaltyPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCronRecoveryLoyaltyPost200Response>> {
|
|
140
|
+
const queryParameters: any = {};
|
|
141
|
+
|
|
142
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
143
|
+
|
|
144
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
145
|
+
|
|
146
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
147
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
151
|
+
const token = this.configuration.accessToken;
|
|
152
|
+
const tokenString = await token("BearerAuth", []);
|
|
153
|
+
|
|
154
|
+
if (tokenString) {
|
|
155
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
const response = await this.request({
|
|
159
|
+
path: `/api/cron/recovery/loyalty`,
|
|
160
|
+
method: 'POST',
|
|
161
|
+
headers: headerParameters,
|
|
162
|
+
query: queryParameters,
|
|
163
|
+
body: ApiCronRecoveryLoyaltyPostRequestToJSON(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
164
|
+
}, initOverrides);
|
|
165
|
+
|
|
166
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiCronRecoveryLoyaltyPost200ResponseFromJSON(jsonValue));
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Recover stalled loyalty for a specific user
|
|
171
|
+
* Recover Stalled Loyalty
|
|
172
|
+
*/
|
|
173
|
+
async apiCronRecoveryLoyaltyPost(requestParameters: ApiCronRecoveryLoyaltyPostOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCronRecoveryLoyaltyPost200Response> {
|
|
174
|
+
const response = await this.apiCronRecoveryLoyaltyPostRaw(requestParameters, initOverrides);
|
|
175
|
+
return await response.value();
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Recover stalled rakeback for a specific user
|
|
180
|
+
* Recover Stalled Rakeback
|
|
181
|
+
*/
|
|
182
|
+
async apiCronRecoveryRakebackPostRaw(requestParameters: ApiCronRecoveryRakebackPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCronRecoveryLoyaltyPost200Response>> {
|
|
183
|
+
const queryParameters: any = {};
|
|
184
|
+
|
|
185
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
186
|
+
|
|
187
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
188
|
+
|
|
189
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
190
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
194
|
+
const token = this.configuration.accessToken;
|
|
195
|
+
const tokenString = await token("BearerAuth", []);
|
|
196
|
+
|
|
197
|
+
if (tokenString) {
|
|
198
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
const response = await this.request({
|
|
202
|
+
path: `/api/cron/recovery/rakeback`,
|
|
203
|
+
method: 'POST',
|
|
204
|
+
headers: headerParameters,
|
|
205
|
+
query: queryParameters,
|
|
206
|
+
body: ApiCronRecoveryLoyaltyPostRequestToJSON(requestParameters['apiCronRecoveryLoyaltyPostRequest']),
|
|
207
|
+
}, initOverrides);
|
|
208
|
+
|
|
209
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiCronRecoveryLoyaltyPost200ResponseFromJSON(jsonValue));
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Recover stalled rakeback for a specific user
|
|
214
|
+
* Recover Stalled Rakeback
|
|
215
|
+
*/
|
|
216
|
+
async apiCronRecoveryRakebackPost(requestParameters: ApiCronRecoveryRakebackPostRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCronRecoveryLoyaltyPost200Response> {
|
|
217
|
+
const response = await this.apiCronRecoveryRakebackPostRaw(requestParameters, initOverrides);
|
|
218
|
+
return await response.value();
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
}
|
package/apis/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __exportStar(require("./AdminUserManagementApi"), exports);
|
|
|
43
43
|
__exportStar(require("./AuthApi"), exports);
|
|
44
44
|
__exportStar(require("./CMSApi"), exports);
|
|
45
45
|
__exportStar(require("./CronDataCleanupApi"), exports);
|
|
46
|
+
__exportStar(require("./CronRecoveryApi"), exports);
|
|
46
47
|
__exportStar(require("./HealthCheckApi"), exports);
|
|
47
48
|
__exportStar(require("./PublicBannerApi"), exports);
|
|
48
49
|
__exportStar(require("./PublicGamesApi"), exports);
|
package/apis/index.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './AdminUserManagementApi';
|
|
|
27
27
|
export * from './AuthApi';
|
|
28
28
|
export * from './CMSApi';
|
|
29
29
|
export * from './CronDataCleanupApi';
|
|
30
|
+
export * from './CronRecoveryApi';
|
|
30
31
|
export * from './HealthCheckApi';
|
|
31
32
|
export * from './PublicBannerApi';
|
|
32
33
|
export * from './PublicGamesApi';
|
|
@@ -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.instanceOfApiCronRecoveryLoyaltyPost200Response = instanceOfApiCronRecoveryLoyaltyPost200Response;
|
|
17
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseFromJSON = ApiCronRecoveryLoyaltyPost200ResponseFromJSON;
|
|
18
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseFromJSONTyped = ApiCronRecoveryLoyaltyPost200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseToJSON = ApiCronRecoveryLoyaltyPost200ResponseToJSON;
|
|
20
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseToJSONTyped = ApiCronRecoveryLoyaltyPost200ResponseToJSONTyped;
|
|
21
|
+
const ApiCronRecoveryLoyaltyPost200ResponseResponseObject_1 = require("./ApiCronRecoveryLoyaltyPost200ResponseResponseObject");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiCronRecoveryLoyaltyPost200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiCronRecoveryLoyaltyPost200Response(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 ApiCronRecoveryLoyaltyPost200ResponseFromJSON(json) {
|
|
35
|
+
return ApiCronRecoveryLoyaltyPost200ResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ApiCronRecoveryLoyaltyPost200ResponseFromJSONTyped(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, ApiCronRecoveryLoyaltyPost200ResponseResponseObject_1.ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSON)(json['responseObject']),
|
|
45
|
+
'statusCode': json['statusCode'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ApiCronRecoveryLoyaltyPost200ResponseToJSON(json) {
|
|
49
|
+
return ApiCronRecoveryLoyaltyPost200ResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ApiCronRecoveryLoyaltyPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'success': value['success'],
|
|
57
|
+
'message': value['message'],
|
|
58
|
+
'responseObject': (0, ApiCronRecoveryLoyaltyPost200ResponseResponseObject_1.ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSON)(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 { ApiCronRecoveryLoyaltyPost200ResponseResponseObject } from './ApiCronRecoveryLoyaltyPost200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiCronRecoveryLoyaltyPost200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiCronRecoveryLoyaltyPost200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiCronRecoveryLoyaltyPost200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiCronRecoveryLoyaltyPost200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiCronRecoveryLoyaltyPost200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiCronRecoveryLoyaltyPost200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiCronRecoveryLoyaltyPost200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiCronRecoveryLoyaltyPost200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiCronRecoveryLoyaltyPost200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiCronRecoveryLoyaltyPost200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiCronRecoveryLoyaltyPost200Response(value: object): value is ApiCronRecoveryLoyaltyPost200Response {
|
|
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 ApiCronRecoveryLoyaltyPost200ResponseFromJSON(json: any): ApiCronRecoveryLoyaltyPost200Response {
|
|
67
|
+
return ApiCronRecoveryLoyaltyPost200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiCronRecoveryLoyaltyPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCronRecoveryLoyaltyPost200Response {
|
|
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 : ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiCronRecoveryLoyaltyPost200ResponseToJSON(json: any): ApiCronRecoveryLoyaltyPost200Response {
|
|
84
|
+
return ApiCronRecoveryLoyaltyPost200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiCronRecoveryLoyaltyPost200ResponseToJSONTyped(value?: ApiCronRecoveryLoyaltyPost200Response | 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': ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiCronRecoveryLoyaltyPost200ResponseResponseObject = instanceOfApiCronRecoveryLoyaltyPost200ResponseResponseObject;
|
|
17
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSON = ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSON;
|
|
18
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSONTyped = ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSONTyped;
|
|
19
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSON = ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSON;
|
|
20
|
+
exports.ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSONTyped = ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiCronRecoveryLoyaltyPost200ResponseResponseObject interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiCronRecoveryLoyaltyPost200ResponseResponseObject(value) {
|
|
25
|
+
if (!('processedCount' in value) || value['processedCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSON(json) {
|
|
30
|
+
return ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'processedCount': json['processedCount'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSON(json) {
|
|
41
|
+
return ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'processedCount': value['processedCount'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ApiCronRecoveryLoyaltyPost200ResponseResponseObject
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiCronRecoveryLoyaltyPost200ResponseResponseObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ApiCronRecoveryLoyaltyPost200ResponseResponseObject
|
|
26
|
+
*/
|
|
27
|
+
processedCount: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiCronRecoveryLoyaltyPost200ResponseResponseObject interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfApiCronRecoveryLoyaltyPost200ResponseResponseObject(value: object): value is ApiCronRecoveryLoyaltyPost200ResponseResponseObject {
|
|
34
|
+
if (!('processedCount' in value) || value['processedCount'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSON(json: any): ApiCronRecoveryLoyaltyPost200ResponseResponseObject {
|
|
39
|
+
return ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCronRecoveryLoyaltyPost200ResponseResponseObject {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'processedCount': json['processedCount'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSON(json: any): ApiCronRecoveryLoyaltyPost200ResponseResponseObject {
|
|
53
|
+
return ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiCronRecoveryLoyaltyPost200ResponseResponseObjectToJSONTyped(value?: ApiCronRecoveryLoyaltyPost200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'processedCount': value['processedCount'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiCronRecoveryLoyaltyPostRequest = instanceOfApiCronRecoveryLoyaltyPostRequest;
|
|
17
|
+
exports.ApiCronRecoveryLoyaltyPostRequestFromJSON = ApiCronRecoveryLoyaltyPostRequestFromJSON;
|
|
18
|
+
exports.ApiCronRecoveryLoyaltyPostRequestFromJSONTyped = ApiCronRecoveryLoyaltyPostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiCronRecoveryLoyaltyPostRequestToJSON = ApiCronRecoveryLoyaltyPostRequestToJSON;
|
|
20
|
+
exports.ApiCronRecoveryLoyaltyPostRequestToJSONTyped = ApiCronRecoveryLoyaltyPostRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiCronRecoveryLoyaltyPostRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiCronRecoveryLoyaltyPostRequest(value) {
|
|
25
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiCronRecoveryLoyaltyPostRequestFromJSON(json) {
|
|
30
|
+
return ApiCronRecoveryLoyaltyPostRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiCronRecoveryLoyaltyPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'userId': json['userId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiCronRecoveryLoyaltyPostRequestToJSON(json) {
|
|
41
|
+
return ApiCronRecoveryLoyaltyPostRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiCronRecoveryLoyaltyPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'userId': value['userId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ApiCronRecoveryLoyaltyPostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiCronRecoveryLoyaltyPostRequest {
|
|
22
|
+
/**
|
|
23
|
+
* The User ID to recover data for
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiCronRecoveryLoyaltyPostRequest
|
|
26
|
+
*/
|
|
27
|
+
userId: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiCronRecoveryLoyaltyPostRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfApiCronRecoveryLoyaltyPostRequest(value: object): value is ApiCronRecoveryLoyaltyPostRequest {
|
|
34
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ApiCronRecoveryLoyaltyPostRequestFromJSON(json: any): ApiCronRecoveryLoyaltyPostRequest {
|
|
39
|
+
return ApiCronRecoveryLoyaltyPostRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ApiCronRecoveryLoyaltyPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiCronRecoveryLoyaltyPostRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'userId': json['userId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiCronRecoveryLoyaltyPostRequestToJSON(json: any): ApiCronRecoveryLoyaltyPostRequest {
|
|
53
|
+
return ApiCronRecoveryLoyaltyPostRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiCronRecoveryLoyaltyPostRequestToJSONTyped(value?: ApiCronRecoveryLoyaltyPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'userId': value['userId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/models/index.js
CHANGED
|
@@ -319,6 +319,9 @@ __exportStar(require("./ApiCronDataCleanupStatusGet200ResponseResponseObjectStat
|
|
|
319
319
|
__exportStar(require("./ApiCronDataCleanupTriggerPost200Response"), exports);
|
|
320
320
|
__exportStar(require("./ApiCronDataCleanupTriggerPost200ResponseResponseObject"), exports);
|
|
321
321
|
__exportStar(require("./ApiCronDataCleanupTriggerPostRequest"), exports);
|
|
322
|
+
__exportStar(require("./ApiCronRecoveryLoyaltyPost200Response"), exports);
|
|
323
|
+
__exportStar(require("./ApiCronRecoveryLoyaltyPost200ResponseResponseObject"), exports);
|
|
324
|
+
__exportStar(require("./ApiCronRecoveryLoyaltyPostRequest"), exports);
|
|
322
325
|
__exportStar(require("./ApiHealthCheckGet200Response"), exports);
|
|
323
326
|
__exportStar(require("./ApiPublicGamesFilterDataGet200Response"), exports);
|
|
324
327
|
__exportStar(require("./ApiPublicGamesFilterDataGet200ResponseResponseObject"), exports);
|
package/models/index.ts
CHANGED
|
@@ -303,6 +303,9 @@ export * from './ApiCronDataCleanupStatusGet200ResponseResponseObjectStatistics'
|
|
|
303
303
|
export * from './ApiCronDataCleanupTriggerPost200Response';
|
|
304
304
|
export * from './ApiCronDataCleanupTriggerPost200ResponseResponseObject';
|
|
305
305
|
export * from './ApiCronDataCleanupTriggerPostRequest';
|
|
306
|
+
export * from './ApiCronRecoveryLoyaltyPost200Response';
|
|
307
|
+
export * from './ApiCronRecoveryLoyaltyPost200ResponseResponseObject';
|
|
308
|
+
export * from './ApiCronRecoveryLoyaltyPostRequest';
|
|
306
309
|
export * from './ApiHealthCheckGet200Response';
|
|
307
310
|
export * from './ApiPublicGamesFilterDataGet200Response';
|
|
308
311
|
export * from './ApiPublicGamesFilterDataGet200ResponseResponseObject';
|