@bprotsyk/aso-core 2.1.9 → 2.1.10

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,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;
@@ -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;
@@ -56,5 +56,6 @@ exports.DomainSchema = new mongoose_1.Schema({
56
56
  assignedTo: [Number],
57
57
  archived: Boolean,
58
58
  title: String,
59
- note: String
59
+ note: String,
60
+ proxy: Boolean
60
61
  });
@@ -5,4 +5,5 @@ export interface IAuthToken {
5
5
  accessScopes: PanelUserAccessScope[];
6
6
  token: string;
7
7
  expiresIn: string;
8
+ refreshToken: string;
8
9
  }
@@ -19,6 +19,7 @@ export interface IUpsertAppRequest {
19
19
  platforms: {
20
20
  [key: string]: IPlatformParams;
21
21
  };
22
+ proxy: boolean;
22
23
  }
23
24
  export interface IUpsertAppResponse {
24
25
  data: IUpsertAppRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
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 {
@@ -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
@@ -6,4 +6,5 @@ export interface IAuthToken {
6
6
  accessScopes: PanelUserAccessScope[],
7
7
  token: string,
8
8
  expiresIn: string
9
+ refreshToken:string,
9
10
  }
@@ -25,6 +25,7 @@ export interface IUpsertAppRequest {
25
25
  directParams?: IDirectParams,
26
26
  externalParams?: IExternalParams,
27
27
  platforms: { [key: string]: IPlatformParams },
28
+ proxy:boolean
28
29
  }
29
30
 
30
31
  export interface IUpsertAppResponse {