@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 CHANGED
@@ -31,7 +31,7 @@ export interface IApp extends Document {
31
31
  };
32
32
  offersListId: number;
33
33
  externalParams?: IExternalParams;
34
- proxy: boolean;
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
- proxy: boolean;
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
- proxy: boolean;
168
+ proxied: boolean;
169
169
  bundle: string;
170
170
  trackingUrl: string;
171
171
  integrationVersion: string;
package/lib/app/app.js CHANGED
@@ -43,7 +43,7 @@ exports.AppSchema = new mongoose_1.Schema({
43
43
  required: true,
44
44
  default: false
45
45
  },
46
- proxy: {
46
+ proxied: {
47
47
  type: Boolean,
48
48
  require: true,
49
49
  default: true
@@ -50,7 +50,7 @@ export interface IDomain extends Document {
50
50
  archived: boolean;
51
51
  title: string | String;
52
52
  note: string;
53
- proxy: boolean;
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
- proxy?: boolean | undefined;
92
+ proxied?: boolean | undefined;
93
93
  namecheapId?: string | undefined;
94
94
  status?: string | undefined;
95
95
  isUpdating?: boolean | undefined;
@@ -57,5 +57,5 @@ exports.DomainSchema = new mongoose_1.Schema({
57
57
  archived: Boolean,
58
58
  title: String,
59
59
  note: String,
60
- proxy: Boolean
60
+ proxied: Boolean
61
61
  });
@@ -19,7 +19,7 @@ export interface IUpsertAppRequest {
19
19
  platforms: {
20
20
  [key: string]: IPlatformParams;
21
21
  };
22
- proxy: boolean;
22
+ proxied: boolean;
23
23
  }
24
24
  export interface IUpsertAppResponse {
25
25
  data: IUpsertAppRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.11",
3
+ "version": "2.1.12",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
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
- proxy: boolean
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
- proxy: boolean
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
- proxy: {
204
+ proxied: {
205
205
  type: Boolean,
206
206
  require: true,
207
207
  default: true
@@ -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
- proxy:boolean
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
- proxy:Boolean
102
+ archived: Boolean,
103
+ title: String,
104
+ note: String,
105
+ proxied: Boolean
106
106
  })
@@ -25,7 +25,7 @@ export interface IUpsertAppRequest {
25
25
  directParams?: IDirectParams,
26
26
  externalParams?: IExternalParams,
27
27
  platforms: { [key: string]: IPlatformParams },
28
- proxy:boolean
28
+ proxied: boolean
29
29
  }
30
30
 
31
31
  export interface IUpsertAppResponse {