@topconsultnpm/sdk-ts 6.22.0-dev2.2 → 6.22.0-dev2.4

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.
@@ -2950,8 +2950,8 @@ export class JobEngine extends BaseEngine {
2950
2950
  return d;
2951
2951
  }
2952
2952
  static Normalize_MailSender_MailFormatDescriptor(d, isNew) {
2953
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
2954
- var _w, _x, _y, _z, _0, _1, _2;
2953
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
2954
+ var _z, _0, _1, _2, _3, _4, _5, _6, _7, _8;
2955
2955
  if (d === undefined || isNew)
2956
2956
  d = JobEngine.GetNewMailFormat();
2957
2957
  else {
@@ -2968,13 +2968,18 @@ export class JobEngine extends BaseEngine {
2968
2968
  (_l = d.confirmReceipt) !== null && _l !== void 0 ? _l : (d.confirmReceipt = false);
2969
2969
  (_m = d.generateMailSenderKey) !== null && _m !== void 0 ? _m : (d.generateMailSenderKey = false);
2970
2970
  (_o = d.attachmentCfg) !== null && _o !== void 0 ? _o : (d.attachmentCfg = JobEngine.GetNewAttachmentCfg());
2971
- (_p = (_w = d.attachmentCfg).nameMapping) !== null && _p !== void 0 ? _p : (_w.nameMapping = JobEngine.GetNewMapping("AttachmentCfg.Name"));
2972
- (_q = (_x = d.attachmentCfg).passwordMapping) !== null && _q !== void 0 ? _q : (_x.passwordMapping = JobEngine.GetNewMapping("AttachmentCfg.Password"));
2973
- (_r = (_y = d.attachmentCfg).sendWithoutAttachments) !== null && _r !== void 0 ? _r : (_y.sendWithoutAttachments = false);
2974
- (_s = (_z = d.attachmentCfg).compressMode) !== null && _s !== void 0 ? _s : (_z.compressMode = MailSender_AttachCompressModes.None);
2975
- (_t = (_0 = d.attachmentCfg).removeDigitalSign) !== null && _t !== void 0 ? _t : (_0.removeDigitalSign = false);
2976
- (_u = (_1 = d.attachmentCfg).addPassword) !== null && _u !== void 0 ? _u : (_1.addPassword = false);
2977
- (_v = (_2 = d.attachmentCfg).maxSize) !== null && _v !== void 0 ? _v : (_2.maxSize = 0);
2971
+ (_p = (_z = d.attachmentCfg).nameMapping) !== null && _p !== void 0 ? _p : (_z.nameMapping = JobEngine.GetNewMapping("AttachmentCfg.Name"));
2972
+ (_q = (_0 = d.attachmentCfg).passwordMapping) !== null && _q !== void 0 ? _q : (_0.passwordMapping = JobEngine.GetNewMapping("AttachmentCfg.Password"));
2973
+ (_r = (_1 = d.attachmentCfg).sendWithoutAttachments) !== null && _r !== void 0 ? _r : (_1.sendWithoutAttachments = false);
2974
+ (_s = (_2 = d.attachmentCfg).compressMode) !== null && _s !== void 0 ? _s : (_2.compressMode = MailSender_AttachCompressModes.None);
2975
+ (_t = (_3 = d.attachmentCfg).removeDigitalSign) !== null && _t !== void 0 ? _t : (_3.removeDigitalSign = false);
2976
+ (_u = (_4 = d.attachmentCfg).addPassword) !== null && _u !== void 0 ? _u : (_4.addPassword = false);
2977
+ (_v = (_5 = d.attachmentCfg).maxSize) !== null && _v !== void 0 ? _v : (_5.maxSize = 0);
2978
+ (_w = (_6 = d.attachmentCfg).addPDFPassword) !== null && _w !== void 0 ? _w : (_6.addPDFPassword = false);
2979
+ (_x = (_7 = d.attachmentCfg).pdfPasswordMapping) !== null && _x !== void 0 ? _x : (_7.pdfPasswordMapping = JobEngine.GetNewMapping("AttachmentCfg.PDFPassword"));
2980
+ if (d.attachmentCfg.qdAttach !== undefined)
2981
+ SearchEngine.NormalizeQueryDescriptor(d.attachmentCfg.qdAttach, isNew);
2982
+ (_y = (_8 = d.attachmentCfg).nomeAttach) !== null && _y !== void 0 ? _y : (_8.nomeAttach = "");
2978
2983
  }
2979
2984
  return d;
2980
2985
  }
@@ -3010,6 +3015,8 @@ export class JobEngine extends BaseEngine {
3010
3015
  d.addPassword = false;
3011
3016
  d.maxSize = 0;
3012
3017
  d.addPDFPassword = false;
3018
+ d.pdfPasswordMapping = JobEngine.GetNewMapping("AttachmentCfg.PDFPassword");
3019
+ d.nomeAttach = "";
3013
3020
  return d;
3014
3021
  }
3015
3022
  static MailBox_MailSender_Normalize(mb, isNew) {