@bprotsyk/aso-core 2.1.190 → 2.1.192
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 +14 -1
- package/lib/app/app.js +3 -0
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/app/app.ts +11 -1
- package/src/index.ts +1 -1
package/lib/app/app.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export interface IApp extends Document {
|
|
|
21
21
|
keitaroData: IAppKeitaroData | null;
|
|
22
22
|
bannerParams?: IBannerParams;
|
|
23
23
|
offersStubParams?: IOffersStubParams;
|
|
24
|
+
offerwallParams?: IOfferwallParams;
|
|
25
|
+
integrationVersion?: IntegrationVersion;
|
|
24
26
|
domainParams: IDomainParams;
|
|
25
27
|
platforms: {
|
|
26
28
|
[key: string]: IPlatformParams;
|
|
@@ -97,6 +99,10 @@ export interface IOffersStubParams {
|
|
|
97
99
|
offersPath: string;
|
|
98
100
|
imagesPath: string;
|
|
99
101
|
}
|
|
102
|
+
export interface IOfferwallParams {
|
|
103
|
+
path: string;
|
|
104
|
+
version?: number;
|
|
105
|
+
}
|
|
100
106
|
export declare enum AppStatus {
|
|
101
107
|
ARCHIVED = "ARCHIVED",
|
|
102
108
|
IN_DEVELOPMENT = "IN_DEVELOPMENT",
|
|
@@ -138,7 +144,8 @@ export declare enum IntegrationVersion {
|
|
|
138
144
|
WEB = "WEB",
|
|
139
145
|
WEB_DIRECT = "WEB_DIRECT",
|
|
140
146
|
BANNER = "BANNER",
|
|
141
|
-
PWA = "PWA"
|
|
147
|
+
PWA = "PWA",
|
|
148
|
+
OFFERWALL = "OFFERWALL"
|
|
142
149
|
}
|
|
143
150
|
export interface IKeitaroDirectTrackingParams {
|
|
144
151
|
firebase_app_instance_id: string;
|
|
@@ -200,6 +207,8 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
200
207
|
privacyPolicyParams?: any;
|
|
201
208
|
bannerParams?: any;
|
|
202
209
|
offersStubParams?: any;
|
|
210
|
+
offerwallParams?: any;
|
|
211
|
+
integrationVersion?: string | null | undefined;
|
|
203
212
|
platforms?: any;
|
|
204
213
|
onesignalAppId?: string | null | undefined;
|
|
205
214
|
onesignalRestApiKey?: string | null | undefined;
|
|
@@ -252,6 +261,8 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
252
261
|
privacyPolicyParams?: any;
|
|
253
262
|
bannerParams?: any;
|
|
254
263
|
offersStubParams?: any;
|
|
264
|
+
offerwallParams?: any;
|
|
265
|
+
integrationVersion?: string | null | undefined;
|
|
255
266
|
platforms?: any;
|
|
256
267
|
onesignalAppId?: string | null | undefined;
|
|
257
268
|
onesignalRestApiKey?: string | null | undefined;
|
|
@@ -304,6 +315,8 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
304
315
|
privacyPolicyParams?: any;
|
|
305
316
|
bannerParams?: any;
|
|
306
317
|
offersStubParams?: any;
|
|
318
|
+
offerwallParams?: any;
|
|
319
|
+
integrationVersion?: string | null | undefined;
|
|
307
320
|
platforms?: any;
|
|
308
321
|
onesignalAppId?: string | null | undefined;
|
|
309
322
|
onesignalRestApiKey?: string | null | undefined;
|
package/lib/app/app.js
CHANGED
|
@@ -66,6 +66,7 @@ var IntegrationVersion;
|
|
|
66
66
|
IntegrationVersion["WEB_DIRECT"] = "WEB_DIRECT";
|
|
67
67
|
IntegrationVersion["BANNER"] = "BANNER";
|
|
68
68
|
IntegrationVersion["PWA"] = "PWA";
|
|
69
|
+
IntegrationVersion["OFFERWALL"] = "OFFERWALL";
|
|
69
70
|
})(IntegrationVersion = exports.IntegrationVersion || (exports.IntegrationVersion = {}));
|
|
70
71
|
var PlugType;
|
|
71
72
|
(function (PlugType) {
|
|
@@ -158,6 +159,8 @@ exports.AppSchema = new mongoose_1.Schema({
|
|
|
158
159
|
privacyPolicyParams: Object,
|
|
159
160
|
bannerParams: Object,
|
|
160
161
|
offersStubParams: Object,
|
|
162
|
+
offerwallParams: Object,
|
|
163
|
+
integrationVersion: String,
|
|
161
164
|
domainParams: {
|
|
162
165
|
name: {
|
|
163
166
|
type: String,
|
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { IPush } from "./general/push";
|
|
|
2
2
|
export { IOffer, IPartner, IOfferType } from "./offers/offer";
|
|
3
3
|
export { IOffersSection, OffersSectionSchema, DefaultSectionId } from "./offers/section";
|
|
4
4
|
export { IAppOffersSection, ISectionsList, SectionsListSchema, IOfferState } from "./offers/list";
|
|
5
|
-
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IPlatformParams, EPlatform, AppStatus, IRemovalInfo, EDirectType, IAppsflyerPostback, IBannerParams } from "./app/app";
|
|
5
|
+
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IPlatformParams, EPlatform, AppStatus, IRemovalInfo, EDirectType, IAppsflyerPostback, IBannerParams, IOfferwallParams } from "./app/app";
|
|
6
6
|
export { IAppListItem } from "./app/app-list-item";
|
|
7
7
|
export { AppType } from "./app/app-type";
|
|
8
8
|
export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IAppIntegration as IFlashIntegration } from "./app/app-integration";
|
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -30,6 +30,8 @@ export interface IApp extends Document {
|
|
|
30
30
|
|
|
31
31
|
bannerParams?: IBannerParams,
|
|
32
32
|
offersStubParams?: IOffersStubParams,
|
|
33
|
+
offerwallParams?: IOfferwallParams,
|
|
34
|
+
integrationVersion?: IntegrationVersion,
|
|
33
35
|
domainParams: IDomainParams
|
|
34
36
|
platforms: { [key: string]: IPlatformParams },
|
|
35
37
|
|
|
@@ -138,6 +140,11 @@ export interface IOffersStubParams {
|
|
|
138
140
|
imagesPath: string,
|
|
139
141
|
}
|
|
140
142
|
|
|
143
|
+
export interface IOfferwallParams {
|
|
144
|
+
path: string,
|
|
145
|
+
version?: number,
|
|
146
|
+
}
|
|
147
|
+
|
|
141
148
|
export enum AppStatus {
|
|
142
149
|
ARCHIVED = "ARCHIVED",
|
|
143
150
|
IN_DEVELOPMENT = "IN_DEVELOPMENT",
|
|
@@ -187,7 +194,8 @@ export enum IntegrationVersion {
|
|
|
187
194
|
WEB = "WEB",
|
|
188
195
|
WEB_DIRECT = "WEB_DIRECT",
|
|
189
196
|
BANNER = "BANNER",
|
|
190
|
-
PWA = "PWA"
|
|
197
|
+
PWA = "PWA",
|
|
198
|
+
OFFERWALL = "OFFERWALL"
|
|
191
199
|
}
|
|
192
200
|
|
|
193
201
|
export interface IKeitaroDirectTrackingParams {
|
|
@@ -304,6 +312,8 @@ export const AppSchema = new Schema({
|
|
|
304
312
|
privacyPolicyParams: Object,
|
|
305
313
|
bannerParams: Object,
|
|
306
314
|
offersStubParams: Object,
|
|
315
|
+
offerwallParams: Object,
|
|
316
|
+
integrationVersion: String,
|
|
307
317
|
domainParams: {
|
|
308
318
|
name: {
|
|
309
319
|
type: String,
|
package/src/index.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { IOffer, IPartner, IOfferType } from "./offers/offer"
|
|
|
4
4
|
export { IOffersSection, OffersSectionSchema, DefaultSectionId } from "./offers/section"
|
|
5
5
|
export { IAppOffersSection, ISectionsList, SectionsListSchema, IOfferState } from "./offers/list"
|
|
6
6
|
|
|
7
|
-
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IPlatformParams, EPlatform, AppStatus, IRemovalInfo, EDirectType, IAppsflyerPostback, IBannerParams } from "./app/app"
|
|
7
|
+
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IPlatformParams, EPlatform, AppStatus, IRemovalInfo, EDirectType, IAppsflyerPostback, IBannerParams, IOfferwallParams } from "./app/app"
|
|
8
8
|
export { IAppListItem } from "./app/app-list-item"
|
|
9
9
|
export { AppType } from "./app/app-type"
|
|
10
10
|
export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IAppIntegration as IFlashIntegration } from "./app/app-integration"
|