@topconsultnpm/sdk-ts 6.22.0-dev1.13 → 6.22.0-dev1.14
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.
package/dist/lib/Engine.js
CHANGED
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
import { ProgressCallbackData } from "./TopMediaServiceClientEx";
|
|
11
11
|
import { SDK_Globals } from "./helper";
|
|
12
12
|
import { StandardHelper } from "./helper/StandardHelper";
|
|
13
|
-
import { ArchiveModes, AreaDescriptor, AreaParams, BarcodeArchiverJobDescriptor, BarcodeDetectionDescriptor, Barcode_Colors, Barcode_Orientations, DcmtInputTypes, BasketTypeDescriptor, BatchUpdaterJobDescriptor, COSCheckerJobDescriptor, CassettoDoganaleJobDescriptor, CheckSequenceJobDescriptor, CultureIDs, DateTimeFormats, DcmtConverterJobDescriptor, DcmtDeleterJobDescriptor, DcmtDeleter_Actions, DcmtNoteJobDescriptor, DcmtPrinterJobDescriptor, DcmtTypeDescriptor, DiskDescriptor, FEAttacherJobDescriptor, FECreatorTxtJobDescriptor, FEDetacherJobDescriptor, FESenderWsJobDescriptor, FESplitterJobDescriptor, FEValidatorJobDescriptor, FileArchiverJobDescriptor, FileArchiver_ArchiveDescriptor, FileArchiver_ArchiveItemDescriptor, FileArchiver_InputTypes, FileCheckerJobDescriptor, FileDescriptor, FileExecJobDescriptor, FileExec_CheckFileModes, FileExportJobDescriptor, FileFormats, FileMoverJobDescriptor, FileTransferModes, FromItem, InputOrders, InvoiceRetrieveFormats, JobTypes, LexJobDescriptor, LinkerJobDescriptor, MailArchiverJobDescriptor, MailQueryJobDescriptor, MailSenderJobDescriptor, MigrationJobDescriptor, NSOCreatorTxtJobDescriptor, NSODetacherJobDescriptor, NSOSenderWsJobDescriptor, NSOValidatorJobDescriptor, OrderRetrieveFormats, OutputTypes, PDFArchiverJobDescriptor, PdDCreatorJobDescriptor, PdDTypes, PdVArchiverJobDescriptor, PdVQueryJobDescriptor, PdVSenderJobDescriptor, PeppolQueryJobDescriptor, PeppolSenderJobDescriptor, QueryDescriptor, ReplicatorJobDescriptor, SAPAlignerJobDescriptor, SAPBarcodeJobDescriptor, SAPDataReaderJobDescriptor, SAPDataWriterJobDescriptor, SignerJobDescriptor, Updater_UpdateDescriptor, SourceNotExistActions, SpoolArchiverJobDescriptor, UpdateModes, UpdaterJobDescriptor, Updater_MetadataMappingDescriptor, Updater_UpdateItemDescriptor, FileInputTypes, BarcodeArchiver_SplittingDescriptor, BarcodeArchiver_Splitting_Modes, BooleanExpressionDescriptor, BarcodeArchiver_ArchiveDescriptor, FileMover_Operations, SourceFilesFilters, FileRenameOptions, DestFileAlreadyExistActions, SplittingDescriptor, PDFArchiver_ArchiveDescriptor, HttpAddressDescriptor, Replicator_ArchiveDescriptor, BasketDescriptor, CommandSetDescriptor, PDFCommandSetDescriptor, ProcessDescriptor, ScheduleDescriptor, UserDescriptor, UserLevels, MetadataDataTypes, PreProc_Strategies, DataListDescriptor, ProcessRunAsModes, HistLogPurgeModes, ScheduleTypes, ScheduleOneTime, SignCertDescriptor, ScheduleDailyFrequency, ScheduleDailyOccursModes, ScheduleTimeUnits, ScheduleDuration, ScheduleRecurringMonthly, ScheduleRecurringWeekly, ScheduleRecurringDescriptor, ScheduleRecurringTypes, ProcessNotificationDescriptor, UpsertDescriptor, UpsertActions, UpsertSearchCriterias, BarcodeArchiver_ArchiveItemDescriptor, BarcodeArchiver_ArchiveMappingDescriptor, BarcodeArchiver_MetadataMappingDescriptor, MappingModes, MetadataMappingDescriptor, FileArchiver_ArchiveMappingDescriptor, CommandBaseDescriptor, CommandTypes, PadCommandDescriptor, ConcatCommandDescriptor, FormatCommandDescriptor, LeftSubstringCommandDescriptor, ReplaceCommandDescriptor, RightSubstringCommandDescriptor, SplitCommandDescriptor, TrimCommandDescriptor, SubstringCommandDescriptor, PDFCommandBaseDescriptor, PDFCommandTypes, PDFAddTextCommandDescriptor, PDFAddImageCommandDescriptor, PDFRemovePagesCommandDescriptor, PDFRemovePagesModes, COSDocTypes, ExpModes, AgentRoles, GroupingDescriptor, GroupingModes, SecureOperDescriptor, SignOperExDescriptor, SignFormats, TimeStampOperExDescriptor, PDFArchiver_ArchiveItemDescriptor, PDFArchiver_ArchiveMappingDescriptor, QueryFunctions, SelectItemVisibilities, QueryOperators, PdVCheckDescriptor, PDFTextItemDescriptor, PDFTextItemScopes, XYModes, SavedQueryDescriptor, Replicator_ArchiveItemDescriptor, Replicator_ArchiveMappingDescriptor, DossierDescriptor, WFDescriptor, TaskDescriptor, Updater_InputTypes, RemoveInputStrategies, SharingModes, RelationDescriptor, RelationTypes, NoDataActions, PrinterDescriptor, PagesRange, PrintOrientations, RetrieveFileOptions, DcmtOpers, MetadataValueDescriptor, MailBoxDescriptor, ReadingMailProtocols, IMAPDescriptor, SendingMailProtocols, MailAuthTypes, SMTPDescriptor, GraphAPIDescriptor, ProcessedItemActions, MailArchiver_FolderDescriptor, ArchiveDcmtDescriptor, MailSender_MailFormatDescriptor, MailArchiver_WholeMailCfgDescriptor, MailSender_TracingDescriptor, MailSender_GroupingDescriptor, MailSender_MailPropertyMappingDescriptor, MailSender_AttachmentCfgDescriptor, MailSender_AttachCompressModes, MailArchiver_WholeMailArchiveModes, MailArchiver_ArchiveMappingDescriptor, MailSender_GroupingModes, MailArchiver_AttachmentCfgDescriptor, Linker_OperTypes, MailArchiver_AttachmentCfgItemDescriptor, MailArchiver_MetadataMappingDescriptor, MailArchiver_ParametricValueTypes, MailMessageProperties, PeppolTracingDescriptor, PeppolDescriptor, CassettoDoganalePlusJobDescriptor, NumeratorDescriptor, GroupDescriptor, FEDistillerJobDescriptor, MailQuery_ArchiveItemDescriptor, MetadataDescriptor, IndexDescriptor, ArchiveConstraints, EncryptionModes, MembershipConstraints, UserTypes, CassettoFiscaleSenderJobDescriptor, CassettoFiscaleQueryJobDescriptor, MetadataDataDomains, DataListViewModes, SAPLoginDescriptor, SAPLoginModes, PdGs, Task_States, Priorities, AlreadySharedActions, DossierTypeDescriptor, WFTypes, WFPartRoles, WFSources, WFEvents, DossierDetail, Ds_ClassIDs, LayoutCustomButtonModes, CDPSearchModes, CassettoDoganaleDistillerJobDescriptor, CDFileTypes, DcmtCreatorJobDescriptor, DcmtCreator_MetadataMappingDescriptor, DocumentSource, DocumentSourceTypes, DocumentFormats, DocumentOperation, DocumentOperations, FillFieldsOperation, FillFieldsStrategies, FillTableOperation, HeaderFooterOperation, HeaderFooterContentTypes, MergeDocumentsOperation, RasterizeElementsOperation, ConvertToPdfOperation, AddDigitalSignatureFieldOperation, ApplyLetterheadOperation, RasterElement, TextElement, ImageElement, CheckboxElement, RadioButtonElement, LineElement, RectangleElement, ElementPosition, ElementSize, LineStyle, TextFormatting, TextAlignments, OcrSixJobDescriptor, OcrColumnsInfo, OcrColumnCommand, OcrCommandTypes, OutputActions, CDPBrowsers, JobFailureActions, CaseFlowTemplateDescriptor, CF_FlowModes, CaseFlowInstanceDescriptor, CF_States, CF_WorkItemStates, CF_WorkItemCategories, CF_ParticipantRoles, CF_CompletionTypes, CF_AutoTriggerTypes, WorkItemSetRules, CF_AssigneeTypes, CF_BlogAccessLevel, CF_DocAccessLevel } from "./openAPIs/TopMediaServiceClient";
|
|
13
|
+
import { ArchiveModes, AreaDescriptor, AreaParams, BarcodeArchiverJobDescriptor, BarcodeDetectionDescriptor, Barcode_Colors, Barcode_Orientations, DcmtInputTypes, BasketTypeDescriptor, BatchUpdaterJobDescriptor, COSCheckerJobDescriptor, CassettoDoganaleJobDescriptor, CheckSequenceJobDescriptor, CultureIDs, DateTimeFormats, DcmtConverterJobDescriptor, DcmtDeleterJobDescriptor, DcmtDeleter_Actions, DcmtNoteJobDescriptor, DcmtPrinterJobDescriptor, DcmtTypeDescriptor, DiskDescriptor, FEAttacherJobDescriptor, FECreatorTxtJobDescriptor, FEDetacherJobDescriptor, FESenderWsJobDescriptor, FESplitterJobDescriptor, FEValidatorJobDescriptor, FileArchiverJobDescriptor, FileArchiver_ArchiveDescriptor, FileArchiver_ArchiveItemDescriptor, FileArchiver_InputTypes, FileCheckerJobDescriptor, FileDescriptor, FileExecJobDescriptor, FileExec_CheckFileModes, FileExportJobDescriptor, FileFormats, FileMoverJobDescriptor, FileTransferModes, FromItem, InputOrders, InvoiceRetrieveFormats, JobTypes, LexJobDescriptor, LinkerJobDescriptor, MailArchiverJobDescriptor, MailQueryJobDescriptor, MailSenderJobDescriptor, MigrationJobDescriptor, NSOCreatorTxtJobDescriptor, NSODetacherJobDescriptor, NSOSenderWsJobDescriptor, NSOValidatorJobDescriptor, OrderRetrieveFormats, OutputTypes, PDFArchiverJobDescriptor, PdDCreatorJobDescriptor, PdDTypes, PdVArchiverJobDescriptor, PdVQueryJobDescriptor, PdVSenderJobDescriptor, PeppolQueryJobDescriptor, PeppolSenderJobDescriptor, QueryDescriptor, ReplicatorJobDescriptor, SAPAlignerJobDescriptor, SAPBarcodeJobDescriptor, SAPDataReaderJobDescriptor, SAPDataWriterJobDescriptor, SignerJobDescriptor, Updater_UpdateDescriptor, SourceNotExistActions, SpoolArchiverJobDescriptor, UpdateModes, UpdaterJobDescriptor, Updater_MetadataMappingDescriptor, Updater_UpdateItemDescriptor, FileInputTypes, BarcodeArchiver_SplittingDescriptor, BarcodeArchiver_Splitting_Modes, BooleanExpressionDescriptor, BarcodeArchiver_ArchiveDescriptor, FileMover_Operations, SourceFilesFilters, FileRenameOptions, DestFileAlreadyExistActions, SplittingDescriptor, PDFArchiver_ArchiveDescriptor, HttpAddressDescriptor, Replicator_ArchiveDescriptor, BasketDescriptor, CommandSetDescriptor, PDFCommandSetDescriptor, ProcessDescriptor, ScheduleDescriptor, UserDescriptor, UserLevels, MetadataDataTypes, PreProc_Strategies, DataListDescriptor, ProcessRunAsModes, HistLogPurgeModes, ScheduleTypes, ScheduleOneTime, SignCertDescriptor, ScheduleDailyFrequency, ScheduleDailyOccursModes, ScheduleTimeUnits, ScheduleDuration, ScheduleRecurringMonthly, ScheduleRecurringWeekly, ScheduleRecurringDescriptor, ScheduleRecurringTypes, ProcessNotificationDescriptor, UpsertDescriptor, UpsertActions, UpsertSearchCriterias, BarcodeArchiver_ArchiveItemDescriptor, BarcodeArchiver_ArchiveMappingDescriptor, BarcodeArchiver_MetadataMappingDescriptor, MappingModes, MetadataMappingDescriptor, FileArchiver_ArchiveMappingDescriptor, CommandBaseDescriptor, CommandTypes, PadCommandDescriptor, ConcatCommandDescriptor, FormatCommandDescriptor, LeftSubstringCommandDescriptor, ReplaceCommandDescriptor, RightSubstringCommandDescriptor, SplitCommandDescriptor, TrimCommandDescriptor, SubstringCommandDescriptor, PDFCommandBaseDescriptor, PDFCommandTypes, PDFAddTextCommandDescriptor, PDFAddImageCommandDescriptor, PDFRemovePagesCommandDescriptor, PDFRemovePagesModes, COSDocTypes, ExpModes, AgentRoles, GroupingDescriptor, GroupingModes, SecureOperDescriptor, SignOperExDescriptor, SignFormats, TimeStampOperExDescriptor, PDFArchiver_ArchiveItemDescriptor, PDFArchiver_ArchiveMappingDescriptor, QueryFunctions, SelectItemVisibilities, QueryOperators, PdVCheckDescriptor, PDFTextItemDescriptor, PDFTextItemScopes, XYModes, SavedQueryDescriptor, Replicator_ArchiveItemDescriptor, Replicator_ArchiveMappingDescriptor, DossierDescriptor, WFDescriptor, TaskDescriptor, Updater_InputTypes, RemoveInputStrategies, SharingModes, RelationDescriptor, RelationTypes, NoDataActions, PrinterDescriptor, PagesRange, PrintOrientations, RetrieveFileOptions, DcmtOpers, MetadataValueDescriptor, MailBoxDescriptor, ReadingMailProtocols, IMAPDescriptor, SendingMailProtocols, MailAuthTypes, SMTPDescriptor, GraphAPIDescriptor, ProcessedItemActions, MailArchiver_FolderDescriptor, ArchiveDcmtDescriptor, MailSender_MailFormatDescriptor, MailArchiver_WholeMailCfgDescriptor, MailSender_TracingDescriptor, MailSender_GroupingDescriptor, MailSender_MailPropertyMappingDescriptor, MailSender_AttachmentCfgDescriptor, MailSender_AttachCompressModes, MailArchiver_WholeMailArchiveModes, MailArchiver_ArchiveMappingDescriptor, MailSender_GroupingModes, MailArchiver_AttachmentCfgDescriptor, Linker_OperTypes, MailArchiver_AttachmentCfgItemDescriptor, MailArchiver_MetadataMappingDescriptor, MailArchiver_ParametricValueTypes, MailMessageProperties, PeppolTracingDescriptor, PeppolDescriptor, CassettoDoganalePlusJobDescriptor, NumeratorDescriptor, GroupDescriptor, FEDistillerJobDescriptor, MailQuery_ArchiveItemDescriptor, MetadataDescriptor, IndexDescriptor, ArchiveConstraints, EncryptionModes, MembershipConstraints, UserTypes, CassettoFiscaleSenderJobDescriptor, CassettoFiscaleQueryJobDescriptor, MetadataDataDomains, DataListViewModes, SAPLoginDescriptor, SAPLoginModes, PdGs, Task_States, Priorities, AlreadySharedActions, DossierTypeDescriptor, WFTypes, WFPartRoles, WFSources, WFEvents, DossierDetail, Ds_ClassIDs, LayoutCustomButtonModes, CDPSearchModes, CassettoDoganaleDistillerJobDescriptor, CDFileTypes, DcmtCreatorJobDescriptor, DcmtCreator_MetadataMappingDescriptor, DocumentSource, DocumentSourceTypes, DocumentFormats, DocumentOperation, DocumentOperations, FillFieldsOperation, FillFieldsStrategies, FillTableOperation, HeaderFooterOperation, HeaderFooterContentTypes, MergeDocumentsOperation, RasterizeElementsOperation, ConvertToPdfOperation, AddDigitalSignatureFieldOperation, ApplyLetterheadOperation, RasterElement, TextElement, ImageElement, CheckboxElement, RadioButtonElement, LineElement, RectangleElement, ElementPosition, ElementSize, LineStyle, TextFormatting, TextAlignments, OcrSixJobDescriptor, OcrColumnsInfo, OcrColumnCommand, OcrCommandTypes, OutputActions, CDPBrowsers, JobFailureActions, CaseFlowTemplateDescriptor, CF_FlowModes, CaseFlowInstanceDescriptor, CF_States, CF_WorkItemStates, CF_WorkItemCategories, CF_ParticipantRoles, CF_CompletionTypes, CF_AutoTriggerTypes, WorkItemSetRules, CF_AssigneeTypes, CF_BlogAccessLevel, CF_DocAccessLevel, CF_RejectBehaviors } from "./openAPIs/TopMediaServiceClient";
|
|
14
14
|
class BaseEngine {
|
|
15
15
|
constructor(tms) {
|
|
16
16
|
this.TopMediaSession = tms;
|
|
@@ -423,7 +423,7 @@ export class CaseFlowTemplateEngine extends BaseEngine {
|
|
|
423
423
|
if (d.stateTransitionRules)
|
|
424
424
|
for (let r of d.stateTransitionRules) {
|
|
425
425
|
(_e = r.id) !== null && _e !== void 0 ? _e : (r.id = 0);
|
|
426
|
-
(_f = r.
|
|
426
|
+
(_f = r.targetStateID) !== null && _f !== void 0 ? _f : (r.targetStateID = 0);
|
|
427
427
|
}
|
|
428
428
|
if (d.dcmts)
|
|
429
429
|
for (let dc of d.dcmts) {
|
|
@@ -459,14 +459,13 @@ export class CaseFlowTemplateEngine extends BaseEngine {
|
|
|
459
459
|
export class CaseFlowInstanceEngine extends BaseEngine {
|
|
460
460
|
static NewCaseFlowInstanceDescriptor() { return this.Normalize(new CaseFlowInstanceDescriptor(), true); }
|
|
461
461
|
static Normalize(d, isNew) {
|
|
462
|
-
var _a, _b, _c, _d
|
|
462
|
+
var _a, _b, _c, _d;
|
|
463
463
|
if (!d)
|
|
464
464
|
return;
|
|
465
465
|
(_a = d.state) !== null && _a !== void 0 ? _a : (d.state = CF_States.None);
|
|
466
466
|
(_b = d.progress) !== null && _b !== void 0 ? _b : (d.progress = 0);
|
|
467
467
|
(_c = d.warningDays) !== null && _c !== void 0 ? _c : (d.warningDays = 0);
|
|
468
|
-
(_d = d.
|
|
469
|
-
(_e = d.newPosts) !== null && _e !== void 0 ? _e : (d.newPosts = 0);
|
|
468
|
+
(_d = d.newPosts) !== null && _d !== void 0 ? _d : (d.newPosts = 0);
|
|
470
469
|
if (d.actions)
|
|
471
470
|
for (let a of d.actions)
|
|
472
471
|
this.NormalizeAction(a);
|
|
@@ -485,21 +484,22 @@ export class CaseFlowInstanceEngine extends BaseEngine {
|
|
|
485
484
|
return d;
|
|
486
485
|
}
|
|
487
486
|
static NormalizeAction(a) {
|
|
488
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
487
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
489
488
|
if (!a)
|
|
490
489
|
return;
|
|
491
490
|
(_a = a.order) !== null && _a !== void 0 ? _a : (a.order = 0);
|
|
492
491
|
(_b = a.state) !== null && _b !== void 0 ? _b : (a.state = CF_States.None);
|
|
493
492
|
(_c = a.isCurrent) !== null && _c !== void 0 ? _c : (a.isCurrent = false);
|
|
494
493
|
(_d = a.completionType) !== null && _d !== void 0 ? _d : (a.completionType = CF_CompletionTypes.Manual);
|
|
495
|
-
(_e = a.
|
|
496
|
-
(_f = a.
|
|
497
|
-
(_g = a.
|
|
498
|
-
(_h = a.
|
|
499
|
-
(_j = a.
|
|
500
|
-
(_k = a.
|
|
501
|
-
(_l = a.
|
|
502
|
-
(_m = a.
|
|
494
|
+
(_e = a.autoTriggerType) !== null && _e !== void 0 ? _e : (a.autoTriggerType = CF_AutoTriggerTypes.None);
|
|
495
|
+
(_f = a.isFinal) !== null && _f !== void 0 ? _f : (a.isFinal = false);
|
|
496
|
+
(_g = a.dueDays) !== null && _g !== void 0 ? _g : (a.dueDays = 0);
|
|
497
|
+
(_h = a.workItemCategory) !== null && _h !== void 0 ? _h : (a.workItemCategory = CF_WorkItemCategories.None);
|
|
498
|
+
(_j = a.actionTID) !== null && _j !== void 0 ? _j : (a.actionTID = 0);
|
|
499
|
+
(_k = a.assigneesSetRule) !== null && _k !== void 0 ? _k : (a.assigneesSetRule = WorkItemSetRules.Ands_AND_Ors);
|
|
500
|
+
(_l = a.onCompleteStateID) !== null && _l !== void 0 ? _l : (a.onCompleteStateID = 0);
|
|
501
|
+
(_m = a.rejectToActionID) !== null && _m !== void 0 ? _m : (a.rejectToActionID = 0);
|
|
502
|
+
(_o = a.onReject) !== null && _o !== void 0 ? _o : (a.onReject = CF_RejectBehaviors.TerminateFlow);
|
|
503
503
|
if (a.assignees)
|
|
504
504
|
for (let asg of a.assignees)
|
|
505
505
|
this.NormalizeAssignee(asg);
|
|
@@ -539,19 +539,19 @@ export class CaseFlowInstanceEngine extends BaseEngine {
|
|
|
539
539
|
return;
|
|
540
540
|
(_a = wi.id) !== null && _a !== void 0 ? _a : (wi.id = 0);
|
|
541
541
|
(_b = wi.cfiid) !== null && _b !== void 0 ? _b : (wi.cfiid = 0);
|
|
542
|
-
(_c = wi.
|
|
542
|
+
(_c = wi.actionID) !== null && _c !== void 0 ? _c : (wi.actionID = 0);
|
|
543
543
|
(_d = wi.workItemCategory) !== null && _d !== void 0 ? _d : (wi.workItemCategory = CF_WorkItemCategories.None);
|
|
544
|
-
(_e = wi.
|
|
545
|
-
(_f = wi.
|
|
544
|
+
(_e = wi.fromUserID) !== null && _e !== void 0 ? _e : (wi.fromUserID = 0);
|
|
545
|
+
(_f = wi.toUserID) !== null && _f !== void 0 ? _f : (wi.toUserID = 0);
|
|
546
546
|
(_g = wi.state) !== null && _g !== void 0 ? _g : (wi.state = CF_WorkItemStates.Pending);
|
|
547
|
-
(_h = wi.
|
|
547
|
+
(_h = wi.parentWorkItemID) !== null && _h !== void 0 ? _h : (wi.parentWorkItemID = 0);
|
|
548
548
|
return wi;
|
|
549
549
|
}
|
|
550
550
|
static NormalizeStateEntry(se) {
|
|
551
551
|
var _a, _b, _c, _d;
|
|
552
552
|
if (!se)
|
|
553
553
|
return;
|
|
554
|
-
(_a = se.
|
|
554
|
+
(_a = se.stateID) !== null && _a !== void 0 ? _a : (se.stateID = 0);
|
|
555
555
|
(_b = se.order) !== null && _b !== void 0 ? _b : (se.order = 0);
|
|
556
556
|
(_c = se.isReached) !== null && _c !== void 0 ? _c : (se.isReached = false);
|
|
557
557
|
(_d = se.isCurrent) !== null && _d !== void 0 ? _d : (se.isCurrent = false);
|
|
@@ -561,8 +561,8 @@ export class CaseFlowInstanceEngine extends BaseEngine {
|
|
|
561
561
|
var _a, _b, _c;
|
|
562
562
|
if (!at)
|
|
563
563
|
return;
|
|
564
|
-
(_a = at.
|
|
565
|
-
(_b = at.
|
|
564
|
+
(_a = at.actionID) !== null && _a !== void 0 ? _a : (at.actionID = 0);
|
|
565
|
+
(_b = at.completedByUserID) !== null && _b !== void 0 ? _b : (at.completedByUserID = 0);
|
|
566
566
|
(_c = at.durationMinutes) !== null && _c !== void 0 ? _c : (at.durationMinutes = 0);
|
|
567
567
|
return at;
|
|
568
568
|
}
|
|
@@ -597,9 +597,15 @@ export class CaseFlowInstanceEngine extends BaseEngine {
|
|
|
597
597
|
DcmtAddOrRemoveAsync(cftid, id, tid, did, remove) {
|
|
598
598
|
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.caseFlowInstanceDcmtAddOrRemove(cftid, id, tid, did, remove ? 1 : 0)); });
|
|
599
599
|
}
|
|
600
|
+
DcmtRuleAddOrRemoveAsync(cftid, id, tid, min, max, remove) {
|
|
601
|
+
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.caseFlowInstanceDcmtRuleAddOrRemove(cftid, id, tid, min, max, remove ? 1 : 0)); });
|
|
602
|
+
}
|
|
600
603
|
ParticipantsAddOrRemoveAsync(cftid, id, d, remove) {
|
|
601
604
|
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.caseFlowInstanceParticipantsAddOrRemove(cftid, id, remove ? 1 : 0, d)); });
|
|
602
605
|
}
|
|
606
|
+
ExecuteWorkItemOperationAsync(cftid, id, operation) {
|
|
607
|
+
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.caseFlowInstanceExecuteWorkItemOperation(cftid, id, operation)); });
|
|
608
|
+
}
|
|
603
609
|
}
|
|
604
610
|
export class DataListEngine extends BaseEngine {
|
|
605
611
|
static NewDataListDescriptor() { return this.Normalize(new DataListDescriptor(), true); }
|
|
@@ -3003,6 +3009,7 @@ export class JobEngine extends BaseEngine {
|
|
|
3003
3009
|
d.removeDigitalSign = false;
|
|
3004
3010
|
d.addPassword = false;
|
|
3005
3011
|
d.maxSize = 0;
|
|
3012
|
+
d.addPDFPassword = false;
|
|
3006
3013
|
return d;
|
|
3007
3014
|
}
|
|
3008
3015
|
static MailBox_MailSender_Normalize(mb, isNew) {
|