@basetime/bldr-sfmc-sdk
Advanced tools
Comparing version 1.2.4 to 1.2.5-beta.0
@@ -198,2 +198,3 @@ "use strict"; | ||
const activity = steps.activities[sa]; | ||
console.log('check step', steps.activities[sa]); | ||
const assetType = (0, automationActivities_1.MappingByActivityTypeId)(activity.objectTypeId); | ||
@@ -214,6 +215,3 @@ if (assetType) { | ||
if (stepActivity && !stepActivity.CustomerKey) { | ||
stepActivity = { | ||
[objectIdKey]: activityObjectId, | ||
hasBeenDeleted: true, | ||
}; | ||
stepActivity = Object.assign(Object.assign({}, steps.activities[sa]), { [objectIdKey]: activityObjectId, hasBeenDeleted: true }); | ||
} | ||
@@ -232,13 +230,7 @@ } | ||
else { | ||
stepActivity.filterDefinition = { | ||
filterDefinitionId: activityDefinitionId, | ||
hasBeenDeleted: true, | ||
}; | ||
stepActivity.filterDefinition = Object.assign(Object.assign({}, steps.activities[sa]), { filterDefinitionId: activityDefinitionId, hasBeenDeleted: true }); | ||
} | ||
} | ||
else { | ||
stepActivity = { | ||
[objectIdKey]: activityObjectId, | ||
hasBeenDeleted: true, | ||
}; | ||
stepActivity = Object.assign(Object.assign({}, steps.activities[sa]), { [objectIdKey]: activityObjectId, hasBeenDeleted: true }); | ||
} | ||
@@ -255,6 +247,3 @@ } | ||
].includes(key))) { | ||
stepActivity = { | ||
[objectIdKey]: activityObjectId, | ||
hasBeenDeleted: true, | ||
}; | ||
stepActivity = Object.assign(Object.assign({}, steps.activities[sa]), { [objectIdKey]: activityObjectId, hasBeenDeleted: true }); | ||
} | ||
@@ -261,0 +250,0 @@ } |
@@ -196,2 +196,3 @@ import { Client } from '../types/sfmc_client'; | ||
console.log('check step', steps.activities[sa]); | ||
const assetType = MappingByActivityTypeId( | ||
@@ -222,2 +223,3 @@ activity.objectTypeId | ||
stepActivity = { | ||
...steps.activities[sa], | ||
[objectIdKey]: activityObjectId, | ||
@@ -248,2 +250,3 @@ hasBeenDeleted: true, | ||
stepActivity.filterDefinition = { | ||
...steps.activities[sa], | ||
filterDefinitionId: | ||
@@ -256,2 +259,3 @@ activityDefinitionId, | ||
stepActivity = { | ||
...steps.activities[sa], | ||
[objectIdKey]: activityObjectId, | ||
@@ -280,2 +284,3 @@ hasBeenDeleted: true, | ||
stepActivity = { | ||
...steps.activities[sa], | ||
[objectIdKey]: activityObjectId, | ||
@@ -282,0 +287,0 @@ hasBeenDeleted: true, |
{ | ||
"name": "@basetime/bldr-sfmc-sdk", | ||
"version": "1.2.4", | ||
"version": "1.2.5-beta.0", | ||
"description": "SDK for BLDR SFMC Core Functionality", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
391208
10501
2