@bprotsyk/aso-core 1.2.3 → 1.2.6
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 +21 -15
- package/lib/flash/flash-app.js +31 -22
- package/lib/index.d.ts +1 -0
- package/lib/panel/flash/create-flash-app-request.d.ts +19 -0
- package/lib/panel/flash/create-flash-app-request.js +2 -0
- package/package.json +1 -1
- package/src/flash/flash-app.ts +33 -28
- package/src/index.ts +2 -1
- package/src/panel/flash/create-flash-app-request.ts +22 -0
package/lib/flash/flash-app.d.ts
CHANGED
|
@@ -51,22 +51,28 @@ export interface IAppGenerationOptions {
|
|
|
51
51
|
keyPassword: string;
|
|
52
52
|
}
|
|
53
53
|
export declare const FlashAppSchema: Schema<any, Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
enabled: boolean;
|
|
54
|
+
trackingUrl: string;
|
|
55
|
+
name?: string | undefined;
|
|
57
56
|
id?: number | undefined;
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
email?: string | undefined;
|
|
58
|
+
pushesEnabled?: boolean | undefined;
|
|
59
|
+
policyUrl?: string | undefined;
|
|
60
|
+
bundle?: string | undefined;
|
|
61
|
+
pastebinUrl?: string | undefined;
|
|
60
62
|
onesignalAppId?: string | undefined;
|
|
61
63
|
onesignalRestApiKey?: string | undefined;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
generationOptions?: {
|
|
65
|
+
splashActivityClassName?: string | undefined;
|
|
66
|
+
mainActivityClassName?: string | undefined;
|
|
67
|
+
linkName?: string | undefined;
|
|
68
|
+
savedName?: string | undefined;
|
|
69
|
+
paranoidSeed?: number | undefined;
|
|
70
|
+
keyFileName?: string | undefined;
|
|
71
|
+
keyDeveloperName?: string | undefined;
|
|
72
|
+
keyDeveloperOrganization?: string | undefined;
|
|
73
|
+
keyCountryCode?: string | undefined;
|
|
74
|
+
keyCity?: string | undefined;
|
|
75
|
+
keyAlias?: string | undefined;
|
|
76
|
+
keyPassword?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
72
78
|
}>;
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -7,33 +7,42 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
7
7
|
type: Number,
|
|
8
8
|
unique: true
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
bundle: {
|
|
11
11
|
type: String,
|
|
12
|
-
|
|
12
|
+
unique: true
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
name: String,
|
|
15
|
+
trackingUrl: {
|
|
16
16
|
type: String,
|
|
17
|
-
default:
|
|
17
|
+
default: null
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
email: String,
|
|
20
|
+
pushesEnabled: Boolean,
|
|
21
|
+
pastebinUrl: {
|
|
20
22
|
type: String,
|
|
21
|
-
unique:
|
|
23
|
+
unique: true
|
|
22
24
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
policyUrl: String,
|
|
26
|
+
onesignalAppId: {
|
|
27
|
+
type: String,
|
|
28
|
+
unique: true
|
|
29
|
+
},
|
|
30
|
+
onesignalRestApiKey: {
|
|
31
|
+
type: String,
|
|
32
|
+
unique: true
|
|
26
33
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
generationOptions: {
|
|
35
|
+
splashActivityClassName: String,
|
|
36
|
+
mainActivityClassName: String,
|
|
37
|
+
linkName: String,
|
|
38
|
+
savedName: String,
|
|
39
|
+
paranoidSeed: Number,
|
|
40
|
+
keyFileName: String,
|
|
41
|
+
keyDeveloperName: String,
|
|
42
|
+
keyDeveloperOrganization: String,
|
|
43
|
+
keyCountryCode: String,
|
|
44
|
+
keyCity: String,
|
|
45
|
+
keyAlias: String,
|
|
46
|
+
keyPassword: String,
|
|
47
|
+
}
|
|
39
48
|
});
|
package/lib/index.d.ts
CHANGED
|
@@ -19,3 +19,4 @@ export { IFlashApp, FlashAppSchema } from "./flash/flash-app";
|
|
|
19
19
|
export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry";
|
|
20
20
|
export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user";
|
|
21
21
|
export { IAuthToken } from "./panel/auth";
|
|
22
|
+
export { IUpsertFlashAppRequest } from "./panel/flash/create-flash-app-request";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface IUpsertFlashAppRequest {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
pastebinUrl: string;
|
|
5
|
+
onesignalAppId: string;
|
|
6
|
+
onesignalRestApiKey: string;
|
|
7
|
+
splashActivityClassName: string;
|
|
8
|
+
mainActivityClassName: string;
|
|
9
|
+
linkName: string;
|
|
10
|
+
savedName: string;
|
|
11
|
+
paranoidSeed: number;
|
|
12
|
+
keyFileName: string;
|
|
13
|
+
keyDeveloperName: string;
|
|
14
|
+
keyDeveloperOrganization: string;
|
|
15
|
+
keyCountryCode: string;
|
|
16
|
+
keyCity: string;
|
|
17
|
+
keyAlias: string;
|
|
18
|
+
keyPassword: string;
|
|
19
|
+
}
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -26,7 +26,6 @@ export interface IAppGenerationOptions {
|
|
|
26
26
|
|
|
27
27
|
paranoidSeed: number
|
|
28
28
|
keyFileName: string
|
|
29
|
-
|
|
30
29
|
keyDeveloperName: string
|
|
31
30
|
keyDeveloperOrganization: string
|
|
32
31
|
keyCountryCode: string
|
|
@@ -40,40 +39,46 @@ export const FlashAppSchema = new Schema({
|
|
|
40
39
|
type: Number,
|
|
41
40
|
unique: true
|
|
42
41
|
},
|
|
43
|
-
|
|
42
|
+
bundle: {
|
|
44
43
|
type: String,
|
|
45
|
-
|
|
44
|
+
unique: true
|
|
46
45
|
},
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
name: String,
|
|
47
|
+
trackingUrl: {
|
|
49
48
|
type: String,
|
|
50
|
-
default:
|
|
49
|
+
default: null
|
|
51
50
|
},
|
|
52
|
-
|
|
51
|
+
email: String,
|
|
52
|
+
|
|
53
|
+
pushesEnabled: Boolean,
|
|
54
|
+
pastebinUrl: {
|
|
53
55
|
type: String,
|
|
54
|
-
unique:
|
|
55
|
-
},
|
|
56
|
-
enabled: {
|
|
57
|
-
type: Boolean,
|
|
58
|
-
default: true
|
|
56
|
+
unique: true
|
|
59
57
|
},
|
|
58
|
+
policyUrl: String,
|
|
60
59
|
|
|
61
|
-
onesignalAppId:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
geos: String,
|
|
70
|
-
|
|
71
|
-
privacyPolicyActivityClassName: String,
|
|
72
|
-
logicClassName: String,
|
|
73
|
-
appClassName: String,
|
|
60
|
+
onesignalAppId: {
|
|
61
|
+
type: String,
|
|
62
|
+
unique: true
|
|
63
|
+
},
|
|
64
|
+
onesignalRestApiKey: {
|
|
65
|
+
type: String,
|
|
66
|
+
unique: true
|
|
67
|
+
},
|
|
74
68
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
generationOptions: {
|
|
70
|
+
splashActivityClassName: String,
|
|
71
|
+
mainActivityClassName: String,
|
|
72
|
+
linkName: String,
|
|
73
|
+
savedName: String,
|
|
74
|
+
paranoidSeed: Number,
|
|
75
|
+
keyFileName: String,
|
|
76
|
+
keyDeveloperName: String,
|
|
77
|
+
keyDeveloperOrganization: String,
|
|
78
|
+
keyCountryCode: String,
|
|
79
|
+
keyCity: String,
|
|
80
|
+
keyAlias: String,
|
|
81
|
+
keyPassword: String,
|
|
82
|
+
}
|
|
78
83
|
})
|
|
79
84
|
|
package/src/index.ts
CHANGED
|
@@ -23,4 +23,5 @@ export { IFlashApp, FlashAppSchema } from "./flash/flash-app"
|
|
|
23
23
|
export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry"
|
|
24
24
|
|
|
25
25
|
export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user"
|
|
26
|
-
export { IAuthToken } from "./panel/auth"
|
|
26
|
+
export { IAuthToken } from "./panel/auth"
|
|
27
|
+
export { IUpsertFlashAppRequest } from "./panel/flash/create-flash-app-request"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface IUpsertFlashAppRequest {
|
|
2
|
+
id: number
|
|
3
|
+
name: string
|
|
4
|
+
pastebinUrl: string
|
|
5
|
+
onesignalAppId: string
|
|
6
|
+
onesignalRestApiKey: string
|
|
7
|
+
|
|
8
|
+
splashActivityClassName: string
|
|
9
|
+
mainActivityClassName: string
|
|
10
|
+
linkName: string,
|
|
11
|
+
savedName: string
|
|
12
|
+
|
|
13
|
+
paranoidSeed: number
|
|
14
|
+
keyFileName: string
|
|
15
|
+
keyDeveloperName: string
|
|
16
|
+
keyDeveloperOrganization: string
|
|
17
|
+
keyCountryCode: string
|
|
18
|
+
keyCity: string
|
|
19
|
+
keyAlias: string
|
|
20
|
+
keyPassword: string,
|
|
21
|
+
}
|
|
22
|
+
|