@coast/core-api-types 1.2.347 → 1.2.349
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/CurrentWorkflowEntityComponent.d.ts +2 -1
- package/dist/models/automations/action/settings/CreateSettingsWorkflowEntityField.d.ts +2 -1
- package/dist/models/automations/action/settings/ReferencedInAggregate.d.ts +2 -1
- package/dist/models/automations/action/settings/SendEmailActionSettings.d.ts +3 -2
- package/dist/models/automations/action/settings/SendNotificationActionSettings.d.ts +2 -1
- package/dist/models/automations/action/settings/SendPushNotificationActionSettings.d.ts +2 -1
- package/dist/models/automations/action/settings/SettingsWorkflowEntityField.d.ts +2 -1
- package/dist/models/automations/action/settings/TriggerRelatedCardAutomationActionSettings.d.ts +2 -1
- package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts +2 -1
- package/dist/models/automations/condition/operands/ComponentOperand.d.ts +2 -1
- package/dist/models/automations/condition/operands/PreviousComponentOperand.d.ts +2 -1
- package/dist/models/automations/condition/operands/WorkflowEntityRefComponentOperand.d.ts +3 -2
- package/dist/models/billing/CreateCustomer.d.ts +1 -0
- package/dist/models/json-relations/workflow-template/WorkflowTemplateFieldLink.d.ts +2 -1
- package/dist/models/view-template/ViewTemplate.d.ts +4 -3
- package/dist/models/workflow-app/compensations/automations/AutomationCompensation.d.ts +1 -1
- package/dist/models/workflow-app/compensations/automations/ClearWorkflowTemplateReferenceAutomationActionCompensation.d.ts +1 -1
- package/dist/models/workflow-app/compensations/automations/ClearWorkflowTemplateReferenceAutomationConditionCompensation.d.ts +1 -1
- package/dist/models/workflow-app/compensations/automations/DisableAutomationCompensation.d.ts +1 -1
- package/dist/models/workflow-app/compensations/components/ClearRelatedCardComponentReference.d.ts +1 -1
- package/dist/models/workflow-app/compensations/components/ComponentCompensation.d.ts +1 -1
- package/dist/models/workflow-app/compensations/components/LimitSubformComponent.d.ts +1 -1
- package/dist/models/workflow-app/compensations/components/OmitReferencedInComponent.d.ts +1 -1
- package/dist/models/workflow-app/compensations/components/OmitRelatedCardLookupComponent.d.ts +1 -1
- package/dist/models/workflow-entity/AggregateRelatedCardQuantityInput.d.ts +2 -1
- package/dist/models/workflow-entity/WorkflowEntityField.d.ts +2 -1
- package/dist/models/workflow-entity/audit-trail/ComponentDataChange.d.ts +2 -1
- package/dist/models/workflow-entity/audit-trail/EntityAuditTrailEntry.d.ts +2 -1
- package/dist/models/workflow-entity/filters/ContainsCurrentWorkflowTemplateComponentValue.d.ts +2 -1
- package/dist/models/workflow-entity/filters/DynamicFilterByComponent.d.ts +2 -1
- package/dist/models/workflow-entity/filters/FilterOneOfByComponent.d.ts +2 -1
- package/dist/models/workflow-entity/recurring/RecurringEntitiesAutoExtendDefault.d.ts +2 -1
- package/dist/models/workflow-entity/recurring/RecurringEntitiesSchedule.d.ts +2 -1
- package/dist/models/workflow-entity/scheduled-automation/EntityScheduledAutomationTrigger.d.ts +2 -1
- package/dist/models/workflow-entity/sort/SortByComponent.d.ts +2 -1
- package/dist/models/workflow-entity-scan/WorkflowEntityScan.d.ts +15 -0
- package/dist/models/workflow-entity-scan/WorkflowEntityScan.js +3 -0
- package/dist/models/workflow-entity-scan/WorkflowEntityScan.js.map +1 -0
- package/dist/models/workflow-template/WorkflowTemplate.d.ts +2 -1
- package/dist/models/workflow-template/component-subscription/ComponentSubscription.d.ts +8 -7
- package/dist/models/workflow-template/components/Component.d.ts +3 -2
- package/dist/models/workflow-template/components/ComponentViewOptions.d.ts +2 -1
- package/dist/models/workflow-template/components/button/InputButtonComponent.d.ts +2 -1
- package/dist/models/workflow-template/components/date/DateComponent.d.ts +2 -1
- package/dist/models/workflow-template/components/date-range/DateRangeComponent.d.ts +3 -2
- package/dist/models/workflow-template/components/referenced-in/ReferencedInComponent.d.ts +2 -1
- package/dist/models/workflow-template/components/related-card-lookup/RelatedCardLookupComponent.d.ts +3 -2
- package/dist/models/workflow-template/components/scheduled-automation/ScheduledAutomationComponent.d.ts +2 -1
- package/dist/models/workflow-template/components/tag/CombinedTagsComponent.d.ts +2 -1
- package/package.json +2 -2
- package/dist/models/workflow-app/compensations/CompensationType.d.ts +0 -9
- package/dist/models/workflow-app/compensations/CompensationType.js +0 -14
- package/dist/models/workflow-app/compensations/CompensationType.js.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
3
4
|
export interface CurrentWorkflowEntityComponent extends DynamicComponentData<DynamicComponentDataType.CURRENT_WORKFLOW_ENTITY_COMPONENT> {
|
|
4
|
-
componentId:
|
|
5
|
+
componentId: ComponentId;
|
|
5
6
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { ComponentDataOneOf } from '../../../workflow-template/components/ComponentDataOneOf';
|
|
2
3
|
import { DynamicComponentDataOneOf } from '../component-data/DynamicComponentDataOneOf';
|
|
3
4
|
import { SettingsWorkflowEntityField } from './SettingsWorkflowEntityField';
|
|
4
5
|
export interface CreateSettingsWorkflowEntityField extends Omit<SettingsWorkflowEntityField, 'dynamicData' | 'staticData'> {
|
|
5
|
-
componentId:
|
|
6
|
+
componentId: ComponentId;
|
|
6
7
|
dynamicData?: DynamicComponentDataOneOf;
|
|
7
8
|
staticData?: ComponentDataOneOf;
|
|
8
9
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
3
|
import { FilterOneOfByComponent } from '../../../workflow-entity/filters/FilterOneOfByComponent';
|
|
3
4
|
export interface ReferencedInAggregate {
|
|
4
|
-
componentId?:
|
|
5
|
+
componentId?: ComponentId;
|
|
5
6
|
filterByComponents?: FilterOneOfByComponent[];
|
|
6
7
|
inverted?: boolean;
|
|
7
8
|
workflowTemplateId?: WorkflowTemplateId;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
4
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
5
|
import { RelatedCardEmail } from './RelatedCardEmail';
|
|
5
6
|
export interface SendEmailActionSettings extends AutomationActionSettings<AutomationActionType.SEND_EMAIL> {
|
|
6
7
|
message: string;
|
|
7
8
|
recipientEmails?: string[];
|
|
8
|
-
recipientsFromEmailComponentIds?:
|
|
9
|
+
recipientsFromEmailComponentIds?: ComponentId[];
|
|
9
10
|
replyTo?: string;
|
|
10
11
|
replyToRelatedCardEmail?: RelatedCardEmail;
|
|
11
12
|
recipientsFromRelatedCardEmail?: RelatedCardEmail;
|
|
12
|
-
replyToCardComponentId?:
|
|
13
|
+
replyToCardComponentId?: ComponentId;
|
|
13
14
|
subject: string;
|
|
14
15
|
workflowTemplateId?: WorkflowTemplateId;
|
|
15
16
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
4
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
5
|
export interface SendNotificationActionSettings extends AutomationActionSettings<AutomationActionType.SEND_NOTIFICATION> {
|
|
5
6
|
message: string;
|
|
6
7
|
recipientEmails?: string[];
|
|
7
|
-
recipientsFromEmailComponentIds?:
|
|
8
|
+
recipientsFromEmailComponentIds?: ComponentId[];
|
|
8
9
|
replyTo?: string;
|
|
9
10
|
subject: string;
|
|
10
11
|
workflowTemplateId?: WorkflowTemplateId;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
4
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
5
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
5
6
|
export interface SendPushNotificationActionSettings extends AutomationActionSettings<AutomationActionType.SEND_PUSH_NOTIFICATION> {
|
|
6
7
|
message: string;
|
|
7
|
-
recipientsFromPersonComponentIds?:
|
|
8
|
+
recipientsFromPersonComponentIds?: ComponentId[];
|
|
8
9
|
recipientUserIds?: UserId[];
|
|
9
10
|
title: string;
|
|
10
11
|
workflowTemplateId?: WorkflowTemplateId;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ArrayValueOperation } from '@coast/core-types/automations/action/settings/ArrayValueOperation';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import type { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
3
4
|
import type { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
|
|
4
5
|
export interface SettingsWorkflowEntityField {
|
|
5
6
|
arrayValueOperation?: ArrayValueOperation;
|
|
6
|
-
componentId:
|
|
7
|
+
componentId: ComponentId;
|
|
7
8
|
dynamicData?: AnyDynamicComponentData;
|
|
8
9
|
staticData?: AnyComponentData;
|
|
9
10
|
}
|
package/dist/models/automations/action/settings/TriggerRelatedCardAutomationActionSettings.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
3
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
4
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
5
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
5
6
|
export interface TriggerRelatedCardAutomationActionSettings extends AutomationActionSettings<AutomationActionType.TRIGGER_RELATED_CARD_AUTOMATION> {
|
|
6
7
|
automationId?: AutomationId;
|
|
7
|
-
relatedCardComponentId:
|
|
8
|
+
relatedCardComponentId: ComponentId;
|
|
8
9
|
workflowTemplateId?: WorkflowTemplateId;
|
|
9
10
|
}
|
package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
4
|
import type { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
4
5
|
import type { AnyDynamicNumberComponentData } from '../component-data/registry/AnyDynamicNumberComponentData';
|
|
5
6
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
6
7
|
export interface UpdateRelatedCardQuantityActionSettings extends AutomationActionSettings<AutomationActionType.UPDATE_RELATED_CARD_QUANTITY> {
|
|
7
8
|
dynamicData?: AnyDynamicNumberComponentData;
|
|
8
|
-
relatedCardComponentId:
|
|
9
|
+
relatedCardComponentId: ComponentId;
|
|
9
10
|
staticData?: AnyComponentData;
|
|
10
11
|
workflowTemplateId?: WorkflowTemplateId;
|
|
11
12
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OperandType } from '@coast/core-types/automations/condition/operands/OperandType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar/ScalarKey';
|
|
3
4
|
import { Operand } from './Operand';
|
|
4
5
|
export interface ComponentOperand extends Operand<OperandType.COMPONENT> {
|
|
5
|
-
componentId:
|
|
6
|
+
componentId: ComponentId;
|
|
6
7
|
scalarKey?: ScalarKey;
|
|
7
8
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OperandType } from '@coast/core-types/automations/condition/operands/OperandType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { Operand } from './Operand';
|
|
3
4
|
export interface PreviousComponentOperand extends Operand<OperandType.PREVIOUS_COMPONENT> {
|
|
4
|
-
componentId:
|
|
5
|
+
componentId: ComponentId;
|
|
5
6
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { OperandType } from '@coast/core-types/automations/condition/operands/OperandType';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
4
|
import { Operand } from './Operand';
|
|
4
5
|
export interface WorkflowEntityRefComponentOperand extends Operand<OperandType.WORKFLOW_ENTITY_REF_COMPONENT> {
|
|
5
|
-
componentId:
|
|
6
|
-
refComponentId:
|
|
6
|
+
componentId: ComponentId;
|
|
7
|
+
refComponentId: ComponentId;
|
|
7
8
|
refWorkflowTemplateId?: WorkflowTemplateId;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
3
|
import type { LinkComponentType } from './LinkComponentType';
|
|
3
4
|
import { Audit } from '../../application/Audit';
|
|
4
5
|
export interface WorkflowTemplateFieldLink extends Audit {
|
|
5
|
-
componentId:
|
|
6
|
+
componentId: ComponentId;
|
|
6
7
|
componentType: LinkComponentType;
|
|
7
8
|
linkedWorkflowTemplateId: WorkflowTemplateId;
|
|
8
9
|
workflowTemplateId: WorkflowTemplateId;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ViewSubtype } from '@coast/core-types/view-template/ViewSubtype';
|
|
2
2
|
import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
|
|
3
3
|
import { ViewType } from '@coast/core-types/view-template/ViewType';
|
|
4
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
4
5
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
5
6
|
import { Audit } from '../application/Audit';
|
|
6
7
|
import { ComponentViewOptions } from '../workflow-template/components/ComponentViewOptions';
|
|
7
8
|
import { CollectionCriteria } from './CollectionCriteria';
|
|
8
9
|
export interface ViewTemplate extends Audit {
|
|
9
|
-
calendarDateComponentId?:
|
|
10
|
+
calendarDateComponentId?: ComponentId;
|
|
10
11
|
calendarHideWeekends?: boolean;
|
|
11
12
|
collectionCriteria?: CollectionCriteria;
|
|
12
13
|
componentsViewOptions?: ComponentViewOptions[];
|
|
@@ -16,12 +17,12 @@ export interface ViewTemplate extends Audit {
|
|
|
16
17
|
defaultReadonlyComponents?: boolean;
|
|
17
18
|
deletedAt?: Date;
|
|
18
19
|
displayInCards?: boolean;
|
|
19
|
-
checklistTagComponentId?:
|
|
20
|
+
checklistTagComponentId?: ComponentId;
|
|
20
21
|
displayLegacyRecurrence?: boolean;
|
|
21
22
|
displayLegacyReminders?: boolean;
|
|
22
23
|
displayLegacyStatusButton?: boolean;
|
|
23
24
|
displayMessageThread?: boolean;
|
|
24
|
-
groupByComponentId?:
|
|
25
|
+
groupByComponentId?: ComponentId;
|
|
25
26
|
id: ViewTemplateId;
|
|
26
27
|
isPublic?: boolean;
|
|
27
28
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
1
2
|
import { AutomationReference } from '../AutomationReference';
|
|
2
|
-
import { CompensationType } from '../CompensationType';
|
|
3
3
|
export interface AutomationCompensation {
|
|
4
4
|
type: CompensationType;
|
|
5
5
|
sourceAutomation: AutomationReference;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
1
2
|
import { AutomationActionReference } from '../AutomationActionReference';
|
|
2
|
-
import { CompensationType } from '../CompensationType';
|
|
3
3
|
import { AutomationCompensation } from './AutomationCompensation';
|
|
4
4
|
export interface ClearWorkflowTemplateReferenceAutomationActionCompensation extends AutomationCompensation {
|
|
5
5
|
type: CompensationType.CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
1
2
|
import { Condition } from '../../../automations/condition/Condition';
|
|
2
3
|
import { AutomationActionReference } from '../AutomationActionReference';
|
|
3
|
-
import { CompensationType } from '../CompensationType';
|
|
4
4
|
import { AutomationCompensation } from './AutomationCompensation';
|
|
5
5
|
export interface ClearWorkflowTemplateReferenceAutomationConditionCompensation extends AutomationCompensation {
|
|
6
6
|
type: CompensationType.CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE;
|
package/dist/models/workflow-app/compensations/automations/DisableAutomationCompensation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ErrorCode } from '@coast/core-types/error/ErrorCode';
|
|
2
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
2
3
|
import { AutomationReference } from '../AutomationReference';
|
|
3
|
-
import { CompensationType } from '../CompensationType';
|
|
4
4
|
export interface DisableAutomationCompensation {
|
|
5
5
|
type: CompensationType.DISABLE_AUTOMATION;
|
|
6
6
|
automation: AutomationReference;
|
package/dist/models/workflow-app/compensations/components/ClearRelatedCardComponentReference.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompensationType } from '
|
|
1
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
2
2
|
import { ComponentReference } from '../ComponentReference';
|
|
3
3
|
import { WorkflowTemplateReference } from '../WorkflowTemplateReference';
|
|
4
4
|
import { ComponentCompensation } from './ComponentCompensation';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompensationType } from '
|
|
1
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
2
2
|
import { ComponentReference } from '../ComponentReference';
|
|
3
3
|
export interface ComponentCompensation {
|
|
4
4
|
type: CompensationType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompensationType } from '
|
|
1
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
2
2
|
import { ComponentCompensation } from './ComponentCompensation';
|
|
3
3
|
export interface LimitSubformComponent extends ComponentCompensation {
|
|
4
4
|
type: CompensationType.LIMIT_SUBFORM_COMPONENT;
|
package/dist/models/workflow-app/compensations/components/OmitRelatedCardLookupComponent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompensationType } from '
|
|
1
|
+
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
2
2
|
import { ComponentReference } from '../ComponentReference';
|
|
3
3
|
import { ComponentCompensation } from './ComponentCompensation';
|
|
4
4
|
export interface OmitRelatedCardLookupComponent extends ComponentCompensation {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
3
|
import { FilterOneOfByComponent } from './filters/FilterOneOfByComponent';
|
|
3
4
|
export interface AggregateRelatedCardQuantityInput {
|
|
4
5
|
filterByComponents?: FilterOneOfByComponent[];
|
|
5
|
-
relatedCardComponentId:
|
|
6
|
+
relatedCardComponentId: ComponentId;
|
|
6
7
|
relatedCardIds: string[];
|
|
7
8
|
workflowTemplateId: WorkflowTemplateId;
|
|
8
9
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import type { AnyComponentData } from '../workflow-template/components/data-registry/AnyComponentData';
|
|
2
3
|
export interface WorkflowEntityField {
|
|
3
|
-
componentId:
|
|
4
|
+
componentId: ComponentId;
|
|
4
5
|
data: AnyComponentData;
|
|
5
6
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
4
|
import { ComponentAuditData } from './ComponentAuditData';
|
|
4
5
|
export interface ComponentDataChange {
|
|
5
6
|
componentType: ComponentType;
|
|
6
7
|
workflowTemplateId: WorkflowTemplateId;
|
|
7
|
-
componentId:
|
|
8
|
+
componentId: ComponentId;
|
|
8
9
|
newAuditData: ComponentAuditData;
|
|
9
10
|
originalAuditData: ComponentAuditData;
|
|
10
11
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
3
|
import type { AnyComponentDataChange } from '../../workflow-template/components/AnyComponentDataChange';
|
|
3
4
|
import type { TrailData } from './TrailData';
|
|
4
5
|
import { EntityAuditTrailEvent } from './EntityAuditTrailEvent';
|
|
5
6
|
export interface EntityAuditTrailEntry {
|
|
6
|
-
componentId:
|
|
7
|
+
componentId: ComponentId;
|
|
7
8
|
componentType: ComponentType;
|
|
8
9
|
event?: EntityAuditTrailEvent;
|
|
9
10
|
id: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { DynamicFilterOneOf } from './DynamicFilterOneOf';
|
|
2
3
|
export interface DynamicFilterByComponent {
|
|
3
|
-
componentId:
|
|
4
|
+
componentId: ComponentId;
|
|
4
5
|
value: DynamicFilterOneOf;
|
|
5
6
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { FilterOneOfByComponent } from '../filters/FilterOneOfByComponent';
|
|
2
3
|
export interface RecurringEntitiesAutoExtendDefault {
|
|
3
4
|
minimumInSeries: number;
|
|
4
|
-
impliedFilterComponentId?:
|
|
5
|
+
impliedFilterComponentId?: ComponentId;
|
|
5
6
|
seriesFilter?: FilterOneOfByComponent[];
|
|
6
7
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { RRuleString } from '@coast/core-types/common/RRuleString';
|
|
2
2
|
import { RecurrenceType } from '@coast/core-types/workflow-entity/recurring/RecurrenceType';
|
|
3
3
|
import { RecurringEntitiesScheduleId } from '@coast/core-types/workflow-entity/recurring/RecurringEntitiesScheduleId';
|
|
4
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
4
5
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
5
6
|
import { Audit } from '../../application/Audit';
|
|
6
7
|
import { RecurrenceOffset } from './RecurrenceOffset';
|
|
7
8
|
import { RecurringEntitiesExtend } from './RecurringEntitiesExtend';
|
|
8
9
|
export interface RecurringEntitiesSchedule extends Audit {
|
|
9
|
-
dateComponentId:
|
|
10
|
+
dateComponentId: ComponentId;
|
|
10
11
|
id: RecurringEntitiesScheduleId;
|
|
11
12
|
name: string;
|
|
12
13
|
rrule?: RRuleString;
|
package/dist/models/workflow-entity/scheduled-automation/EntityScheduledAutomationTrigger.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
4
|
export interface EntityScheduledAutomationTrigger {
|
|
4
5
|
automationId: AutomationId;
|
|
5
|
-
componentId:
|
|
6
|
+
componentId: ComponentId;
|
|
6
7
|
consumedAt?: Date;
|
|
7
8
|
createdAt: Date;
|
|
8
9
|
entityId: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SortDirection } from '@coast/core-types/common/SortDirection';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
export interface SortByComponent {
|
|
3
|
-
componentId:
|
|
4
|
+
componentId: ComponentId;
|
|
4
5
|
direction: SortDirection;
|
|
5
6
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { WorkflowEntityScanStatus } from '@coast/core-types/workflow-entity-scan/WorkflowEntityScanStatus';
|
|
3
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
|
+
import { Audit } from '../application/Audit';
|
|
5
|
+
export interface WorkflowEntityScan extends Audit {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
businessId?: BusinessId;
|
|
9
|
+
workflowTemplateId?: WorkflowTemplateId;
|
|
10
|
+
lastCursorId?: string;
|
|
11
|
+
processedCount: number;
|
|
12
|
+
status: WorkflowEntityScanStatus;
|
|
13
|
+
completedAt?: Date;
|
|
14
|
+
error?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowEntityScan.js","sourceRoot":"","sources":["../../../src/models/workflow-entity-scan/WorkflowEntityScan.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
2
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
4
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
5
|
import { Audit } from '../application/Audit';
|
|
5
6
|
import { DataEntity } from '../application/DataEntity';
|
|
@@ -17,7 +18,7 @@ export interface WorkflowTemplate extends DataEntity, Audit {
|
|
|
17
18
|
cardDefinition?: CardDefinition;
|
|
18
19
|
channelDefaultConfiguration?: ChannelDefaultConfiguration;
|
|
19
20
|
components: Component[];
|
|
20
|
-
defaultSortComponentId?:
|
|
21
|
+
defaultSortComponentId?: ComponentId;
|
|
21
22
|
deletedAt?: Date;
|
|
22
23
|
id: WorkflowTemplateId;
|
|
23
24
|
isPublic?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ObserverAction } from '@coast/core-types/workflow-template/component-subscription/ObserverAction';
|
|
2
2
|
import { SubscriptionType } from '@coast/core-types/workflow-template/component-subscription/SubscriptionType';
|
|
3
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
4
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
5
|
import { Audit } from '../../application/Audit';
|
|
5
6
|
export interface ComponentSubscription extends Audit {
|
|
@@ -7,15 +8,15 @@ export interface ComponentSubscription extends Audit {
|
|
|
7
8
|
id: string;
|
|
8
9
|
observer2Action?: ObserverAction;
|
|
9
10
|
observerAction: ObserverAction;
|
|
10
|
-
observerBaselineComponentId?:
|
|
11
|
+
observerBaselineComponentId?: ComponentId;
|
|
11
12
|
observerComponent2Id?: string;
|
|
12
|
-
observerComponentId:
|
|
13
|
-
observerEmailComponentId?:
|
|
14
|
-
observerTagConditionalComponentId?:
|
|
13
|
+
observerComponentId: ComponentId;
|
|
14
|
+
observerEmailComponentId?: ComponentId;
|
|
15
|
+
observerTagConditionalComponentId?: ComponentId;
|
|
15
16
|
observerTagConditionalValue?: string;
|
|
16
|
-
observerThresholdComponentId?:
|
|
17
|
-
subjectDedicatedQuantityComponentId?:
|
|
18
|
-
subjectRelatedCardComponentId?:
|
|
17
|
+
observerThresholdComponentId?: ComponentId;
|
|
18
|
+
subjectDedicatedQuantityComponentId?: ComponentId;
|
|
19
|
+
subjectRelatedCardComponentId?: ComponentId;
|
|
19
20
|
subjectRelatedCardQuantitySubpath?: string;
|
|
20
21
|
subjectWorkflowTemplateId: WorkflowTemplateId;
|
|
21
22
|
type: SubscriptionType;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
3
|
export interface Component<T extends ComponentType = ComponentType> {
|
|
3
4
|
archivedAt?: Date;
|
|
4
|
-
id:
|
|
5
|
+
id: ComponentId;
|
|
5
6
|
isHidden?: boolean;
|
|
6
7
|
isServerManaged?: boolean;
|
|
7
8
|
locked?: boolean;
|
|
8
|
-
managedByComponentId?:
|
|
9
|
+
managedByComponentId?: ComponentId;
|
|
9
10
|
type: T;
|
|
10
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import type { AnyComponentOverride } from './overrides-registry/AnyComponentOverride';
|
|
2
3
|
export interface ComponentViewOptions {
|
|
3
|
-
componentId:
|
|
4
|
+
componentId: ComponentId;
|
|
4
5
|
isHidden?: boolean;
|
|
5
6
|
overrides?: AnyComponentOverride;
|
|
6
7
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
3
|
import { ButtonComponent } from './ButtonComponent';
|
|
3
4
|
export interface InputButtonComponent extends ButtonComponent<ComponentType.INPUT_BUTTON> {
|
|
4
|
-
inputComponentId:
|
|
5
|
+
inputComponentId: ComponentId;
|
|
5
6
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
3
|
import { RecurringEntitiesAutoExtendDefault } from '../../../workflow-entity/recurring/RecurringEntitiesAutoExtendDefault';
|
|
3
4
|
import { Defaultable } from '../Defaultable';
|
|
@@ -6,6 +7,6 @@ import { DateDefault } from './DateDefault';
|
|
|
6
7
|
export interface DateComponent extends Defaultable<DateDefault>, InputComponent<ComponentType.DATE> {
|
|
7
8
|
allowEntityBatchCreation?: boolean;
|
|
8
9
|
autoExtendDefault?: RecurringEntitiesAutoExtendDefault;
|
|
9
|
-
autoExtendImpliedFilterComponentId?:
|
|
10
|
+
autoExtendImpliedFilterComponentId?: ComponentId;
|
|
10
11
|
default?: DateDefault;
|
|
11
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
3
|
import { PresentationComponent } from '../PresentationComponent';
|
|
3
4
|
export interface DateRangeComponent extends PresentationComponent<ComponentType.DATE_RANGE> {
|
|
4
|
-
startDateComponentId:
|
|
5
|
-
endDateComponentId:
|
|
5
|
+
startDateComponentId: ComponentId;
|
|
6
|
+
endDateComponentId: ComponentId;
|
|
6
7
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
3
4
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
5
|
import { Component } from '../Component';
|
|
@@ -6,5 +7,5 @@ export interface ReferencedInComponent extends Component<ComponentType.REFERENCE
|
|
|
6
7
|
label?: string;
|
|
7
8
|
referencedFromWorkflowTemplateId: WorkflowTemplateId;
|
|
8
9
|
referencingViewTemplateId?: ViewTemplateId;
|
|
9
|
-
relatedCardComponentId:
|
|
10
|
+
relatedCardComponentId: ComponentId;
|
|
10
11
|
}
|
package/dist/models/workflow-template/components/related-card-lookup/RelatedCardLookupComponent.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { Icon } from '@coast/schemas';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
3
4
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
5
|
import { Component } from '../Component';
|
|
5
6
|
export interface RelatedCardLookupComponent extends Component<ComponentType.RELATED_CARD_LOOKUP> {
|
|
6
|
-
lookupComponentId:
|
|
7
|
+
lookupComponentId: ComponentId;
|
|
7
8
|
lookupWorkflowTemplateId: WorkflowTemplateId;
|
|
8
9
|
readonly?: boolean;
|
|
9
|
-
relatedCardComponentId:
|
|
10
|
+
relatedCardComponentId: ComponentId;
|
|
10
11
|
icon?: Icon;
|
|
11
12
|
isFilterable?: boolean;
|
|
12
13
|
isSortable?: boolean;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
3
4
|
import { Defaultable } from '../Defaultable';
|
|
4
5
|
import { InputComponent } from '../InputComponent';
|
|
5
6
|
import { ScheduledAutomationDefault } from './ScheduledAutomationDefault';
|
|
6
7
|
export interface ScheduledAutomationComponent extends Defaultable<ScheduledAutomationDefault>, InputComponent<ComponentType.SCHEDULED_AUTOMATION> {
|
|
7
8
|
automationId?: AutomationId;
|
|
8
|
-
dateComponentId:
|
|
9
|
+
dateComponentId: ComponentId;
|
|
9
10
|
default?: ScheduledAutomationDefault;
|
|
10
11
|
scheduleImmediatelyIfInPast?: boolean;
|
|
11
12
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { Icon } from '@coast/schemas';
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
3
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
3
4
|
import { Component } from '../Component';
|
|
4
5
|
export interface CombinedTagsComponent extends Component<ComponentType.COMBINED_TAGS> {
|
|
5
|
-
componentIds:
|
|
6
|
+
componentIds: ComponentId[];
|
|
6
7
|
icon?: Icon;
|
|
7
8
|
label?: string;
|
|
8
9
|
}
|
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.349",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.57",
|
|
27
27
|
"@coast/core-utils": "0.0.22",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.79",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare enum CompensationType {
|
|
2
|
-
CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE = "CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE",
|
|
3
|
-
CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE = "CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE",
|
|
4
|
-
CLEAR_RELATED_CARD_COMPONENT_REFERENCE = "CLEAR_RELATED_CARD_COMPONENT_REFERENCE",
|
|
5
|
-
DISABLE_AUTOMATION = "DISABLE_AUTOMATION",
|
|
6
|
-
LIMIT_SUBFORM_COMPONENT = "LIMIT_SUBFORM_COMPONENT",
|
|
7
|
-
OMIT_REFERENCED_IN_COMPONENT = "OMIT_REFERENCED_IN_COMPONENT",
|
|
8
|
-
OMIT_RELATED_CARD_LOOKUP_COMPONENT = "OMIT_RELATED_CARD_LOOKUP_COMPONENT"
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompensationType = void 0;
|
|
4
|
-
var CompensationType;
|
|
5
|
-
(function (CompensationType) {
|
|
6
|
-
CompensationType["CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE"] = "CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE";
|
|
7
|
-
CompensationType["CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE"] = "CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE";
|
|
8
|
-
CompensationType["CLEAR_RELATED_CARD_COMPONENT_REFERENCE"] = "CLEAR_RELATED_CARD_COMPONENT_REFERENCE";
|
|
9
|
-
CompensationType["DISABLE_AUTOMATION"] = "DISABLE_AUTOMATION";
|
|
10
|
-
CompensationType["LIMIT_SUBFORM_COMPONENT"] = "LIMIT_SUBFORM_COMPONENT";
|
|
11
|
-
CompensationType["OMIT_REFERENCED_IN_COMPONENT"] = "OMIT_REFERENCED_IN_COMPONENT";
|
|
12
|
-
CompensationType["OMIT_RELATED_CARD_LOOKUP_COMPONENT"] = "OMIT_RELATED_CARD_LOOKUP_COMPONENT";
|
|
13
|
-
})(CompensationType || (exports.CompensationType = CompensationType = {}));
|
|
14
|
-
//# sourceMappingURL=CompensationType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CompensationType.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/compensations/CompensationType.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IACxB,+HAA2G,CAAA;IAC3G,qIAAiH,CAAA;IACjH,qGAAiF,CAAA;IACjF,6DAAyC,CAAA;IACzC,uEAAmD,CAAA;IACnD,iFAA6D,CAAA;IAC7D,6FAAyE,CAAA;AAC7E,CAAC,EARW,gBAAgB,aAAhB,gBAAgB,GAAhB,gBAAgB,QAQ3B"}
|