@bprotsyk/aso-core 1.1.10 → 1.1.14

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 (43) hide show
  1. package/lib/aso/config/aso-config-v0.d.ts +79 -10
  2. package/lib/aso/config/aso-config-v0.js +2 -0
  3. package/lib/aso/config/aso-config-v1.d.ts +90 -22
  4. package/lib/aso/config/aso-config-v1.js +1 -0
  5. package/lib/aso/config/aso-config-v2.d.ts +83 -16
  6. package/lib/aso/config/aso-config-v2.js +2 -0
  7. package/lib/aso/config/aso-config-v3.d.ts +91 -24
  8. package/lib/aso/config/aso-config-v3.js +2 -0
  9. package/lib/aso/config/aso-config-v4.d.ts +29 -26
  10. package/lib/aso/config/aso-config-v4.js +2 -0
  11. package/lib/aso/config/aso-config-v5.d.ts +228 -0
  12. package/lib/aso/config/aso-config-v5.js +58 -0
  13. package/lib/aso/config/aso-default-config.d.ts +2 -1
  14. package/lib/aso/config/aso-single-response.d.ts +2 -2
  15. package/lib/aso/offer/aso-customized-offer.d.ts +1 -0
  16. package/lib/aso/offerwall/offerwall-offer.d.ts +7 -0
  17. package/lib/aso/offerwall/offerwall-offer.js +2 -0
  18. package/lib/aso/offerwall/offerwall-response.d.ts +4 -0
  19. package/lib/aso/offerwall/offerwall-response.js +2 -0
  20. package/lib/aso/offerwall/offerwall-section.d.ts +6 -0
  21. package/lib/aso/offerwall/offerwall-section.js +2 -0
  22. package/lib/flash/flash-app.d.ts +71 -0
  23. package/lib/flash/flash-app.js +38 -0
  24. package/lib/index.d.ts +3 -0
  25. package/lib/shared/offer.d.ts +1 -0
  26. package/lib/shared/single-offer.d.ts +0 -1
  27. package/package.json +4 -2
  28. package/src/aso/config/aso-config-v0.ts +37 -19
  29. package/src/aso/config/aso-config-v1.ts +45 -30
  30. package/src/aso/config/aso-config-v2.ts +43 -23
  31. package/src/aso/config/aso-config-v3.ts +56 -38
  32. package/src/aso/config/aso-config-v4.ts +33 -29
  33. package/src/aso/config/aso-config-v5.ts +328 -0
  34. package/src/aso/config/aso-default-config.ts +2 -1
  35. package/src/aso/config/aso-single-response.ts +2 -2
  36. package/src/aso/offer/aso-customized-offer.ts +2 -1
  37. package/src/aso/offerwall/offerwall-offer.ts +8 -0
  38. package/src/aso/offerwall/offerwall-response.ts +5 -0
  39. package/src/aso/offerwall/offerwall-section.ts +7 -0
  40. package/src/flash/flash-app.ts +84 -0
  41. package/src/index.ts +5 -1
  42. package/src/shared/offer.ts +9 -8
  43. package/src/shared/single-offer.ts +0 -1
