@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.
@@ -1828,7 +1828,7 @@ var PendingApprovalDialogViewComponent = /** @class */ (function () {
1828
1828
  var subs = this.apiAdapterService
1829
1829
  .executeApiRequest([], "/campaign/" + ((_d = (_c = this.getCampaignStorage) === null || _c === void 0 ? void 0 : _c.generalInformation) === null || _d === void 0 ? void 0 : _d.id), 'GET')
1830
1830
  .subscribe(function (resp) {
1831
- 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;
1831
+ 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;
1832
1832
  if (!resp)
1833
1833
  return;
1834
1834
  var generalInformation = {
@@ -1890,28 +1890,29 @@ var PendingApprovalDialogViewComponent = /** @class */ (function () {
1890
1890
  ClientId: (_59 = resp.data) === null || _59 === void 0 ? void 0 : _59.clientId,
1891
1891
  ClientName: (_60 = resp.data) === null || _60 === void 0 ? void 0 : _60.clientName,
1892
1892
  },
1893
- isUpload: ((_61 = resp.data) === null || _61 === void 0 ? void 0 : _61.fileId) !== '',
1894
- fileId: (_62 = resp.data) === null || _62 === void 0 ? void 0 : _62.fileId,
1893
+ isDownloadVariableXLS: ((_61 = resp.data) === null || _61 === void 0 ? void 0 : _61.fileId) !== '',
1894
+ isUpload: ((_62 = resp.data) === null || _62 === void 0 ? void 0 : _62.fileId) !== '',
1895
+ fileId: (_63 = resp.data) === null || _63 === void 0 ? void 0 : _63.fileId,
1895
1896
  };
1896
1897
  localStorage.setItem('telin.campaign', JSON.stringify(__assign(__assign({}, _this.getCampaignStorage), {
1897
1898
  generalInformation: {
1898
- id: (_63 = resp.data) === null || _63 === void 0 ? void 0 : _63.id,
1899
+ id: (_64 = resp.data) === null || _64 === void 0 ? void 0 : _64.id,
1899
1900
  form: generalInformation,
1900
1901
  },
1901
- failover: (_64 = resp.data) === null || _64 === void 0 ? void 0 : _64.failover,
1902
- targetAudience: (_65 = resp.data) === null || _65 === void 0 ? void 0 : _65.targets,
1902
+ failover: (_65 = resp.data) === null || _65 === void 0 ? void 0 : _65.failover,
1903
+ targetAudience: (_66 = resp.data) === null || _66 === void 0 ? void 0 : _66.targets,
1903
1904
  targetAudienceFile: {
1904
- name: (_66 = resp.data) === null || _66 === void 0 ? void 0 : _66.fileName,
1905
- targetURL: (_67 = resp.data) === null || _67 === void 0 ? void 0 : _67.targetURL,
1905
+ name: (_67 = resp.data) === null || _67 === void 0 ? void 0 : _67.fileName,
1906
+ targetURL: (_68 = resp.data) === null || _68 === void 0 ? void 0 : _68.targetURL,
1906
1907
  },
1907
1908
  scheduler: {
1908
- schedulerType: ((_68 = resp.data) === null || _68 === void 0 ? void 0 : _68.scheduleType) === 'MULTI'
1909
+ schedulerType: ((_69 = resp.data) === null || _69 === void 0 ? void 0 : _69.scheduleType) === 'MULTI'
1909
1910
  ? 'ONE_TIME'
1910
- : (_69 = resp.data) === null || _69 === void 0 ? void 0 : _69.scheduleType,
1911
- startDate: (_71 = (_70 = resp.data) === null || _70 === void 0 ? void 0 : _70.startTime) === null || _71 === void 0 ? void 0 : _71.split(' ')[0],
1912
- startTime: (_73 = (_72 = resp.data) === null || _72 === void 0 ? void 0 : _72.startTime) === null || _73 === void 0 ? void 0 : _73.split(' ')[1],
1913
- isRepeat: ((_74 = resp.data) === null || _74 === void 0 ? void 0 : _74.scheduleType) === 'MULTI',
1914
- delivery: (_75 = resp.data) === null || _75 === void 0 ? void 0 : _75.repeat,
1911
+ : (_70 = resp.data) === null || _70 === void 0 ? void 0 : _70.scheduleType,
1912
+ startDate: (_72 = (_71 = resp.data) === null || _71 === void 0 ? void 0 : _71.startTime) === null || _72 === void 0 ? void 0 : _72.split(' ')[0],
1913
+ startTime: (_74 = (_73 = resp.data) === null || _73 === void 0 ? void 0 : _73.startTime) === null || _74 === void 0 ? void 0 : _74.split(' ')[1],
1914
+ isRepeat: ((_75 = resp.data) === null || _75 === void 0 ? void 0 : _75.scheduleType) === 'MULTI',
1915
+ delivery: (_76 = resp.data) === null || _76 === void 0 ? void 0 : _76.repeat,
1915
1916
  },
1916
1917
  })));
1917
1918
  _this.isLoading = false;