@topconsultnpm/sdk-ts 6.19.0-dev3.2 → 6.19.0-dev3.3
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 +8 -8
- package/dist/types/Engine.d.ts +10 -5
- package/package.json +1 -1
package/dist/lib/Engine.js
CHANGED
|
@@ -4434,19 +4434,19 @@ export class WorkflowEngine extends BaseEngine {
|
|
|
4434
4434
|
WorkItem_ReassignAsync(VID, DID, toUserID, reason) {
|
|
4435
4435
|
return __awaiter(this, void 0, void 0, function* () { var _a; yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.workItemReassign(VID, DID, toUserID, reason)); });
|
|
4436
4436
|
}
|
|
4437
|
-
|
|
4437
|
+
WFCtrl_GetWFsAsync() {
|
|
4438
4438
|
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.workflowCtrlGetWFs()); });
|
|
4439
4439
|
}
|
|
4440
|
-
|
|
4441
|
-
return __awaiter(this, void 0, void 0, function* () { var _a; yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.workflowCtrlEndInstance(WFID, MTID, MDID, reason)); });
|
|
4442
|
-
}
|
|
4443
|
-
WFCtrlRetrieveAllDcmtsAsync(WFID_1) {
|
|
4440
|
+
WFCtrl_RetrieveAllDcmtsAsync(WFID_1) {
|
|
4444
4441
|
return __awaiter(this, arguments, void 0, function* (WFID, outputType = 6) { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.workflowCtrlRetrieveAllDcmts(WFID, outputType)); });
|
|
4445
4442
|
}
|
|
4446
|
-
|
|
4447
|
-
return __awaiter(this, arguments, void 0, function* (WFID, MTID, MDID,
|
|
4443
|
+
WFCtrl_RetrieveAllWIsAsync(WFID_1, MTID_1, MDID_1, WIInstanceID_1) {
|
|
4444
|
+
return __awaiter(this, arguments, void 0, function* (WFID, MTID, MDID, WIInstanceID, outputType = 6) { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.workflowCtrlRetrieveAllWIs(WFID, MTID, MDID, WIInstanceID, outputType)); });
|
|
4445
|
+
}
|
|
4446
|
+
WFCtrl_EndInstanceAsync(WFID, MTID, MDID, reason) {
|
|
4447
|
+
return __awaiter(this, void 0, void 0, function* () { var _a; yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.workflowCtrlEndInstance(WFID, MTID, MDID, reason)); });
|
|
4448
4448
|
}
|
|
4449
|
-
|
|
4449
|
+
WFCtrl_ForceWIAsync(WFID, WIDID, eventID, reason) {
|
|
4450
4450
|
return __awaiter(this, void 0, void 0, function* () { var _a; yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.workflowCtrlForceWI(WFID, WIDID, eventID, reason)); });
|
|
4451
4451
|
}
|
|
4452
4452
|
}
|
package/dist/types/Engine.d.ts
CHANGED
|
@@ -933,11 +933,11 @@ export declare class WorkflowEngine extends BaseEngine implements IWorkflowEngin
|
|
|
933
933
|
WorkItem_CompleteOrRejectAsync(VID: number, DID: number, response: string | undefined, isReject: number): Promise<void>;
|
|
934
934
|
WorkItem_MoreInfoAsync(VID: number, DID: number, td: TaskDescriptor | undefined): Promise<void>;
|
|
935
935
|
WorkItem_ReassignAsync(VID: number, DID: number, toUserID: number, reason: string): Promise<void>;
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
936
|
+
WFCtrl_GetWFsAsync(): Promise<WFDescriptor[] | undefined>;
|
|
937
|
+
WFCtrl_RetrieveAllDcmtsAsync(WFID: number, outputType?: number): Promise<SearchResultDescriptor | undefined>;
|
|
938
|
+
WFCtrl_RetrieveAllWIsAsync(WFID: number, MTID: number, MDID: number, WIInstanceID: string | undefined, outputType?: number): Promise<SearchResultDescriptor | undefined>;
|
|
939
|
+
WFCtrl_EndInstanceAsync(WFID: number, MTID: number, MDID: number, reason: string | undefined): Promise<void>;
|
|
940
|
+
WFCtrl_ForceWIAsync(WFID: number, WIDID: number, eventID: WFEvents, reason: string | undefined): Promise<void>;
|
|
941
941
|
}
|
|
942
942
|
export declare class WorkingGroupEngine extends BaseEngine implements IWorkingGroupEngine {
|
|
943
943
|
CreateAsync(d: WorkingGroupDescriptor): Promise<number | undefined>;
|
|
@@ -1567,6 +1567,11 @@ export interface IWorkflowEngine extends IAdminEngine<WFDescriptor>, INotAdminEn
|
|
|
1567
1567
|
WorkItem_CompleteOrRejectAsync(VID: number, DID: number, response: string | undefined, isReject: number): Promise<void>;
|
|
1568
1568
|
WorkItem_MoreInfoAsync(VID: number, DID: number, td: TaskDescriptor | undefined): Promise<void>;
|
|
1569
1569
|
WorkItem_ReassignAsync(VID: number, DID: number, toUserID: number, reason: string): Promise<void>;
|
|
1570
|
+
WFCtrl_GetWFsAsync(): Promise<WFDescriptor[] | undefined>;
|
|
1571
|
+
WFCtrl_RetrieveAllDcmtsAsync(WFID: number, outputType?: number): Promise<SearchResultDescriptor | undefined>;
|
|
1572
|
+
WFCtrl_RetrieveAllWIsAsync(WFID: number, MTID: number, MDID: number, WIInstanceID: string | undefined, outputType?: number): Promise<SearchResultDescriptor | undefined>;
|
|
1573
|
+
WFCtrl_ForceWIAsync(WFID: number, WIDID: number, eventID: WFEvents, reason: string | undefined): Promise<void>;
|
|
1574
|
+
WFCtrl_EndInstanceAsync(WFID: number, MTID: number, MDID: number, reason: string | undefined): Promise<void>;
|
|
1570
1575
|
}
|
|
1571
1576
|
export interface IWorkingGroupEngine extends IAdminEngine<WorkingGroupDescriptor>, INotAdminEngine<WorkingGroupDescriptor> {
|
|
1572
1577
|
ChangeOwnerAsync(id: number, newOwnerId: number): Promise<void>;
|