@bprotsyk/aso-core 1.2.153 → 1.2.155
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
CHANGED
|
@@ -27,9 +27,14 @@ export interface IFlashApp extends Document {
|
|
|
27
27
|
integrationAlterations?: IntegrationAlterations;
|
|
28
28
|
removeDataParams?: IRemoveDataParams;
|
|
29
29
|
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
30
|
+
offersStubParams?: IOffersStubParams;
|
|
30
31
|
domainParams: IDomainParams;
|
|
31
32
|
developerParams: IDeveloperParams;
|
|
32
33
|
}
|
|
34
|
+
export interface IOffersStubParams {
|
|
35
|
+
offersEndpoint: string;
|
|
36
|
+
imagesEndpoint: string;
|
|
37
|
+
}
|
|
33
38
|
export interface IDomainParams {
|
|
34
39
|
name: string;
|
|
35
40
|
clouflareZone: string;
|
|
@@ -42,6 +47,7 @@ export interface IRemoveDataParams {
|
|
|
42
47
|
dark: boolean;
|
|
43
48
|
path: string;
|
|
44
49
|
callbackFunctionName: string;
|
|
50
|
+
toSplashAfterSuccess: boolean;
|
|
45
51
|
}
|
|
46
52
|
export interface IPrivacyPolicyParams {
|
|
47
53
|
showButtonQuery: string;
|
|
@@ -58,7 +64,8 @@ export interface IPrivacyPolicyParams {
|
|
|
58
64
|
}
|
|
59
65
|
export declare enum IntegrationVersion {
|
|
60
66
|
MVVM = "MVVM",
|
|
61
|
-
POLICY = "POLICY"
|
|
67
|
+
POLICY = "POLICY",
|
|
68
|
+
OFFER_STUB = "OFFER_STUB"
|
|
62
69
|
}
|
|
63
70
|
export interface IntegrationAlterations {
|
|
64
71
|
networkTool: AlternativeNetworkTool;
|
|
@@ -117,6 +124,7 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
117
124
|
integrationAlterations?: any;
|
|
118
125
|
removeDataParams?: any;
|
|
119
126
|
privacyPolicyParams?: any;
|
|
127
|
+
offersStubParams?: any;
|
|
120
128
|
domainParams?: any;
|
|
121
129
|
policyUrl?: string | undefined;
|
|
122
130
|
linkPath?: string | undefined;
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -14,6 +14,7 @@ var IntegrationVersion;
|
|
|
14
14
|
(function (IntegrationVersion) {
|
|
15
15
|
IntegrationVersion["MVVM"] = "MVVM";
|
|
16
16
|
IntegrationVersion["POLICY"] = "POLICY";
|
|
17
|
+
IntegrationVersion["OFFER_STUB"] = "OFFER_STUB";
|
|
17
18
|
})(IntegrationVersion = exports.IntegrationVersion || (exports.IntegrationVersion = {}));
|
|
18
19
|
var PlugType;
|
|
19
20
|
(function (PlugType) {
|
|
@@ -148,6 +149,7 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
148
149
|
},
|
|
149
150
|
removeDataParams: Object,
|
|
150
151
|
privacyPolicyParams: Object,
|
|
152
|
+
offersStubParams: Object,
|
|
151
153
|
domainParams: Object
|
|
152
154
|
});
|
|
153
155
|
// TODO app type (casino / fin)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAppGenerationOptions, IAppKeitaroData, IDeveloperParams, IDomainParams, IPrivacyPolicyParams, IRemoveDataParams } from "flash/flash-app";
|
|
1
|
+
import { IAppGenerationOptions, IAppKeitaroData, IDeveloperParams, IDomainParams, IOffersStubParams, IPrivacyPolicyParams, IRemoveDataParams } from "flash/flash-app";
|
|
2
2
|
export interface IUpsertFlashAppRequest {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
@@ -14,6 +14,7 @@ export interface IUpsertFlashAppRequest {
|
|
|
14
14
|
keitaroData?: Partial<IAppKeitaroData>;
|
|
15
15
|
removeDataParams?: IRemoveDataParams;
|
|
16
16
|
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
17
|
+
offersStubParams?: IOffersStubParams;
|
|
17
18
|
developerParams?: IDeveloperParams;
|
|
18
19
|
domainParams: IDomainParams;
|
|
19
20
|
}
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -35,10 +35,16 @@ export interface IFlashApp extends Document {
|
|
|
35
35
|
|
|
36
36
|
removeDataParams?: IRemoveDataParams
|
|
37
37
|
privacyPolicyParams?: IPrivacyPolicyParams
|
|
38
|
+
offersStubParams?: IOffersStubParams
|
|
38
39
|
domainParams: IDomainParams
|
|
39
40
|
developerParams: IDeveloperParams
|
|
40
41
|
}
|
|
41
42
|
|
|
43
|
+
export interface IOffersStubParams {
|
|
44
|
+
offersEndpoint: string,
|
|
45
|
+
imagesEndpoint: string
|
|
46
|
+
}
|
|
47
|
+
|
|
42
48
|
export interface IDomainParams {
|
|
43
49
|
name: string,
|
|
44
50
|
clouflareZone: string,
|
|
@@ -52,8 +58,9 @@ export interface IRemoveDataParams {
|
|
|
52
58
|
dark: boolean,
|
|
53
59
|
|
|
54
60
|
path: string
|
|
55
|
-
|
|
61
|
+
|
|
56
62
|
callbackFunctionName: string
|
|
63
|
+
toSplashAfterSuccess: boolean
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
export interface IPrivacyPolicyParams {
|
|
@@ -75,6 +82,7 @@ export interface IPrivacyPolicyParams {
|
|
|
75
82
|
export enum IntegrationVersion {
|
|
76
83
|
MVVM = "MVVM",
|
|
77
84
|
POLICY = "POLICY",
|
|
85
|
+
OFFER_STUB = "OFFER_STUB"
|
|
78
86
|
}
|
|
79
87
|
|
|
80
88
|
export interface IntegrationAlterations {
|
|
@@ -257,6 +265,7 @@ export const FlashAppSchema = new Schema({
|
|
|
257
265
|
},
|
|
258
266
|
removeDataParams: Object,
|
|
259
267
|
privacyPolicyParams: Object,
|
|
268
|
+
offersStubParams: Object,
|
|
260
269
|
domainParams: Object
|
|
261
270
|
})
|
|
262
271
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAppGenerationOptions, IAppKeitaroData, IDeveloperParams, IDomainParams, IPrivacyPolicyParams, IRemoveDataParams } from "flash/flash-app"
|
|
1
|
+
import { IAppGenerationOptions, IAppKeitaroData, IDeveloperParams, IDomainParams, IOffersStubParams, IPrivacyPolicyParams, IRemoveDataParams } from "flash/flash-app"
|
|
2
2
|
import { PlugType } from "index"
|
|
3
3
|
|
|
4
4
|
export interface IUpsertFlashAppRequest {
|
|
@@ -19,6 +19,7 @@ export interface IUpsertFlashAppRequest {
|
|
|
19
19
|
keitaroData?: Partial<IAppKeitaroData>,
|
|
20
20
|
removeDataParams?: IRemoveDataParams,
|
|
21
21
|
privacyPolicyParams?: IPrivacyPolicyParams,
|
|
22
|
+
offersStubParams?: IOffersStubParams,
|
|
22
23
|
developerParams?: IDeveloperParams,
|
|
23
24
|
domainParams: IDomainParams,
|
|
24
25
|
}
|