@bprotsyk/aso-core 1.2.119 → 1.2.125
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
|
@@ -25,7 +25,22 @@ export interface IFlashApp extends Document {
|
|
|
25
25
|
generationOptions: IAppGenerationOptions;
|
|
26
26
|
keitaroData: IAppKeitaroData | null;
|
|
27
27
|
integrationVersion: IntegrationVersion;
|
|
28
|
-
integrationAlterations
|
|
28
|
+
integrationAlterations?: IntegrationAlterations;
|
|
29
|
+
removeDataParams?: IRemoveDataParams;
|
|
30
|
+
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
31
|
+
}
|
|
32
|
+
export interface IRemoveDataParams {
|
|
33
|
+
titleSuffix?: string;
|
|
34
|
+
buttonText?: string;
|
|
35
|
+
resultText?: string;
|
|
36
|
+
inputHint?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface IPrivacyPolicyParams {
|
|
39
|
+
callbackMethodName?: string;
|
|
40
|
+
button?: {
|
|
41
|
+
text: string;
|
|
42
|
+
};
|
|
43
|
+
mustRead?: boolean;
|
|
29
44
|
}
|
|
30
45
|
export declare enum IntegrationVersion {
|
|
31
46
|
_3 = 3,
|
|
@@ -84,6 +99,7 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
84
99
|
sourceUrl?: string | undefined;
|
|
85
100
|
integrationVersion?: number | undefined;
|
|
86
101
|
integrationAlterations?: any;
|
|
102
|
+
removeDataParams?: any;
|
|
87
103
|
policyUrl?: string | undefined;
|
|
88
104
|
generationOptions?: {
|
|
89
105
|
splashName: string;
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -160,7 +160,8 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
160
160
|
},
|
|
161
161
|
clickIdParameterName: String,
|
|
162
162
|
offerIdParameterName: String,
|
|
163
|
-
}
|
|
163
|
+
},
|
|
164
|
+
removeDataParams: Object,
|
|
164
165
|
});
|
|
165
166
|
// TODO app type (casino / fin)
|
|
166
167
|
async function updateSchemaAndMoveValue(model) {
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -31,7 +31,24 @@ export interface IFlashApp extends Document {
|
|
|
31
31
|
generationOptions: IAppGenerationOptions,
|
|
32
32
|
keitaroData: IAppKeitaroData | null,
|
|
33
33
|
integrationVersion: IntegrationVersion
|
|
34
|
-
integrationAlterations
|
|
34
|
+
integrationAlterations?: IntegrationAlterations,
|
|
35
|
+
removeDataParams?: IRemoveDataParams,
|
|
36
|
+
privacyPolicyParams?: IPrivacyPolicyParams
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface IRemoveDataParams {
|
|
40
|
+
titleSuffix?: string,
|
|
41
|
+
buttonText?: string,
|
|
42
|
+
resultText?: string,
|
|
43
|
+
inputHint?: string,
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface IPrivacyPolicyParams {
|
|
47
|
+
callbackMethodName?: string,
|
|
48
|
+
button?: {
|
|
49
|
+
text: string
|
|
50
|
+
},
|
|
51
|
+
mustRead?: boolean,
|
|
35
52
|
}
|
|
36
53
|
|
|
37
54
|
export enum IntegrationVersion {
|
|
@@ -227,7 +244,9 @@ export const FlashAppSchema = new Schema({
|
|
|
227
244
|
|
|
228
245
|
clickIdParameterName: String,
|
|
229
246
|
offerIdParameterName: String,
|
|
230
|
-
}
|
|
247
|
+
},
|
|
248
|
+
removeDataParams: Object,
|
|
249
|
+
|
|
231
250
|
})
|
|
232
251
|
// TODO app type (casino / fin)
|
|
233
252
|
export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise<void> {
|
|
@@ -273,6 +292,4 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise
|
|
|
273
292
|
};
|
|
274
293
|
|
|
275
294
|
await model.updateMany({}, updateOperation);
|
|
276
|
-
|
|
277
|
-
|
|
278
295
|
}
|