@bprotsyk/aso-core 1.2.159 → 1.2.161
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/flash/flash-app.d.ts +8 -6
- package/lib/flash/flash-app.js +3 -7
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -3
- package/package.json +1 -1
- package/src/flash/flash-app.ts +9 -7
- package/src/index.ts +1 -1
package/lib/flash/flash-app.d.ts
CHANGED
|
@@ -2,11 +2,6 @@ import { AlternativeLayoutType, AlternativeLogicType, AlternativeNavigation, Alt
|
|
|
2
2
|
import { FlashAppType } from "./flash-app-type";
|
|
3
3
|
import mongoose, { Document, Model } from "mongoose";
|
|
4
4
|
import { AlternativeFullscreen } from "flash/flash-app-integration";
|
|
5
|
-
export declare enum FlashAppPlugStatus {
|
|
6
|
-
DISABLED = 0,
|
|
7
|
-
TEST_MODE = 1,
|
|
8
|
-
ENABLED = 2
|
|
9
|
-
}
|
|
10
5
|
export interface IFlashApp extends Document {
|
|
11
6
|
id: number;
|
|
12
7
|
enabled: boolean;
|
|
@@ -28,6 +23,7 @@ export interface IFlashApp extends Document {
|
|
|
28
23
|
removeDataParams?: IRemoveDataParams;
|
|
29
24
|
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
30
25
|
offersStubParams?: IOffersStubParams;
|
|
26
|
+
directParams?: IDirectParams;
|
|
31
27
|
domainParams: IDomainParams;
|
|
32
28
|
developerParams: IDeveloperParams;
|
|
33
29
|
}
|
|
@@ -39,6 +35,10 @@ export interface IDomainParams {
|
|
|
39
35
|
name: string;
|
|
40
36
|
clouflareZone: string;
|
|
41
37
|
}
|
|
38
|
+
export interface IDirectParams {
|
|
39
|
+
path: string;
|
|
40
|
+
response: string;
|
|
41
|
+
}
|
|
42
42
|
export interface IRemoveDataParams {
|
|
43
43
|
buttonText: string;
|
|
44
44
|
resultText: string;
|
|
@@ -65,7 +65,8 @@ export interface IPrivacyPolicyParams {
|
|
|
65
65
|
export declare enum IntegrationVersion {
|
|
66
66
|
MVVM = "MVVM",
|
|
67
67
|
POLICY = "POLICY",
|
|
68
|
-
OFFER_STUB = "OFFER_STUB"
|
|
68
|
+
OFFER_STUB = "OFFER_STUB",
|
|
69
|
+
DIRECT = "DIRECT"
|
|
69
70
|
}
|
|
70
71
|
export interface IntegrationAlterations {
|
|
71
72
|
networkTool: AlternativeNetworkTool;
|
|
@@ -125,6 +126,7 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
125
126
|
removeDataParams?: any;
|
|
126
127
|
privacyPolicyParams?: any;
|
|
127
128
|
offersStubParams?: any;
|
|
129
|
+
directParams?: any;
|
|
128
130
|
policyUrl?: string | undefined;
|
|
129
131
|
linkPath?: string | undefined;
|
|
130
132
|
generationOptions?: {
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateSchemaAndMoveValue = exports.FlashAppSchema = exports.PlugType = exports.IntegrationVersion =
|
|
3
|
+
exports.updateSchemaAndMoveValue = exports.FlashAppSchema = exports.PlugType = exports.IntegrationVersion = void 0;
|
|
4
4
|
const flash_app_type_1 = require("./flash-app-type");
|
|
5
5
|
const mongoose_1 = require("mongoose");
|
|
6
6
|
const util = require("util");
|
|
7
|
-
var FlashAppPlugStatus;
|
|
8
|
-
(function (FlashAppPlugStatus) {
|
|
9
|
-
FlashAppPlugStatus[FlashAppPlugStatus["DISABLED"] = 0] = "DISABLED";
|
|
10
|
-
FlashAppPlugStatus[FlashAppPlugStatus["TEST_MODE"] = 1] = "TEST_MODE";
|
|
11
|
-
FlashAppPlugStatus[FlashAppPlugStatus["ENABLED"] = 2] = "ENABLED";
|
|
12
|
-
})(FlashAppPlugStatus = exports.FlashAppPlugStatus || (exports.FlashAppPlugStatus = {}));
|
|
13
7
|
var IntegrationVersion;
|
|
14
8
|
(function (IntegrationVersion) {
|
|
15
9
|
IntegrationVersion["MVVM"] = "MVVM";
|
|
16
10
|
IntegrationVersion["POLICY"] = "POLICY";
|
|
17
11
|
IntegrationVersion["OFFER_STUB"] = "OFFER_STUB";
|
|
12
|
+
IntegrationVersion["DIRECT"] = "DIRECT";
|
|
18
13
|
})(IntegrationVersion = exports.IntegrationVersion || (exports.IntegrationVersion = {}));
|
|
19
14
|
var PlugType;
|
|
20
15
|
(function (PlugType) {
|
|
@@ -154,6 +149,7 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
154
149
|
removeDataParams: Object,
|
|
155
150
|
privacyPolicyParams: Object,
|
|
156
151
|
offersStubParams: Object,
|
|
152
|
+
directParams: Object,
|
|
157
153
|
domainParams: {
|
|
158
154
|
name: {
|
|
159
155
|
type: String,
|
package/lib/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { IOfferWallSection } from "./aso/offerwall/offerwall-section";
|
|
|
16
16
|
export { IOfferWallOffer } from "./aso/offerwall/offerwall-offer";
|
|
17
17
|
export { IOfferWallResponse } from "./aso/offerwall/offerwall-response";
|
|
18
18
|
export { IOfferWallHomeDialogData } from "./aso/offerwall/offerwall-home-dialog-data";
|
|
19
|
-
export { IntegrationAlterations, IntegrationVersion, IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType
|
|
19
|
+
export { IntegrationAlterations, IntegrationVersion, IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType } from "./flash`/flash-app";
|
|
20
20
|
export { IFlashAppListItem } from "./flash/flash-app-list-item";
|
|
21
21
|
export { FlashAppType } from "./flash/flash-app-type";
|
|
22
22
|
export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IFlashIntegration } from "./flash/flash-app-integration";
|
package/lib/index.js
CHANGED
|
@@ -23,19 +23,20 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.KeitaroUtils = exports.KeitaroService = exports.ColoredText = exports.ShapeDiv = exports.PanelUserSchema = exports.PanelUserAccessScope = exports.ASOConfigFetch = exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeNavigation = exports.AlternativeStorageType = exports.AlternativeNetworkTool = exports.AlternativeLogicType = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.FlashAppType = exports.
|
|
26
|
+
exports.KeitaroUtils = exports.KeitaroService = exports.ColoredText = exports.ShapeDiv = exports.PanelUserSchema = exports.PanelUserAccessScope = exports.ASOConfigFetch = exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeNavigation = exports.AlternativeStorageType = exports.AlternativeNetworkTool = exports.AlternativeLogicType = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.FlashAppType = exports.PlugType = exports.updateSchemaAndMoveValue = exports.FlashAppSchema = exports.IFlashApp = exports.IntegrationVersion = exports.IntegrationAlterations = exports.ASO_v5 = exports.ASO_v4 = exports.ASO_v3 = exports.ASO_v2 = exports.ASO_v1 = exports.ASO_v0 = void 0;
|
|
27
27
|
exports.ASO_v0 = __importStar(require("./aso/config/aso-config-v0"));
|
|
28
28
|
exports.ASO_v1 = __importStar(require("./aso/config/aso-config-v1"));
|
|
29
29
|
exports.ASO_v2 = __importStar(require("./aso/config/aso-config-v2"));
|
|
30
30
|
exports.ASO_v3 = __importStar(require("./aso/config/aso-config-v3"));
|
|
31
31
|
exports.ASO_v4 = __importStar(require("./aso/config/aso-config-v4"));
|
|
32
32
|
exports.ASO_v5 = __importStar(require("./aso/config/aso-config-v5"));
|
|
33
|
-
var flash_app_1 = require("./flash
|
|
33
|
+
var flash_app_1 = require("./flash`/flash-app");
|
|
34
|
+
Object.defineProperty(exports, "IntegrationAlterations", { enumerable: true, get: function () { return flash_app_1.IntegrationAlterations; } });
|
|
34
35
|
Object.defineProperty(exports, "IntegrationVersion", { enumerable: true, get: function () { return flash_app_1.IntegrationVersion; } });
|
|
36
|
+
Object.defineProperty(exports, "IFlashApp", { enumerable: true, get: function () { return flash_app_1.IFlashApp; } });
|
|
35
37
|
Object.defineProperty(exports, "FlashAppSchema", { enumerable: true, get: function () { return flash_app_1.FlashAppSchema; } });
|
|
36
38
|
Object.defineProperty(exports, "updateSchemaAndMoveValue", { enumerable: true, get: function () { return flash_app_1.updateSchemaAndMoveValue; } });
|
|
37
39
|
Object.defineProperty(exports, "PlugType", { enumerable: true, get: function () { return flash_app_1.PlugType; } });
|
|
38
|
-
Object.defineProperty(exports, "FlashAppPlugStatus", { enumerable: true, get: function () { return flash_app_1.FlashAppPlugStatus; } });
|
|
39
40
|
var flash_app_type_1 = require("./flash/flash-app-type");
|
|
40
41
|
Object.defineProperty(exports, "FlashAppType", { enumerable: true, get: function () { return flash_app_type_1.FlashAppType; } });
|
|
41
42
|
var flash_app_integration_1 = require("./flash/flash-app-integration");
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -4,12 +4,6 @@ import mongoose, { Document, Model, model, PipelineStage, Schema, UpdateQuery, U
|
|
|
4
4
|
import { AlternativeFullscreen } from "flash/flash-app-integration";
|
|
5
5
|
const util = require("util")
|
|
6
6
|
|
|
7
|
-
export enum FlashAppPlugStatus {
|
|
8
|
-
DISABLED = 0,
|
|
9
|
-
TEST_MODE = 1,
|
|
10
|
-
ENABLED = 2
|
|
11
|
-
}
|
|
12
|
-
|
|
13
7
|
export interface IFlashApp extends Document {
|
|
14
8
|
id: number
|
|
15
9
|
enabled: boolean,
|
|
@@ -36,6 +30,7 @@ export interface IFlashApp extends Document {
|
|
|
36
30
|
removeDataParams?: IRemoveDataParams
|
|
37
31
|
privacyPolicyParams?: IPrivacyPolicyParams
|
|
38
32
|
offersStubParams?: IOffersStubParams
|
|
33
|
+
directParams?: IDirectParams,
|
|
39
34
|
domainParams: IDomainParams
|
|
40
35
|
developerParams: IDeveloperParams
|
|
41
36
|
}
|
|
@@ -50,6 +45,11 @@ export interface IDomainParams {
|
|
|
50
45
|
clouflareZone: string,
|
|
51
46
|
}
|
|
52
47
|
|
|
48
|
+
export interface IDirectParams {
|
|
49
|
+
path: string,
|
|
50
|
+
response: string,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
53
|
export interface IRemoveDataParams {
|
|
54
54
|
buttonText: string,
|
|
55
55
|
resultText: string,
|
|
@@ -82,7 +82,8 @@ export interface IPrivacyPolicyParams {
|
|
|
82
82
|
export enum IntegrationVersion {
|
|
83
83
|
MVVM = "MVVM",
|
|
84
84
|
POLICY = "POLICY",
|
|
85
|
-
OFFER_STUB = "OFFER_STUB"
|
|
85
|
+
OFFER_STUB = "OFFER_STUB",
|
|
86
|
+
DIRECT = "DIRECT"
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
export interface IntegrationAlterations {
|
|
@@ -270,6 +271,7 @@ export const FlashAppSchema = new Schema({
|
|
|
270
271
|
removeDataParams: Object,
|
|
271
272
|
privacyPolicyParams: Object,
|
|
272
273
|
offersStubParams: Object,
|
|
274
|
+
directParams: Object,
|
|
273
275
|
domainParams: {
|
|
274
276
|
name: {
|
|
275
277
|
type: String,
|
package/src/index.ts
CHANGED
|
@@ -19,7 +19,7 @@ export { IOfferWallOffer } from "./aso/offerwall/offerwall-offer"
|
|
|
19
19
|
export { IOfferWallResponse } from "./aso/offerwall/offerwall-response"
|
|
20
20
|
export { IOfferWallHomeDialogData } from "./aso/offerwall/offerwall-home-dialog-data"
|
|
21
21
|
|
|
22
|
-
export { IntegrationAlterations, IntegrationVersion, IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType
|
|
22
|
+
export { IntegrationAlterations, IntegrationVersion, IFlashApp, FlashAppSchema, updateSchemaAndMoveValue, PlugType } from "./flash`/flash-app"
|
|
23
23
|
export { IFlashAppListItem } from "./flash/flash-app-list-item"
|
|
24
24
|
export { FlashAppType } from "./flash/flash-app-type"
|
|
25
25
|
export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IFlashIntegration } from "./flash/flash-app-integration"
|