@coast/core-api-types 1.2.319 → 1.2.330
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/models/automations/action/component-data/DynamicComponentDataOneOf.d.ts +2 -0
- package/dist/models/automations/action/component-data/DynamicNumberComponentDataOneOf.d.ts +2 -0
- package/dist/models/automations/action/component-data/SubformWorkflowEntityComponent.d.ts +10 -0
- package/dist/models/automations/action/component-data/SubformWorkflowEntityComponent.js +3 -0
- package/dist/models/automations/action/component-data/SubformWorkflowEntityComponent.js.map +1 -0
- package/dist/models/automations/action/component-data/registry/AnyDynamicNumberComponentData.d.ts +2 -1
- package/dist/models/automations/condition/operands/DataOperandOneOf.d.ts +2 -0
- package/dist/models/automations/condition/operands/SubformComponentRefOperand.d.ts +9 -0
- package/dist/models/automations/condition/operands/SubformComponentRefOperand.js +3 -0
- package/dist/models/automations/condition/operands/SubformComponentRefOperand.js.map +1 -0
- package/dist/models/automations/condition/operands/WorkflowTemplateComponentCase.d.ts +6 -0
- package/dist/models/automations/condition/operands/WorkflowTemplateComponentCase.js +3 -0
- package/dist/models/automations/condition/operands/WorkflowTemplateComponentCase.js.map +1 -0
- package/dist/models/automations/condition/operands/registry/AnyNumberOperand.d.ts +2 -1
- package/dist/models/automations/field-reference/RelatedCardFieldReference.d.ts +5 -0
- package/dist/models/automations/field-reference/RelatedCardFieldReference.js +3 -0
- package/dist/models/automations/field-reference/RelatedCardFieldReference.js.map +1 -0
- package/dist/models/automations/field-reference/SubformFieldReference.d.ts +8 -0
- package/dist/models/automations/field-reference/SubformFieldReference.js +3 -0
- package/dist/models/automations/field-reference/SubformFieldReference.js.map +1 -0
- package/dist/models/card/ExternalCardBatchEvent.d.ts +1 -0
- package/dist/models/card/ExternalCardEventPayload.d.ts +1 -0
- package/dist/models/channel/ListChannels.d.ts +1 -0
- package/dist/models/messaging/ListThreadMessages.d.ts +6 -0
- package/dist/models/messaging/ListThreadMessages.js +3 -0
- package/dist/models/messaging/ListThreadMessages.js.map +1 -0
- package/dist/models/messaging/ListThreadMessagesResult.d.ts +5 -0
- package/dist/models/messaging/ListThreadMessagesResult.js +3 -0
- package/dist/models/messaging/ListThreadMessagesResult.js.map +1 -0
- package/dist/models/view-template/ViewTemplate.d.ts +1 -0
- package/dist/models/workflow-entity/recurring/RecurringEntitiesAutoExtendFilterOneOf.d.ts +3 -2
- package/dist/scripts/generateTypes.js +0 -1
- package/dist/scripts/generateTypes.js.map +1 -1
- package/package.json +4 -4
|
@@ -7,6 +7,7 @@ import { CurrentWorkflowEntityComponent } from './CurrentWorkflowEntityComponent
|
|
|
7
7
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
8
8
|
import { OriginUser } from './OriginUser';
|
|
9
9
|
import { RelatedWorkflowEntityComponent } from './RelatedWorkflowEntityComponent';
|
|
10
|
+
import { SubformWorkflowEntityComponent } from './SubformWorkflowEntityComponent';
|
|
10
11
|
import { TimeTrackerDataAction } from './TimeTrackerDataAction';
|
|
11
12
|
type Fields = `${CamelCase<DynamicComponentDataType>}`;
|
|
12
13
|
type DynamicComponentDataOneOfs = {
|
|
@@ -18,6 +19,7 @@ export interface DynamicComponentDataOneOf extends DynamicComponentDataOneOfs {
|
|
|
18
19
|
currentWorkflowEntity: CurrentWorkflowEntity | undefined;
|
|
19
20
|
currentWorkflowEntityComponent: CurrentWorkflowEntityComponent | undefined;
|
|
20
21
|
relatedWorkflowEntityComponent: RelatedWorkflowEntityComponent | undefined;
|
|
22
|
+
subformWorkflowEntityComponent: SubformWorkflowEntityComponent | undefined;
|
|
21
23
|
timeTrackerDataAction: TimeTrackerDataAction | undefined;
|
|
22
24
|
originUser: OriginUser | undefined;
|
|
23
25
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ActionResultNumber } from './ActionResultNumber';
|
|
2
2
|
import { CurrentWorkflowEntityComponent } from './CurrentWorkflowEntityComponent';
|
|
3
3
|
import { RelatedWorkflowEntityComponent } from './RelatedWorkflowEntityComponent';
|
|
4
|
+
import { SubformWorkflowEntityComponent } from './SubformWorkflowEntityComponent';
|
|
4
5
|
export interface DynamicNumberComponentDataOneOf {
|
|
5
6
|
actionResultNumber?: ActionResultNumber;
|
|
6
7
|
currentWorkflowEntityComponent?: CurrentWorkflowEntityComponent;
|
|
7
8
|
relatedWorkflowEntityComponent?: RelatedWorkflowEntityComponent;
|
|
9
|
+
subformWorkflowEntityComponent?: SubformWorkflowEntityComponent;
|
|
8
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
|
+
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
4
|
+
import { WorkflowTemplateComponentCase } from '../../condition/operands/WorkflowTemplateComponentCase';
|
|
5
|
+
import { DynamicComponentData } from './DynamicComponentData';
|
|
6
|
+
export interface SubformWorkflowEntityComponent extends DynamicComponentData<DynamicComponentDataType.SUBFORM_WORKFLOW_ENTITY_COMPONENT> {
|
|
7
|
+
subformComponentId: ComponentId;
|
|
8
|
+
refComponentType: ComponentType;
|
|
9
|
+
cases: WorkflowTemplateComponentCase[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubformWorkflowEntityComponent.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/component-data/SubformWorkflowEntityComponent.ts"],"names":[],"mappings":""}
|
package/dist/models/automations/action/component-data/registry/AnyDynamicNumberComponentData.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ActionResultNumber } from '../ActionResultNumber';
|
|
2
2
|
import { CurrentWorkflowEntityComponent } from '../CurrentWorkflowEntityComponent';
|
|
3
3
|
import { RelatedWorkflowEntityComponent } from '../RelatedWorkflowEntityComponent';
|
|
4
|
-
|
|
4
|
+
import { SubformWorkflowEntityComponent } from '../SubformWorkflowEntityComponent';
|
|
5
|
+
export type AnyDynamicNumberComponentData = ActionResultNumber | CurrentWorkflowEntityComponent | RelatedWorkflowEntityComponent | SubformWorkflowEntityComponent;
|
|
@@ -7,6 +7,7 @@ import { NumberOperand } from './NumberOperand';
|
|
|
7
7
|
import { PreviousComponentOperand } from './PreviousComponentOperand';
|
|
8
8
|
import { StringArrayOperand } from './StringArrayOperand';
|
|
9
9
|
import { StringOperand } from './StringOperand';
|
|
10
|
+
import { SubformComponentRefOperand } from './SubformComponentRefOperand';
|
|
10
11
|
import { WorkflowEntityRefComponentOperand } from './WorkflowEntityRefComponentOperand';
|
|
11
12
|
export interface DataOperandOneOf {
|
|
12
13
|
actionResultNumberOperand?: ActionResultNumberOperand;
|
|
@@ -18,5 +19,6 @@ export interface DataOperandOneOf {
|
|
|
18
19
|
previousComponentOperand?: PreviousComponentOperand;
|
|
19
20
|
stringArrayOperand?: StringArrayOperand;
|
|
20
21
|
stringOperand?: StringOperand;
|
|
22
|
+
subformComponentRefOperand?: SubformComponentRefOperand;
|
|
21
23
|
workflowEntityRefComponentOperand?: WorkflowEntityRefComponentOperand;
|
|
22
24
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
|
+
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
3
|
+
import { Operand } from './Operand';
|
|
4
|
+
import { WorkflowTemplateComponentCase } from './WorkflowTemplateComponentCase';
|
|
5
|
+
export interface SubformComponentRefOperand extends Operand {
|
|
6
|
+
subformComponentId: ComponentId;
|
|
7
|
+
refComponentType: ComponentType;
|
|
8
|
+
cases: WorkflowTemplateComponentCase[];
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubformComponentRefOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/SubformComponentRefOperand.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
|
+
export interface WorkflowTemplateComponentCase {
|
|
4
|
+
workflowTemplateId: WorkflowTemplateId;
|
|
5
|
+
componentId: ComponentId;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowTemplateComponentCase.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/WorkflowTemplateComponentCase.ts"],"names":[],"mappings":""}
|
|
@@ -3,5 +3,6 @@ import { ComponentOperand } from '../ComponentOperand';
|
|
|
3
3
|
import { EmptyOperand } from '../EmptyOperand';
|
|
4
4
|
import { NumberOperand } from '../NumberOperand';
|
|
5
5
|
import { PreviousComponentOperand } from '../PreviousComponentOperand';
|
|
6
|
+
import { SubformComponentRefOperand } from '../SubformComponentRefOperand';
|
|
6
7
|
import { WorkflowEntityRefComponentOperand } from '../WorkflowEntityRefComponentOperand';
|
|
7
|
-
export type AnyNumberOperand = ActionResultNumberOperand | ComponentOperand | EmptyOperand | NumberOperand | PreviousComponentOperand | WorkflowEntityRefComponentOperand;
|
|
8
|
+
export type AnyNumberOperand = ActionResultNumberOperand | ComponentOperand | EmptyOperand | NumberOperand | PreviousComponentOperand | SubformComponentRefOperand | WorkflowEntityRefComponentOperand;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelatedCardFieldReference.js","sourceRoot":"","sources":["../../../../src/models/automations/field-reference/RelatedCardFieldReference.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
|
+
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
3
|
+
import { WorkflowTemplateComponentCase } from '../condition/operands/WorkflowTemplateComponentCase';
|
|
4
|
+
export interface SubformFieldReference {
|
|
5
|
+
subformComponentId: ComponentId;
|
|
6
|
+
refComponentType: ComponentType;
|
|
7
|
+
cases: WorkflowTemplateComponentCase[];
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubformFieldReference.js","sourceRoot":"","sources":["../../../../src/models/automations/field-reference/SubformFieldReference.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListThreadMessages.js","sourceRoot":"","sources":["../../../src/models/messaging/ListThreadMessages.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListThreadMessagesResult.js","sourceRoot":"","sources":["../../../src/models/messaging/ListThreadMessagesResult.ts"],"names":[],"mappings":""}
|
|
@@ -7,6 +7,7 @@ import { ComponentViewOptions } from '../workflow-template/components/ComponentV
|
|
|
7
7
|
import { CollectionCriteria } from './CollectionCriteria';
|
|
8
8
|
export interface ViewTemplate extends Audit {
|
|
9
9
|
calendarDateComponentId?: string;
|
|
10
|
+
calendarHideWeekends?: boolean;
|
|
10
11
|
collectionCriteria?: CollectionCriteria;
|
|
11
12
|
componentsViewOptions?: ComponentViewOptions[];
|
|
12
13
|
customSortingEnabled: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface RecurringEntitiesAutoExtendFilterOneOf
|
|
1
|
+
import { ContainsString } from '../filters/ContainsString';
|
|
2
|
+
export interface RecurringEntitiesAutoExtendFilterOneOf {
|
|
3
|
+
containsString?: ContainsString;
|
|
3
4
|
}
|
|
@@ -67,7 +67,6 @@ const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../pa
|
|
|
67
67
|
'ComponentOverrideGqlUnion',
|
|
68
68
|
'ComponentOverrideClassTransformerTypeArgs',
|
|
69
69
|
'OperandMap',
|
|
70
|
-
'NumberOperandMap',
|
|
71
70
|
'OperandGqlUnion',
|
|
72
71
|
'AnyNumberOperandGqlUnion',
|
|
73
72
|
'DataExportMap',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,MAAY,IAAI,iCAAa;AAE7B,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAE5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,kDAAkD,CAAC,CAAC,CAAC,YAAY,CACpG,CAAC;AAEF,IAAA,6BAAa,EAAC;IACV,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC;IAC7C,uBAAuB,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,MAAM,CAAC;IACpE,sCAAsC,EAAE;QACpC,SAAS;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,yBAAyB;QACzB,iBAAiB;QACjB,gCAAgC;QAChC,oBAAoB;QACpB,yBAAyB;QACzB,oBAAoB;QACpB,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;IACrH,iBAAiB,EAAE;QACf,gBAAgB;QAKhB,kBAAkB;QAClB,0BAA0B;QAC1B,sBAAsB;QACtB,cAAc;QACd,mCAAmC;QACnC,sBAAsB;QACtB,2BAA2B;QAC3B,2CAA2C;QAC3C,YAAY;QACZ,
|
|
1
|
+
{"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";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AkB;QAClB,uBAAuB;QACvB,2BAA2B;QAC3B,gCAAgC;QAChC,gCAAgC;QAChC,yBAAyB;QACzB,+BAA+B;QAC/B,8BAA8B;QAC9B,oCAAoC;QACpC,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,2BAA2B;QAC3B,iBAAiB;QACjB,sBAAsB;QACtB,uBAAuB;KAC1B;IACD,uBAAuB,EAAE,YAAY;IACrC,uBAAuB,EAAE,CAAC,8BAA8B,EAAE,YAAY,CAAC;IACvE,IAAI,EAAE,IAAI;CACb,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.330",
|
|
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.
|
|
27
|
-
"@coast/core-utils": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.47",
|
|
27
|
+
"@coast/core-utils": "0.0.18",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.70",
|
|
30
30
|
"@paradoxical-io/types": "^2.1.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"ts-morph": "^24.0.0",
|
|
41
41
|
"ts-node": "^10.9.2",
|
|
42
42
|
"tsx": "^4.19.4",
|
|
43
|
-
"typescript": "^6.0.
|
|
43
|
+
"typescript": "^6.0.3"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"clean": "yarn clean:dist",
|