@@ -1,4 +1,4 @@
1
- import { DefaultConfig } from "./aso-default-config";
1
+ import { ASODefaultConfig } from "./aso-default-config";
2
2
  export interface ASOConfig_v0 {
3
3
  id: number;
4
4
  name: string;
@@ -8,7 +8,9 @@ export interface ASOConfig_v0 {
8
8
  alghoritm?: string;
9
9
  ip: string;
10
10
  sshPassword: string;
11
+ sshPort?: string;
11
12
  trackingLink: string;
13
+ newTrackingLink?: string;
12
14
  clientSideValidation: boolean;
13
15
  host: string;
14
16
  fullAccess: boolean;
@@ -67,9 +69,10 @@ export interface ASOConfig_v0 {
67
69
  externalIpGeo: boolean;
68
70
  exportedTranslations?: boolean;
69
71
  readyForPanel?: boolean;
72
+ oldHosts?: string[];
70
73
  version: number;
71
74
  }
72
- interface AuthorizationActionMapping {
75
+ export interface AuthorizationActionMapping {
73
76
  hasNextAction: string;
74
77
  nextActionIn: string;
75
78
  changeNumberCaption: string;
@@ -85,14 +88,80 @@ interface AuthorizationActionMapping {
85
88
  interface LocalizationMap {
86
89
  [key: string]: Localization;
87
90
  }
88
- interface IOfferSectionMapping {
91
+ export interface ISectionPalette {
92
+ titleBorder: string;
93
+ titleText: string;
94
+ offerBorder: string;
95
+ buttonBorder: string;
96
+ buttonBackground: string;
97
+ buttonBackgroundPressed: string;
98
+ buttonText: string;
99
+ emojiBackground: string;
100
+ emojiBorder: string;
101
+ emojiCaptionBorder: string;
102
+ emojiCaptionBackground: string;
103
+ emojiCaption: string;
104
+ }
105
+ interface IOfferResult {
106
+ id: string;
107
+ backgroundImage: string;
108
+ foregroundImage: string;
109
+ emoji: IOfferResultEmoji | null;
110
+ buttonText: string;
111
+ }
112
+ interface IOfferResultEmoji {
113
+ emoji: string | null;
114
+ caption: string | null;
115
+ }
116
+ export interface IOffersSection {
117
+ id: number;
118
+ offers: IOfferResult[];
119
+ title: string;
120
+ palette: ISectionPalette;
121
+ }
122
+ export interface IOffersSection {
123
+ id: number;
124
+ offers: IOfferResult[];
125
+ title: string;
126
+ palette: ISectionPalette;
127
+ }
128
+ export interface ISectionPaletteMapping {
129
+ titleBorder: string;
130
+ titleText: string;
131
+ offerBorder: string;
132
+ buttonBorder: string;
133
+ buttonBackground: string;
134
+ buttonBackgroundPressed: string;
135
+ buttonText: string;
136
+ emojiBackground: string;
137
+ emojiBorder: string;
138
+ emojiCaptionBorder: string;
139
+ emojiCaptionBackground: string;
140
+ emojiCaption: string;
141
+ }
142
+ export interface IOfferSectionMapping {
89
143
  id: string;
90
144
  offers: string;
91
145
  title: string;
92
146
  palette: string;
93
147
  internal: [string, any][];
94
148
  }
95
- interface Localization {
149
+ export interface IOfferResultMapping {
150
+ id: string;
151
+ backgroundImage: string;
152
+ foregroundImage: string;
153
+ emoji: string;
154
+ emojiCaption: string;
155
+ buttonText: string;
156
+ mappingName: string;
157
+ }
158
+ export interface IOfferSectionMapping {
159
+ id: string;
160
+ offers: string;
161
+ title: string;
162
+ internal: [string, any][];
163
+ }
164
+ export interface Localization {
96
165
  numberWillReceiveACallPattern: string;
97
166
  numberReceivedACallPattern: string;
98
167
  numberReceivedASmsPattern: string;
@@ -158,7 +227,7 @@ interface Localization {
158
227
  auth_privacyPolicyAcceptance: string;
159
228
  auth_privacyPolicy: ColoredString;
160
229
  }
161
- interface ColoredString {
230
+ export interface ColoredString {
162
231
  text: string;
163
232
  colors: ColoredSpan[];
164
233
  mappingName: string;
@@ -168,17 +237,17 @@ interface ColoredSpan {
168
237
  to: number;
169
238
  color: string;
170
239
  }
171
- interface ColoredStringMapping {
240
+ export interface ColoredStringMapping {
172
241
  text: string;
173
242
  colors: string;
174
243
  internal: [string, ColoredSpanMapping][];
175
244
  }
176
- interface ColoredSpanMapping {
245
+ export interface ColoredSpanMapping {
177
246
  from: string;
178
247
  to: string;
179
248
  color: string;
180
249
  }
181
- interface ConfigMapping {
250
+ export interface ConfigMapping {
182
251
  id: string;
183
252
  fullAccess: string;
184
253
  showVideo: string;
@@ -203,7 +272,7 @@ interface ConfigMapping {
203
272
  localization: string;
204
273
  internal: [string, LocalizationMapping][];
205
274
  }
206
- interface LocalizationMapping {
275
+ export interface LocalizationMapping {
207
276
  numberWillReceiveACallPattern: string;
208
277
  numberReceivedACallPattern: string;
209
278
  numberReceivedASmsPattern: string;
@@ -267,5 +336,5 @@ interface LocalizationMapping {
267
336
  auth_privacyPolicy: string;
268
337
  internal: [string, ColoredStringMapping][];
269
338
  }
270
- export declare let asoConfigToDefault_v0: (config: ASOConfig_v0) => DefaultConfig;
339
+ export declare let asoConfigToDefault_v0: (config: ASOConfig_v0) => ASODefaultConfig;
271
340
  export {};
@@ -10,6 +10,7 @@ let asoConfigToDefault_v0 = (config) => {
10
10
  host: config.host,
11
11
  ip: config.ip,
12
12
  sshPassword: config.sshPassword,
13
+ sshPort: config.sshPort,
13
14
  trackingLink: config.trackingLink,
14
15
  fullAccess: config.fullAccess,
15
16
  appsflyerKey: config.appsflyerKey,
@@ -49,6 +50,7 @@ let asoConfigToDefault_v0 = (config) => {
49
50
  apiPrefix: config.apiPrefix,
50
51
  skipCode: config.skipCode,
51
52
  externalIpGeo: config.externalIpGeo,
53
+ newTrackingLink: config.newTrackingLink,
52
54
  exportedTranslations: config.exportedTranslations,
53
55
  readyForPanel: config.readyForPanel,
54
56
  version: 0
@@ -1,17 +1,4 @@
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
- canChangeNumber: string;
14
- }
1
+ import { ASODefaultConfig } from "./aso-default-config";
15
2
  export interface ASOConfig_v1 {
16
3
  id: number;
17
4
  name: string;
@@ -21,6 +8,7 @@ export interface ASOConfig_v1 {
21
8
  alghoritm?: string;
22
9
  ip: string;
23
10
  sshPassword: string;
11
+ sshPort?: string;
24
12
  trackingLink: string;
25
13
  clientSideValidation: boolean;
26
14
  host: string;
@@ -80,16 +68,96 @@ export interface ASOConfig_v1 {
80
68
  exportedTranslations?: boolean;
81
69
  newTrackingLink?: string;
82
70
  readyForPanel?: boolean;
71
+ oldHosts?: string[];
83
72
  version: number;
84
73
  }
85
- interface IOfferSectionMapping {
74
+ export interface ISectionPalette {
75
+ titleBorder: string;
76
+ titleText: string;
77
+ offerBorder: string;
78
+ buttonBorder: string;
79
+ buttonBackground: string;
80
+ buttonBackgroundPressed: string;
81
+ buttonText: string;
82
+ emojiBackground: string;
83
+ emojiBorder: string;
84
+ emojiCaptionBorder: string;
85
+ emojiCaptionBackground: string;
86
+ emojiCaption: string;
87
+ }
88
+ export interface AuthorizationActionMapping {
89
+ hasNextAction: string;
90
+ nextActionIn: string;
91
+ changeNumberCaption: string;
92
+ nextActionCaption: string;
93
+ nextActionPatternCaption: string;
94
+ actualTitlePattern: string;
95
+ expiredTitlePattern: string;
96
+ subtitle: string;
97
+ when: string;
98
+ authorized: string;
99
+ canChangeNumber: string;
100
+ }
101
+ interface IOfferResult {
102
+ id: string;
103
+ backgroundImage: string;
104
+ foregroundImage: string;
105
+ emoji: IOfferResultEmoji | null;
106
+ buttonText: string;
107
+ }
108
+ interface IOfferResultEmoji {
109
+ emoji: string | null;
110
+ caption: string | null;
111
+ }
112
+ export interface IOffersSection {
113
+ id: number;
114
+ offers: IOfferResult[];
115
+ title: string;
116
+ palette: ISectionPalette;
117
+ }
118
+ export interface IOffersSection {
119
+ id: number;
120
+ offers: IOfferResult[];
121
+ title: string;
122
+ palette: ISectionPalette;
123
+ }
124
+ export interface ISectionPaletteMapping {
125
+ titleBorder: string;
126
+ titleText: string;
127
+ offerBorder: string;
128
+ buttonBorder: string;
129
+ buttonBackground: string;
130
+ buttonBackgroundPressed: string;
131
+ buttonText: string;
132
+ emojiBackground: string;
133
+ emojiBorder: string;
134
+ emojiCaptionBorder: string;
135
+ emojiCaptionBackground: string;
136
+ emojiCaption: string;
137
+ }
138
+ export interface IOfferSectionMapping {
86
139
  id: string;
87
140
  offers: string;
88
141
  title: string;
89
142
  palette: string;
90
143
  internal: [string, any][];
91
144
  }
92
- interface Localization {
145
+ export interface IOfferResultMapping {
146
+ id: string;
147
+ backgroundImage: string;
148
+ foregroundImage: string;
149
+ emoji: string;
150
+ emojiCaption: string;
151
+ buttonText: string;
152
+ mappingName: string;
153
+ }
154
+ export interface IOfferSectionMapping {
155
+ id: string;
156
+ offers: string;
157
+ title: string;
158
+ internal: [string, any][];
159
+ }
160
+ export interface Localization {
93
161
  numberWillReceiveACallPattern: string;
94
162
  numberReceivedACallPattern: string;
95
163
  numberReceivedASmsPattern: string;
@@ -150,7 +218,7 @@ interface Localization {
150
218
  auth_privacyPolicyAcceptance: string;
151
219
  auth_privacyPolicy: ColoredString;
152
220
  }
153
- interface ColoredString {
221
+ export interface ColoredString {
154
222
  text: string;
155
223
  colors: ColoredSpan[];
156
224
  mappingName: string;
@@ -160,17 +228,17 @@ interface ColoredSpan {
160
228
  to: number;
161
229
  color: string;
162
230
  }
163
- interface ColoredStringMapping {
231
+ export interface ColoredStringMapping {
164
232
  text: string;
165
233
  colors: string;
166
234
  internal: [string, ColoredSpanMapping][];
167
235
  }
168
- interface ColoredSpanMapping {
236
+ export interface ColoredSpanMapping {
169
237
  from: string;
170
238
  to: string;
171
239
  color: string;
172
240
  }
173
- interface ConfigMapping {
241
+ export interface ConfigMapping {
174
242
  id: string;
175
243
  fullAccess: string;
176
244
  showVideo: string;
@@ -198,7 +266,7 @@ interface ConfigMapping {
198
266
  interface LocalizationMap {
199
267
  [key: string]: Localization;
200
268
  }
201
- interface LocalizationMapping {
269
+ export interface LocalizationMapping {
202
270
  numberWillReceiveACallPattern: string;
203
271
  numberReceivedACallPattern: string;
204
272
  numberReceivedASmsPattern: string;
@@ -259,5 +327,5 @@ interface LocalizationMapping {
259
327
  auth_privacyPolicy: string;
260
328
  internal: [string, ColoredStringMapping][];
261
329
  }
262
- export declare let asoConfigToDefault_v1: (config: ASOConfig_v1) => DefaultConfig;
330
+ export declare let asoConfigToDefault_v1: (config: ASOConfig_v1) => ASODefaultConfig;
263
331
  export {};
@@ -10,6 +10,7 @@ let asoConfigToDefault_v1 = (config) => {
10
10
  host: config.host,
11
11
  ip: config.ip,
12
12
  sshPassword: config.sshPassword,
13
+ sshPort: config.sshPort,
13
14
  trackingLink: config.trackingLink,
14
15
  fullAccess: config.fullAccess,
15
16
  appsflyerKey: config.appsflyerKey,
@@ -1,16 +1,4 @@
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
- }
1
+ import { ASODefaultConfig } from "./aso-default-config";
14
2
  export interface ASOConfig_v2 {
15
3
  id: number;
16
4
  name: string;
@@ -18,7 +6,9 @@ export interface ASOConfig_v2 {
18
6
  bundle: string;
19
7
  ip: string;
20
8
  sshPassword: string;
9
+ sshPort?: string;
21
10
  trackingLink: string;
11
+ newTrackingLink?: string;
22
12
  host: string;
23
13
  fullAccess: boolean;
24
14
  appsflyerKey: string;
@@ -70,18 +60,95 @@ export interface ASOConfig_v2 {
70
60
  externalIpGeo: boolean;
71
61
  exportedTranslations?: boolean;
72
62
  readyForPanel?: boolean;
63
+ oldHosts?: string[];
73
64
  version: number;
74
65
  }
66
+ export interface AuthorizationActionMapping {
67
+ hasNextAction: string;
68
+ nextActionIn: string;
69
+ changeNumberCaption: string;
70
+ nextActionCaption: string;
71
+ nextActionPatternCaption: string;
72
+ actualTitlePattern: string;
73
+ expiredTitlePattern: string;
74
+ subtitle: string;
75
+ when: string;
76
+ authorized: string;
77
+ }
75
78
  interface LocalizationMap {
76
79
  [key: string]: Localization;
77
80
  }
78
- interface IOfferSectionMapping {
81
+ export interface ISectionPalette {
82
+ titleBorder: string;
83
+ titleText: string;
84
+ offerBorder: string;
85
+ buttonBorder: string;
86
+ buttonBackground: string;
87
+ buttonBackgroundPressed: string;
88
+ buttonText: string;
89
+ emojiBackground: string;
90
+ emojiBorder: string;
91
+ emojiCaptionBorder: string;
92
+ emojiCaptionBackground: string;
93
+ emojiCaption: string;
94
+ }
95
+ interface IOfferResult {
96
+ id: string;
97
+ backgroundImage: string;
98
+ foregroundImage: string;
99
+ emoji: string;
100
+ emojiCaption: string;
101
+ buttonText: string;
102
+ }
103
+ export interface IOffersSection {
104
+ id: number;
105
+ offers: IOfferResult[];
106
+ title: string;
107
+ palette: ISectionPalette;
108
+ }
109
+ export interface IOffersSection {
110
+ id: number;
111
+ offers: IOfferResult[];
112
+ title: string;
113
+ palette: ISectionPalette;
114
+ }
115
+ export interface ISectionPaletteMapping {
116
+ titleBorder: string;
117
+ titleText: string;
118
+ offerBorder: string;
119
+ buttonBorder: string;
120
+ buttonBackground: string;
121
+ buttonBackgroundPressed: string;
122
+ buttonText: string;
123
+ emojiBackground: string;
124
+ emojiBorder: string;
125
+ emojiCaptionBorder: string;
126
+ emojiCaptionBackground: string;
127
+ emojiCaption: string;
128
+ }
129
+ export interface IOfferSectionMapping {
130
+ id: string;
131
+ offers: string;
132
+ title: string;
133
+ palette: string;
134
+ internal: [string, any][];
135
+ }
136
+ export interface IOfferResultMapping {
137
+ id: string;
138
+ backgroundImage: string;
139
+ foregroundImage: string;
140
+ emoji: string;
141
+ emojiCaption: string;
142
+ buttonText: string;
143
+ mappingName: string;
144
+ }
145
+ export interface IOfferSectionMapping {
79
146
  id: string;
80
147
  offers: string;
81
148
  title: string;
82
149
  internal: [string, any][];
83
150
  }
84
- interface Localization {
151
+ export interface Localization {
85
152
  numberWillReceiveACallPattern: string;
86
153
  numberReceivedACallPattern: string;
87
154
  numberReceivedASmsPattern: string;
@@ -226,5 +293,5 @@ export interface LocalizationMapping {
226
293
  auth_privacyPolicy: string;
227
294
  internal: [string, ColoredStringMapping][];
228
295
  }
229
- export declare let asoConfigToDefault_v2: (config: ASOConfig_v2) => DefaultConfig;
296
+ export declare let asoConfigToDefault_v2: (config: ASOConfig_v2) => ASODefaultConfig;
230
297
  export {};
@@ -10,7 +10,9 @@ let asoConfigToDefault_v2 = (config) => {
10
10
  host: config.host,
11
11
  ip: config.ip,
12
12
  sshPassword: config.sshPassword,
13
+ sshPort: config.sshPort,
13
14
  trackingLink: config.trackingLink,
15
+ newTrackingLink: config.newTrackingLink,
14
16
  fullAccess: config.fullAccess,
15
17
  appsflyerKey: config.appsflyerKey,
16
18
  onesignalKey: config.onesignalKey,
@@ -1,19 +1,4 @@
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
- }
1
+ import { ASODefaultConfig } from "./aso-default-config";
17
2
  export interface ASOConfig_v3 {
18
3
  id: number;
19
4
  name: string;
@@ -21,7 +6,9 @@ export interface ASOConfig_v3 {
21
6
  bundle: string;
22
7
  ip: string;
23
8
  sshPassword: string;
9
+ sshPort?: string;
24
10
  trackingLink: string;
11
+ newTrackingLink?: string;
25
12
  host: string;
26
13
  fullAccess: boolean;
27
14
  appsflyerKey: string;
@@ -76,15 +63,95 @@ export interface ASOConfig_v3 {
76
63
  externalIpGeo: boolean;
77
64
  exportedTranslations?: boolean;
78
65
  readyForPanel?: boolean;
66
+ oldHosts?: string[];
79
67
  version: number;
80
68
  }
81
- interface IOfferSectionMapping {
69
+ export interface AuthorizationActionMapping {
70
+ hasNextAction: string;
71
+ nextActionIn: string;
72
+ changeNumberCaption: string;
73
+ nextActionCaption: string;
74
+ nextActionPatternCaption: string;
75
+ actualTitlePattern: string;
76
+ expiredTitlePattern: string;
77
+ subtitle: string;
78
+ when: string;
79
+ authorized: string;
80
+ }
81
+ interface LocalizationMap {
82
+ [key: string]: Localization;
83
+ }
84
+ export interface ISectionPalette {
85
+ titleBorder: string;
86
+ titleText: string;
87
+ offerBorder: string;
88
+ buttonBorder: string;
89
+ buttonBackground: string;
90
+ buttonBackgroundPressed: string;
91
+ buttonText: string;
92
+ emojiBackground: string;
93
+ emojiBorder: string;
94
+ emojiCaptionBorder: string;
95
+ emojiCaptionBackground: string;
96
+ emojiCaption: string;
97
+ }
98
+ interface IOfferResult {
99
+ id: string;
100
+ backgroundImage: string;
101
+ foregroundImage: string;
102
+ emoji: string;
103
+ emojiCaption: string;
104
+ buttonText: string;
105
+ }
106
+ export interface IOffersSection {
107
+ id: number;
108
+ offers: IOfferResult[];
109
+ title: string;
110
+ palette: ISectionPalette;
111
+ }
112
+ export interface IOffersSection {
113
+ id: number;
114
+ offers: IOfferResult[];
115
+ title: string;
116
+ palette: ISectionPalette;
117
+ }
118
+ export interface ISectionPaletteMapping {
119
+ titleBorder: string;
120
+ titleText: string;
121
+ offerBorder: string;
122
+ buttonBorder: string;
123
+ buttonBackground: string;
124
+ buttonBackgroundPressed: string;
125
+ buttonText: string;
126
+ emojiBackground: string;
127
+ emojiBorder: string;
128
+ emojiCaptionBorder: string;
129
+ emojiCaptionBackground: string;
130
+ emojiCaption: string;
131
+ }
132
+ export interface IOfferSectionMapping {
133
+ id: string;
134
+ offers: string;
135
+ title: string;
136
+ palette: string;
137
+ internal: [string, any][];
138
+ }
139
+ export interface IOfferResultMapping {
140
+ id: string;
141
+ backgroundImage: string;
142
+ foregroundImage: string;
143
+ emoji: string;
144
+ emojiCaption: string;
145
+ buttonText: string;
146
+ mappingName: string;
147
+ }
148
+ export interface IOfferSectionMapping {
82
149
  id: string;
83
150
  offers: string;
84
151
  title: string;
85
152
  internal: [string, any][];
86
153
  }
87
- interface Localization {
154
+ export interface Localization {
88
155
  numberWillReceiveACallPattern: string;
89
156
  numberReceivedACallPattern: string;
90
157
  numberReceivedASmsPattern: string;
@@ -140,7 +207,7 @@ interface Localization {
140
207
  auth_privacyPolicyAcceptance: string;
141
208
  auth_privacyPolicy: ColoredString;
142
209
  }
143
- interface ColoredString {
210
+ export interface ColoredString {
144
211
  text: string;
145
212
  colors: ColoredSpan[];
146
213
  mappingName: string;
@@ -150,17 +217,17 @@ interface ColoredSpan {
150
217
  to: number;
151
218
  color: string;
152
219
  }
153
- interface ColoredStringMapping {
220
+ export interface ColoredStringMapping {
154
221
  text: string;
155
222
  colors: string;
156
223
  internal: [string, ColoredSpanMapping][];
157
224
  }
158
- interface ColoredSpanMapping {
225
+ export interface ColoredSpanMapping {
159
226
  from: string;
160
227
  to: string;
161
228
  color: string;
162
229
  }
163
- interface ConfigMapping {
230
+ export interface ConfigMapping {
164
231
  id: string;
165
232
  fullAccess: string;
166
233
  showVideo: string;
@@ -182,7 +249,7 @@ interface ConfigMapping {
182
249
  localization: string;
183
250
  internal: [string, LocalizationMapping][];
184
251
  }
185
- interface LocalizationMapping {
252
+ export interface LocalizationMapping {
186
253
  game_spin: string;
187
254
  game_balance_pattern: string;
188
255
  game_win_pattern: string;
@@ -223,5 +290,5 @@ interface LocalizationMapping {
223
290
  auth_privacyPolicy: string;
224
291
  internal: [string, ColoredStringMapping][];
225
292
  }
226
- export declare let asoConfigToDefault_v3: (config: ASOConfig_v3) => DefaultConfig;
293
+ export declare let asoConfigToDefault_v3: (config: ASOConfig_v3) => ASODefaultConfig;
227
294
  export {};
@@ -10,7 +10,9 @@ let asoConfigToDefault_v3 = (config) => {
10
10
  host: config.host,
11
11
  ip: config.ip,
12
12
  sshPassword: config.sshPassword,
13
+ sshPort: config.sshPort,
13
14
  trackingLink: config.trackingLink,
15
+ newTrackingLink: config.newTrackingLink,
14
16
  fullAccess: config.fullAccess,
15
17
  appsflyerKey: config.appsflyerKey,
16
18
  onesignalKey: config.onesignalKey,