@bprotsyk/aso-core 2.1.98 → 2.1.99

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
@@ -132,6 +132,12 @@ export interface IRemoveDataParams {
132
132
  callbackFunctionName: string;
133
133
  toSplashAfterSuccess: boolean;
134
134
  }
135
+ export interface IRemoveInfo {
136
+ reason: string;
137
+ date: number;
138
+ status: string;
139
+ images: string[];
140
+ }
135
141
  export interface IPrivacyPolicyParams {
136
142
  showButtonQuery: string;
137
143
  button?: {
@@ -179,6 +185,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
179
185
  bundle: string;
180
186
  trackingUrl: string;
181
187
  integrationVersion: string;
188
+ removeInfo: any;
182
189
  name?: string | null | undefined;
183
190
  pushesEnabled?: boolean | null | undefined;
184
191
  removeDataParams?: any;
@@ -219,6 +226,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
219
226
  bundle: string;
220
227
  trackingUrl: string;
221
228
  integrationVersion: string;
229
+ removeInfo: any;
222
230
  name?: string | null | undefined;
223
231
  pushesEnabled?: boolean | null | undefined;
224
232
  removeDataParams?: any;
@@ -259,6 +267,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
259
267
  bundle: string;
260
268
  trackingUrl: string;
261
269
  integrationVersion: string;
270
+ removeInfo: any;
262
271
  name?: string | null | undefined;
263
272
  pushesEnabled?: boolean | null | undefined;
264
273
  removeDataParams?: any;
package/lib/app/app.js CHANGED
@@ -179,6 +179,10 @@ exports.AppSchema = new mongoose_1.Schema({
179
179
  },
180
180
  },
181
181
  removeDataParams: Object,
182
+ removeInfo: {
183
+ type: Object,
184
+ default: null
185
+ },
182
186
  privacyPolicyParams: Object,
183
187
  offersStubParams: Object,
184
188
  bannerParams: Object,
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, IExternalParams, IPlatformParams, EPlatform } from "./app/app";
5
+ export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IExternalParams, IPlatformParams, EPlatform, AppStatus } 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/lib/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.NginxTemplate = exports.NamecheapBuyRequestSchema = exports.getDomainTargetByIp = exports.CONST_CLOUFLARE_STATUS_READY = exports.DomainTarget = exports.DomainStatus = exports.ICloudflareDomainType = exports.ICloudflareDomainStatus = exports.KeitaroUtils = exports.KeitaroService = exports.ShapeDiv = exports.PanelUserSchema = exports.PanelUserAccessScope = exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeNavigation = exports.AlternativeStorageType = exports.AlternativeNetworkTool = exports.AlternativeLogicType = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.AppType = exports.EPlatform = exports.PlugType = exports.AppSchema = exports.IntegrationVersion = exports.SectionsListSchema = exports.DefaultSectionId = exports.OffersSectionSchema = exports.IOfferType = void 0;
26
+ exports.NginxTemplate = exports.NamecheapBuyRequestSchema = exports.getDomainTargetByIp = exports.CONST_CLOUFLARE_STATUS_READY = exports.DomainTarget = exports.DomainStatus = exports.ICloudflareDomainType = exports.ICloudflareDomainStatus = exports.KeitaroUtils = exports.KeitaroService = exports.ShapeDiv = exports.PanelUserSchema = exports.PanelUserAccessScope = exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeNavigation = exports.AlternativeStorageType = exports.AlternativeNetworkTool = exports.AlternativeLogicType = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.AppType = exports.AppStatus = exports.EPlatform = exports.PlugType = exports.AppSchema = exports.IntegrationVersion = exports.SectionsListSchema = exports.DefaultSectionId = exports.OffersSectionSchema = exports.IOfferType = void 0;
27
27
  var offer_1 = require("./offers/offer");
28
28
  Object.defineProperty(exports, "IOfferType", { enumerable: true, get: function () { return offer_1.IOfferType; } });
29
29
  var section_1 = require("./offers/section");
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "IntegrationVersion", { enumerable: true, get: fu
36
36
  Object.defineProperty(exports, "AppSchema", { enumerable: true, get: function () { return app_1.AppSchema; } });
37
37
  Object.defineProperty(exports, "PlugType", { enumerable: true, get: function () { return app_1.PlugType; } });
38
38
  Object.defineProperty(exports, "EPlatform", { enumerable: true, get: function () { return app_1.EPlatform; } });
39
+ Object.defineProperty(exports, "AppStatus", { enumerable: true, get: function () { return app_1.AppStatus; } });
39
40
  var app_type_1 = require("./app/app-type");
40
41
  Object.defineProperty(exports, "AppType", { enumerable: true, get: function () { return app_type_1.AppType; } });
41
42
  var app_integration_1 = require("./app/app-integration");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.98",
3
+ "version": "2.1.99",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
package/src/app/app.ts CHANGED
@@ -183,6 +183,13 @@ export interface IRemoveDataParams {
183
183
  toSplashAfterSuccess: boolean
184
184
  }
185
185
 
186
+ export interface IRemoveInfo {
187
+ reason: string,
188
+ date: number,
189
+ status: string,
190
+ images: string[]
191
+ }
192
+
186
193
  export interface IPrivacyPolicyParams {
187
194
  showButtonQuery: string,
188
195
  button?: {
@@ -334,6 +341,10 @@ export const AppSchema = new Schema({
334
341
  },
335
342
  },
336
343
  removeDataParams: Object,
344
+ removeInfo: {
345
+ type: Object,
346
+ default: null
347
+ },
337
348
  privacyPolicyParams: Object,
338
349
  offersStubParams: Object,
339
350
  bannerParams: Object,
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, IExternalParams, IPlatformParams, EPlatform } from "./app/app"
7
+ export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IExternalParams, IPlatformParams, EPlatform, AppStatus } 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"