@bprotsyk/aso-core 2.1.2 → 2.1.3
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 +1 -22
- package/lib/app/app.js +1 -82
- package/lib/index.d.ts +1 -1
- package/lib/panel/flash/upsert-flash-app-request.d.ts +1 -14
- package/lib/utils/keitaro-utils.js +1 -1
- package/package.json +1 -1
- package/src/app/app.ts +4 -89
- package/src/index.ts +1 -1
- package/src/panel/flash/upsert-flash-app-request.ts +1 -18
- package/src/utils/keitaro-utils.ts +1 -1
package/lib/app/app.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AlternativeLayoutType, AlternativeLogicType, AlternativeNavigation, AlternativeNetworkTool, AlternativeOnActivityResult, AlternativeOnBackPressed, AlternativeSourceType, AlternativeStorageType } from "index";
|
|
2
2
|
import { AppType } from "./app-type";
|
|
3
|
-
import mongoose, { Document
|
|
3
|
+
import mongoose, { Document } from "mongoose";
|
|
4
4
|
import { AlternativeFullscreen } from "app/app-integration";
|
|
5
5
|
export interface IApp extends Document {
|
|
6
6
|
id: number;
|
|
@@ -9,7 +9,6 @@ export interface IApp extends Document {
|
|
|
9
9
|
trackingUrl?: string;
|
|
10
10
|
bundle: string;
|
|
11
11
|
pushesEnabled?: boolean;
|
|
12
|
-
sourceUrl?: string;
|
|
13
12
|
policyUrl?: string;
|
|
14
13
|
type: AppType;
|
|
15
14
|
geos: string;
|
|
@@ -22,15 +21,11 @@ export interface IApp extends Document {
|
|
|
22
21
|
generationOptions: IAppGenerationOptions;
|
|
23
22
|
keitaroData: IAppKeitaroData | null;
|
|
24
23
|
integrationVersion: IntegrationVersion;
|
|
25
|
-
integrationAlterations?: IntegrationAlterations;
|
|
26
|
-
removeDataParams?: IRemoveDataParams;
|
|
27
|
-
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
28
24
|
offersStubParams?: IOffersStubParams;
|
|
29
25
|
directParams?: IDirectParams;
|
|
30
26
|
bannerParams?: IBannerParams;
|
|
31
27
|
remoteServerParams?: IRemoteServerParams;
|
|
32
28
|
domainParams: IDomainParams;
|
|
33
|
-
developerParams: IDeveloperParams;
|
|
34
29
|
platforms: {
|
|
35
30
|
[key: string]: IPlatformParams;
|
|
36
31
|
};
|
|
@@ -169,36 +164,23 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
169
164
|
bundle: string;
|
|
170
165
|
trackingUrl: string;
|
|
171
166
|
geos: string;
|
|
172
|
-
integrationVersion: string;
|
|
173
167
|
name?: string | undefined;
|
|
174
|
-
webInterfaceName?: string | undefined;
|
|
175
168
|
pushesEnabled?: boolean | undefined;
|
|
176
|
-
sourceUrl?: string | undefined;
|
|
177
|
-
integrationAlterations?: any;
|
|
178
169
|
removeDataParams?: any;
|
|
179
170
|
privacyPolicyParams?: any;
|
|
180
171
|
offersStubParams?: any;
|
|
181
172
|
bannerParams?: any;
|
|
182
173
|
directParams?: any;
|
|
183
|
-
remoteServerParams?: any;
|
|
184
174
|
platforms?: any;
|
|
185
|
-
policyUrl?: string | undefined;
|
|
186
175
|
onesignalAppId?: string | undefined;
|
|
187
176
|
onesignalRestApiKey?: string | undefined;
|
|
188
177
|
appmetricaApiKey?: string | undefined;
|
|
189
178
|
appmetricaAppId?: number | undefined;
|
|
190
|
-
linkPath?: string | undefined;
|
|
191
179
|
externalParams?: {
|
|
192
180
|
schema?: string | undefined;
|
|
193
181
|
showButton?: boolean | undefined;
|
|
194
182
|
autoRedirect?: boolean | undefined;
|
|
195
183
|
} | undefined;
|
|
196
|
-
generationOptions?: {
|
|
197
|
-
splashName?: string | undefined;
|
|
198
|
-
webViewName?: string | undefined;
|
|
199
|
-
linkName?: string | undefined;
|
|
200
|
-
savedName?: string | undefined;
|
|
201
|
-
} | undefined;
|
|
202
184
|
keitaroData?: {
|
|
203
185
|
redirectCampaignId: number;
|
|
204
186
|
redirectCampaignName: string;
|
|
@@ -210,12 +192,9 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
210
192
|
trackingCampaignAlias: string;
|
|
211
193
|
trackingDomainId: number;
|
|
212
194
|
trackingDomainName: string;
|
|
213
|
-
clickIdParameterName?: string | undefined;
|
|
214
|
-
offerIdParameterName?: string | undefined;
|
|
215
195
|
} | undefined;
|
|
216
196
|
domainParams?: {
|
|
217
197
|
name?: string | undefined;
|
|
218
198
|
clouflareZone?: string | undefined;
|
|
219
199
|
} | undefined;
|
|
220
200
|
}>;
|
|
221
|
-
export declare function updateSchemaAndMoveValue(model: Model<IApp>): Promise<void>;
|
package/lib/app/app.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AppSchema = exports.PlugType = exports.IntegrationVersion = exports.EPlatform = void 0;
|
|
4
4
|
const app_type_1 = require("./app-type");
|
|
5
5
|
const mongoose_1 = require("mongoose");
|
|
6
6
|
const util = require("util");
|
|
@@ -52,14 +52,7 @@ exports.AppSchema = new mongoose_1.Schema({
|
|
|
52
52
|
type: String,
|
|
53
53
|
default: null
|
|
54
54
|
},
|
|
55
|
-
webInterfaceName: String,
|
|
56
55
|
pushesEnabled: Boolean,
|
|
57
|
-
sourceUrl: String,
|
|
58
|
-
policyUrl: {
|
|
59
|
-
type: String,
|
|
60
|
-
// unique: true,
|
|
61
|
-
required: false
|
|
62
|
-
},
|
|
63
56
|
type: {
|
|
64
57
|
type: String,
|
|
65
58
|
enum: app_type_1.AppType,
|
|
@@ -88,34 +81,11 @@ exports.AppSchema = new mongoose_1.Schema({
|
|
|
88
81
|
type: Number,
|
|
89
82
|
required: false
|
|
90
83
|
},
|
|
91
|
-
linkPath: {
|
|
92
|
-
type: String
|
|
93
|
-
},
|
|
94
84
|
externalParams: {
|
|
95
85
|
showButton: Boolean,
|
|
96
86
|
schema: String,
|
|
97
87
|
autoRedirect: Boolean,
|
|
98
88
|
},
|
|
99
|
-
integrationVersion: {
|
|
100
|
-
type: String,
|
|
101
|
-
default: IntegrationVersion.OFFER_STUB,
|
|
102
|
-
enum: IntegrationVersion
|
|
103
|
-
},
|
|
104
|
-
integrationAlterations: Object,
|
|
105
|
-
generationOptions: {
|
|
106
|
-
splashName: {
|
|
107
|
-
type: String,
|
|
108
|
-
},
|
|
109
|
-
webViewName: {
|
|
110
|
-
type: String,
|
|
111
|
-
},
|
|
112
|
-
linkName: {
|
|
113
|
-
type: String,
|
|
114
|
-
},
|
|
115
|
-
savedName: {
|
|
116
|
-
type: String,
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
89
|
keitaroData: {
|
|
120
90
|
redirectCampaignId: {
|
|
121
91
|
type: Number,
|
|
@@ -173,15 +143,12 @@ exports.AppSchema = new mongoose_1.Schema({
|
|
|
173
143
|
required: true,
|
|
174
144
|
default: "none"
|
|
175
145
|
},
|
|
176
|
-
clickIdParameterName: String,
|
|
177
|
-
offerIdParameterName: String,
|
|
178
146
|
},
|
|
179
147
|
removeDataParams: Object,
|
|
180
148
|
privacyPolicyParams: Object,
|
|
181
149
|
offersStubParams: Object,
|
|
182
150
|
bannerParams: Object,
|
|
183
151
|
directParams: Object,
|
|
184
|
-
remoteServerParams: Object,
|
|
185
152
|
domainParams: {
|
|
186
153
|
name: {
|
|
187
154
|
type: String,
|
|
@@ -193,51 +160,3 @@ exports.AppSchema = new mongoose_1.Schema({
|
|
|
193
160
|
},
|
|
194
161
|
platforms: Object
|
|
195
162
|
});
|
|
196
|
-
// TODO app type (casino / fin)
|
|
197
|
-
async function updateSchemaAndMoveValue(model) {
|
|
198
|
-
await model.syncIndexes();
|
|
199
|
-
let pipelineStage = [
|
|
200
|
-
{
|
|
201
|
-
// $set: {
|
|
202
|
-
// city: "$employee_addr.city",
|
|
203
|
-
// street: "$employee_addr.street",
|
|
204
|
-
// apartment: "$employee_addr.apartment",
|
|
205
|
-
// employee_addr: "$$REMOVE"
|
|
206
|
-
// },
|
|
207
|
-
$set: {
|
|
208
|
-
"plugStatus": "$$REMOVE",
|
|
209
|
-
"reservePlugStatus": "$$REMOVE",
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
];
|
|
213
|
-
let aggregation = model.aggregate(pipelineStage);
|
|
214
|
-
try {
|
|
215
|
-
await model.collection.dropIndex("plugStatus");
|
|
216
|
-
}
|
|
217
|
-
catch (e) { }
|
|
218
|
-
try {
|
|
219
|
-
await model.collection.dropIndex("reservePlugStatus");
|
|
220
|
-
}
|
|
221
|
-
catch (e) { }
|
|
222
|
-
// await model.schema.dropIndex("generationOptions.keyPassword_1")
|
|
223
|
-
await aggregation.exec();
|
|
224
|
-
const updateOperation = {
|
|
225
|
-
$set: {
|
|
226
|
-
plugId: "none"
|
|
227
|
-
},
|
|
228
|
-
// $addToSet
|
|
229
|
-
$unset: [
|
|
230
|
-
"pastebinUrl",
|
|
231
|
-
"email",
|
|
232
|
-
"generationOptions.keyFileName",
|
|
233
|
-
"generationOptions.keyDeveloperName",
|
|
234
|
-
"generationOptions.keyDeveloperOrganization",
|
|
235
|
-
"generationOptions.keyCountryCode",
|
|
236
|
-
"generationOptions.keyCity",
|
|
237
|
-
"generationOptions.keyAlias",
|
|
238
|
-
"generationOptions.keyPassword",
|
|
239
|
-
],
|
|
240
|
-
};
|
|
241
|
-
await model.updateMany({}, updateOperation);
|
|
242
|
-
}
|
|
243
|
-
exports.updateSchemaAndMoveValue = updateSchemaAndMoveValue;
|
package/lib/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { AppType } from "./app/app-type";
|
|
|
8
8
|
export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IAppIntegration as IFlashIntegration } from "./app/app-integration";
|
|
9
9
|
export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user";
|
|
10
10
|
export { IAuthToken } from "./panel/auth";
|
|
11
|
-
export { IUpsertAppRequest
|
|
11
|
+
export { IUpsertAppRequest } from "./panel/flash/upsert-flash-app-request";
|
|
12
12
|
export { IGradient, IStroke, IShape, ShapeDiv } from "./general/shape";
|
|
13
13
|
export { IOfferWallHomeDialogData } from "./offers/offerwall/offerwall-home-dialog-data";
|
|
14
14
|
export { IOfferWallOffer } from "./offers/offerwall/offerwall-offer";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAppKeitaroData, IBannerParams, IDirectParams, IDomainParams, IExternalParams, IOffersStubParams, IPlatformParams, IntegrationVersion } from "app/app";
|
|
2
2
|
export interface IUpsertAppRequest {
|
|
3
3
|
id: number;
|
|
4
4
|
name?: string;
|
|
@@ -9,17 +9,10 @@ export interface IUpsertAppRequest {
|
|
|
9
9
|
geo?: string;
|
|
10
10
|
appmetricaApiKey?: string;
|
|
11
11
|
appmetricaAppId?: number;
|
|
12
|
-
policyUrl?: string;
|
|
13
12
|
integrationVersion?: IntegrationVersion;
|
|
14
|
-
webInterfaceName?: string;
|
|
15
|
-
generationOptions?: Partial<IAppGenerationOptions>;
|
|
16
13
|
keitaroData?: Partial<IAppKeitaroData>;
|
|
17
|
-
removeDataParams?: IRemoveDataParams;
|
|
18
|
-
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
19
14
|
offersStubParams?: IOffersStubParams;
|
|
20
15
|
bannerParams?: IBannerParams;
|
|
21
|
-
developerParams?: IDeveloperParams;
|
|
22
|
-
remoteServerParams?: IRemoteServerParams;
|
|
23
16
|
domainParams: IDomainParams;
|
|
24
17
|
directParams?: IDirectParams;
|
|
25
18
|
externalParams?: IExternalParams;
|
|
@@ -27,9 +20,3 @@ export interface IUpsertAppRequest {
|
|
|
27
20
|
[key: string]: IPlatformParams;
|
|
28
21
|
};
|
|
29
22
|
}
|
|
30
|
-
export interface IUpsertAppResponse {
|
|
31
|
-
data: IUpsertAppRequest;
|
|
32
|
-
linkName: string;
|
|
33
|
-
archive: string;
|
|
34
|
-
externalParams?: IExternalParams;
|
|
35
|
-
}
|
|
@@ -333,7 +333,7 @@ function createDefenceMainStreamPartialPayload(app) {
|
|
|
333
333
|
name: "ALL",
|
|
334
334
|
type: "regular",
|
|
335
335
|
action_type: "http",
|
|
336
|
-
action_payload: app.
|
|
336
|
+
action_payload: app.directParams?.path,
|
|
337
337
|
schema: "redirect",
|
|
338
338
|
filter_or: false,
|
|
339
339
|
collect_clicks: true,
|
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -12,11 +12,10 @@ export interface IApp extends Document {
|
|
|
12
12
|
bundle: string
|
|
13
13
|
|
|
14
14
|
pushesEnabled?: boolean
|
|
15
|
-
sourceUrl?: string,
|
|
16
15
|
policyUrl?: string
|
|
17
16
|
type: AppType
|
|
18
17
|
geos: string
|
|
19
|
-
geo: string[]
|
|
18
|
+
geo: string[] // new one, actual
|
|
20
19
|
|
|
21
20
|
onesignalAppId: string
|
|
22
21
|
onesignalRestApiKey: string
|
|
@@ -29,16 +28,12 @@ export interface IApp extends Document {
|
|
|
29
28
|
generationOptions: IAppGenerationOptions
|
|
30
29
|
keitaroData: IAppKeitaroData | null
|
|
31
30
|
integrationVersion: IntegrationVersion
|
|
32
|
-
integrationAlterations?: IntegrationAlterations
|
|
33
31
|
|
|
34
|
-
removeDataParams?: IRemoveDataParams
|
|
35
|
-
privacyPolicyParams?: IPrivacyPolicyParams
|
|
36
32
|
offersStubParams?: IOffersStubParams
|
|
37
33
|
directParams?: IDirectParams,
|
|
38
34
|
bannerParams?: IBannerParams,
|
|
39
35
|
remoteServerParams?: IRemoteServerParams,
|
|
40
36
|
domainParams: IDomainParams
|
|
41
|
-
developerParams: IDeveloperParams,
|
|
42
37
|
platforms: { [key: string]: IPlatformParams }
|
|
43
38
|
|
|
44
39
|
offersListId: number
|
|
@@ -213,14 +208,8 @@ export const AppSchema = new Schema({
|
|
|
213
208
|
default: null
|
|
214
209
|
},
|
|
215
210
|
|
|
216
|
-
webInterfaceName: String,
|
|
217
211
|
pushesEnabled: Boolean,
|
|
218
|
-
|
|
219
|
-
policyUrl: {
|
|
220
|
-
type: String,
|
|
221
|
-
// unique: true,
|
|
222
|
-
required: false
|
|
223
|
-
},
|
|
212
|
+
|
|
224
213
|
type: {
|
|
225
214
|
type: String,
|
|
226
215
|
enum: AppType,
|
|
@@ -249,37 +238,13 @@ export const AppSchema = new Schema({
|
|
|
249
238
|
type: Number,
|
|
250
239
|
required: false
|
|
251
240
|
},
|
|
252
|
-
|
|
253
|
-
type: String
|
|
254
|
-
},
|
|
241
|
+
|
|
255
242
|
externalParams: {
|
|
256
243
|
showButton: Boolean,
|
|
257
244
|
schema: String,
|
|
258
245
|
autoRedirect: Boolean,
|
|
259
246
|
},
|
|
260
247
|
|
|
261
|
-
integrationVersion: {
|
|
262
|
-
type: String,
|
|
263
|
-
default: IntegrationVersion.OFFER_STUB,
|
|
264
|
-
enum: IntegrationVersion
|
|
265
|
-
},
|
|
266
|
-
integrationAlterations: Object,
|
|
267
|
-
|
|
268
|
-
generationOptions: {
|
|
269
|
-
splashName: {
|
|
270
|
-
type: String,
|
|
271
|
-
},
|
|
272
|
-
webViewName: {
|
|
273
|
-
type: String,
|
|
274
|
-
},
|
|
275
|
-
linkName: {
|
|
276
|
-
type: String,
|
|
277
|
-
},
|
|
278
|
-
savedName: {
|
|
279
|
-
type: String,
|
|
280
|
-
},
|
|
281
|
-
},
|
|
282
|
-
|
|
283
248
|
keitaroData: {
|
|
284
249
|
redirectCampaignId: {
|
|
285
250
|
type: Number,
|
|
@@ -337,16 +302,12 @@ export const AppSchema = new Schema({
|
|
|
337
302
|
required: true,
|
|
338
303
|
default: "none"
|
|
339
304
|
},
|
|
340
|
-
|
|
341
|
-
clickIdParameterName: String,
|
|
342
|
-
offerIdParameterName: String,
|
|
343
305
|
},
|
|
344
306
|
removeDataParams: Object,
|
|
345
307
|
privacyPolicyParams: Object,
|
|
346
308
|
offersStubParams: Object,
|
|
347
309
|
bannerParams: Object,
|
|
348
310
|
directParams: Object,
|
|
349
|
-
remoteServerParams: Object,
|
|
350
311
|
domainParams: {
|
|
351
312
|
name: {
|
|
352
313
|
type: String,
|
|
@@ -357,50 +318,4 @@ export const AppSchema = new Schema({
|
|
|
357
318
|
},
|
|
358
319
|
},
|
|
359
320
|
platforms: Object
|
|
360
|
-
})
|
|
361
|
-
|
|
362
|
-
// TODO app type (casino / fin)
|
|
363
|
-
export async function updateSchemaAndMoveValue(model: Model<IApp>): Promise<void> {
|
|
364
|
-
await model.syncIndexes()
|
|
365
|
-
let pipelineStage: PipelineStage[] = [
|
|
366
|
-
{
|
|
367
|
-
// $set: {
|
|
368
|
-
// city: "$employee_addr.city",
|
|
369
|
-
// street: "$employee_addr.street",
|
|
370
|
-
// apartment: "$employee_addr.apartment",
|
|
371
|
-
// employee_addr: "$$REMOVE"
|
|
372
|
-
// },
|
|
373
|
-
$set: {
|
|
374
|
-
"plugStatus": "$$REMOVE",
|
|
375
|
-
"reservePlugStatus": "$$REMOVE",
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
]
|
|
379
|
-
|
|
380
|
-
let aggregation = model.aggregate(pipelineStage)
|
|
381
|
-
try { await model.collection.dropIndex("plugStatus") } catch (e) { }
|
|
382
|
-
try { await model.collection.dropIndex("reservePlugStatus") } catch (e) { }
|
|
383
|
-
|
|
384
|
-
// await model.schema.dropIndex("generationOptions.keyPassword_1")
|
|
385
|
-
await aggregation.exec()
|
|
386
|
-
|
|
387
|
-
const updateOperation: UpdateQuery<IApp> = {
|
|
388
|
-
$set: {
|
|
389
|
-
plugId: "none"
|
|
390
|
-
},
|
|
391
|
-
// $addToSet
|
|
392
|
-
$unset: [
|
|
393
|
-
"pastebinUrl",
|
|
394
|
-
"email",
|
|
395
|
-
"generationOptions.keyFileName",
|
|
396
|
-
"generationOptions.keyDeveloperName",
|
|
397
|
-
"generationOptions.keyDeveloperOrganization",
|
|
398
|
-
"generationOptions.keyCountryCode",
|
|
399
|
-
"generationOptions.keyCity",
|
|
400
|
-
"generationOptions.keyAlias",
|
|
401
|
-
"generationOptions.keyPassword",
|
|
402
|
-
],
|
|
403
|
-
};
|
|
404
|
-
|
|
405
|
-
await model.updateMany({}, updateOperation);
|
|
406
|
-
}
|
|
321
|
+
})
|
package/src/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, Alt
|
|
|
11
11
|
|
|
12
12
|
export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user"
|
|
13
13
|
export { IAuthToken } from "./panel/auth"
|
|
14
|
-
export { IUpsertAppRequest
|
|
14
|
+
export { IUpsertAppRequest } from "./panel/flash/upsert-flash-app-request"
|
|
15
15
|
|
|
16
16
|
export { IGradient, IStroke, IShape, ShapeDiv } from "./general/shape"
|
|
17
17
|
export { IOfferWallHomeDialogData } from "./offers/offerwall/offerwall-home-dialog-data"
|
|
@@ -16,30 +16,13 @@ export interface IUpsertAppRequest {
|
|
|
16
16
|
appmetricaApiKey?: string
|
|
17
17
|
appmetricaAppId?: number
|
|
18
18
|
|
|
19
|
-
policyUrl?: string,
|
|
20
|
-
|
|
21
19
|
integrationVersion?: IntegrationVersion,
|
|
22
20
|
|
|
23
|
-
webInterfaceName?: string,
|
|
24
|
-
generationOptions?: Partial<IAppGenerationOptions>
|
|
25
21
|
keitaroData?: Partial<IAppKeitaroData>,
|
|
26
|
-
removeDataParams?: IRemoveDataParams,
|
|
27
|
-
privacyPolicyParams?: IPrivacyPolicyParams,
|
|
28
22
|
offersStubParams?: IOffersStubParams,
|
|
29
23
|
bannerParams?: IBannerParams,
|
|
30
|
-
developerParams?: IDeveloperParams,
|
|
31
|
-
remoteServerParams?: IRemoteServerParams,
|
|
32
24
|
domainParams: IDomainParams,
|
|
33
25
|
directParams?: IDirectParams,
|
|
34
26
|
externalParams?: IExternalParams,
|
|
35
27
|
platforms: { [key: string]: IPlatformParams },
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface IUpsertAppResponse {
|
|
40
|
-
data: IUpsertAppRequest,
|
|
41
|
-
linkName: string,
|
|
42
|
-
archive: string,
|
|
43
|
-
externalParams?: IExternalParams,
|
|
44
|
-
}
|
|
45
|
-
|
|
28
|
+
}
|
|
@@ -368,7 +368,7 @@ function createDefenceMainStreamPartialPayload(app: IApp): Partial<IKeitaroStrea
|
|
|
368
368
|
name: "ALL",
|
|
369
369
|
type: "regular",
|
|
370
370
|
action_type: "http",
|
|
371
|
-
action_payload: app.
|
|
371
|
+
action_payload: app.directParams?.path,
|
|
372
372
|
schema: "redirect",
|
|
373
373
|
filter_or: false,
|
|
374
374
|
collect_clicks: true,
|