@bprotsyk/aso-core 2.1.11 → 2.1.12
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 -3
- package/lib/app/app.js +1 -1
- package/lib/general/domain.d.ts +2 -2
- package/lib/general/domain.js +1 -1
- package/lib/panel/flash/upsert-flash-app-request.d.ts +1 -1
- package/package.json +1 -1
- package/src/app/app.ts +3 -3
- package/src/general/domain.ts +9 -9
- package/src/panel/flash/upsert-flash-app-request.ts +1 -1
package/lib/app/app.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface IApp extends Document {
|
|
|
31
31
|
};
|
|
32
32
|
offersListId: number;
|
|
33
33
|
externalParams?: IExternalParams;
|
|
34
|
-
|
|
34
|
+
proxied: boolean;
|
|
35
35
|
}
|
|
36
36
|
export declare enum EPlatform {
|
|
37
37
|
GENERAL = "@",
|
|
@@ -49,7 +49,7 @@ export interface IPlatformParams {
|
|
|
49
49
|
customCampaignData?: IAppKeitaroData;
|
|
50
50
|
adjustAppId: string;
|
|
51
51
|
adjustEventIds: IAdjustEventIds;
|
|
52
|
-
|
|
52
|
+
proxied: boolean;
|
|
53
53
|
}
|
|
54
54
|
export interface IAdjustEventIds {
|
|
55
55
|
lead: string;
|
|
@@ -165,7 +165,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
165
165
|
type: string;
|
|
166
166
|
geo: string[];
|
|
167
167
|
enabled: boolean;
|
|
168
|
-
|
|
168
|
+
proxied: boolean;
|
|
169
169
|
bundle: string;
|
|
170
170
|
trackingUrl: string;
|
|
171
171
|
integrationVersion: string;
|
package/lib/app/app.js
CHANGED
package/lib/general/domain.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface IDomain extends Document {
|
|
|
50
50
|
archived: boolean;
|
|
51
51
|
title: string | String;
|
|
52
52
|
note: string;
|
|
53
|
-
|
|
53
|
+
proxied: boolean;
|
|
54
54
|
}
|
|
55
55
|
export interface IDomainsBuyRequestResponse {
|
|
56
56
|
requestId: string;
|
|
@@ -89,7 +89,7 @@ export declare const DomainSchema: Schema<any, Model<any, any, any, any, any>, {
|
|
|
89
89
|
type?: string | undefined;
|
|
90
90
|
caption?: string | undefined;
|
|
91
91
|
title?: string | undefined;
|
|
92
|
-
|
|
92
|
+
proxied?: boolean | undefined;
|
|
93
93
|
namecheapId?: string | undefined;
|
|
94
94
|
status?: string | undefined;
|
|
95
95
|
isUpdating?: boolean | undefined;
|
package/lib/general/domain.js
CHANGED
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface IApp extends Document {
|
|
|
38
38
|
|
|
39
39
|
offersListId: number,
|
|
40
40
|
externalParams?: IExternalParams,
|
|
41
|
-
|
|
41
|
+
proxied: boolean
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export enum EPlatform {
|
|
@@ -58,7 +58,7 @@ export interface IPlatformParams {
|
|
|
58
58
|
customCampaignData?: IAppKeitaroData,
|
|
59
59
|
adjustAppId: string,
|
|
60
60
|
adjustEventIds: IAdjustEventIds,
|
|
61
|
-
|
|
61
|
+
proxied: boolean
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
export interface IAdjustEventIds {
|
|
@@ -201,7 +201,7 @@ export const AppSchema = new Schema({
|
|
|
201
201
|
required: true,
|
|
202
202
|
default: false
|
|
203
203
|
},
|
|
204
|
-
|
|
204
|
+
proxied: {
|
|
205
205
|
type: Boolean,
|
|
206
206
|
require: true,
|
|
207
207
|
default: true
|
package/src/general/domain.ts
CHANGED
|
@@ -24,10 +24,10 @@ export interface IDomain extends Document {
|
|
|
24
24
|
mxRecord: string
|
|
25
25
|
target: DomainTarget,
|
|
26
26
|
assignedTo: number[]
|
|
27
|
-
archived:boolean,
|
|
28
|
-
title:string|String,
|
|
29
|
-
note:string,
|
|
30
|
-
|
|
27
|
+
archived: boolean,
|
|
28
|
+
title: string | String,
|
|
29
|
+
note: string,
|
|
30
|
+
proxied: boolean
|
|
31
31
|
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -59,7 +59,7 @@ export enum DomainTarget {
|
|
|
59
59
|
HOSTING = "hosting",
|
|
60
60
|
OTHER = "other",
|
|
61
61
|
MAIN = "main",
|
|
62
|
-
UNKNOWN = "unknown"
|
|
62
|
+
UNKNOWN = "unknown"
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
export let getDomainTargetByIp = (ip: string): DomainTarget => {
|
|
@@ -99,8 +99,8 @@ export const DomainSchema = new Schema({
|
|
|
99
99
|
mxRecord: String,
|
|
100
100
|
target: String,
|
|
101
101
|
assignedTo: [Number],
|
|
102
|
-
archived:Boolean,
|
|
103
|
-
title:String,
|
|
104
|
-
note:String,
|
|
105
|
-
|
|
102
|
+
archived: Boolean,
|
|
103
|
+
title: String,
|
|
104
|
+
note: String,
|
|
105
|
+
proxied: Boolean
|
|
106
106
|
})
|