@bprotsyk/aso-core 1.2.149 → 1.2.151

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.
@@ -20,6 +20,7 @@ export interface IFlashApp extends Document {
20
20
  geos: string;
21
21
  onesignalAppId: string;
22
22
  onesignalRestApiKey: string;
23
+ webInterfaceName: string;
23
24
  generationOptions: IAppGenerationOptions;
24
25
  keitaroData: IAppKeitaroData | null;
25
26
  integrationVersion: IntegrationVersion;
@@ -108,6 +109,7 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
108
109
  onesignalAppId: string;
109
110
  onesignalRestApiKey: string;
110
111
  name?: string | undefined;
112
+ webInterfaceName?: string | undefined;
111
113
  pushesEnabled?: boolean | undefined;
112
114
  sourceUrl?: string | undefined;
113
115
  integrationVersion?: number | undefined;
@@ -42,6 +42,7 @@ exports.FlashAppSchema = new mongoose_1.Schema({
42
42
  type: String,
43
43
  default: null
44
44
  },
45
+ webInterfaceName: String,
45
46
  pushesEnabled: Boolean,
46
47
  sourceUrl: String,
47
48
  policyUrl: {
@@ -5,6 +5,7 @@ export interface IUpsertFlashAppRequest {
5
5
  bundle: string;
6
6
  sourceUrl?: string;
7
7
  enabled: boolean;
8
+ geos: string;
8
9
  onesignalAppId: string;
9
10
  onesignalRestApiKey: string;
10
11
  policyUrl: string;
@@ -290,7 +290,7 @@ function createBPStreamPartialPayload(app) {
290
290
  filters: [{
291
291
  name: "country",
292
292
  mode: "reject",
293
- payload: app.geos.split(",")
293
+ payload: app.geos.split(" ")
294
294
  }, {
295
295
  name: "bot",
296
296
  mode: "accept",
@@ -311,7 +311,7 @@ function createOWStreamPartialPayload(app) {
311
311
  filters: [{
312
312
  name: "country",
313
313
  mode: "accept",
314
- payload: app.geos.split(",")
314
+ payload: app.geos.split(" ")
315
315
  }],
316
316
  };
317
317
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.149",
3
+ "version": "1.2.151",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -26,6 +26,8 @@ export interface IFlashApp extends Document {
26
26
  onesignalAppId: string
27
27
  onesignalRestApiKey: string
28
28
 
29
+ webInterfaceName: string
30
+
29
31
  generationOptions: IAppGenerationOptions
30
32
  keitaroData: IAppKeitaroData | null
31
33
  integrationVersion: IntegrationVersion
@@ -141,6 +143,7 @@ export const FlashAppSchema = new Schema({
141
143
  default: null
142
144
  },
143
145
 
146
+ webInterfaceName: String,
144
147
  pushesEnabled: Boolean,
145
148
  sourceUrl: String,
146
149
  policyUrl: {
@@ -7,6 +7,7 @@ export interface IUpsertFlashAppRequest {
7
7
  bundle: string
8
8
  sourceUrl?: string,
9
9
  enabled: boolean,
10
+ geos: string,
10
11
 
11
12
  onesignalAppId: string
12
13
  onesignalRestApiKey: string
@@ -315,7 +315,7 @@ function createBPStreamPartialPayload(app: IFlashApp): Partial<IKeitaroStream> {
315
315
  filters: [{
316
316
  name: "country",
317
317
  mode: "reject",
318
- payload: app.geos.split(",")
318
+ payload: app.geos.split(" ")
319
319
  }, {
320
320
  name: "bot",
321
321
  mode: "accept",
@@ -337,7 +337,7 @@ export function createOWStreamPartialPayload(app: IFlashApp): Partial<IKeitaroSt
337
337
  filters: [{
338
338
  name: "country",
339
339
  mode: "accept",
340
- payload: app.geos.split(",")
340
+ payload: app.geos.split(" ")
341
341
  }],
342
342
  }
343
343
  }