@bprotsyk/aso-core 2.1.192 → 2.1.196
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 +189 -187
- package/lib/app/app.js +58 -123
- package/lib/general/domain.d.ts +3 -3
- package/lib/general/domain.js +1 -1
- package/lib/index.d.ts +1 -8
- package/lib/index.js +6 -46
- package/lib/keitaro/keitaro-campaign.d.ts +1 -0
- package/lib/network/keitaro/http.js +1 -1
- package/lib/network/keitaro/keitaro-service.d.ts +25 -38
- package/lib/network/keitaro/keitaro-service.js +105 -450
- package/lib/network/keitaro/traffle/traffle-keitaro-service.js +6 -4
- package/lib/panel/app/upsert-flash-app-request.d.ts +4 -2
- package/package.json +1 -1
- package/src/app/app.ts +94 -242
- package/src/general/domain.ts +1 -1
- package/src/index.ts +16 -11
- package/src/keitaro/keitaro-campaign.ts +1 -0
- package/src/network/keitaro/http.ts +1 -1
- package/src/network/keitaro/keitaro-service.ts +131 -545
- package/src/keitaro/keitaro-clo-geos.ts +0 -389
- package/src/network/keitaro/traffle/traffle-keitaro-service.ts +0 -1574
- package/src/panel/app/upsert-flash-app-request.ts +0 -34
- package/src/utils/keitaro-utils.ts +0 -853
- package/src/utils/traffle-keitaro-utils.ts +0 -45
package/lib/app/app.d.ts
CHANGED
|
@@ -1,4 +1,29 @@
|
|
|
1
|
-
|
|
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";
|
|
2
27
|
export interface IAppsflyerPostback {
|
|
3
28
|
campaign_id: number;
|
|
4
29
|
id: number;
|
|
@@ -7,147 +32,48 @@ export interface IAppsflyerPostback {
|
|
|
7
32
|
url: string;
|
|
8
33
|
notes?: string;
|
|
9
34
|
}
|
|
35
|
+
export declare enum IntegrationType {
|
|
36
|
+
OFFERWALL = "offerwall",
|
|
37
|
+
DIRECT = "direct"
|
|
38
|
+
}
|
|
39
|
+
export declare const OFFERWALL_TEMPLATE_CAMPAIGN_ID = 3497;
|
|
40
|
+
export declare const DIRECT_TEMPLATE_CAMPAIGN_ID = 3499;
|
|
41
|
+
export declare const DEFENCE_CAMPAIGN_ID = 3498;
|
|
42
|
+
export declare const DEFENCE_CAMPAIGN_TOKEN = "hnwtbnwvq5lrvmztxnc78gxgxtk24jq8";
|
|
10
43
|
export interface IApp extends Document {
|
|
11
44
|
id: number;
|
|
12
45
|
enabled: boolean;
|
|
13
46
|
name: string;
|
|
14
47
|
bundle: string;
|
|
15
48
|
status: AppStatus;
|
|
16
|
-
|
|
49
|
+
integrationType: IntegrationType;
|
|
50
|
+
offerwallCampaign: IAppKeitaroData | null;
|
|
51
|
+
directCampaign: IAppKeitaroData | null;
|
|
17
52
|
onesignalAppId: string;
|
|
18
53
|
onesignalRestApiKey: string;
|
|
19
|
-
|
|
20
|
-
appmetricaAppId?: number;
|
|
21
|
-
keitaroData: IAppKeitaroData | null;
|
|
22
|
-
bannerParams?: IBannerParams;
|
|
23
|
-
offersStubParams?: IOffersStubParams;
|
|
24
|
-
offerwallParams?: IOfferwallParams;
|
|
25
|
-
integrationVersion?: IntegrationVersion;
|
|
54
|
+
appsflyerParams?: IAppsflyerParams;
|
|
26
55
|
domainParams: IDomainParams;
|
|
27
|
-
platforms: {
|
|
28
|
-
[key: string]: IPlatformParams;
|
|
29
|
-
};
|
|
30
|
-
ech?: boolean;
|
|
31
56
|
policyPath: string;
|
|
32
57
|
postbacks?: IAppsflyerPostback[];
|
|
33
58
|
}
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
GENERAL = "@",
|
|
40
|
-
HUAWEI = "hw",
|
|
41
|
-
SAMSUNG = "sm",
|
|
42
|
-
ruSTORE = "rs",
|
|
43
|
-
XIAOMI = "xm",
|
|
44
|
-
APKPURE = "ap",
|
|
45
|
-
TELEGRAM = "tg",
|
|
46
|
-
AMAZON = "am",
|
|
47
|
-
TEST = "test"
|
|
48
|
-
}
|
|
49
|
-
export declare enum EDirectType {
|
|
50
|
-
KEITARO_OFFER = "keitaroOffer",
|
|
51
|
-
OFFER_DIRECT = "offerDirect",
|
|
52
|
-
TRAFFLE_KEITARO_OFFER = "traffleKeitaroOffer",
|
|
53
|
-
TRAFFLE_OFFER_DIRECT = "traffleOfferDirect"
|
|
54
|
-
}
|
|
55
|
-
export declare const getPlatformName: (platform: EPlatform | undefined) => string | false;
|
|
56
|
-
export interface IPlatformParams {
|
|
57
|
-
enabled: boolean;
|
|
58
|
-
adjustParams?: {
|
|
59
|
-
appId: string;
|
|
60
|
-
eventIds: IAdjustEventIds;
|
|
61
|
-
};
|
|
62
|
-
direct?: {
|
|
63
|
-
enabled: boolean;
|
|
64
|
-
keitaroData: IAppKeitaroData | boolean;
|
|
65
|
-
directType?: EDirectType;
|
|
66
|
-
addDefaultStreams?: boolean;
|
|
67
|
-
};
|
|
68
|
-
metricaParams?: {
|
|
69
|
-
appId: number;
|
|
70
|
-
postApiKey: string;
|
|
71
|
-
};
|
|
72
|
-
appsflyerParams?: {
|
|
73
|
-
apiToken: string;
|
|
74
|
-
eventIds?: Record<string, string>;
|
|
75
|
-
appId?: string;
|
|
76
|
-
devKey: string;
|
|
77
|
-
};
|
|
78
|
-
proxied?: boolean;
|
|
79
|
-
}
|
|
80
|
-
export interface IAdjustEventIds {
|
|
81
|
-
lead: string;
|
|
82
|
-
hold: string;
|
|
83
|
-
sale: string;
|
|
84
|
-
rejected: string;
|
|
59
|
+
export interface IAppsflyerParams {
|
|
60
|
+
apiToken: string;
|
|
61
|
+
eventIds?: Record<string, string>;
|
|
62
|
+
appId?: string;
|
|
63
|
+
devKey: string;
|
|
85
64
|
}
|
|
86
65
|
export interface IDomainParams {
|
|
87
66
|
name: string;
|
|
88
67
|
clouflareZone: string;
|
|
89
68
|
ready: boolean;
|
|
90
69
|
}
|
|
91
|
-
export interface IBannerParams {
|
|
92
|
-
dataPath: string;
|
|
93
|
-
imagePath: string;
|
|
94
|
-
imageParam: string;
|
|
95
|
-
linkParam: string;
|
|
96
|
-
showStubOnError?: boolean;
|
|
97
|
-
}
|
|
98
|
-
export interface IOffersStubParams {
|
|
99
|
-
offersPath: string;
|
|
100
|
-
imagesPath: string;
|
|
101
|
-
}
|
|
102
|
-
export interface IOfferwallParams {
|
|
103
|
-
path: string;
|
|
104
|
-
version?: number;
|
|
105
|
-
}
|
|
106
70
|
export declare enum AppStatus {
|
|
107
71
|
ARCHIVED = "ARCHIVED",
|
|
108
72
|
IN_DEVELOPMENT = "IN_DEVELOPMENT",
|
|
109
73
|
READY = "READY"
|
|
110
74
|
}
|
|
111
|
-
export interface IRemoveDataParams {
|
|
112
|
-
buttonText: string;
|
|
113
|
-
resultText: string;
|
|
114
|
-
errorText: string;
|
|
115
|
-
inputHint: string;
|
|
116
|
-
dark: boolean;
|
|
117
|
-
path: string;
|
|
118
|
-
callbackFunctionName: string;
|
|
119
|
-
toSplashAfterSuccess: boolean;
|
|
120
|
-
}
|
|
121
|
-
export interface IRemovalInfo {
|
|
122
|
-
reason: string;
|
|
123
|
-
date: number;
|
|
124
|
-
status: string;
|
|
125
|
-
images: string[];
|
|
126
|
-
}
|
|
127
|
-
export interface IPrivacyPolicyParams {
|
|
128
|
-
showButtonQuery: string;
|
|
129
|
-
button?: {
|
|
130
|
-
text: string;
|
|
131
|
-
};
|
|
132
|
-
mustRead: boolean;
|
|
133
|
-
dark: boolean;
|
|
134
|
-
path: string;
|
|
135
|
-
advertisingIdQuery: string;
|
|
136
|
-
confirmFunctionName: string;
|
|
137
|
-
redirectFunctionName: string;
|
|
138
|
-
redirect: boolean;
|
|
139
|
-
}
|
|
140
|
-
export declare enum IntegrationVersion {
|
|
141
|
-
NONE = "MVVM",
|
|
142
|
-
POLICY = "POLICY",
|
|
143
|
-
OFFER_STUB = "OFFER_STUB",
|
|
144
|
-
WEB = "WEB",
|
|
145
|
-
WEB_DIRECT = "WEB_DIRECT",
|
|
146
|
-
BANNER = "BANNER",
|
|
147
|
-
PWA = "PWA",
|
|
148
|
-
OFFERWALL = "OFFERWALL"
|
|
149
|
-
}
|
|
150
75
|
export interface IKeitaroDirectTrackingParams {
|
|
76
|
+
naming: string;
|
|
151
77
|
firebase_app_instance_id: string;
|
|
152
78
|
firebase_user_id: string;
|
|
153
79
|
firebase_device_language_code: string;
|
|
@@ -166,28 +92,21 @@ export interface IAppKeitaroData {
|
|
|
166
92
|
campingToken?: string;
|
|
167
93
|
trackingParams?: IKeitaroDirectTrackingParams;
|
|
168
94
|
}
|
|
169
|
-
export declare
|
|
170
|
-
PASTEBIN = "PASTEBIN",
|
|
171
|
-
GIST = "GIST",
|
|
172
|
-
OTHER = "OTHER"
|
|
173
|
-
}
|
|
174
|
-
export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
95
|
+
export declare const AppSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
175
96
|
id: number;
|
|
176
97
|
enabled: boolean;
|
|
177
|
-
ech: boolean;
|
|
178
98
|
status: AppStatus;
|
|
179
|
-
|
|
99
|
+
integrationType: IntegrationType;
|
|
180
100
|
bundle: string;
|
|
181
|
-
removeInfo: any;
|
|
182
101
|
policyPath: string;
|
|
183
|
-
postbacks: mongoose.Types.DocumentArray<{
|
|
102
|
+
postbacks: import("mongoose").Types.DocumentArray<{
|
|
184
103
|
id: number;
|
|
185
104
|
campaign_id: number;
|
|
186
105
|
method: "GET" | "POST";
|
|
187
106
|
statuses: string[];
|
|
188
107
|
url: string;
|
|
189
108
|
notes?: string | null | undefined;
|
|
190
|
-
}, mongoose.Types.Subdocument<
|
|
109
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
191
110
|
id: number;
|
|
192
111
|
campaign_id: number;
|
|
193
112
|
method: "GET" | "POST";
|
|
@@ -203,45 +122,72 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
203
122
|
notes?: string | null | undefined;
|
|
204
123
|
}>;
|
|
205
124
|
name?: string | null | undefined;
|
|
206
|
-
removeDataParams?: any;
|
|
207
|
-
privacyPolicyParams?: any;
|
|
208
|
-
bannerParams?: any;
|
|
209
|
-
offersStubParams?: any;
|
|
210
|
-
offerwallParams?: any;
|
|
211
|
-
integrationVersion?: string | null | undefined;
|
|
212
|
-
platforms?: any;
|
|
213
125
|
onesignalAppId?: string | null | undefined;
|
|
214
126
|
onesignalRestApiKey?: string | null | undefined;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
127
|
+
offerwallCampaign?: {
|
|
128
|
+
trackingCampaignId?: number | null | undefined;
|
|
129
|
+
trackingCampaignName?: string | null | undefined;
|
|
130
|
+
trackingCampaignAlias?: string | null | undefined;
|
|
131
|
+
trackingDomainId?: number | null | undefined;
|
|
132
|
+
trackingDomainName?: string | null | undefined;
|
|
133
|
+
campingToken?: string | null | undefined;
|
|
134
|
+
trackingParams?: {
|
|
135
|
+
naming?: string | null | undefined;
|
|
136
|
+
firebase_app_instance_id?: string | null | undefined;
|
|
137
|
+
firebase_user_id?: string | null | undefined;
|
|
138
|
+
firebase_device_language_code?: string | null | undefined;
|
|
139
|
+
firebase_push_token?: string | null | undefined;
|
|
140
|
+
bundle_id?: string | null | undefined;
|
|
141
|
+
advertising_id?: string | null | undefined;
|
|
142
|
+
appsflyer_device_id?: string | null | undefined;
|
|
143
|
+
campaign?: string | null | undefined;
|
|
144
|
+
} | null | undefined;
|
|
145
|
+
} | null | undefined;
|
|
146
|
+
directCampaign?: {
|
|
147
|
+
trackingCampaignId?: number | null | undefined;
|
|
148
|
+
trackingCampaignName?: string | null | undefined;
|
|
149
|
+
trackingCampaignAlias?: string | null | undefined;
|
|
150
|
+
trackingDomainId?: number | null | undefined;
|
|
151
|
+
trackingDomainName?: string | null | undefined;
|
|
152
|
+
campingToken?: string | null | undefined;
|
|
153
|
+
trackingParams?: {
|
|
154
|
+
naming?: string | null | undefined;
|
|
155
|
+
firebase_app_instance_id?: string | null | undefined;
|
|
156
|
+
firebase_user_id?: string | null | undefined;
|
|
157
|
+
firebase_device_language_code?: string | null | undefined;
|
|
158
|
+
firebase_push_token?: string | null | undefined;
|
|
159
|
+
bundle_id?: string | null | undefined;
|
|
160
|
+
advertising_id?: string | null | undefined;
|
|
161
|
+
appsflyer_device_id?: string | null | undefined;
|
|
162
|
+
campaign?: string | null | undefined;
|
|
163
|
+
} | null | undefined;
|
|
164
|
+
} | null | undefined;
|
|
165
|
+
appsflyerParams?: {
|
|
166
|
+
apiToken?: string | null | undefined;
|
|
167
|
+
eventIds?: any;
|
|
168
|
+
appId?: string | null | undefined;
|
|
169
|
+
devKey?: string | null | undefined;
|
|
223
170
|
} | null | undefined;
|
|
224
171
|
domainParams?: {
|
|
225
172
|
name?: string | null | undefined;
|
|
226
173
|
clouflareZone?: string | null | undefined;
|
|
174
|
+
ready?: boolean | null | undefined;
|
|
227
175
|
} | null | undefined;
|
|
228
|
-
},
|
|
176
|
+
}, Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
229
177
|
id: number;
|
|
230
178
|
enabled: boolean;
|
|
231
|
-
ech: boolean;
|
|
232
179
|
status: AppStatus;
|
|
233
|
-
|
|
180
|
+
integrationType: IntegrationType;
|
|
234
181
|
bundle: string;
|
|
235
|
-
removeInfo: any;
|
|
236
182
|
policyPath: string;
|
|
237
|
-
postbacks: mongoose.Types.DocumentArray<{
|
|
183
|
+
postbacks: import("mongoose").Types.DocumentArray<{
|
|
238
184
|
id: number;
|
|
239
185
|
campaign_id: number;
|
|
240
186
|
method: "GET" | "POST";
|
|
241
187
|
statuses: string[];
|
|
242
188
|
url: string;
|
|
243
189
|
notes?: string | null | undefined;
|
|
244
|
-
}, mongoose.Types.Subdocument<
|
|
190
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
245
191
|
id: number;
|
|
246
192
|
campaign_id: number;
|
|
247
193
|
method: "GET" | "POST";
|
|
@@ -257,45 +203,72 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
257
203
|
notes?: string | null | undefined;
|
|
258
204
|
}>;
|
|
259
205
|
name?: string | null | undefined;
|
|
260
|
-
removeDataParams?: any;
|
|
261
|
-
privacyPolicyParams?: any;
|
|
262
|
-
bannerParams?: any;
|
|
263
|
-
offersStubParams?: any;
|
|
264
|
-
offerwallParams?: any;
|
|
265
|
-
integrationVersion?: string | null | undefined;
|
|
266
|
-
platforms?: any;
|
|
267
206
|
onesignalAppId?: string | null | undefined;
|
|
268
207
|
onesignalRestApiKey?: string | null | undefined;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
208
|
+
offerwallCampaign?: {
|
|
209
|
+
trackingCampaignId?: number | null | undefined;
|
|
210
|
+
trackingCampaignName?: string | null | undefined;
|
|
211
|
+
trackingCampaignAlias?: string | null | undefined;
|
|
212
|
+
trackingDomainId?: number | null | undefined;
|
|
213
|
+
trackingDomainName?: string | null | undefined;
|
|
214
|
+
campingToken?: string | null | undefined;
|
|
215
|
+
trackingParams?: {
|
|
216
|
+
naming?: string | null | undefined;
|
|
217
|
+
firebase_app_instance_id?: string | null | undefined;
|
|
218
|
+
firebase_user_id?: string | null | undefined;
|
|
219
|
+
firebase_device_language_code?: string | null | undefined;
|
|
220
|
+
firebase_push_token?: string | null | undefined;
|
|
221
|
+
bundle_id?: string | null | undefined;
|
|
222
|
+
advertising_id?: string | null | undefined;
|
|
223
|
+
appsflyer_device_id?: string | null | undefined;
|
|
224
|
+
campaign?: string | null | undefined;
|
|
225
|
+
} | null | undefined;
|
|
226
|
+
} | null | undefined;
|
|
227
|
+
directCampaign?: {
|
|
228
|
+
trackingCampaignId?: number | null | undefined;
|
|
229
|
+
trackingCampaignName?: string | null | undefined;
|
|
230
|
+
trackingCampaignAlias?: string | null | undefined;
|
|
231
|
+
trackingDomainId?: number | null | undefined;
|
|
232
|
+
trackingDomainName?: string | null | undefined;
|
|
233
|
+
campingToken?: string | null | undefined;
|
|
234
|
+
trackingParams?: {
|
|
235
|
+
naming?: string | null | undefined;
|
|
236
|
+
firebase_app_instance_id?: string | null | undefined;
|
|
237
|
+
firebase_user_id?: string | null | undefined;
|
|
238
|
+
firebase_device_language_code?: string | null | undefined;
|
|
239
|
+
firebase_push_token?: string | null | undefined;
|
|
240
|
+
bundle_id?: string | null | undefined;
|
|
241
|
+
advertising_id?: string | null | undefined;
|
|
242
|
+
appsflyer_device_id?: string | null | undefined;
|
|
243
|
+
campaign?: string | null | undefined;
|
|
244
|
+
} | null | undefined;
|
|
245
|
+
} | null | undefined;
|
|
246
|
+
appsflyerParams?: {
|
|
247
|
+
apiToken?: string | null | undefined;
|
|
248
|
+
eventIds?: any;
|
|
249
|
+
appId?: string | null | undefined;
|
|
250
|
+
devKey?: string | null | undefined;
|
|
277
251
|
} | null | undefined;
|
|
278
252
|
domainParams?: {
|
|
279
253
|
name?: string | null | undefined;
|
|
280
254
|
clouflareZone?: string | null | undefined;
|
|
255
|
+
ready?: boolean | null | undefined;
|
|
281
256
|
} | null | undefined;
|
|
282
|
-
}>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
|
|
257
|
+
}>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<{
|
|
283
258
|
id: number;
|
|
284
259
|
enabled: boolean;
|
|
285
|
-
ech: boolean;
|
|
286
260
|
status: AppStatus;
|
|
287
|
-
|
|
261
|
+
integrationType: IntegrationType;
|
|
288
262
|
bundle: string;
|
|
289
|
-
removeInfo: any;
|
|
290
263
|
policyPath: string;
|
|
291
|
-
postbacks: mongoose.Types.DocumentArray<{
|
|
264
|
+
postbacks: import("mongoose").Types.DocumentArray<{
|
|
292
265
|
id: number;
|
|
293
266
|
campaign_id: number;
|
|
294
267
|
method: "GET" | "POST";
|
|
295
268
|
statuses: string[];
|
|
296
269
|
url: string;
|
|
297
270
|
notes?: string | null | undefined;
|
|
298
|
-
}, mongoose.Types.Subdocument<
|
|
271
|
+
}, import("mongoose").Types.Subdocument<import("bson").ObjectId, any, {
|
|
299
272
|
id: number;
|
|
300
273
|
campaign_id: number;
|
|
301
274
|
method: "GET" | "POST";
|
|
@@ -311,30 +284,59 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
311
284
|
notes?: string | null | undefined;
|
|
312
285
|
}>;
|
|
313
286
|
name?: string | null | undefined;
|
|
314
|
-
removeDataParams?: any;
|
|
315
|
-
privacyPolicyParams?: any;
|
|
316
|
-
bannerParams?: any;
|
|
317
|
-
offersStubParams?: any;
|
|
318
|
-
offerwallParams?: any;
|
|
319
|
-
integrationVersion?: string | null | undefined;
|
|
320
|
-
platforms?: any;
|
|
321
287
|
onesignalAppId?: string | null | undefined;
|
|
322
288
|
onesignalRestApiKey?: string | null | undefined;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
289
|
+
offerwallCampaign?: {
|
|
290
|
+
trackingCampaignId?: number | null | undefined;
|
|
291
|
+
trackingCampaignName?: string | null | undefined;
|
|
292
|
+
trackingCampaignAlias?: string | null | undefined;
|
|
293
|
+
trackingDomainId?: number | null | undefined;
|
|
294
|
+
trackingDomainName?: string | null | undefined;
|
|
295
|
+
campingToken?: string | null | undefined;
|
|
296
|
+
trackingParams?: {
|
|
297
|
+
naming?: string | null | undefined;
|
|
298
|
+
firebase_app_instance_id?: string | null | undefined;
|
|
299
|
+
firebase_user_id?: string | null | undefined;
|
|
300
|
+
firebase_device_language_code?: string | null | undefined;
|
|
301
|
+
firebase_push_token?: string | null | undefined;
|
|
302
|
+
bundle_id?: string | null | undefined;
|
|
303
|
+
advertising_id?: string | null | undefined;
|
|
304
|
+
appsflyer_device_id?: string | null | undefined;
|
|
305
|
+
campaign?: string | null | undefined;
|
|
306
|
+
} | null | undefined;
|
|
307
|
+
} | null | undefined;
|
|
308
|
+
directCampaign?: {
|
|
309
|
+
trackingCampaignId?: number | null | undefined;
|
|
310
|
+
trackingCampaignName?: string | null | undefined;
|
|
311
|
+
trackingCampaignAlias?: string | null | undefined;
|
|
312
|
+
trackingDomainId?: number | null | undefined;
|
|
313
|
+
trackingDomainName?: string | null | undefined;
|
|
314
|
+
campingToken?: string | null | undefined;
|
|
315
|
+
trackingParams?: {
|
|
316
|
+
naming?: string | null | undefined;
|
|
317
|
+
firebase_app_instance_id?: string | null | undefined;
|
|
318
|
+
firebase_user_id?: string | null | undefined;
|
|
319
|
+
firebase_device_language_code?: string | null | undefined;
|
|
320
|
+
firebase_push_token?: string | null | undefined;
|
|
321
|
+
bundle_id?: string | null | undefined;
|
|
322
|
+
advertising_id?: string | null | undefined;
|
|
323
|
+
appsflyer_device_id?: string | null | undefined;
|
|
324
|
+
campaign?: string | null | undefined;
|
|
325
|
+
} | null | undefined;
|
|
326
|
+
} | null | undefined;
|
|
327
|
+
appsflyerParams?: {
|
|
328
|
+
apiToken?: string | null | undefined;
|
|
329
|
+
eventIds?: any;
|
|
330
|
+
appId?: string | null | undefined;
|
|
331
|
+
devKey?: string | null | undefined;
|
|
331
332
|
} | null | undefined;
|
|
332
333
|
domainParams?: {
|
|
333
334
|
name?: string | null | undefined;
|
|
334
335
|
clouflareZone?: string | null | undefined;
|
|
336
|
+
ready?: boolean | null | undefined;
|
|
335
337
|
} | null | undefined;
|
|
336
338
|
}> & {
|
|
337
|
-
_id: mongoose.Types.ObjectId;
|
|
339
|
+
_id: import("mongoose").Types.ObjectId;
|
|
338
340
|
} & {
|
|
339
341
|
__v: number;
|
|
340
342
|
}>;
|