@adlfe/campaign-management-library 2.15.0 → 2.15.1

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.
@@ -2007,7 +2007,7 @@
2007
2007
  var subs = this.apiAdapterService
2008
2008
  .executeApiRequest([], "/campaign/" + ((_d = (_c = this.getCampaignStorage) === null || _c === void 0 ? void 0 : _c.generalInformation) === null || _d === void 0 ? void 0 : _d.id), 'GET')
2009
2009
  .subscribe(function (resp) {
2010
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75;
2010
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76;
2011
2011
  if (!resp)
2012
2012
  return;
2013
2013
  var generalInformation = {
@@ -2069,28 +2069,29 @@
2069
2069
  ClientId: (_59 = resp.data) === null || _59 === void 0 ? void 0 : _59.clientId,
2070
2070
  ClientName: (_60 = resp.data) === null || _60 === void 0 ? void 0 : _60.clientName,
2071
2071
  },
2072
- isUpload: ((_61 = resp.data) === null || _61 === void 0 ? void 0 : _61.fileId) !== '',
2073
- fileId: (_62 = resp.data) === null || _62 === void 0 ? void 0 : _62.fileId,
2072
+ isDownloadVariableXLS: ((_61 = resp.data) === null || _61 === void 0 ? void 0 : _61.fileId) !== '',
2073
+ isUpload: ((_62 = resp.data) === null || _62 === void 0 ? void 0 : _62.fileId) !== '',
2074
+ fileId: (_63 = resp.data) === null || _63 === void 0 ? void 0 : _63.fileId,
2074
2075
  };
2075
2076
  localStorage.setItem('telin.campaign', JSON.stringify(__assign(__assign({}, _this.getCampaignStorage), {
2076
2077
  generalInformation: {
2077
- id: (_63 = resp.data) === null || _63 === void 0 ? void 0 : _63.id,
2078
+ id: (_64 = resp.data) === null || _64 === void 0 ? void 0 : _64.id,
2078
2079
  form: generalInformation,
2079
2080
  },
2080
- failover: (_64 = resp.data) === null || _64 === void 0 ? void 0 : _64.failover,
2081
- targetAudience: (_65 = resp.data) === null || _65 === void 0 ? void 0 : _65.targets,
2081
+ failover: (_65 = resp.data) === null || _65 === void 0 ? void 0 : _65.failover,
2082
+ targetAudience: (_66 = resp.data) === null || _66 === void 0 ? void 0 : _66.targets,
2082
2083
  targetAudienceFile: {
2083
- name: (_66 = resp.data) === null || _66 === void 0 ? void 0 : _66.fileName,
2084
- targetURL: (_67 = resp.data) === null || _67 === void 0 ? void 0 : _67.targetURL,
2084
+ name: (_67 = resp.data) === null || _67 === void 0 ? void 0 : _67.fileName,
2085
+ targetURL: (_68 = resp.data) === null || _68 === void 0 ? void 0 : _68.targetURL,
2085
2086
  },
2086
2087
  scheduler: {
2087
- schedulerType: ((_68 = resp.data) === null || _68 === void 0 ? void 0 : _68.scheduleType) === 'MULTI'
2088
+ schedulerType: ((_69 = resp.data) === null || _69 === void 0 ? void 0 : _69.scheduleType) === 'MULTI'
2088
2089
  ? 'ONE_TIME'
2089
- : (_69 = resp.data) === null || _69 === void 0 ? void 0 : _69.scheduleType,
2090
- startDate: (_71 = (_70 = resp.data) === null || _70 === void 0 ? void 0 : _70.startTime) === null || _71 === void 0 ? void 0 : _71.split(' ')[0],
2091
- startTime: (_73 = (_72 = resp.data) === null || _72 === void 0 ? void 0 : _72.startTime) === null || _73 === void 0 ? void 0 : _73.split(' ')[1],
2092
- isRepeat: ((_74 = resp.data) === null || _74 === void 0 ? void 0 : _74.scheduleType) === 'MULTI',
2093
- delivery: (_75 = resp.data) === null || _75 === void 0 ? void 0 : _75.repeat,
2090
+ : (_70 = resp.data) === null || _70 === void 0 ? void 0 : _70.scheduleType,
2091
+ startDate: (_72 = (_71 = resp.data) === null || _71 === void 0 ? void 0 : _71.startTime) === null || _72 === void 0 ? void 0 : _72.split(' ')[0],
2092
+ startTime: (_74 = (_73 = resp.data) === null || _73 === void 0 ? void 0 : _73.startTime) === null || _74 === void 0 ? void 0 : _74.split(' ')[1],
2093
+ isRepeat: ((_75 = resp.data) === null || _75 === void 0 ? void 0 : _75.scheduleType) === 'MULTI',
2094
+ delivery: (_76 = resp.data) === null || _76 === void 0 ? void 0 : _76.repeat,
2094
2095
  },
2095
2096
  })));
2096
2097
  _this.isLoading = false;