@coast/core-api-types 1.2.320 → 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.
Files changed (26) hide show
  1. package/dist/models/automations/action/component-data/DynamicComponentDataOneOf.d.ts +2 -0
  2. package/dist/models/automations/action/component-data/DynamicNumberComponentDataOneOf.d.ts +2 -0
  3. package/dist/models/automations/action/component-data/SubformWorkflowEntityComponent.d.ts +10 -0
  4. package/dist/models/automations/action/component-data/SubformWorkflowEntityComponent.js +3 -0
  5. package/dist/models/automations/action/component-data/SubformWorkflowEntityComponent.js.map +1 -0
  6. package/dist/models/automations/action/component-data/registry/AnyDynamicNumberComponentData.d.ts +2 -1
  7. package/dist/models/automations/field-reference/RelatedCardFieldReference.d.ts +5 -0
  8. package/dist/models/automations/field-reference/RelatedCardFieldReference.js +3 -0
  9. package/dist/models/automations/field-reference/RelatedCardFieldReference.js.map +1 -0
  10. package/dist/models/automations/field-reference/SubformFieldReference.d.ts +8 -0
  11. package/dist/models/automations/field-reference/SubformFieldReference.js +3 -0
  12. package/dist/models/automations/field-reference/SubformFieldReference.js.map +1 -0
  13. package/dist/models/card/ExternalCardBatchEvent.d.ts +1 -0
  14. package/dist/models/card/ExternalCardEventPayload.d.ts +1 -0
  15. package/dist/models/channel/ListChannels.d.ts +1 -0
  16. package/dist/models/messaging/ListThreadMessages.d.ts +6 -0
  17. package/dist/models/messaging/ListThreadMessages.js +3 -0
  18. package/dist/models/messaging/ListThreadMessages.js.map +1 -0
  19. package/dist/models/messaging/ListThreadMessagesResult.d.ts +5 -0
  20. package/dist/models/messaging/ListThreadMessagesResult.js +3 -0
  21. package/dist/models/messaging/ListThreadMessagesResult.js.map +1 -0
  22. package/dist/models/view-template/ViewTemplate.d.ts +1 -0
  23. package/dist/models/workflow-entity/recurring/RecurringEntitiesAutoExtendFilterOneOf.d.ts +3 -2
  24. package/dist/scripts/generateTypes.js +0 -1
  25. package/dist/scripts/generateTypes.js.map +1 -1
  26. 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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SubformWorkflowEntityComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubformWorkflowEntityComponent.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/component-data/SubformWorkflowEntityComponent.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  import { ActionResultNumber } from '../ActionResultNumber';
2
2
  import { CurrentWorkflowEntityComponent } from '../CurrentWorkflowEntityComponent';
3
3
  import { RelatedWorkflowEntityComponent } from '../RelatedWorkflowEntityComponent';
4
- export type AnyDynamicNumberComponentData = ActionResultNumber | CurrentWorkflowEntityComponent | RelatedWorkflowEntityComponent;
4
+ import { SubformWorkflowEntityComponent } from '../SubformWorkflowEntityComponent';
5
+ export type AnyDynamicNumberComponentData = ActionResultNumber | CurrentWorkflowEntityComponent | RelatedWorkflowEntityComponent | SubformWorkflowEntityComponent;
@@ -0,0 +1,5 @@
1
+ import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
2
+ export interface RelatedCardFieldReference {
3
+ relatedCardComponentId: ComponentId;
4
+ targetComponentId: ComponentId;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RelatedCardFieldReference.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SubformFieldReference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubformFieldReference.js","sourceRoot":"","sources":["../../../../src/models/automations/field-reference/SubformFieldReference.ts"],"names":[],"mappings":""}
@@ -10,4 +10,5 @@ export interface ExternalCardBatchEvent {
10
10
  count: number;
11
11
  userId: UserId;
12
12
  recurringEntitiesAutoExtendEvents?: NonEmptyArray<RecurringEntitiesAutoExtendEvent>;
13
+ isReorderOnly?: boolean;
13
14
  }
@@ -19,4 +19,5 @@ export interface ExternalCardEventPayload {
19
19
  userId: UserId;
20
20
  eventId: WorkflowEntityEventId;
21
21
  recurringEntitiesAutoExtendEvents?: NonEmptyArray<RecurringEntitiesAutoExtendEvent>;
22
+ isReorderOnly?: boolean;
22
23
  }
@@ -10,6 +10,7 @@ export interface ListChannels {
10
10
  memberIds?: UserId[];
11
11
  strictMemberIds?: boolean;
12
12
  isDeleted?: boolean;
13
+ name?: string;
13
14
  type?: ChannelType;
14
15
  workflowTemplateId?: WorkflowTemplateId;
15
16
  order?: ListChannelsOrder[];
@@ -0,0 +1,6 @@
1
+ export interface ListThreadMessages {
2
+ threadId: string;
3
+ before?: string;
4
+ after?: string;
5
+ limit?: number;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListThreadMessages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListThreadMessages.js","sourceRoot":"","sources":["../../../src/models/messaging/ListThreadMessages.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { ThreadMessage } from './ThreadMessage';
2
+ export interface ListThreadMessagesResult {
3
+ messages: ThreadMessage[];
4
+ nextCursor?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListThreadMessagesResult.js.map
@@ -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 { FilterOneOf } from '../filters/FilterOneOf';
2
- export interface RecurringEntitiesAutoExtendFilterOneOf extends Pick<FilterOneOf, 'containsString'> {
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,IAA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,EAAE;QACf,gBAAgB;QAKhB,kBAAkB;QAClB,0BAA0B;QAC1B,sBAAsB;QACtB,cAAc;QACd,mCAAmC;QACnC,sBAAsB;QACtB,2BAA2B;QAC3B,2CAA2C;QAC3C,YAAY;QACZ,iBAAiB;QACjB,0BAA0B;QAC1B,eAAe;QACf,oBAAoB;QACpB,WAAW;QACX,gBAAgB;QAChB,qBAAqB;QACrB,0BAA0B;QAC1B,0BAA0B;QAC1B,6BAA6B;QAC7B,kCAAkC;QAClC,iCAAiC;QACjC,wBAAwB;QACxB,6BAA6B;QAC7B,mBAAmB;QACnB,kBAAkB;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.320",
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.45",
27
- "@coast/core-utils": "0.0.16",
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.0"
43
+ "typescript": "^6.0.3"
44
44
  },
45
45
  "scripts": {
46
46
  "clean": "yarn clean:dist",