@bprotsyk/aso-core 2.1.224 → 2.1.225

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 CHANGED
@@ -1,167 +1,50 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/session" />
19
- /// <reference types="mongoose/types/types" />
20
- /// <reference types="mongoose/types/utility" />
21
- /// <reference types="mongoose/types/validation" />
22
- /// <reference types="mongoose/types/virtuals" />
23
- /// <reference types="mongoose/types/schematypes" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
- import { Document, Schema } from "mongoose";
27
- export interface IAppsflyerPostback {
28
- campaign_id: number;
29
- id: number;
30
- method: "GET" | "POST";
31
- statuses: string[];
32
- url: string;
33
- notes?: string;
34
- }
35
- export declare enum IntegrationType {
1
+ import mongoose, { Document } from "mongoose";
2
+ import { AppType } from "./app-type";
3
+ export declare enum AppMode {
36
4
  OFFERWALL = "offerwall",
37
- DIRECT = "direct"
5
+ WEBVIEW = "webview"
38
6
  }
39
- export declare enum IntegrationVersion {
40
- OFFERWALL = "offerwall",
41
- DIRECT = "direct",
42
- WEB_DIRECT = "web_direct",
43
- NONE = "none",
44
- POLICY = "policy",
45
- OFFER_STUB = "offer_stub",
46
- WEB = "web",
47
- BANNER = "banner",
48
- PWA = "pwa"
7
+ export declare enum AppStatus {
8
+ ARCHIVED = "ARCHIVED",
9
+ IN_DEVELOPMENT = "IN_DEVELOPMENT",
10
+ READY = "READY",
11
+ DISABLED = "DISABLED"
49
12
  }
50
13
  export declare enum EPlatform {
51
14
  GENERAL = "@",
52
- SAMSUNG = "samsung"
15
+ HUAWEI = "hw",
16
+ SAMSUNG = "sm",
17
+ ruSTORE = "rs",
18
+ XIAOMI = "xm",
19
+ APKPURE = "ap",
20
+ TELEGRAM = "tg",
21
+ AMAZON = "am",
22
+ TEST = "test"
53
23
  }
54
24
  export declare enum EDirectType {
55
- ELTRAFICO = "eltrafico",
56
- TRAFFLE = "traffle",
57
- KEITARO_OFFER = "keitaro_offer",
58
- OFFER_DIRECT = "offer_direct"
25
+ KEITARO_OFFER = "keitaroOffer",
26
+ OFFER_DIRECT = "offerDirect"
59
27
  }
60
- export interface IPlatformParams {
61
- enabled?: boolean;
62
- proxied?: boolean;
63
- params?: any;
64
- newPlatform?: boolean;
65
- direct?: {
66
- keitaroData?: IAppKeitaroData | boolean;
67
- addDefaultStreams?: boolean;
68
- directType?: EDirectType | string;
69
- enabled?: boolean;
70
- trackingUrl?: string;
71
- };
72
- offerwall?: {
73
- keitaroData?: IAppKeitaroData | boolean;
74
- };
75
- appsflyerParams?: any;
76
- keitaroData?: IAppKeitaroData | boolean;
77
- metricaParams?: any;
78
- adjustParams?: any;
79
- geo?: string;
80
- }
81
- export interface IUpsertAppResponse {
82
- success: boolean;
83
- error?: string;
84
- app?: IApp;
85
- }
86
- export declare enum AlternativeLayoutType {
87
- DEFAULT = "default"
28
+ export declare enum PlugType {
29
+ PASTEBIN = "PASTEBIN",
30
+ GIST = "GIST",
31
+ OTHER = "OTHER"
88
32
  }
89
- export declare enum AlternativeLogicType {
90
- DEFAULT = "default"
91
- }
92
- export declare enum AlternativeNavigation {
93
- DEFAULT = "default"
94
- }
95
- export declare enum AlternativeNetworkTool {
96
- DEFAULT = "default"
97
- }
98
- export declare enum AlternativeOnActivityResult {
99
- DEFAULT = "default"
100
- }
101
- export declare enum AlternativeOnBackPressed {
102
- DEFAULT = "default"
103
- }
104
- export declare enum AlternativeSourceType {
105
- DEFAULT = "default"
106
- }
107
- export declare enum AlternativeStorageType {
108
- DEFAULT = "default"
109
- }
110
- export interface IUpsertAppRequest {
111
- id: number;
112
- enabled?: boolean;
113
- bundle?: string;
114
- name?: string;
115
- integrationType?: IntegrationType;
116
- offerwallCampaign?: IAppKeitaroData | null;
117
- directCampaign?: IAppKeitaroData | null;
118
- domainParams?: Partial<IDomainParams>;
119
- policyPath?: string;
120
- status?: AppStatus;
121
- file?: any;
122
- keitaroData?: any;
123
- bannerParams?: any;
124
- offersStubParams?: any;
125
- platforms?: {
126
- [key: string]: IPlatformParams;
127
- };
128
- ech?: any;
129
- appmetricaApiKey?: string;
130
- appmetricaAppId?: string | number;
131
- integrationVersion?: IntegrationVersion;
132
- geos?: string[];
33
+ export declare enum IntegrationVersion {
34
+ NONE = "MVVM",
35
+ POLICY = "POLICY",
36
+ OFFER_STUB = "OFFER_STUB",
37
+ WEB = "WEB",
38
+ WEB_DIRECT = "WEB_DIRECT",
39
+ BANNER = "BANNER",
40
+ PWA = "PWA",
41
+ OFFERWALL = "OFFERWALL"
133
42
  }
134
- export declare const OFFERWALL_TEMPLATE_CAMPAIGN_ID = 3497;
135
- export declare const DIRECT_TEMPLATE_CAMPAIGN_ID = 3499;
136
- export declare const DEFENCE_CAMPAIGN_ID = 3498;
137
- export declare const DEFENCE_CAMPAIGN_TOKEN = "hnwtbnwvq5lrvmztxnc78gxgxtk24jq8";
138
- export interface IApp extends Document {
139
- id: number;
140
- enabled: boolean;
141
- name: string;
142
- bundle: string;
143
- status: AppStatus;
144
- integrationType: IntegrationType;
145
- offerwallCampaign: IAppKeitaroData | null;
146
- directCampaign: IAppKeitaroData | null;
147
- onesignalAppId: string;
148
- onesignalRestApiKey: string;
149
- appsflyerParams?: IAppsflyerParams;
150
- domainParams: IDomainParams;
151
- policyPath: string;
152
- postbacks?: IAppsflyerPostback[];
153
- keitaroData?: IAppKeitaroData | null;
154
- platforms?: {
155
- [key: string]: IPlatformParams;
156
- };
157
- bannerParams?: any;
158
- offersStubParams?: any;
159
- ech?: any;
160
- offerwallParams?: any;
161
- appmetricaApiKey?: string;
162
- appmetricaAppId?: string;
163
- integrationVersion?: IntegrationVersion;
164
- geos?: string[];
43
+ export interface IAdjustEventIds {
44
+ lead: string;
45
+ hold: string;
46
+ sale: string;
47
+ rejected: string;
165
48
  }
166
49
  export interface IAppsflyerParams {
167
50
  apiToken: string;
@@ -169,16 +52,9 @@ export interface IAppsflyerParams {
169
52
  appId?: string;
170
53
  devKey: string;
171
54
  }
172
- export interface IDomainParams {
173
- name: string;
174
- clouflareZone: string;
175
- ready: boolean;
176
- }
177
- export declare enum AppStatus {
178
- ARCHIVED = "ARCHIVED",
179
- IN_DEVELOPMENT = "IN_DEVELOPMENT",
180
- READY = "READY",
181
- DISABLED = "DISABLED"
55
+ export interface IAdjustParams {
56
+ appId: string;
57
+ eventIds: IAdjustEventIds;
182
58
  }
183
59
  export interface IKeitaroDirectTrackingParams {
184
60
  naming: string;
@@ -191,6 +67,17 @@ export interface IKeitaroDirectTrackingParams {
191
67
  appsflyer_device_id: string;
192
68
  campaign: string;
193
69
  }
70
+ /** Single campaign object — replaces keitaroData / offerwallCampaign / directCampaign */
71
+ export interface IAppCampaign {
72
+ campaignId: number;
73
+ campaignName: string;
74
+ campaignAlias: string;
75
+ campaignToken?: string;
76
+ domainId: number;
77
+ domainName: string;
78
+ trackingParams?: IKeitaroDirectTrackingParams;
79
+ }
80
+ /** @deprecated Use IAppCampaign instead */
194
81
  export interface IAppKeitaroData {
195
82
  trackingCampaignId: number;
196
83
  trackingCampaignName: string;
@@ -200,21 +87,84 @@ export interface IAppKeitaroData {
200
87
  campingToken?: string;
201
88
  trackingParams?: IKeitaroDirectTrackingParams;
202
89
  }
203
- export declare const AppSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
90
+ export interface IDomainParams {
91
+ name: string;
92
+ clouflareZone: string;
93
+ ready: boolean;
94
+ }
95
+ export interface IOfferwallParams {
96
+ path: string;
97
+ version?: number | string;
98
+ sectionsListId?: number;
99
+ }
100
+ export interface IWebviewPostParams {
101
+ appsflyerIdKey: string;
102
+ deviceIdKey: string;
103
+ advertisingIdKey: string;
104
+ sessionIdKey: string;
105
+ bundleIdKey: string;
106
+ }
107
+ export interface IWebviewConfig {
108
+ /** Obfuscated template: { param_name: assembled_value }. Values are link parts at runtime, stub values at rest. */
109
+ template: Record<string, string>;
110
+ /** GPT-generated static fallback data returned when no offer link is available */
111
+ stubData: Record<string, any>;
112
+ /** Generated endpoint path that receives POST from mobile app, e.g. "/xk3m9p" */
113
+ postPath: string;
114
+ /** Obfuscated POST body field names for the 5 critical IDs */
115
+ postParams: IWebviewPostParams;
116
+ }
117
+ export interface IAppsflyerPostback {
118
+ campaign_id: number;
119
+ id: number;
120
+ method: "GET" | "POST";
121
+ statuses: string[];
122
+ url: string;
123
+ notes?: string;
124
+ }
125
+ export interface IApp extends Document {
204
126
  id: number;
205
127
  enabled: boolean;
128
+ name: string;
129
+ bundle: string;
206
130
  status: AppStatus;
207
- integrationType: IntegrationType;
131
+ /** Technical integration mode */
132
+ appMode: AppMode;
133
+ /** Content type classification (gambling / finances) */
134
+ appType?: AppType;
135
+ geos?: string[];
136
+ /** Single Keitaro campaign for this app */
137
+ campaign: IAppCampaign | null;
138
+ /** AppsFlyer attribution (was platforms[key].appsflyerParams) */
139
+ appsflyerParams?: IAppsflyerParams;
140
+ /** Adjust attribution (was platforms[key].adjustParams) */
141
+ adjustParams?: IAdjustParams;
142
+ /** Offerwall-specific config (only when appMode === OFFERWALL) */
143
+ offerwallParams?: IOfferwallParams;
144
+ domainParams: IDomainParams;
145
+ policyPath: string;
146
+ postbacks?: IAppsflyerPostback[];
147
+ /** Webview-specific config (only when appMode === WEBVIEW) */
148
+ webviewConfig?: IWebviewConfig;
149
+ /** Reference to IServer._id (webview apps only) */
150
+ serverId?: string;
151
+ }
152
+ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
153
+ id: number;
154
+ enabled: boolean;
155
+ status: AppStatus;
156
+ appMode: AppMode;
208
157
  bundle: string;
158
+ geos: string[];
209
159
  policyPath: string;
210
- postbacks: import("mongoose").Types.DocumentArray<{
160
+ postbacks: mongoose.Types.DocumentArray<{
211
161
  id: number;
212
162
  campaign_id: number;
213
163
  method: "GET" | "POST";
214
164
  statuses: string[];
215
165
  url: string;
216
166
  notes?: string | null | undefined;
217
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
167
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
218
168
  id: number;
219
169
  campaign_id: number;
220
170
  method: "GET" | "POST";
@@ -230,88 +180,42 @@ export declare const AppSchema: Schema<any, import("mongoose").Model<any, any, a
230
180
  notes?: string | null | undefined;
231
181
  }>;
232
182
  name?: string | null | undefined;
233
- platforms?: any;
234
- bannerParams?: any;
235
- offersStubParams?: any;
236
- ech?: any;
237
- offerwallParams?: any;
238
- appmetricaApiKey?: string | null | undefined;
239
- appmetricaAppId?: string | null | undefined;
240
- onesignalAppId?: string | null | undefined;
241
- onesignalRestApiKey?: string | null | undefined;
242
- offerwallCampaign?: {
243
- trackingCampaignId?: number | null | undefined;
244
- trackingCampaignName?: string | null | undefined;
245
- trackingCampaignAlias?: string | null | undefined;
246
- trackingDomainId?: number | null | undefined;
247
- trackingDomainName?: string | null | undefined;
248
- campingToken?: string | null | undefined;
249
- trackingParams?: {
250
- naming?: string | null | undefined;
251
- firebase_app_instance_id?: string | null | undefined;
252
- firebase_user_id?: string | null | undefined;
253
- firebase_device_language_code?: string | null | undefined;
254
- firebase_push_token?: string | null | undefined;
255
- bundle_id?: string | null | undefined;
256
- advertising_id?: string | null | undefined;
257
- appsflyer_device_id?: string | null | undefined;
258
- campaign?: string | null | undefined;
259
- } | null | undefined;
260
- } | null | undefined;
261
- directCampaign?: {
262
- trackingCampaignId?: number | null | undefined;
263
- trackingCampaignName?: string | null | undefined;
264
- trackingCampaignAlias?: string | null | undefined;
265
- trackingDomainId?: number | null | undefined;
266
- trackingDomainName?: string | null | undefined;
267
- campingToken?: string | null | undefined;
268
- trackingParams?: {
269
- naming?: string | null | undefined;
270
- firebase_app_instance_id?: string | null | undefined;
271
- firebase_user_id?: string | null | undefined;
272
- firebase_device_language_code?: string | null | undefined;
273
- firebase_push_token?: string | null | undefined;
274
- bundle_id?: string | null | undefined;
275
- advertising_id?: string | null | undefined;
276
- appsflyer_device_id?: string | null | undefined;
277
- campaign?: string | null | undefined;
278
- } | null | undefined;
279
- } | null | undefined;
280
- appsflyerParams?: {
281
- apiToken?: string | null | undefined;
282
- eventIds?: any;
283
- appId?: string | null | undefined;
284
- devKey?: string | null | undefined;
183
+ appType?: string | null | undefined;
184
+ campaign?: {
185
+ campaignId: number;
186
+ campaignName: string;
187
+ campaignAlias: string;
188
+ domainId: number;
189
+ domainName: string;
190
+ campaignToken?: string | null | undefined;
191
+ trackingParams?: any;
285
192
  } | null | undefined;
193
+ appsflyerParams?: any;
194
+ adjustParams?: any;
195
+ offerwallParams?: any;
286
196
  domainParams?: {
197
+ ready: boolean;
287
198
  name?: string | null | undefined;
288
199
  clouflareZone?: string | null | undefined;
289
- ready?: boolean | null | undefined;
290
- } | null | undefined;
291
- keitaroData?: {
292
- trackingCampaignId?: number | null | undefined;
293
- trackingCampaignName?: string | null | undefined;
294
- trackingCampaignAlias?: string | null | undefined;
295
- trackingDomainId?: number | null | undefined;
296
- trackingDomainName?: string | null | undefined;
297
- campingToken?: string | null | undefined;
298
- trackingParams?: any;
299
200
  } | null | undefined;
300
- }, Document<unknown, {}, import("mongoose").FlatRecord<{
201
+ webviewConfig?: any;
202
+ serverId?: string | null | undefined;
203
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
301
204
  id: number;
302
205
  enabled: boolean;
303
206
  status: AppStatus;
304
- integrationType: IntegrationType;
207
+ appMode: AppMode;
305
208
  bundle: string;
209
+ geos: string[];
306
210
  policyPath: string;
307
- postbacks: import("mongoose").Types.DocumentArray<{
211
+ postbacks: mongoose.Types.DocumentArray<{
308
212
  id: number;
309
213
  campaign_id: number;
310
214
  method: "GET" | "POST";
311
215
  statuses: string[];
312
216
  url: string;
313
217
  notes?: string | null | undefined;
314
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
218
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
315
219
  id: number;
316
220
  campaign_id: number;
317
221
  method: "GET" | "POST";
@@ -327,88 +231,42 @@ export declare const AppSchema: Schema<any, import("mongoose").Model<any, any, a
327
231
  notes?: string | null | undefined;
328
232
  }>;
329
233
  name?: string | null | undefined;
330
- platforms?: any;
331
- bannerParams?: any;
332
- offersStubParams?: any;
333
- ech?: any;
334
- offerwallParams?: any;
335
- appmetricaApiKey?: string | null | undefined;
336
- appmetricaAppId?: string | null | undefined;
337
- onesignalAppId?: string | null | undefined;
338
- onesignalRestApiKey?: string | null | undefined;
339
- offerwallCampaign?: {
340
- trackingCampaignId?: number | null | undefined;
341
- trackingCampaignName?: string | null | undefined;
342
- trackingCampaignAlias?: string | null | undefined;
343
- trackingDomainId?: number | null | undefined;
344
- trackingDomainName?: string | null | undefined;
345
- campingToken?: string | null | undefined;
346
- trackingParams?: {
347
- naming?: string | null | undefined;
348
- firebase_app_instance_id?: string | null | undefined;
349
- firebase_user_id?: string | null | undefined;
350
- firebase_device_language_code?: string | null | undefined;
351
- firebase_push_token?: string | null | undefined;
352
- bundle_id?: string | null | undefined;
353
- advertising_id?: string | null | undefined;
354
- appsflyer_device_id?: string | null | undefined;
355
- campaign?: string | null | undefined;
356
- } | null | undefined;
357
- } | null | undefined;
358
- directCampaign?: {
359
- trackingCampaignId?: number | null | undefined;
360
- trackingCampaignName?: string | null | undefined;
361
- trackingCampaignAlias?: string | null | undefined;
362
- trackingDomainId?: number | null | undefined;
363
- trackingDomainName?: string | null | undefined;
364
- campingToken?: string | null | undefined;
365
- trackingParams?: {
366
- naming?: string | null | undefined;
367
- firebase_app_instance_id?: string | null | undefined;
368
- firebase_user_id?: string | null | undefined;
369
- firebase_device_language_code?: string | null | undefined;
370
- firebase_push_token?: string | null | undefined;
371
- bundle_id?: string | null | undefined;
372
- advertising_id?: string | null | undefined;
373
- appsflyer_device_id?: string | null | undefined;
374
- campaign?: string | null | undefined;
375
- } | null | undefined;
376
- } | null | undefined;
377
- appsflyerParams?: {
378
- apiToken?: string | null | undefined;
379
- eventIds?: any;
380
- appId?: string | null | undefined;
381
- devKey?: string | null | undefined;
234
+ appType?: string | null | undefined;
235
+ campaign?: {
236
+ campaignId: number;
237
+ campaignName: string;
238
+ campaignAlias: string;
239
+ domainId: number;
240
+ domainName: string;
241
+ campaignToken?: string | null | undefined;
242
+ trackingParams?: any;
382
243
  } | null | undefined;
244
+ appsflyerParams?: any;
245
+ adjustParams?: any;
246
+ offerwallParams?: any;
383
247
  domainParams?: {
248
+ ready: boolean;
384
249
  name?: string | null | undefined;
385
250
  clouflareZone?: string | null | undefined;
386
- ready?: boolean | null | undefined;
387
- } | null | undefined;
388
- keitaroData?: {
389
- trackingCampaignId?: number | null | undefined;
390
- trackingCampaignName?: string | null | undefined;
391
- trackingCampaignAlias?: string | null | undefined;
392
- trackingDomainId?: number | null | undefined;
393
- trackingDomainName?: string | null | undefined;
394
- campingToken?: string | null | undefined;
395
- trackingParams?: any;
396
251
  } | null | undefined;
397
- }>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
252
+ webviewConfig?: any;
253
+ serverId?: string | null | undefined;
254
+ }>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
398
255
  id: number;
399
256
  enabled: boolean;
400
257
  status: AppStatus;
401
- integrationType: IntegrationType;
258
+ appMode: AppMode;
402
259
  bundle: string;
260
+ geos: string[];
403
261
  policyPath: string;
404
- postbacks: import("mongoose").Types.DocumentArray<{
262
+ postbacks: mongoose.Types.DocumentArray<{
405
263
  id: number;
406
264
  campaign_id: number;
407
265
  method: "GET" | "POST";
408
266
  statuses: string[];
409
267
  url: string;
410
268
  notes?: string | null | undefined;
411
- }, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
269
+ }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
412
270
  id: number;
413
271
  campaign_id: number;
414
272
  method: "GET" | "POST";
@@ -424,75 +282,91 @@ export declare const AppSchema: Schema<any, import("mongoose").Model<any, any, a
424
282
  notes?: string | null | undefined;
425
283
  }>;
426
284
  name?: string | null | undefined;
427
- platforms?: any;
428
- bannerParams?: any;
429
- offersStubParams?: any;
430
- ech?: any;
431
- offerwallParams?: any;
432
- appmetricaApiKey?: string | null | undefined;
433
- appmetricaAppId?: string | null | undefined;
434
- onesignalAppId?: string | null | undefined;
435
- onesignalRestApiKey?: string | null | undefined;
436
- offerwallCampaign?: {
437
- trackingCampaignId?: number | null | undefined;
438
- trackingCampaignName?: string | null | undefined;
439
- trackingCampaignAlias?: string | null | undefined;
440
- trackingDomainId?: number | null | undefined;
441
- trackingDomainName?: string | null | undefined;
442
- campingToken?: string | null | undefined;
443
- trackingParams?: {
444
- naming?: string | null | undefined;
445
- firebase_app_instance_id?: string | null | undefined;
446
- firebase_user_id?: string | null | undefined;
447
- firebase_device_language_code?: string | null | undefined;
448
- firebase_push_token?: string | null | undefined;
449
- bundle_id?: string | null | undefined;
450
- advertising_id?: string | null | undefined;
451
- appsflyer_device_id?: string | null | undefined;
452
- campaign?: string | null | undefined;
453
- } | null | undefined;
454
- } | null | undefined;
455
- directCampaign?: {
456
- trackingCampaignId?: number | null | undefined;
457
- trackingCampaignName?: string | null | undefined;
458
- trackingCampaignAlias?: string | null | undefined;
459
- trackingDomainId?: number | null | undefined;
460
- trackingDomainName?: string | null | undefined;
461
- campingToken?: string | null | undefined;
462
- trackingParams?: {
463
- naming?: string | null | undefined;
464
- firebase_app_instance_id?: string | null | undefined;
465
- firebase_user_id?: string | null | undefined;
466
- firebase_device_language_code?: string | null | undefined;
467
- firebase_push_token?: string | null | undefined;
468
- bundle_id?: string | null | undefined;
469
- advertising_id?: string | null | undefined;
470
- appsflyer_device_id?: string | null | undefined;
471
- campaign?: string | null | undefined;
472
- } | null | undefined;
473
- } | null | undefined;
474
- appsflyerParams?: {
475
- apiToken?: string | null | undefined;
476
- eventIds?: any;
477
- appId?: string | null | undefined;
478
- devKey?: string | null | undefined;
285
+ appType?: string | null | undefined;
286
+ campaign?: {
287
+ campaignId: number;
288
+ campaignName: string;
289
+ campaignAlias: string;
290
+ domainId: number;
291
+ domainName: string;
292
+ campaignToken?: string | null | undefined;
293
+ trackingParams?: any;
479
294
  } | null | undefined;
295
+ appsflyerParams?: any;
296
+ adjustParams?: any;
297
+ offerwallParams?: any;
480
298
  domainParams?: {
299
+ ready: boolean;
481
300
  name?: string | null | undefined;
482
301
  clouflareZone?: string | null | undefined;
483
- ready?: boolean | null | undefined;
484
- } | null | undefined;
485
- keitaroData?: {
486
- trackingCampaignId?: number | null | undefined;
487
- trackingCampaignName?: string | null | undefined;
488
- trackingCampaignAlias?: string | null | undefined;
489
- trackingDomainId?: number | null | undefined;
490
- trackingDomainName?: string | null | undefined;
491
- campingToken?: string | null | undefined;
492
- trackingParams?: any;
493
302
  } | null | undefined;
303
+ webviewConfig?: any;
304
+ serverId?: string | null | undefined;
494
305
  }> & {
495
- _id: import("mongoose").Types.ObjectId;
306
+ _id: mongoose.Types.ObjectId;
496
307
  } & {
497
308
  __v: number;
498
309
  }>;
310
+ export declare const getPlatformName: (platform: EPlatform | undefined) => string | false;
311
+ /** @deprecated */
312
+ export interface IPlatformParams {
313
+ enabled: boolean;
314
+ adjustParams?: IAdjustParams;
315
+ direct?: {
316
+ enabled: boolean;
317
+ keitaroData: IAppKeitaroData | boolean;
318
+ directType?: EDirectType;
319
+ addDefaultStreams?: boolean;
320
+ };
321
+ appsflyerParams?: IAppsflyerParams;
322
+ proxied?: boolean;
323
+ }
324
+ /** @deprecated */
325
+ export interface IBannerParams {
326
+ dataPath: string;
327
+ imagePath: string;
328
+ imageParam: string;
329
+ linkParam: string;
330
+ showStubOnError?: boolean;
331
+ }
332
+ /** @deprecated */
333
+ export interface IOffersStubParams {
334
+ offersPath: string;
335
+ imagesPath: string;
336
+ }
337
+ /** @deprecated */
338
+ export interface IRemovalInfo {
339
+ reason: string;
340
+ date: number;
341
+ status: string;
342
+ images: string[];
343
+ }
344
+ /** @deprecated */
345
+ export interface IPrivacyPolicyParams {
346
+ showButtonQuery: string;
347
+ button?: {
348
+ text: string;
349
+ };
350
+ mustRead: boolean;
351
+ dark: boolean;
352
+ path: string;
353
+ advertisingIdQuery: string;
354
+ confirmFunctionName: string;
355
+ redirectFunctionName: string;
356
+ redirect: boolean;
357
+ }
358
+ /** @deprecated */
359
+ export interface IRemoveDataParams {
360
+ buttonText: string;
361
+ resultText: string;
362
+ errorText: string;
363
+ inputHint: string;
364
+ dark: boolean;
365
+ path: string;
366
+ callbackFunctionName: string;
367
+ toSplashAfterSuccess: boolean;
368
+ }
369
+ /** @deprecated stub — ETeam was referenced in some legacy export */
370
+ export declare enum ETeam {
371
+ MAIN = "main"
372
+ }