@bprotsyk/aso-core 1.2.125 → 1.2.127
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
|
@@ -19,6 +19,8 @@ export interface IFlashApp extends Document {
|
|
|
19
19
|
geos: string;
|
|
20
20
|
onesignalAppId: string;
|
|
21
21
|
onesignalRestApiKey: string;
|
|
22
|
+
domain: string;
|
|
23
|
+
linkPath: string;
|
|
22
24
|
developerName: string;
|
|
23
25
|
developerEmail: string;
|
|
24
26
|
developerOrganization: string;
|
|
@@ -31,16 +33,18 @@ export interface IFlashApp extends Document {
|
|
|
31
33
|
}
|
|
32
34
|
export interface IRemoveDataParams {
|
|
33
35
|
titleSuffix?: string;
|
|
36
|
+
titlePrefix?: string;
|
|
34
37
|
buttonText?: string;
|
|
35
38
|
resultText?: string;
|
|
36
39
|
inputHint?: string;
|
|
37
40
|
}
|
|
38
41
|
export interface IPrivacyPolicyParams {
|
|
39
|
-
callbackMethodName
|
|
42
|
+
callbackMethodName: string;
|
|
43
|
+
showButtonQuery: string;
|
|
40
44
|
button?: {
|
|
41
45
|
text: string;
|
|
42
46
|
};
|
|
43
|
-
mustRead
|
|
47
|
+
mustRead: boolean;
|
|
44
48
|
}
|
|
45
49
|
export declare enum IntegrationVersion {
|
|
46
50
|
_3 = 3,
|
|
@@ -101,6 +105,8 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
101
105
|
integrationAlterations?: any;
|
|
102
106
|
removeDataParams?: any;
|
|
103
107
|
policyUrl?: string | undefined;
|
|
108
|
+
domain?: string | undefined;
|
|
109
|
+
linkPath?: string | undefined;
|
|
104
110
|
generationOptions?: {
|
|
105
111
|
splashName: string;
|
|
106
112
|
webViewName: string;
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAppGenerationOptions, IAppKeitaroData } from "flash/flash-app";
|
|
1
|
+
import { IAppGenerationOptions, IAppKeitaroData, IPrivacyPolicyParams, IRemoveDataParams } from "flash/flash-app";
|
|
2
2
|
export interface IUpsertFlashAppRequest {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
@@ -6,11 +6,15 @@ export interface IUpsertFlashAppRequest {
|
|
|
6
6
|
sourceUrl?: string;
|
|
7
7
|
onesignalAppId: string;
|
|
8
8
|
onesignalRestApiKey: string;
|
|
9
|
+
domain: string;
|
|
10
|
+
linkPath: string;
|
|
9
11
|
developerName: string;
|
|
10
12
|
developerEmail: string;
|
|
11
13
|
developerOrganization: string;
|
|
12
14
|
generationOptions: Partial<IAppGenerationOptions>;
|
|
13
15
|
keitaroData?: Partial<IAppKeitaroData>;
|
|
16
|
+
removeDataParams?: IRemoveDataParams;
|
|
17
|
+
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
14
18
|
}
|
|
15
19
|
export interface IUpsertFlashAppResponse {
|
|
16
20
|
data: IUpsertFlashAppRequest;
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -25,6 +25,9 @@ export interface IFlashApp extends Document {
|
|
|
25
25
|
onesignalAppId: string
|
|
26
26
|
onesignalRestApiKey: string
|
|
27
27
|
|
|
28
|
+
domain: string,
|
|
29
|
+
linkPath: string,
|
|
30
|
+
|
|
28
31
|
developerName: string
|
|
29
32
|
developerEmail: string
|
|
30
33
|
developerOrganization: string
|
|
@@ -38,17 +41,19 @@ export interface IFlashApp extends Document {
|
|
|
38
41
|
|
|
39
42
|
export interface IRemoveDataParams {
|
|
40
43
|
titleSuffix?: string,
|
|
44
|
+
titlePrefix?: string,
|
|
41
45
|
buttonText?: string,
|
|
42
46
|
resultText?: string,
|
|
43
47
|
inputHint?: string,
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
export interface IPrivacyPolicyParams {
|
|
47
|
-
callbackMethodName
|
|
51
|
+
callbackMethodName: string,
|
|
52
|
+
showButtonQuery: string,
|
|
48
53
|
button?: {
|
|
49
54
|
text: string
|
|
50
55
|
},
|
|
51
|
-
mustRead
|
|
56
|
+
mustRead: boolean,
|
|
52
57
|
}
|
|
53
58
|
|
|
54
59
|
export enum IntegrationVersion {
|
|
@@ -141,6 +146,12 @@ export const FlashAppSchema = new Schema({
|
|
|
141
146
|
required: true
|
|
142
147
|
},
|
|
143
148
|
|
|
149
|
+
domain: {
|
|
150
|
+
type: String
|
|
151
|
+
},
|
|
152
|
+
linkPath : {
|
|
153
|
+
type: String
|
|
154
|
+
},
|
|
144
155
|
developerName: {
|
|
145
156
|
type: String,
|
|
146
157
|
// unique: true,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAppGenerationOptions, IAppKeitaroData } from "flash/flash-app"
|
|
1
|
+
import { IAppGenerationOptions, IAppKeitaroData, IPrivacyPolicyParams, IRemoveDataParams } from "flash/flash-app"
|
|
2
2
|
import { PlugType } from "index"
|
|
3
3
|
|
|
4
4
|
export interface IUpsertFlashAppRequest {
|
|
@@ -10,12 +10,16 @@ export interface IUpsertFlashAppRequest {
|
|
|
10
10
|
onesignalAppId: string
|
|
11
11
|
onesignalRestApiKey: string
|
|
12
12
|
|
|
13
|
+
domain: string,
|
|
14
|
+
linkPath: string,
|
|
15
|
+
|
|
13
16
|
developerName: string
|
|
14
17
|
developerEmail: string
|
|
15
18
|
developerOrganization: string
|
|
16
19
|
generationOptions: Partial<IAppGenerationOptions>
|
|
17
|
-
keitaroData?: Partial<IAppKeitaroData
|
|
18
|
-
|
|
20
|
+
keitaroData?: Partial<IAppKeitaroData>,
|
|
21
|
+
removeDataParams?: IRemoveDataParams,
|
|
22
|
+
privacyPolicyParams?: IPrivacyPolicyParams
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
export interface IUpsertFlashAppResponse {
|