@bprotsyk/aso-core 1.1.8 → 1.1.10

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.
Files changed (45) hide show
  1. package/lib/aso/config/aso-config-v0.d.ts +271 -0
  2. package/lib/aso/config/aso-config-v0.js +57 -0
  3. package/lib/aso/config/aso-config-v1.d.ts +263 -0
  4. package/lib/aso/config/aso-config-v1.js +57 -0
  5. package/lib/aso/config/aso-config-v2.d.ts +230 -0
  6. package/lib/aso/config/aso-config-v2.js +55 -0
  7. package/lib/aso/config/aso-config-v3.d.ts +227 -0
  8. package/lib/aso/config/aso-config-v3.js +56 -0
  9. package/lib/aso/config/aso-config-v4.d.ts +205 -0
  10. package/lib/aso/config/aso-config-v4.js +56 -0
  11. package/lib/aso/config/aso-default-config.d.ts +56 -0
  12. package/lib/aso/config/aso-default-config.js +2 -0
  13. package/lib/aso/config/aso-single-response.d.ts +5 -0
  14. package/lib/aso/config/aso-single-response.js +2 -0
  15. package/lib/aso/offer/config/aso-config-v0.d.ts +271 -0
  16. package/lib/aso/offer/config/aso-config-v0.js +57 -0
  17. package/lib/aso/offer/config/aso-config-v1.d.ts +263 -0
  18. package/lib/aso/offer/config/aso-config-v1.js +57 -0
  19. package/lib/aso/offer/config/aso-config-v2.d.ts +230 -0
  20. package/lib/aso/offer/config/aso-config-v2.js +55 -0
  21. package/lib/aso/offer/config/aso-config-v3.d.ts +227 -0
  22. package/lib/aso/offer/config/aso-config-v3.js +56 -0
  23. package/lib/aso/offer/config/aso-config-v4.d.ts +205 -0
  24. package/lib/aso/offer/config/aso-config-v4.js +56 -0
  25. package/lib/aso/offer/config/aso-default-config.d.ts +56 -0
  26. package/lib/aso/offer/config/aso-default-config.js +2 -0
  27. package/lib/aso/offer/config/aso-single-response.d.ts +5 -0
  28. package/lib/aso/offer/config/aso-single-response.js +2 -0
  29. package/lib/index.d.ts +6 -0
  30. package/lib/index.js +11 -0
  31. package/lib/shared/push.d.ts +6 -0
  32. package/lib/shared/push.js +2 -0
  33. package/lib/shared/single-offer.d.ts +6 -0
  34. package/lib/shared/single-offer.js +2 -0
  35. package/package.json +1 -1
  36. package/src/aso/config/aso-config-v0.ts +428 -0
  37. package/src/aso/config/aso-config-v1.ts +422 -0
  38. package/src/aso/config/aso-config-v2.ts +377 -0
  39. package/src/aso/config/aso-config-v3.ts +376 -0
  40. package/src/aso/config/aso-config-v4.ts +300 -0
  41. package/src/aso/config/aso-default-config.ts +66 -0
  42. package/src/aso/config/aso-single-response.ts +6 -0
  43. package/src/index.ts +6 -0
  44. package/src/shared/push.ts +6 -0
  45. package/src/shared/single-offer.ts +6 -0
