@bprotsyk/aso-core 1.2.237 → 1.2.238
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/lib/app/app.d.ts +3 -2
- package/lib/app/app.js +2 -2
- package/lib/general/namecheap-domain.d.ts +1 -0
- package/lib/general/queue.d.ts +2 -1
- package/lib/general/queue.js +0 -1
- package/lib/general/shape.js +1 -4
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -24
- package/lib/network/keitaro/http.d.ts +1 -2
- package/lib/network/keitaro/http.js +1 -4
- package/lib/network/keitaro/keitaro-service.js +1 -4
- package/lib/utils/keitaro-utils.js +1 -4
- package/lib/utils/server-util.d.ts +0 -7
- package/lib/utils/server-util.js +7 -68
- package/package.json +6 -6
- package/src/app/app.ts +3 -3
- package/src/general/domain.ts +17 -1
- package/src/index.ts +2 -3
- package/src/utils/server-util.ts +71 -194
- package/tsconfig.json +6 -7
- package/lib/aso/config/aso-config-v0.d.ts +0 -333
- package/lib/aso/config/aso-config-v0.js +0 -59
- package/lib/aso/config/aso-config-v1.d.ts +0 -330
- package/lib/aso/config/aso-config-v1.js +0 -58
- package/lib/aso/config/aso-config-v2.d.ts +0 -297
- package/lib/aso/config/aso-config-v2.js +0 -57
- package/lib/aso/config/aso-config-v3.d.ts +0 -294
- package/lib/aso/config/aso-config-v3.js +0 -58
- package/lib/aso/config/aso-config-v4.d.ts +0 -208
- package/lib/aso/config/aso-config-v4.js +0 -58
- package/lib/aso/config/aso-config-v5.d.ts +0 -227
- package/lib/aso/config/aso-config-v5.js +0 -58
- package/lib/aso/config/aso-default-config.d.ts +0 -57
- package/lib/aso/config/aso-default-config.js +0 -2
- package/lib/aso/config/aso-single-response.d.ts +0 -5
- package/lib/aso/config/aso-single-response.js +0 -2
- package/lib/aso/offer/aso-customized-offer.d.ts +0 -11
- package/lib/aso/offer/aso-customized-offer.js +0 -2
- package/lib/aso/offer/aso-offer-response.d.ts +0 -6
- package/lib/aso/offer/aso-offer-response.js +0 -2
- package/lib/aso/offer/aso-offer-section.d.ts +0 -6
- package/lib/aso/offer/aso-offer-section.js +0 -2
- package/lib/aso/offer/aso-single-offer.d.ts +0 -5
- package/lib/aso/offer/aso-single-offer.js +0 -2
- package/lib/aso/offer/config/aso-config-v0.d.ts +0 -271
- package/lib/aso/offer/config/aso-config-v0.js +0 -57
- package/lib/aso/offer/config/aso-config-v1.d.ts +0 -263
- package/lib/aso/offer/config/aso-config-v1.js +0 -57
- package/lib/aso/offer/config/aso-config-v2.d.ts +0 -230
- package/lib/aso/offer/config/aso-config-v2.js +0 -55
- package/lib/aso/offer/config/aso-config-v3.d.ts +0 -227
- package/lib/aso/offer/config/aso-config-v3.js +0 -56
- package/lib/aso/offer/config/aso-config-v4.d.ts +0 -205
- package/lib/aso/offer/config/aso-config-v4.js +0 -56
- package/lib/aso/offer/config/aso-default-config.d.ts +0 -56
- package/lib/aso/offer/config/aso-default-config.js +0 -2
- package/lib/aso/offer/config/aso-single-response.d.ts +0 -5
- package/lib/aso/offer/config/aso-single-response.js +0 -2
- package/lib/aso/offerwall/auth/offerwall-auth-config.d.ts +0 -14
- package/lib/aso/offerwall/auth/offerwall-auth-config.js +0 -2
- package/lib/aso/offerwall/auth/offerwall-auth-localization.d.ts +0 -8
- package/lib/aso/offerwall/auth/offerwall-auth-localization.js +0 -2
- package/lib/aso/offerwall/auth/offerwall-auth-submit-request.d.ts +0 -3
- package/lib/aso/offerwall/auth/offerwall-auth-submit-request.js +0 -2
- package/lib/aso/offerwall/auth/offerwall-auth-submit-response.d.ts +0 -3
- package/lib/aso/offerwall/auth/offerwall-auth-submit-response.js +0 -2
- package/lib/aso/offerwall/offerwall-home-dialog-data.d.ts +0 -6
- package/lib/aso/offerwall/offerwall-home-dialog-data.js +0 -2
- package/lib/aso/offerwall/offerwall-offer.d.ts +0 -8
- package/lib/aso/offerwall/offerwall-offer.js +0 -2
- package/lib/aso/offerwall/offerwall-response.d.ts +0 -6
- package/lib/aso/offerwall/offerwall-response.js +0 -2
- package/lib/aso/offerwall/offerwall-section.d.ts +0 -6
- package/lib/aso/offerwall/offerwall-section.js +0 -2
- package/lib/aso/usage-logs/aso-config-fetch-entry.d.ts +0 -28
- package/lib/aso/usage-logs/aso-config-fetch-entry.js +0 -2
- package/lib/flash/flash-app-integration.d.ts +0 -53
- package/lib/flash/flash-app-integration.js +0 -63
- package/lib/flash/flash-app-list-item.d.ts +0 -5
- package/lib/flash/flash-app-list-item.js +0 -2
- package/lib/flash/flash-app-type.d.ts +0 -4
- package/lib/flash/flash-app-type.js +0 -8
- package/lib/flash/flash-app.d.ts +0 -169
- package/lib/flash/flash-app.js +0 -215
- package/src/templates/nginx-template.conf +0 -35
- package/src/types/ssh2-sftp-client.d.ts +0 -59
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import { DefaultConfig } from "./aso-default-config";
|
|
2
|
-
export interface ASOConfig_v0 {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
email: string;
|
|
6
|
-
bundle: string;
|
|
7
|
-
skipping?: boolean;
|
|
8
|
-
alghoritm?: string;
|
|
9
|
-
ip: string;
|
|
10
|
-
sshPassword: string;
|
|
11
|
-
trackingLink: string;
|
|
12
|
-
clientSideValidation: boolean;
|
|
13
|
-
host: string;
|
|
14
|
-
fullAccess: boolean;
|
|
15
|
-
appsflyerKey: string;
|
|
16
|
-
onesignalKey: string;
|
|
17
|
-
onesignalRestApiKey?: string;
|
|
18
|
-
showVideo: boolean;
|
|
19
|
-
appsflyerEnabled: boolean;
|
|
20
|
-
singleFirst: boolean;
|
|
21
|
-
authAdEnabled: boolean;
|
|
22
|
-
allowedCountries: string;
|
|
23
|
-
excludedCountries: string;
|
|
24
|
-
supportUrl?: string;
|
|
25
|
-
support?: {
|
|
26
|
-
[key: string]: string;
|
|
27
|
-
};
|
|
28
|
-
privacyPolicyUrl: string;
|
|
29
|
-
callCoolDown: number;
|
|
30
|
-
smsCoolDown: number;
|
|
31
|
-
maxSmsTries: number;
|
|
32
|
-
maxCallTries: number;
|
|
33
|
-
smscLogin: string;
|
|
34
|
-
smscPassword: string;
|
|
35
|
-
autoSmsCodeCatch: boolean;
|
|
36
|
-
autoCallCodeCatch: boolean;
|
|
37
|
-
localization: ILocalizationMap | ILocalization;
|
|
38
|
-
authorizationActionMapping: IAuthorizationActionMapping;
|
|
39
|
-
offersSectionMapping: IOfferSectionMapping;
|
|
40
|
-
configMapping: IConfigMapping;
|
|
41
|
-
configEndpoint: string;
|
|
42
|
-
offersEndpoint: string;
|
|
43
|
-
offerEndpoint: string;
|
|
44
|
-
nextActionEndpoint: string;
|
|
45
|
-
currentActionEndpoint: string;
|
|
46
|
-
codeValidationEndpoint: string;
|
|
47
|
-
changeNumberEndpoint: string;
|
|
48
|
-
imageEndpoint: string;
|
|
49
|
-
categoriesQuery: string;
|
|
50
|
-
phoneQuery: string;
|
|
51
|
-
nameQuery: string;
|
|
52
|
-
codeQuery: string;
|
|
53
|
-
validityQuery: string;
|
|
54
|
-
resetUserQuery: string;
|
|
55
|
-
oldPhoneQuery: string;
|
|
56
|
-
newPhoneQuery: string;
|
|
57
|
-
appsflyerDataQuery: string;
|
|
58
|
-
offerIdParameter: string;
|
|
59
|
-
countryCodeParameter?: string;
|
|
60
|
-
redirectHtmlName: string;
|
|
61
|
-
redirectJsName: string;
|
|
62
|
-
redirectFolderName?: string;
|
|
63
|
-
redirectJsCustomNumberParameter?: string;
|
|
64
|
-
apiPrefix?: string;
|
|
65
|
-
emptyEmojiRequired?: boolean;
|
|
66
|
-
skipCode: boolean;
|
|
67
|
-
externalIpGeo: boolean;
|
|
68
|
-
exportedTranslations?: boolean;
|
|
69
|
-
readyForPanel?: boolean;
|
|
70
|
-
version: number;
|
|
71
|
-
}
|
|
72
|
-
interface IAuthorizationActionMapping {
|
|
73
|
-
hasNextAction: string;
|
|
74
|
-
nextActionIn: string;
|
|
75
|
-
changeNumberCaption: string;
|
|
76
|
-
nextActionCaption: string;
|
|
77
|
-
nextActionPatternCaption: string;
|
|
78
|
-
actualTitlePattern: string;
|
|
79
|
-
expiredTitlePattern: string;
|
|
80
|
-
subtitle: string;
|
|
81
|
-
when: string;
|
|
82
|
-
authorized: string;
|
|
83
|
-
canChangeNumber: string;
|
|
84
|
-
}
|
|
85
|
-
interface ILocalizationMap {
|
|
86
|
-
[key: string]: ILocalization;
|
|
87
|
-
}
|
|
88
|
-
interface IOfferSectionMapping {
|
|
89
|
-
id: string;
|
|
90
|
-
offers: string;
|
|
91
|
-
title: string;
|
|
92
|
-
palette: string;
|
|
93
|
-
internal: [string, any][];
|
|
94
|
-
}
|
|
95
|
-
interface ILocalization {
|
|
96
|
-
numberWillReceiveACallPattern: string;
|
|
97
|
-
numberReceivedACallPattern: string;
|
|
98
|
-
numberReceivedASmsPattern: string;
|
|
99
|
-
numberWillReceiveASmsPattern: string;
|
|
100
|
-
enterLastFourDigits: string;
|
|
101
|
-
enterCodeFromSms: string;
|
|
102
|
-
callAgainSPattern: string;
|
|
103
|
-
callAgain: string;
|
|
104
|
-
smsAgain: string;
|
|
105
|
-
smsAgainSPattern: string;
|
|
106
|
-
changeNumber: string;
|
|
107
|
-
sendSms: string;
|
|
108
|
-
sendSmsSPattern: string;
|
|
109
|
-
hhMm: string;
|
|
110
|
-
unfortunatelyYourTriesLeft: string;
|
|
111
|
-
introDialog_title: string;
|
|
112
|
-
introDialog_message: string;
|
|
113
|
-
introDialog_exit: string;
|
|
114
|
-
introDialog_yes: string;
|
|
115
|
-
introDialog_cancel: string;
|
|
116
|
-
error_phone: string;
|
|
117
|
-
error_name: string;
|
|
118
|
-
error_server: string;
|
|
119
|
-
error_invalidCode: string;
|
|
120
|
-
changeNumber_title: string;
|
|
121
|
-
changeNumber_message: string;
|
|
122
|
-
changeNumber_no: string;
|
|
123
|
-
changeNumber_yes: string;
|
|
124
|
-
next_title: string;
|
|
125
|
-
next_message: string;
|
|
126
|
-
next_yes: string;
|
|
127
|
-
next_no: string;
|
|
128
|
-
yes: string;
|
|
129
|
-
no: string;
|
|
130
|
-
cancel: string;
|
|
131
|
-
mainButton: string;
|
|
132
|
-
codeButton: string;
|
|
133
|
-
getFullAccess: string;
|
|
134
|
-
guestPlay: string;
|
|
135
|
-
guestLocked: string;
|
|
136
|
-
yourLevel: string;
|
|
137
|
-
supportCaption: string;
|
|
138
|
-
somethingWentWrong: string;
|
|
139
|
-
game_spin: string;
|
|
140
|
-
game_balance: string;
|
|
141
|
-
game_balance_pattern: string;
|
|
142
|
-
game_win: string;
|
|
143
|
-
game_win_pattern: string;
|
|
144
|
-
game_authorize: string;
|
|
145
|
-
game_demo_welcome: string;
|
|
146
|
-
game_demo_available_after_auth: string;
|
|
147
|
-
game_min_rate_error_pattern: string;
|
|
148
|
-
auth_changeTitle: string;
|
|
149
|
-
auth_changeMessage: string;
|
|
150
|
-
auth_titleTop: IColoredString;
|
|
151
|
-
auth_titleBottom: IColoredString;
|
|
152
|
-
auth_getAccess: string;
|
|
153
|
-
auth_subtitle: IColoredString;
|
|
154
|
-
auth_cantBeEmpty: string;
|
|
155
|
-
auth_nameHint: string;
|
|
156
|
-
auth_changeNumber: IColoredString;
|
|
157
|
-
auth_enterAsGuest: string;
|
|
158
|
-
auth_privacyPolicyAcceptance: string;
|
|
159
|
-
auth_privacyPolicy: IColoredString;
|
|
160
|
-
}
|
|
161
|
-
interface IColoredString {
|
|
162
|
-
text: string;
|
|
163
|
-
colors: IColoredSpan[];
|
|
164
|
-
mappingName: string;
|
|
165
|
-
}
|
|
166
|
-
interface IColoredSpan {
|
|
167
|
-
from: number;
|
|
168
|
-
to: number;
|
|
169
|
-
color: string;
|
|
170
|
-
}
|
|
171
|
-
interface IColoredStringMapping {
|
|
172
|
-
text: string;
|
|
173
|
-
colors: string;
|
|
174
|
-
internal: [string, IColoredSpanMapping][];
|
|
175
|
-
}
|
|
176
|
-
interface IColoredSpanMapping {
|
|
177
|
-
from: string;
|
|
178
|
-
to: string;
|
|
179
|
-
color: string;
|
|
180
|
-
}
|
|
181
|
-
interface IConfigMapping {
|
|
182
|
-
id: string;
|
|
183
|
-
fullAccess: string;
|
|
184
|
-
showVideo: string;
|
|
185
|
-
skipping?: string;
|
|
186
|
-
alghoritm?: string;
|
|
187
|
-
appsflyerEnabled: string;
|
|
188
|
-
appsflyerKey: string;
|
|
189
|
-
onesignalKey: string;
|
|
190
|
-
singleFirst: string;
|
|
191
|
-
allowedCountries: string;
|
|
192
|
-
excludedCountries: string;
|
|
193
|
-
supportUrl: string;
|
|
194
|
-
privacyPolicyUrl: string;
|
|
195
|
-
callCoolDown: string;
|
|
196
|
-
smsCoolDown: string;
|
|
197
|
-
maxSmsTries: string;
|
|
198
|
-
maxCallTries: string;
|
|
199
|
-
smscLogin: string;
|
|
200
|
-
smscPassword: string;
|
|
201
|
-
autoSmsCodeCatch: string;
|
|
202
|
-
autoCallCodeCatch: string;
|
|
203
|
-
localization: string;
|
|
204
|
-
internal: [string, ILocalizationMapping][];
|
|
205
|
-
}
|
|
206
|
-
interface ILocalizationMapping {
|
|
207
|
-
numberWillReceiveACallPattern: string;
|
|
208
|
-
numberReceivedACallPattern: string;
|
|
209
|
-
numberReceivedASmsPattern: string;
|
|
210
|
-
numberWillReceiveASmsPattern: string;
|
|
211
|
-
enterLastFourDigits: string;
|
|
212
|
-
enterCodeFromSms: string;
|
|
213
|
-
callAgainSPattern: string;
|
|
214
|
-
callAgain: string;
|
|
215
|
-
smsAgain: string;
|
|
216
|
-
smsAgainSPattern: string;
|
|
217
|
-
sendSms: string;
|
|
218
|
-
sendSmsSPattern: string;
|
|
219
|
-
hhMm: string;
|
|
220
|
-
unfortunatelyYourTriesLeft: string;
|
|
221
|
-
game_spin: string;
|
|
222
|
-
game_balance: string;
|
|
223
|
-
game_balance_pattern: string;
|
|
224
|
-
game_win: string;
|
|
225
|
-
game_win_pattern: string;
|
|
226
|
-
game_authorize: string;
|
|
227
|
-
game_demo_welcome: string;
|
|
228
|
-
game_demo_available_after_auth: string;
|
|
229
|
-
game_min_rate_error_pattern: string;
|
|
230
|
-
introDialog_title: string;
|
|
231
|
-
introDialog_message: string;
|
|
232
|
-
introDialog_yes: string;
|
|
233
|
-
introDialog_exit: string;
|
|
234
|
-
introDialog_cancel: string;
|
|
235
|
-
error_phone: string;
|
|
236
|
-
error_name: string;
|
|
237
|
-
error_server: string;
|
|
238
|
-
error_invalidCode: string;
|
|
239
|
-
changeNumber_title: string;
|
|
240
|
-
changeNumber_message: string;
|
|
241
|
-
changeNumber_no: string;
|
|
242
|
-
changeNumber_yes: string;
|
|
243
|
-
next_title: string;
|
|
244
|
-
next_message: string;
|
|
245
|
-
next_yes: string;
|
|
246
|
-
next_no: string;
|
|
247
|
-
yes: string;
|
|
248
|
-
no: string;
|
|
249
|
-
cancel: string;
|
|
250
|
-
getFullAccess: string;
|
|
251
|
-
guestPlay: string;
|
|
252
|
-
guestLocked: string;
|
|
253
|
-
yourLevel: string;
|
|
254
|
-
supportCaption: string;
|
|
255
|
-
somethingWentWrong: string;
|
|
256
|
-
auth_changeTitle: string;
|
|
257
|
-
auth_changeMessage: string;
|
|
258
|
-
auth_titleTop: string;
|
|
259
|
-
auth_titleBottom: string;
|
|
260
|
-
auth_getAccess: string;
|
|
261
|
-
auth_cantBeEmpty: string;
|
|
262
|
-
auth_subtitle: string;
|
|
263
|
-
auth_nameHint: string;
|
|
264
|
-
auth_changeNumber: string;
|
|
265
|
-
auth_enterAsGuest: string;
|
|
266
|
-
auth_privacyPolicyAcceptance: string;
|
|
267
|
-
auth_privacyPolicy: string;
|
|
268
|
-
internal: [string, IColoredStringMapping][];
|
|
269
|
-
}
|
|
270
|
-
export declare let asoConfigToDefault_v0: (config: ASOConfig_v0) => DefaultConfig;
|
|
271
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.asoConfigToDefault_v0 = void 0;
|
|
4
|
-
let asoConfigToDefault_v0 = (config) => {
|
|
5
|
-
return {
|
|
6
|
-
id: config.id,
|
|
7
|
-
bundle: config.bundle,
|
|
8
|
-
name: config.name,
|
|
9
|
-
email: config.email,
|
|
10
|
-
host: config.host,
|
|
11
|
-
ip: config.ip,
|
|
12
|
-
sshPassword: config.sshPassword,
|
|
13
|
-
trackingLink: config.trackingLink,
|
|
14
|
-
fullAccess: config.fullAccess,
|
|
15
|
-
appsflyerKey: config.appsflyerKey,
|
|
16
|
-
onesignalKey: config.onesignalKey,
|
|
17
|
-
onesignalRestApiKey: config.onesignalRestApiKey,
|
|
18
|
-
allowedCountries: config.allowedCountries,
|
|
19
|
-
excludedCountries: config.excludedCountries,
|
|
20
|
-
support: config.support,
|
|
21
|
-
callCoolDown: config.callCoolDown,
|
|
22
|
-
smsCoolDown: config.smsCoolDown,
|
|
23
|
-
maxSmsTries: config.maxSmsTries,
|
|
24
|
-
maxCallTries: config.maxCallTries,
|
|
25
|
-
smscLogin: config.smscLogin,
|
|
26
|
-
smscPassword: config.sshPassword,
|
|
27
|
-
configMapping: config.configMapping,
|
|
28
|
-
offerSectionMapping: config.offersSectionMapping,
|
|
29
|
-
authorizationActionMapping: config.authorizationActionMapping,
|
|
30
|
-
configEndpoint: config.configEndpoint,
|
|
31
|
-
offersEndpoint: config.offersEndpoint,
|
|
32
|
-
nextActionEndpoint: config.nextActionEndpoint,
|
|
33
|
-
currentActionEndpoint: config.currentActionEndpoint,
|
|
34
|
-
validationEndpoint: config.codeValidationEndpoint,
|
|
35
|
-
imageEndpoint: config.imageEndpoint,
|
|
36
|
-
sectionsParameter: config.categoriesQuery,
|
|
37
|
-
phoneParameter: config.phoneQuery,
|
|
38
|
-
codeParameter: config.codeQuery,
|
|
39
|
-
validityParameter: config.validityQuery,
|
|
40
|
-
appsflyerIdParameter: "none",
|
|
41
|
-
advertisingIdParameter: "none",
|
|
42
|
-
onesignalIdParameter: "none",
|
|
43
|
-
offerIdParameter: config.offerIdParameter,
|
|
44
|
-
countryCodeParameter: config.countryCodeParameter,
|
|
45
|
-
redirectHtmlName: config.redirectHtmlName,
|
|
46
|
-
redirectJsName: config.redirectJsName,
|
|
47
|
-
redirectFolderName: config.redirectFolderName,
|
|
48
|
-
redirectJsCustomNumberParameter: config.redirectJsCustomNumberParameter,
|
|
49
|
-
apiPrefix: config.apiPrefix,
|
|
50
|
-
skipCode: config.skipCode,
|
|
51
|
-
externalIpGeo: config.externalIpGeo,
|
|
52
|
-
exportedTranslations: config.exportedTranslations,
|
|
53
|
-
readyForPanel: config.readyForPanel,
|
|
54
|
-
version: 0
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
exports.asoConfigToDefault_v0 = asoConfigToDefault_v0;
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { DefaultConfig } from "./aso-default-config";
|
|
2
|
-
interface IAuthorizationActionMapping {
|
|
3
|
-
hasNextAction: string;
|
|
4
|
-
nextActionIn: string;
|
|
5
|
-
changeNumberCaption: string;
|
|
6
|
-
nextActionCaption: string;
|
|
7
|
-
nextActionPatternCaption: string;
|
|
8
|
-
actualTitlePattern: string;
|
|
9
|
-
expiredTitlePattern: string;
|
|
10
|
-
subtitle: string;
|
|
11
|
-
when: string;
|
|
12
|
-
authorized: string;
|
|
13
|
-
canChangeNumber: string;
|
|
14
|
-
}
|
|
15
|
-
export interface ASOConfig_v1 {
|
|
16
|
-
id: number;
|
|
17
|
-
name: string;
|
|
18
|
-
email: string;
|
|
19
|
-
bundle: string;
|
|
20
|
-
skipping?: boolean;
|
|
21
|
-
alghoritm?: string;
|
|
22
|
-
ip: string;
|
|
23
|
-
sshPassword: string;
|
|
24
|
-
trackingLink: string;
|
|
25
|
-
clientSideValidation: boolean;
|
|
26
|
-
host: string;
|
|
27
|
-
fullAccess: boolean;
|
|
28
|
-
appsflyerKey: string;
|
|
29
|
-
onesignalKey: string;
|
|
30
|
-
onesignalRestApiKey?: string;
|
|
31
|
-
showVideo: boolean;
|
|
32
|
-
appsflyerEnabled: boolean;
|
|
33
|
-
singleFirst: boolean;
|
|
34
|
-
authAdEnabled: boolean;
|
|
35
|
-
allowedCountries: string;
|
|
36
|
-
excludedCountries: string;
|
|
37
|
-
supportUrl?: string;
|
|
38
|
-
support?: {
|
|
39
|
-
[key: string]: string;
|
|
40
|
-
};
|
|
41
|
-
privacyPolicyUrl: string;
|
|
42
|
-
callCoolDown: number;
|
|
43
|
-
smsCoolDown: number;
|
|
44
|
-
maxSmsTries: number;
|
|
45
|
-
maxCallTries: number;
|
|
46
|
-
smscLogin: string;
|
|
47
|
-
smscPassword: string;
|
|
48
|
-
autoSmsCodeCatch: boolean;
|
|
49
|
-
autoCallCodeCatch: boolean;
|
|
50
|
-
localization?: ILocalizationMap | ILocalization;
|
|
51
|
-
authorizationActionMapping: IAuthorizationActionMapping;
|
|
52
|
-
offersSectionMapping: IOfferSectionMapping;
|
|
53
|
-
configMapping: IConfigMapping;
|
|
54
|
-
configEndpoint: string;
|
|
55
|
-
offersEndpoint: string;
|
|
56
|
-
offerEndpoint: string;
|
|
57
|
-
nextActionEndpoint: string;
|
|
58
|
-
currentActionEndpoint: string;
|
|
59
|
-
codeValidationEndpoint: string;
|
|
60
|
-
changeNumberEndpoint: string;
|
|
61
|
-
imageEndpoint: string;
|
|
62
|
-
categoriesQuery: string;
|
|
63
|
-
phoneQuery: string;
|
|
64
|
-
nameQuery: string;
|
|
65
|
-
codeQuery: string;
|
|
66
|
-
validityQuery: string;
|
|
67
|
-
resetUserQuery: string;
|
|
68
|
-
oldPhoneQuery: string;
|
|
69
|
-
newPhoneQuery: string;
|
|
70
|
-
appsflyerDataQuery: string;
|
|
71
|
-
offerIdParameter: string;
|
|
72
|
-
countryCodeParameter?: string;
|
|
73
|
-
redirectHtmlName: string;
|
|
74
|
-
redirectJsName: string;
|
|
75
|
-
redirectFolderName?: string;
|
|
76
|
-
apiPrefix?: string;
|
|
77
|
-
emptyEmojiRequired?: boolean;
|
|
78
|
-
skipCode: boolean;
|
|
79
|
-
externalIpGeo: boolean;
|
|
80
|
-
exportedTranslations?: boolean;
|
|
81
|
-
newTrackingLink?: string;
|
|
82
|
-
readyForPanel?: boolean;
|
|
83
|
-
version: number;
|
|
84
|
-
}
|
|
85
|
-
interface IOfferSectionMapping {
|
|
86
|
-
id: string;
|
|
87
|
-
offers: string;
|
|
88
|
-
title: string;
|
|
89
|
-
palette: string;
|
|
90
|
-
internal: [string, any][];
|
|
91
|
-
}
|
|
92
|
-
interface ILocalization {
|
|
93
|
-
numberWillReceiveACallPattern: string;
|
|
94
|
-
numberReceivedACallPattern: string;
|
|
95
|
-
numberReceivedASmsPattern: string;
|
|
96
|
-
numberWillReceiveASmsPattern: string;
|
|
97
|
-
enterLastFourDigits: string;
|
|
98
|
-
enterCodeFromSms: string;
|
|
99
|
-
callAgainSPattern: string;
|
|
100
|
-
callAgain: string;
|
|
101
|
-
smsAgain: string;
|
|
102
|
-
smsAgainSPattern: string;
|
|
103
|
-
changeNumber: string;
|
|
104
|
-
sendSms: string;
|
|
105
|
-
sendSmsSPattern: string;
|
|
106
|
-
hhMm: string;
|
|
107
|
-
unfortunatelyYourTriesLeft: string;
|
|
108
|
-
introDialog_title: string;
|
|
109
|
-
introDialog_message: string;
|
|
110
|
-
introDialog_exit: string;
|
|
111
|
-
introDialog_cancel: string;
|
|
112
|
-
error_phone: string;
|
|
113
|
-
error_name: string;
|
|
114
|
-
error_server: string;
|
|
115
|
-
error_invalidCode: string;
|
|
116
|
-
changeNumber_title: string;
|
|
117
|
-
changeNumber_message: string;
|
|
118
|
-
changeNumber_no: string;
|
|
119
|
-
changeNumber_yes: string;
|
|
120
|
-
next_title: string;
|
|
121
|
-
next_message: string;
|
|
122
|
-
next_yes: string;
|
|
123
|
-
next_no: string;
|
|
124
|
-
yes: string;
|
|
125
|
-
no: string;
|
|
126
|
-
cancel: string;
|
|
127
|
-
mainButton: string;
|
|
128
|
-
codeButton: string;
|
|
129
|
-
demoMode: string;
|
|
130
|
-
yourLevel: string;
|
|
131
|
-
supportCaption: string;
|
|
132
|
-
somethingWentWrong: string;
|
|
133
|
-
game_spin: string;
|
|
134
|
-
game_balance: string;
|
|
135
|
-
game_balance_pattern: string;
|
|
136
|
-
game_win: string;
|
|
137
|
-
game_win_pattern: string;
|
|
138
|
-
game_authorize: string;
|
|
139
|
-
game_demo_welcome: string;
|
|
140
|
-
game_demo_available_after_auth: string;
|
|
141
|
-
game_min_rate_error_pattern: string;
|
|
142
|
-
auth_changeTitle: string;
|
|
143
|
-
auth_changeMessage: string;
|
|
144
|
-
auth_titleTop: IColoredString;
|
|
145
|
-
auth_titleBottom: IColoredString;
|
|
146
|
-
auth_subtitle: IColoredString;
|
|
147
|
-
auth_nameHint: string;
|
|
148
|
-
auth_changeNumber: string;
|
|
149
|
-
auth_enterAsGuest: string;
|
|
150
|
-
auth_privacyPolicyAcceptance: string;
|
|
151
|
-
auth_privacyPolicy: IColoredString;
|
|
152
|
-
}
|
|
153
|
-
interface IColoredString {
|
|
154
|
-
text: string;
|
|
155
|
-
colors: IColoredSpan[];
|
|
156
|
-
mappingName: string;
|
|
157
|
-
}
|
|
158
|
-
interface IColoredSpan {
|
|
159
|
-
from: number;
|
|
160
|
-
to: number;
|
|
161
|
-
color: string;
|
|
162
|
-
}
|
|
163
|
-
interface IColoredStringMapping {
|
|
164
|
-
text: string;
|
|
165
|
-
colors: string;
|
|
166
|
-
internal: [string, IColoredSpanMapping][];
|
|
167
|
-
}
|
|
168
|
-
interface IColoredSpanMapping {
|
|
169
|
-
from: string;
|
|
170
|
-
to: string;
|
|
171
|
-
color: string;
|
|
172
|
-
}
|
|
173
|
-
interface IConfigMapping {
|
|
174
|
-
id: string;
|
|
175
|
-
fullAccess: string;
|
|
176
|
-
showVideo: string;
|
|
177
|
-
skipping?: string;
|
|
178
|
-
alghoritm?: string;
|
|
179
|
-
appsflyerEnabled: string;
|
|
180
|
-
appsflyerKey: string;
|
|
181
|
-
onesignalKey: string;
|
|
182
|
-
singleFirst: string;
|
|
183
|
-
allowedCountries: string;
|
|
184
|
-
excludedCountries: string;
|
|
185
|
-
supportUrl: string;
|
|
186
|
-
privacyPolicyUrl: string;
|
|
187
|
-
callCoolDown: string;
|
|
188
|
-
smsCoolDown: string;
|
|
189
|
-
maxSmsTries: string;
|
|
190
|
-
maxCallTries: string;
|
|
191
|
-
smscLogin: string;
|
|
192
|
-
smscPassword: string;
|
|
193
|
-
autoSmsCodeCatch: string;
|
|
194
|
-
autoCallCodeCatch: string;
|
|
195
|
-
localization: string;
|
|
196
|
-
internal: [string, ILocalizationMapping][];
|
|
197
|
-
}
|
|
198
|
-
interface ILocalizationMap {
|
|
199
|
-
[key: string]: ILocalization;
|
|
200
|
-
}
|
|
201
|
-
interface ILocalizationMapping {
|
|
202
|
-
numberWillReceiveACallPattern: string;
|
|
203
|
-
numberReceivedACallPattern: string;
|
|
204
|
-
numberReceivedASmsPattern: string;
|
|
205
|
-
numberWillReceiveASmsPattern: string;
|
|
206
|
-
enterLastFourDigits: string;
|
|
207
|
-
enterCodeFromSms: string;
|
|
208
|
-
callAgainSPattern: string;
|
|
209
|
-
callAgain: string;
|
|
210
|
-
smsAgain: string;
|
|
211
|
-
smsAgainSPattern: string;
|
|
212
|
-
sendSms: string;
|
|
213
|
-
sendSmsSPattern: string;
|
|
214
|
-
hhMm: string;
|
|
215
|
-
unfortunatelyYourTriesLeft: string;
|
|
216
|
-
game_spin: string;
|
|
217
|
-
game_balance: string;
|
|
218
|
-
game_balance_pattern: string;
|
|
219
|
-
game_win: string;
|
|
220
|
-
game_win_pattern: string;
|
|
221
|
-
game_authorize: string;
|
|
222
|
-
game_demo_welcome: string;
|
|
223
|
-
game_demo_available_after_auth: string;
|
|
224
|
-
game_min_rate_error_pattern: string;
|
|
225
|
-
introDialog_title: string;
|
|
226
|
-
introDialog_message: string;
|
|
227
|
-
introDialog_exit: string;
|
|
228
|
-
introDialog_cancel: string;
|
|
229
|
-
error_phone: string;
|
|
230
|
-
error_name: string;
|
|
231
|
-
error_server: string;
|
|
232
|
-
error_invalidCode: string;
|
|
233
|
-
changeNumber_title: string;
|
|
234
|
-
changeNumber_message: string;
|
|
235
|
-
changeNumber_no: string;
|
|
236
|
-
changeNumber_yes: string;
|
|
237
|
-
next_title: string;
|
|
238
|
-
next_message: string;
|
|
239
|
-
next_yes: string;
|
|
240
|
-
next_no: string;
|
|
241
|
-
yes: string;
|
|
242
|
-
no: string;
|
|
243
|
-
cancel: string;
|
|
244
|
-
mainButton: string;
|
|
245
|
-
codeButton: string;
|
|
246
|
-
demoMode: string;
|
|
247
|
-
yourLevel: string;
|
|
248
|
-
supportCaption: string;
|
|
249
|
-
somethingWentWrong: string;
|
|
250
|
-
auth_changeTitle: string;
|
|
251
|
-
auth_changeMessage: string;
|
|
252
|
-
auth_titleTop: string;
|
|
253
|
-
auth_titleBottom: string;
|
|
254
|
-
auth_subtitle: string;
|
|
255
|
-
auth_nameHint: string;
|
|
256
|
-
auth_changeNumber: string;
|
|
257
|
-
auth_enterAsGuest: string;
|
|
258
|
-
auth_privacyPolicyAcceptance: string;
|
|
259
|
-
auth_privacyPolicy: string;
|
|
260
|
-
internal: [string, IColoredStringMapping][];
|
|
261
|
-
}
|
|
262
|
-
export declare let asoConfigToDefault_v1: (config: ASOConfig_v1) => DefaultConfig;
|
|
263
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.asoConfigToDefault_v1 = void 0;
|
|
4
|
-
let asoConfigToDefault_v1 = (config) => {
|
|
5
|
-
return {
|
|
6
|
-
id: config.id,
|
|
7
|
-
bundle: config.bundle,
|
|
8
|
-
name: config.name,
|
|
9
|
-
email: config.email,
|
|
10
|
-
host: config.host,
|
|
11
|
-
ip: config.ip,
|
|
12
|
-
sshPassword: config.sshPassword,
|
|
13
|
-
trackingLink: config.trackingLink,
|
|
14
|
-
fullAccess: config.fullAccess,
|
|
15
|
-
appsflyerKey: config.appsflyerKey,
|
|
16
|
-
onesignalKey: config.onesignalKey,
|
|
17
|
-
onesignalRestApiKey: config.onesignalRestApiKey,
|
|
18
|
-
allowedCountries: config.allowedCountries,
|
|
19
|
-
excludedCountries: config.excludedCountries,
|
|
20
|
-
callCoolDown: config.callCoolDown,
|
|
21
|
-
smsCoolDown: config.smsCoolDown,
|
|
22
|
-
maxSmsTries: config.maxSmsTries,
|
|
23
|
-
maxCallTries: config.maxCallTries,
|
|
24
|
-
smscLogin: config.smscLogin,
|
|
25
|
-
smscPassword: config.sshPassword,
|
|
26
|
-
support: config.support,
|
|
27
|
-
configMapping: config.configMapping,
|
|
28
|
-
offerSectionMapping: config.offersSectionMapping,
|
|
29
|
-
authorizationActionMapping: config.authorizationActionMapping,
|
|
30
|
-
configEndpoint: config.configEndpoint,
|
|
31
|
-
offersEndpoint: config.offersEndpoint,
|
|
32
|
-
nextActionEndpoint: config.nextActionEndpoint,
|
|
33
|
-
currentActionEndpoint: config.currentActionEndpoint,
|
|
34
|
-
validationEndpoint: config.codeValidationEndpoint,
|
|
35
|
-
imageEndpoint: config.imageEndpoint,
|
|
36
|
-
sectionsParameter: config.categoriesQuery,
|
|
37
|
-
phoneParameter: config.phoneQuery,
|
|
38
|
-
codeParameter: config.codeQuery,
|
|
39
|
-
validityParameter: config.validityQuery,
|
|
40
|
-
appsflyerIdParameter: "none",
|
|
41
|
-
advertisingIdParameter: "none",
|
|
42
|
-
onesignalIdParameter: "none",
|
|
43
|
-
offerIdParameter: config.offerIdParameter,
|
|
44
|
-
countryCodeParameter: config.countryCodeParameter,
|
|
45
|
-
redirectHtmlName: config.redirectHtmlName,
|
|
46
|
-
redirectJsName: config.redirectJsName,
|
|
47
|
-
redirectFolderName: config.redirectFolderName,
|
|
48
|
-
apiPrefix: config.apiPrefix,
|
|
49
|
-
skipCode: config.skipCode,
|
|
50
|
-
externalIpGeo: config.externalIpGeo,
|
|
51
|
-
exportedTranslations: config.exportedTranslations,
|
|
52
|
-
newTrackingLink: config.newTrackingLink,
|
|
53
|
-
readyForPanel: config.readyForPanel,
|
|
54
|
-
version: 1
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
exports.asoConfigToDefault_v1 = asoConfigToDefault_v1;
|