@bprotsyk/aso-core 2.1.76 → 2.1.78

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
@@ -28,6 +28,7 @@ export interface IApp extends Document {
28
28
  offersListId: number;
29
29
  externalParams?: IExternalParams;
30
30
  proxied: boolean;
31
+ ech?: boolean;
31
32
  imageFormat: EImageFormat;
32
33
  }
33
34
  export declare enum EImageFormat {
@@ -73,7 +74,6 @@ export interface IPlatformParams {
73
74
  eventIds?: Record<string, string>;
74
75
  };
75
76
  proxied?: boolean;
76
- ech?: boolean;
77
77
  keitaroData?: IAppKeitaroData | boolean;
78
78
  }
79
79
  export interface IAdjustEventIds {
@@ -163,6 +163,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
163
163
  geo: string[];
164
164
  enabled: boolean;
165
165
  proxied: boolean;
166
+ ech: boolean;
166
167
  imageFormat: string;
167
168
  bundle: string;
168
169
  trackingUrl: string;
@@ -201,6 +202,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
201
202
  geo: string[];
202
203
  enabled: boolean;
203
204
  proxied: boolean;
205
+ ech: boolean;
204
206
  imageFormat: string;
205
207
  bundle: string;
206
208
  trackingUrl: string;
@@ -239,6 +241,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
239
241
  geo: string[];
240
242
  enabled: boolean;
241
243
  proxied: boolean;
244
+ ech: boolean;
242
245
  imageFormat: string;
243
246
  bundle: string;
244
247
  trackingUrl: string;
package/lib/app/app.js CHANGED
@@ -81,6 +81,10 @@ exports.AppSchema = new mongoose_1.Schema({
81
81
  require: true,
82
82
  default: true
83
83
  },
84
+ ech: {
85
+ type: Boolean,
86
+ default: false
87
+ },
84
88
  imageFormat: {
85
89
  type: String,
86
90
  enum: EImageFormat,
@@ -20,6 +20,7 @@ export interface IUpsertAppRequest {
20
20
  [key: string]: IPlatformParams;
21
21
  };
22
22
  proxied: boolean;
23
+ ech: boolean;
23
24
  imageFormat?: EImageFormat;
24
25
  file?: any;
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.76",
3
+ "version": "2.1.78",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
package/src/app/app.ts CHANGED
@@ -37,6 +37,7 @@ export interface IApp extends Document {
37
37
  offersListId: number,
38
38
  externalParams?: IExternalParams,
39
39
  proxied: boolean,
40
+ ech?: boolean,
40
41
  imageFormat: EImageFormat
41
42
  }
42
43
 
@@ -111,7 +112,7 @@ export interface IPlatformParams {
111
112
  eventIds?: Record<string, string>,
112
113
  },
113
114
  proxied?: boolean,
114
- ech?: boolean,
115
+
115
116
  keitaroData?: IAppKeitaroData | boolean
116
117
  }
117
118
 
@@ -228,6 +229,10 @@ export const AppSchema = new Schema({
228
229
  require: true,
229
230
  default: true
230
231
  },
232
+ ech: {
233
+ type: Boolean,
234
+ default: false
235
+ },
231
236
  imageFormat: {
232
237
  type: String,
233
238
  enum: EImageFormat,
@@ -26,6 +26,7 @@ export interface IUpsertAppRequest {
26
26
  externalParams?: IExternalParams,
27
27
  platforms: { [key: string]: IPlatformParams },
28
28
  proxied: boolean,
29
+ ech: boolean,
29
30
  imageFormat?: EImageFormat,
30
31
  file?: any
31
32
  }