@bprotsyk/aso-core 2.1.1 → 2.1.2

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
@@ -16,6 +16,8 @@ export interface IApp extends Document {
16
16
  geo: string[];
17
17
  onesignalAppId: string;
18
18
  onesignalRestApiKey: string;
19
+ appmetricaApiKey?: string;
20
+ appmetricaAppId?: number;
19
21
  webInterfaceName: string;
20
22
  generationOptions: IAppGenerationOptions;
21
23
  keitaroData: IAppKeitaroData | null;
@@ -183,6 +185,8 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
183
185
  policyUrl?: string | undefined;
184
186
  onesignalAppId?: string | undefined;
185
187
  onesignalRestApiKey?: string | undefined;
188
+ appmetricaApiKey?: string | undefined;
189
+ appmetricaAppId?: number | undefined;
186
190
  linkPath?: string | undefined;
187
191
  externalParams?: {
188
192
  schema?: string | undefined;
package/lib/app/app.js CHANGED
@@ -80,6 +80,14 @@ exports.AppSchema = new mongoose_1.Schema({
80
80
  type: String,
81
81
  required: false
82
82
  },
83
+ appmetricaApiKey: {
84
+ type: String,
85
+ required: false
86
+ },
87
+ appmetricaAppId: {
88
+ type: Number,
89
+ required: false
90
+ },
83
91
  linkPath: {
84
92
  type: String
85
93
  },
@@ -7,6 +7,8 @@ export interface IUpsertAppRequest {
7
7
  enabled?: boolean;
8
8
  geos?: string;
9
9
  geo?: string;
10
+ appmetricaApiKey?: string;
11
+ appmetricaAppId?: number;
10
12
  policyUrl?: string;
11
13
  integrationVersion?: IntegrationVersion;
12
14
  webInterfaceName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
package/src/app/app.ts CHANGED
@@ -21,6 +21,9 @@ export interface IApp extends Document {
21
21
  onesignalAppId: string
22
22
  onesignalRestApiKey: string
23
23
 
24
+ appmetricaApiKey?: string
25
+ appmetricaAppId?: number
26
+
24
27
  webInterfaceName: string
25
28
 
26
29
  generationOptions: IAppGenerationOptions
@@ -238,7 +241,14 @@ export const AppSchema = new Schema({
238
241
  type: String,
239
242
  required: false
240
243
  },
241
-
244
+ appmetricaApiKey: {
245
+ type: String,
246
+ required: false
247
+ },
248
+ appmetricaAppId: {
249
+ type: Number,
250
+ required: false
251
+ },
242
252
  linkPath: {
243
253
  type: String
244
254
  },
@@ -13,6 +13,9 @@ export interface IUpsertAppRequest {
13
13
  // onesignalAppId: string
14
14
  // onesignalRestApiKey: string
15
15
 
16
+ appmetricaApiKey?: string
17
+ appmetricaAppId?: number
18
+
16
19
  policyUrl?: string,
17
20
 
18
21
  integrationVersion?: IntegrationVersion,