@bprotsyk/aso-core 2.1.81 → 2.1.82

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.
@@ -23,6 +23,7 @@ export interface IKeitaroCampaign {
23
23
  notes?: any;
24
24
  collect_clicks?: any;
25
25
  uniqueness_type?: any;
26
+ source?: string;
26
27
  }
27
28
  export interface IKeitaroCampaignParameters {
28
29
  [key: string]: IKeitaroCampaignParameter;
@@ -332,6 +332,7 @@ async function cloneDirectCampaign(app, platform) {
332
332
  group_id: maxGroupId + 1,
333
333
  traffic_source_id: keitaro_utils_1.TRAFFIC_SOURCE_ID_FLASH_AI,
334
334
  parameters: (0, keitaro_utils_1.prepareOWCampaignParameters)(app),
335
+ source: originalCampaign.source,
335
336
  // Неунікальні поля з оригінальної кампанії
336
337
  type: originalCampaign.type,
337
338
  state: originalCampaign.state,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.81",
3
+ "version": "2.1.82",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -23,7 +23,7 @@ export interface IKeitaroCampaign {
23
23
  notes?: any
24
24
  collect_clicks?: any
25
25
  uniqueness_type?: any
26
-
26
+ source?: string
27
27
  }
28
28
 
29
29
  export interface IKeitaroCampaignParameters {
@@ -406,7 +406,7 @@ async function cloneDirectCampaign(app: IApp, platform?: EPlatform): Promise<IKe
406
406
  group_id: maxGroupId + 1,
407
407
  traffic_source_id: TRAFFIC_SOURCE_ID_FLASH_AI,
408
408
  parameters: prepareOWCampaignParameters(app),
409
-
409
+ source: originalCampaign.source,
410
410
  // Неунікальні поля з оригінальної кампанії
411
411
  type: originalCampaign.type,
412
412
  state: originalCampaign.state,