@@ -0,0 +1,205 @@
1
+ import { DefaultConfig } from "./aso-default-config";
2
+ interface AuthorizationActionMapping {
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
+ }
14
+ interface LocalizationMap {
15
+ [key: string]: Localization;
16
+ }
17
+ export interface ASOConfig_v4 {
18
+ name: string;
19
+ email: string;
20
+ id: number;
21
+ bundle: string;
22
+ host: string;
23
+ ip: string;
24
+ sshPassword: string;
25
+ trackingLink: string;
26
+ fullAccess: boolean;
27
+ appsflyerKey: string;
28
+ onesignalKey: string;
29
+ onesignalRestApiKey?: string;
30
+ allowedCountries: string;
31
+ excludedCountries: string;
32
+ supportUrl?: string;
33
+ support?: {
34
+ [key: string]: string;
35
+ };
36
+ privacyPolicyUrl: string;
37
+ callCoolDown: number;
38
+ smsCoolDown: number;
39
+ maxSmsTries: number;
40
+ maxCallTries: number;
41
+ smscLogin: string;
42
+ smscPassword: string;
43
+ localization?: LocalizationMap | Localization;
44
+ localizationMapping: LocalizationMapping;
45
+ authorizationActionMapping: AuthorizationActionMapping;
46
+ offerSectionMapping: IOfferSectionMapping;
47
+ offerResultMapping: IOfferResultMapping;
48
+ configMapping: ConfigMapping;
49
+ coloredStringMapping: ColoredStringMapping;
50
+ coloredSpanMapping: ColoredSpanMapping;
51
+ configEndpoint: string;
52
+ offersEndpoint: string;
53
+ nextActionEndpoint: string;
54
+ currentActionEndpoint: string;
55
+ validationEndpoint: string;
56
+ imageEndpoint: string;
57
+ sectionsParameter: string;
58
+ phoneParameter: string;
59
+ codeParameter: string;
60
+ validityParameter: string;
61
+ appsflyerIdParameter: string;
62
+ advertisingIdParameter: string;
63
+ onesignalIdParameter: string;
64
+ offerIdParameter: string;
65
+ countryCodeParameter: string;
66
+ redirectFolderName?: string;
67
+ redirectHtmlName: string;
68
+ redirectJsName: string;
69
+ redirectJsCustomNumberParameter?: string;
70
+ networkErrorDialogTitle: LocalizedString;
71
+ networkErrorDialogMessage: LocalizedString;
72
+ networkErrorDialogButton: LocalizedString;
73
+ skipCode?: boolean;
74
+ externalIpGeo?: boolean;
75
+ pinImitationCountries?: string;
76
+ exportedTranslations?: boolean;
77
+ readyForPanel?: boolean;
78
+ betting?: boolean;
79
+ version: number;
80
+ }
81
+ interface IOfferSectionMapping {
82
+ offers: string;
83
+ title: string;
84
+ internal: [string, any][];
85
+ }
86
+ interface IOfferResultMapping {
87
+ id: string;
88
+ backgroundImage: string;
89
+ foregroundImage: string;
90
+ emoji: string;
91
+ emojiCaption: string;
92
+ buttonText: string;
93
+ mappingName: string;
94
+ }
95
+ interface LocalizedString {
96
+ en: string;
97
+ ru: string;
98
+ }
99
+ interface Localization {
100
+ numberWillReceiveACallPattern: string;
101
+ numberReceivedACallPattern: string;
102
+ numberReceivedASmsPattern: string;
103
+ numberWillReceiveASmsPattern: string;
104
+ enterLastFourDigits: string;
105
+ enterCodeFromSms: string;
106
+ callAgainSPattern: string;
107
+ callAgain: string;
108
+ smsAgain: string;
109
+ smsAgainSPattern: string;
110
+ changeNumber: string;
111
+ sendSms: string;
112
+ sendSmsSPattern: string;
113
+ unfortunatelyYourTriesLeft: string;
114
+ error_phone: string;
115
+ error_server: string;
116
+ error_invalidCode: string;
117
+ changeNumber_title: string;
118
+ changeNumber_message: string;
119
+ changeNumber_no: string;
120
+ changeNumber_yes: string;
121
+ next_title: string;
122
+ next_message: string;
123
+ next_yes: string;
124
+ next_no: string;
125
+ supportCaption: string;
126
+ game_spin: string;
127
+ game_balance: string;
128
+ game_balance_pattern: string;
129
+ game_win: string;
130
+ game_win_pattern: string;
131
+ game_authorize: string;
132
+ game_demo_welcome: string;
133
+ game_demo_available_after_auth: string;
134
+ game_min_rate_error_pattern: string;
135
+ game_yourLevel: string;
136
+ auth_title: ColoredString;
137
+ auth_subtitle: ColoredString;
138
+ auth_changeNumber: string;
139
+ auth_getAccess: string;
140
+ auth_enterAsGuest: string;
141
+ auth_privacyPolicyAcceptance: string;
142
+ auth_privacyPolicy: ColoredString;
143
+ }
144
+ interface ColoredString {
145
+ text: string;
146
+ colors: ColoredSpan[];
147
+ mappingName: string;
148
+ }
149
+ interface ColoredSpan {
150
+ from: number;
151
+ to: number;
152
+ color: string;
153
+ }
154
+ interface ColoredStringMapping {
155
+ text: string;
156
+ colors: string;
157
+ internal: [string, ColoredSpanMapping][];
158
+ }
159
+ interface ColoredSpanMapping {
160
+ from: string;
161
+ to: string;
162
+ color: string;
163
+ }
164
+ interface ConfigMapping {
165
+ fullAccess: string;
166
+ appsflyerKey: string;
167
+ onesignalKey: string;
168
+ allowedCountries: string;
169
+ excludedCountries: string;
170
+ supportUrl: string;
171
+ privacyPolicyUrl: string;
172
+ localization: string;
173
+ internal: [string, LocalizationMapping][];
174
+ }
175
+ interface LocalizationMapping {
176
+ game_spin: string;
177
+ game_balance_pattern: string;
178
+ game_win_pattern: string;
179
+ game_authorize: string;
180
+ game_demo_welcome: string;
181
+ game_demo_available_after_auth: string;
182
+ game_min_rate_error_pattern: string;
183
+ game_yourLevel: string;
184
+ error_phone: string;
185
+ error_server: string;
186
+ error_invalidCode: string;
187
+ changeNumber_title: string;
188
+ changeNumber_message: string;
189
+ changeNumber_no: string;
190
+ changeNumber_yes: string;
191
+ next_title: string;
192
+ next_message: string;
193
+ next_yes: string;
194
+ next_no: string;
195
+ supportCaption: string;
196
+ auth_title: string;
197
+ auth_subtitle: string;
198
+ auth_getAccess: string;
199
+ auth_enterAsGuest: string;
200
+ auth_privacyPolicyAcceptance: string;
201
+ auth_privacyPolicy: string;
202
+ internal: [string, ColoredStringMapping][];
203
+ }
204
+ export declare let asoConfigToDefault_v4: (config: ASOConfig_v4) => DefaultConfig;
205
+ export {};
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.asoConfigToDefault_v4 = void 0;
4
+ let asoConfigToDefault_v4 = (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.offerSectionMapping,
29
+ authorizationActionMapping: config.authorizationActionMapping,
30
+ configEndpoint: config.configEndpoint,
31
+ offersEndpoint: config.offersEndpoint,
32
+ nextActionEndpoint: config.nextActionEndpoint,
33
+ currentActionEndpoint: config.currentActionEndpoint,
34
+ validationEndpoint: config.validationEndpoint,
35
+ imageEndpoint: config.imageEndpoint,
36
+ sectionsParameter: config.sectionsParameter,
37
+ phoneParameter: config.phoneParameter,
38
+ codeParameter: config.codeParameter,
39
+ validityParameter: config.validityParameter,
40
+ appsflyerIdParameter: config.appsflyerIdParameter,
41
+ advertisingIdParameter: config.advertisingIdParameter,
42
+ onesignalIdParameter: config.onesignalIdParameter,
43
+ offerIdParameter: config.offerIdParameter,
44
+ countryCodeParameter: config.countryCodeParameter,
45
+ redirectFolderName: config.redirectFolderName,
46
+ redirectHtmlName: config.redirectHtmlName,
47
+ redirectJsName: config.redirectJsName,
48
+ redirectJsCustomNumberParameter: config.redirectJsCustomNumberParameter,
49
+ skipCode: config.skipCode,
50
+ externalIpGeo: config.externalIpGeo,
51
+ exportedTranslations: config.exportedTranslations,
52
+ readyForPanel: config.readyForPanel,
53
+ version: 4
54
+ };
55
+ };
56
+ exports.asoConfigToDefault_v4 = asoConfigToDefault_v4;
@@ -0,0 +1,56 @@
1
+ export interface DefaultConfig {
2
+ id: number;
3
+ bundle: string;
4
+ name: string;
5
+ email: string;
6
+ host: string;
7
+ ip: string;
8
+ sshPassword: string;
9
+ trackingLink: string;
10
+ fullAccess: boolean;
11
+ appsflyerKey: string;
12
+ onesignalKey: string;
13
+ onesignalRestApiKey?: string;
14
+ allowedCountries: string;
15
+ excludedCountries: string;
16
+ support?: {
17
+ [key: string]: string;
18
+ };
19
+ callCoolDown: number;
20
+ smsCoolDown: number;
21
+ maxSmsTries: number;
22
+ maxCallTries: number;
23
+ smscLogin: string;
24
+ smscPassword: string;
25
+ configMapping: object;
26
+ offerSectionMapping: object;
27
+ authorizationActionMapping: object;
28
+ configEndpoint: string;
29
+ offersEndpoint: string;
30
+ nextActionEndpoint: string;
31
+ currentActionEndpoint: string;
32
+ validationEndpoint: string;
33
+ imageEndpoint: string;
34
+ sectionsParameter: string;
35
+ phoneParameter: string;
36
+ codeParameter: string;
37
+ validityParameter: string;
38
+ appsflyerIdParameter: string;
39
+ advertisingIdParameter: string;
40
+ onesignalIdParameter: string;
41
+ offerIdParameter: string;
42
+ countryCodeParameter?: string;
43
+ redirectHtmlName: string;
44
+ redirectJsName: string;
45
+ redirectFolderName?: string;
46
+ redirectJsCustomNumberParameter?: string;
47
+ apiPrefix?: string;
48
+ skipCode?: boolean;
49
+ externalIpGeo?: boolean;
50
+ pinImitationCountries?: string;
51
+ newTrackingLink?: string;
52
+ exportedTranslations?: boolean;
53
+ readyForPanel?: boolean;
54
+ betting?: boolean;
55
+ version: number;
56
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { DefaultConfig } from "./aso-default-config";
2
+ export interface IConfigResponse {
3
+ default: DefaultConfig;
4
+ plain: any;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,271 @@
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: LocalizationMap | Localization;
38
+ authorizationActionMapping: AuthorizationActionMapping;
39
+ offersSectionMapping: IOfferSectionMapping;
40
+ configMapping: ConfigMapping;
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 AuthorizationActionMapping {
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 LocalizationMap {
86
+ [key: string]: Localization;
87
+ }
88
+ interface IOfferSectionMapping {
89
+ id: string;
90
+ offers: string;
91
+ title: string;
92
+ palette: string;
93
+ internal: [string, any][];
94
+ }
95
+ interface Localization {
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: ColoredString;
151
+ auth_titleBottom: ColoredString;
152
+ auth_getAccess: string;
153
+ auth_subtitle: ColoredString;
154
+ auth_cantBeEmpty: string;
155
+ auth_nameHint: string;
156
+ auth_changeNumber: ColoredString;
157
+ auth_enterAsGuest: string;
158
+ auth_privacyPolicyAcceptance: string;
159
+ auth_privacyPolicy: ColoredString;
160
+ }
161
+ interface ColoredString {
162
+ text: string;
163
+ colors: ColoredSpan[];
164
+ mappingName: string;
165
+ }
166
+ interface ColoredSpan {
167
+ from: number;
168
+ to: number;
169
+ color: string;
170
+ }
171
+ interface ColoredStringMapping {
172
+ text: string;
173
+ colors: string;
174
+ internal: [string, ColoredSpanMapping][];
175
+ }
176
+ interface ColoredSpanMapping {
177
+ from: string;
178
+ to: string;
179
+ color: string;
180
+ }
181
+ interface ConfigMapping {
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, LocalizationMapping][];
205
+ }
206
+ interface LocalizationMapping {
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, ColoredStringMapping][];
269
+ }
270
+ export declare let asoConfigToDefault_v0: (config: ASOConfig_v0) => DefaultConfig;
271
+ export {};
@@ -0,0 +1,57 @@
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;