@bprotsyk/aso-core 2.1.9 → 2.1.11
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/app/app.d.ts +3 -0
- package/lib/app/app.js +5 -0
- package/lib/general/domain.d.ts +2 -0
- package/lib/general/domain.js +2 -1
- package/lib/panel/auth.d.ts +1 -0
- package/lib/panel/flash/upsert-flash-app-request.d.ts +1 -0
- package/package.json +1 -1
- package/src/app/app.ts +11 -4
- package/src/general/domain.ts +4 -3
- package/src/panel/auth.ts +1 -0
- package/src/panel/flash/upsert-flash-app-request.ts +1 -0
package/lib/app/app.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export interface IApp extends Document {
|
|
|
31
31
|
};
|
|
32
32
|
offersListId: number;
|
|
33
33
|
externalParams?: IExternalParams;
|
|
34
|
+
proxy: boolean;
|
|
34
35
|
}
|
|
35
36
|
export declare enum EPlatform {
|
|
36
37
|
GENERAL = "@",
|
|
@@ -48,6 +49,7 @@ export interface IPlatformParams {
|
|
|
48
49
|
customCampaignData?: IAppKeitaroData;
|
|
49
50
|
adjustAppId: string;
|
|
50
51
|
adjustEventIds: IAdjustEventIds;
|
|
52
|
+
proxy: boolean;
|
|
51
53
|
}
|
|
52
54
|
export interface IAdjustEventIds {
|
|
53
55
|
lead: string;
|
|
@@ -163,6 +165,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
163
165
|
type: string;
|
|
164
166
|
geo: string[];
|
|
165
167
|
enabled: boolean;
|
|
168
|
+
proxy: boolean;
|
|
166
169
|
bundle: string;
|
|
167
170
|
trackingUrl: string;
|
|
168
171
|
integrationVersion: string;
|
package/lib/app/app.js
CHANGED
package/lib/general/domain.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export interface IDomain extends Document {
|
|
|
50
50
|
archived: boolean;
|
|
51
51
|
title: string | String;
|
|
52
52
|
note: string;
|
|
53
|
+
proxy: boolean;
|
|
53
54
|
}
|
|
54
55
|
export interface IDomainsBuyRequestResponse {
|
|
55
56
|
requestId: string;
|
|
@@ -88,6 +89,7 @@ export declare const DomainSchema: Schema<any, Model<any, any, any, any, any>, {
|
|
|
88
89
|
type?: string | undefined;
|
|
89
90
|
caption?: string | undefined;
|
|
90
91
|
title?: string | undefined;
|
|
92
|
+
proxy?: boolean | undefined;
|
|
91
93
|
namecheapId?: string | undefined;
|
|
92
94
|
status?: string | undefined;
|
|
93
95
|
isUpdating?: boolean | undefined;
|
package/lib/general/domain.js
CHANGED
package/lib/panel/auth.d.ts
CHANGED
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -34,10 +34,11 @@ export interface IApp extends Document {
|
|
|
34
34
|
bannerParams?: IBannerParams,
|
|
35
35
|
remoteServerParams?: IRemoteServerParams,
|
|
36
36
|
domainParams: IDomainParams
|
|
37
|
-
platforms: { [key: string]: IPlatformParams }
|
|
37
|
+
platforms: { [key: string]: IPlatformParams },
|
|
38
38
|
|
|
39
|
-
offersListId: number
|
|
40
|
-
externalParams?: IExternalParams
|
|
39
|
+
offersListId: number,
|
|
40
|
+
externalParams?: IExternalParams,
|
|
41
|
+
proxy: boolean
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
export enum EPlatform {
|
|
@@ -56,7 +57,8 @@ export interface IPlatformParams {
|
|
|
56
57
|
geo: string[],
|
|
57
58
|
customCampaignData?: IAppKeitaroData,
|
|
58
59
|
adjustAppId: string,
|
|
59
|
-
adjustEventIds: IAdjustEventIds
|
|
60
|
+
adjustEventIds: IAdjustEventIds,
|
|
61
|
+
proxy: boolean
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
export interface IAdjustEventIds {
|
|
@@ -199,6 +201,11 @@ export const AppSchema = new Schema({
|
|
|
199
201
|
required: true,
|
|
200
202
|
default: false
|
|
201
203
|
},
|
|
204
|
+
proxy: {
|
|
205
|
+
type: Boolean,
|
|
206
|
+
require: true,
|
|
207
|
+
default: true
|
|
208
|
+
},
|
|
202
209
|
bundle: {
|
|
203
210
|
type: String,
|
|
204
211
|
unique: true,
|
package/src/general/domain.ts
CHANGED
|
@@ -26,7 +26,8 @@ export interface IDomain extends Document {
|
|
|
26
26
|
assignedTo: number[]
|
|
27
27
|
archived:boolean,
|
|
28
28
|
title:string|String,
|
|
29
|
-
note:string
|
|
29
|
+
note:string,
|
|
30
|
+
proxy:boolean
|
|
30
31
|
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -100,6 +101,6 @@ export const DomainSchema = new Schema({
|
|
|
100
101
|
assignedTo: [Number],
|
|
101
102
|
archived:Boolean,
|
|
102
103
|
title:String,
|
|
103
|
-
note:String
|
|
104
|
-
|
|
104
|
+
note:String,
|
|
105
|
+
proxy:Boolean
|
|
105
106
|
})
|
package/src/panel/auth.ts
CHANGED