@cubekit-cloud/cubekit-sdk-js 1.0.60 → 1.0.62

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.
@@ -3,5 +3,9 @@ export default interface IProcessAction {
3
3
  name: string;
4
4
  label: string;
5
5
  action_type: string;
6
+ assignee_type: 'user' | 'expression';
7
+ assignee_value: string[] | {
8
+ [key: string]: any;
9
+ };
6
10
  }
7
11
  //# sourceMappingURL=IProcessAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IProcessAction.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessAction.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,cAAc;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"IProcessAction.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessAction.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,cAAc;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,cAAc,EAAE,MAAM,EAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAClD"}
@@ -9,7 +9,7 @@ export default interface IProcessState {
9
9
  definition: Pick<IWorkflowDefinition, 'id' | 'code' | 'name'>;
10
10
  current_step: IStepLink;
11
11
  step_actions: IStep[];
12
- allowed_actions: Pick<IStep, "id" | "label" | "name" | "action_type">[];
12
+ allowed_actions: Pick<IStep, 'id' | 'label' | 'name' | 'action_type' | 'assignee_value'>[];
13
13
  action_groups: IActionGroup[];
14
14
  history: IProcessHistory[];
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IProcessState.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessState.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,MAAM,CAAC,OAAO,WAAW,aAAa;IACrC,iBAAiB,EAAE,IAAI,CACtB,iBAAiB,EACjB,IAAI,GAAG,QAAQ,GAAG,wBAAwB,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,CAChG,CAAC;IACF,UAAU,EAAE,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9D,YAAY,EAAE,SAAS,CAAC;IACxB,YAAY,EAAE,KAAK,EAAE,CAAC;IACtB,eAAe,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC,EAAE,CAAC;IACxE,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC3B"}
1
+ {"version":3,"file":"IProcessState.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessState.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,MAAM,CAAC,OAAO,WAAW,aAAa;IACrC,iBAAiB,EAAE,IAAI,CACtB,iBAAiB,EACjB,IAAI,GAAG,QAAQ,GAAG,wBAAwB,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,CAChG,CAAC;IACF,UAAU,EAAE,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9D,YAAY,EAAE,SAAS,CAAC;IACxB,YAAY,EAAE,KAAK,EAAE,CAAC;IACtB,eAAe,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,GAAG,gBAAgB,CAAC,EAAE,CAAC;IAC3F,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC3B"}
@@ -3,7 +3,10 @@ export default interface IStep {
3
3
  name: string;
4
4
  label: string;
5
5
  action_type: string;
6
- assignee_type: string;
6
+ assignee_type: 'user' | 'expression';
7
+ assignee_value: string[] | {
8
+ [key: string]: any;
9
+ };
7
10
  status: string;
8
11
  timestamp: null;
9
12
  user_id: null;
@@ -1 +1 @@
1
- {"version":3,"file":"IStep.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IStep.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,KAAK;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,wBAAwB,EAAE,MAAM,CAAC;CACjC"}
1
+ {"version":3,"file":"IStep.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IStep.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,KAAK;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,cAAc,EAAE,MAAM,EAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,wBAAwB,EAAE,MAAM,CAAC;CACjC"}
@@ -3,5 +3,9 @@ export default interface IProcessAction {
3
3
  name: string;
4
4
  label: string;
5
5
  action_type: string;
6
+ assignee_type: 'user' | 'expression';
7
+ assignee_value: string[] | {
8
+ [key: string]: any;
9
+ };
6
10
  }
7
11
  //# sourceMappingURL=IProcessAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IProcessAction.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessAction.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,cAAc;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"IProcessAction.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessAction.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,cAAc;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,cAAc,EAAE,MAAM,EAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAClD"}
@@ -9,7 +9,7 @@ export default interface IProcessState {
9
9
  definition: Pick<IWorkflowDefinition, 'id' | 'code' | 'name'>;
10
10
  current_step: IStepLink;
11
11
  step_actions: IStep[];
12
- allowed_actions: Pick<IStep, "id" | "label" | "name" | "action_type">[];
12
+ allowed_actions: Pick<IStep, 'id' | 'label' | 'name' | 'action_type' | 'assignee_value'>[];
13
13
  action_groups: IActionGroup[];
14
14
  history: IProcessHistory[];
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IProcessState.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessState.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,MAAM,CAAC,OAAO,WAAW,aAAa;IACrC,iBAAiB,EAAE,IAAI,CACtB,iBAAiB,EACjB,IAAI,GAAG,QAAQ,GAAG,wBAAwB,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,CAChG,CAAC;IACF,UAAU,EAAE,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9D,YAAY,EAAE,SAAS,CAAC;IACxB,YAAY,EAAE,KAAK,EAAE,CAAC;IACtB,eAAe,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC,EAAE,CAAC;IACxE,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC3B"}
1
+ {"version":3,"file":"IProcessState.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IProcessState.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,MAAM,CAAC,OAAO,WAAW,aAAa;IACrC,iBAAiB,EAAE,IAAI,CACtB,iBAAiB,EACjB,IAAI,GAAG,QAAQ,GAAG,wBAAwB,GAAG,cAAc,GAAG,cAAc,GAAG,iBAAiB,CAChG,CAAC;IACF,UAAU,EAAE,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9D,YAAY,EAAE,SAAS,CAAC;IACxB,YAAY,EAAE,KAAK,EAAE,CAAC;IACtB,eAAe,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,GAAG,gBAAgB,CAAC,EAAE,CAAC;IAC3F,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC3B"}
@@ -3,7 +3,10 @@ export default interface IStep {
3
3
  name: string;
4
4
  label: string;
5
5
  action_type: string;
6
- assignee_type: string;
6
+ assignee_type: 'user' | 'expression';
7
+ assignee_value: string[] | {
8
+ [key: string]: any;
9
+ };
7
10
  status: string;
8
11
  timestamp: null;
9
12
  user_id: null;
@@ -1 +1 @@
1
- {"version":3,"file":"IStep.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IStep.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,KAAK;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,wBAAwB,EAAE,MAAM,CAAC;CACjC"}
1
+ {"version":3,"file":"IStep.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/Orm/Workflow/IStep.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,WAAW,KAAK;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,cAAc,EAAE,MAAM,EAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,wBAAwB,EAAE,MAAM,CAAC;CACjC"}
package/dist/index.d.ts CHANGED
@@ -238,6 +238,10 @@ interface IProcessAction {
238
238
  name: string;
239
239
  label: string;
240
240
  action_type: string;
241
+ assignee_type: 'user' | 'expression';
242
+ assignee_value: string[] | {
243
+ [key: string]: any;
244
+ };
241
245
  }
242
246
 
243
247
  interface IStepLink {
@@ -407,7 +411,10 @@ interface IStep {
407
411
  name: string;
408
412
  label: string;
409
413
  action_type: string;
410
- assignee_type: string;
414
+ assignee_type: 'user' | 'expression';
415
+ assignee_value: string[] | {
416
+ [key: string]: any;
417
+ };
411
418
  status: string;
412
419
  timestamp: null;
413
420
  user_id: null;
@@ -421,7 +428,7 @@ interface IProcessState {
421
428
  definition: Pick<IWorkflowDefinition, 'id' | 'code' | 'name'>;
422
429
  current_step: IStepLink;
423
430
  step_actions: IStep[];
424
- allowed_actions: Pick<IStep, "id" | "label" | "name" | "action_type">[];
431
+ allowed_actions: Pick<IStep, 'id' | 'label' | 'name' | 'action_type' | 'assignee_value'>[];
425
432
  action_groups: IActionGroup[];
426
433
  history: IProcessHistory[];
427
434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubekit-cloud/cubekit-sdk-js",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "@cubekit-cloud/cubekit-sdk-js - the library for working with auto generated API from cubekit.com",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/cjs/index.js",
@@ -3,4 +3,6 @@ export default interface IProcessAction {
3
3
  name: string;
4
4
  label: string;
5
5
  action_type: string;
6
+ assignee_type: 'user' | 'expression';
7
+ assignee_value: string[] | { [key: string]: any };
6
8
  }
@@ -13,7 +13,7 @@ export default interface IProcessState {
13
13
  definition: Pick<IWorkflowDefinition, 'id' | 'code' | 'name'>;
14
14
  current_step: IStepLink;
15
15
  step_actions: IStep[];
16
- allowed_actions: Pick<IStep, "id" | "label" | "name" | "action_type">[];
16
+ allowed_actions: Pick<IStep, 'id' | 'label' | 'name' | 'action_type' | 'assignee_value'>[];
17
17
  action_groups: IActionGroup[];
18
18
  history: IProcessHistory[];
19
19
  }
@@ -3,7 +3,8 @@ export default interface IStep {
3
3
  name: string;
4
4
  label: string;
5
5
  action_type: string;
6
- assignee_type: string;
6
+ assignee_type: 'user' | 'expression';
7
+ assignee_value: string[] | { [key: string]: any };
7
8
  status: string;
8
9
  timestamp: null;
9
10
  user_id: null;