@5minds/processcube_engine_sdk 7.2.0-feature-1b3ffb-mbgj2pe7 → 7.2.0-feature-4668f2-mbgl023x

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.
@@ -1,18 +1,4 @@
1
1
  import { EndEventViewModel, FlowNodeViewModel, Model, StartEventViewModel } from '../ProcessModel/index';
2
- /**
3
- * Determines what should happen with Cyclic Timers contained within a Process Model, after the Model is deployed to the Engine.
4
- *
5
- * @param Overwrite Default behaviour - Cyclic timers are enabled according to what is defined in the BPMN
6
- * @param Disabled All cyclic timers are disabled
7
- * @param Keep Already deployed cyclic timers are kept as they are and new cyclic timers are added as defined in the BPMN
8
- * @param DisableNew Already deployed cyclic timers are kept as they are and new cyclic timers are disabled
9
- */
10
- export declare enum CyclicTimersDeploymentMode {
11
- Overwrite = "Overwrite",
12
- Keep = "Keep",
13
- Disable = "Disable",
14
- DisableNew = "DisableNew"
15
- }
16
2
  /**
17
3
  * @swagger
18
4
  * components:
@@ -187,12 +173,8 @@ export declare type ProcessModelList = {
187
173
  * overwriteExisting:
188
174
  * description: A flag indicating whether existing process definitions should be overwritten.
189
175
  * type: boolean
190
- * cyclicTimers:
191
- * description: Decides on how to handle Cyclic Timers contained within the diagram.
192
- * type: CyclicTimersDeploymentMode
193
176
  */
194
177
  export declare type PersistProcessDefinitionsPayload = {
195
178
  xml: string | Array<string>;
196
179
  overwriteExisting?: boolean;
197
- cyclicTimers?: CyclicTimersDeploymentMode;
198
180
  };
@@ -1,4 +1,4 @@
1
- import { CyclicTimersDeploymentMode, DataModels, Identity } from '../index';
1
+ import { DataModels, Identity } from '../index';
2
2
  type ProcessStartOptions<TPayload extends object> = DataModels.ProcessInstances.ProcessStartOptions<TPayload>;
3
3
  type ProcessStartResponse = DataModels.ProcessInstances.ProcessStartResponse;
4
4
  export interface IProcessDefinitionExtensionAdapter {
@@ -13,6 +13,15 @@ export interface IProcessDefinitionExtensionAdapter {
13
13
  identity?: Identity;
14
14
  includeXml?: boolean;
15
15
  }): Promise<DataModels.ProcessDefinitions.ProcessDefinition>;
16
+ getHistoryById(processDefinitionId: string, options?: {
17
+ identity?: Identity;
18
+ includeXml?: boolean;
19
+ includeCount?: boolean;
20
+ }): Promise<DataModels.ProcessDefinitions.ProcessDefinitionList>;
21
+ getByHash(processDefinitionHash: string, options?: {
22
+ identity?: Identity;
23
+ includeXml?: boolean;
24
+ }): Promise<DataModels.ProcessDefinitions.ProcessDefinition>;
16
25
  getByProcessModelId(processModelId: string, options?: {
17
26
  identity?: Identity;
18
27
  includeXml?: boolean;
@@ -24,7 +33,6 @@ export interface IProcessDefinitionExtensionAdapter {
24
33
  deployFiles(filePaths: string | Array<string>, options?: {
25
34
  overwriteExisting?: boolean;
26
35
  identity?: Identity;
27
- cyclicTimers?: CyclicTimersDeploymentMode;
28
36
  }): Promise<void>;
29
37
  startProcessInstance<TPayload extends object>(options: ProcessStartOptions<TPayload>, identity?: Identity): Promise<ProcessStartResponse>;
30
38
  startProcessInstanceAndAwaitEndEvent<TPayload extends object>(options: ProcessStartOptions<TPayload>, identity?: Identity): Promise<ProcessStartResponse>;
@@ -1,19 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CyclicTimersDeploymentMode = void 0;
4
- /**
5
- * Determines what should happen with Cyclic Timers contained within a Process Model, after the Model is deployed to the Engine.
6
- *
7
- * @param Overwrite Default behaviour - Cyclic timers are enabled according to what is defined in the BPMN
8
- * @param Disabled All cyclic timers are disabled
9
- * @param Keep Already deployed cyclic timers are kept as they are and new cyclic timers are added as defined in the BPMN
10
- * @param DisableNew Already deployed cyclic timers are kept as they are and new cyclic timers are disabled
11
- */
12
- var CyclicTimersDeploymentMode;
13
- (function (CyclicTimersDeploymentMode) {
14
- CyclicTimersDeploymentMode["Overwrite"] = "Overwrite";
15
- CyclicTimersDeploymentMode["Keep"] = "Keep";
16
- CyclicTimersDeploymentMode["Disable"] = "Disable";
17
- CyclicTimersDeploymentMode["DisableNew"] = "DisableNew";
18
- })(CyclicTimersDeploymentMode || (exports.CyclicTimersDeploymentMode = CyclicTimersDeploymentMode = {}));
19
3
  //# sourceMappingURL=ProcessDefinition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProcessDefinition.js","sourceRoot":"","sources":["../../../src/DataModels/ProcessDefinition.ts"],"names":[],"mappings":";;;AAEA;;;;;;;GAOG;AACH,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,qDAAuB,CAAA;IACvB,2CAAa,CAAA;IACb,iDAAmB,CAAA;IACnB,uDAAyB,CAAA;AAC3B,CAAC,EALW,0BAA0B,0CAA1B,0BAA0B,QAKrC"}
1
+ {"version":3,"file":"ProcessDefinition.js","sourceRoot":"","sources":["../../../src/DataModels/ProcessDefinition.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/processcube_engine_sdk",
3
- "version": "7.2.0-feature-1b3ffb-mbgj2pe7",
3
+ "version": "7.2.0-feature-4668f2-mbgl023x",
4
4
  "description": "Software development kit for the Engine.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "dist/index.d.ts",