@coast/core-api-types 1.2.249 → 1.2.251

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,10 +1,11 @@
1
1
  import { LogicalOperator } from '@coast/core-types/automations/condition/LogicalOperator';
2
2
  import { ComparisonOperator } from '@coast/core-types/workflow-entity/filters/ComparisonOperator';
3
+ import { AnyDataOperand } from './operands/registry/AnyDataOperand';
3
4
  import { AnyOperand } from './operands/registry/AnyOperand';
4
5
  export interface Condition {
5
6
  comparisonOperator: ComparisonOperator;
6
7
  id: string;
7
- leftOperand: AnyOperand;
8
+ leftOperand: AnyDataOperand;
8
9
  logicalOperator?: LogicalOperator;
9
10
  rightOperand: AnyOperand;
10
11
  }
@@ -1,6 +1,7 @@
1
1
  import { Condition } from './Condition';
2
+ import { DataOperandOneOf } from './operands/DataOperandOneOf';
2
3
  import { OperandOneOf } from './operands/OperandOneOf';
3
4
  export interface CreateCondition extends Omit<Condition, 'id' | 'leftOperand' | 'rightOperand'> {
4
- leftOperand: OperandOneOf;
5
+ leftOperand: DataOperandOneOf;
5
6
  rightOperand: OperandOneOf;
6
7
  }
@@ -1,7 +1,8 @@
1
1
  import { Condition } from './Condition';
2
+ import { DataOperandOneOf } from './operands/DataOperandOneOf';
2
3
  import { OperandOneOf } from './operands/OperandOneOf';
3
4
  export interface UpdateCondition extends Omit<Condition, 'id' | 'leftOperand' | 'rightOperand'> {
4
5
  id?: string;
5
- leftOperand: OperandOneOf;
6
+ leftOperand: DataOperandOneOf;
6
7
  rightOperand: OperandOneOf;
7
8
  }
@@ -0,0 +1,22 @@
1
+ import { ActionResultNumberOperand } from './ActionResultNumberOperand';
2
+ import { ComponentOperand } from './ComponentOperand';
3
+ import { DateOperand } from './DateOperand';
4
+ import { DateTokenOperand } from './DateTokenOperand';
5
+ import { NumberArrayOperand } from './NumberArrayOperand';
6
+ import { NumberOperand } from './NumberOperand';
7
+ import { PreviousComponentOperand } from './PreviousComponentOperand';
8
+ import { StringArrayOperand } from './StringArrayOperand';
9
+ import { StringOperand } from './StringOperand';
10
+ import { WorkflowEntityRefComponentOperand } from './WorkflowEntityRefComponentOperand';
11
+ export interface DataOperandOneOf {
12
+ actionResultNumberOperand?: ActionResultNumberOperand;
13
+ componentOperand?: ComponentOperand;
14
+ dateOperand?: DateOperand;
15
+ dateTokenOperand?: DateTokenOperand;
16
+ numberOperand?: NumberOperand;
17
+ numberArrayOperand?: NumberArrayOperand;
18
+ previousComponentOperand?: PreviousComponentOperand;
19
+ stringArrayOperand?: StringArrayOperand;
20
+ stringOperand?: StringOperand;
21
+ workflowEntityRefComponentOperand?: WorkflowEntityRefComponentOperand;
22
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DataOperandOneOf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataOperandOneOf.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/DataOperandOneOf.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { Operand } from './Operand';
2
+ export interface EmptyOperand extends Operand {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EmptyOperand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/EmptyOperand.ts"],"names":[],"mappings":""}
@@ -1,22 +1,5 @@
1
- import { ActionResultNumberOperand } from './ActionResultNumberOperand';
2
- import { ComponentOperand } from './ComponentOperand';
3
- import { DateOperand } from './DateOperand';
4
- import { DateTokenOperand } from './DateTokenOperand';
5
- import { NumberArrayOperand } from './NumberArrayOperand';
6
- import { NumberOperand } from './NumberOperand';
7
- import { PreviousComponentOperand } from './PreviousComponentOperand';
8
- import { StringArrayOperand } from './StringArrayOperand';
9
- import { StringOperand } from './StringOperand';
10
- import { WorkflowEntityRefComponentOperand } from './WorkflowEntityRefComponentOperand';
11
- export interface OperandOneOf {
12
- actionResultNumberOperand?: ActionResultNumberOperand;
13
- componentOperand?: ComponentOperand;
14
- dateOperand?: DateOperand;
15
- dateTokenOperand?: DateTokenOperand;
16
- numberOperand?: NumberOperand;
17
- numberArrayOperand?: NumberArrayOperand;
18
- previousComponentOperand?: PreviousComponentOperand;
19
- stringArrayOperand?: StringArrayOperand;
20
- stringOperand?: StringOperand;
21
- workflowEntityRefComponentOperand?: WorkflowEntityRefComponentOperand;
1
+ import { DataOperandOneOf } from './DataOperandOneOf';
2
+ import { EmptyOperand } from './EmptyOperand';
3
+ export interface OperandOneOf extends DataOperandOneOf {
4
+ emptyOperand?: EmptyOperand;
22
5
  }
@@ -0,0 +1,2 @@
1
+ import { DataOperandOneOf } from '../DataOperandOneOf';
2
+ export type AnyDataOperand = DataOperandOneOf[keyof DataOperandOneOf];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyDataOperand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyDataOperand.js","sourceRoot":"","sources":["../../../../../../src/models/automations/condition/operands/registry/AnyDataOperand.ts"],"names":[],"mappings":""}
@@ -1,6 +1,7 @@
1
1
  import { ActionResultNumberOperand } from '../ActionResultNumberOperand';
2
2
  import { ComponentOperand } from '../ComponentOperand';
3
+ import { EmptyOperand } from '../EmptyOperand';
3
4
  import { NumberOperand } from '../NumberOperand';
4
5
  import { PreviousComponentOperand } from '../PreviousComponentOperand';
5
6
  import { WorkflowEntityRefComponentOperand } from '../WorkflowEntityRefComponentOperand';
6
- export type AnyNumberOperand = ActionResultNumberOperand | ComponentOperand | NumberOperand | PreviousComponentOperand | WorkflowEntityRefComponentOperand;
7
+ export type AnyNumberOperand = ActionResultNumberOperand | ComponentOperand | EmptyOperand | NumberOperand | PreviousComponentOperand | WorkflowEntityRefComponentOperand;
@@ -5,6 +5,7 @@ export interface ListUsers extends OffsetPaginatedRequest {
5
5
  businessId?: BusinessId;
6
6
  ids?: number[];
7
7
  name?: string;
8
+ includeDeactivated?: boolean;
8
9
  isActive?: boolean;
9
10
  isDeactivated?: boolean;
10
11
  excludeSystemUsers?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.249",
3
+ "version": "1.2.251",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -23,8 +23,8 @@
23
23
  "author": "Coast Engineering",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@coast/core-types": "0.0.3",
27
- "@coast/core-utils": "0.0.3",
26
+ "@coast/core-types": "0.0.5",
27
+ "@coast/core-utils": "0.0.5",
28
28
  "@coast/schemas": "^4.0.0",
29
29
  "@paradoxical-io/types": "^2.1.0",
30
30
  "@types/json-schema": "^7.0.15",