@topconsultnpm/sdk-ts 6.22.0-dev1.3 → 6.22.0-dev1.5

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.
@@ -407,8 +407,8 @@ export class CaseFlowTemplateEngine extends BaseEngine {
407
407
  static Normalize(d, isNew) {
408
408
  if (!d)
409
409
  return;
410
- if (d.expirationDays === undefined)
411
- d.expirationDays = 0;
410
+ if (d.dueDays === undefined)
411
+ d.dueDays = 0;
412
412
  if (d.warningDays === undefined)
413
413
  d.warningDays = 0;
414
414
  if (d.flowMode === undefined)
@@ -465,6 +465,12 @@ export class CaseFlowInstanceEngine extends BaseEngine {
465
465
  DeleteAsync(cftid, id) {
466
466
  return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.caseFlowInstanceDelete(cftid, id)); });
467
467
  }
468
+ BlogPostAddAsync(cftid, id, bp) {
469
+ return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.caseFlowInstanceBlogPostAdd(cftid, id, bp)); });
470
+ }
471
+ BlogPostDeleteOrUndeleteAsync(cftid, id, postID, del) {
472
+ return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.caseFlowInstancPostDeleteOrUndelete(cftid, id, postID, del ? 1 : 0)); });
473
+ }
468
474
  }
469
475
  export class DataListEngine extends BaseEngine {
470
476
  static NewDataListDescriptor() { return this.Normalize(new DataListDescriptor(), true); }