@coast/core-api-types 1.2.74 → 1.2.76

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,12 +3,11 @@ import { CurrentWorkflowEntityUpdateAction } from './CurrentWorkflowEntityUpdate
3
3
  import { ExternalFormLinkCreateAction } from './ExternalFormLinkCreateAction';
4
4
  import { ReferencedInQuantitySumAction } from './ReferencedInQuantitySumAction';
5
5
  import { SendEmailAction } from './SendEmailAction';
6
- import { SendNotificationAction } from './SendNotificationAction';
7
6
  import { SendPushNotificationAction } from './SendPushNotificationAction';
8
7
  import { TriggerRelatedCardAutomationAction } from './TriggerRelatedCardAutomationAction';
9
8
  import { UpdateRelatedCardQuantityAction } from './UpdateRelatedCardQuantityAction';
10
9
  import { WorkflowEntityCreateAction } from './WorkflowEntityCreateAction';
11
10
  import { WorkflowEntityUpdateAction } from './WorkflowEntityUpdateAction';
12
11
  export declare namespace AutomationActionRegistry {
13
- type Any = CalculateValueAction | CurrentWorkflowEntityUpdateAction | ExternalFormLinkCreateAction | ReferencedInQuantitySumAction | SendEmailAction | SendNotificationAction | SendPushNotificationAction | TriggerRelatedCardAutomationAction | UpdateRelatedCardQuantityAction | WorkflowEntityCreateAction | WorkflowEntityUpdateAction;
12
+ type Any = CalculateValueAction | CurrentWorkflowEntityUpdateAction | ExternalFormLinkCreateAction | ReferencedInQuantitySumAction | SendEmailAction | SendPushNotificationAction | TriggerRelatedCardAutomationAction | UpdateRelatedCardQuantityAction | WorkflowEntityCreateAction | WorkflowEntityUpdateAction;
14
13
  }
@@ -4,7 +4,6 @@ export declare enum AutomationActionType {
4
4
  CREATE_WORKFLOW_ENTITY = "CREATE_WORKFLOW_ENTITY",
5
5
  REFERENCED_IN_QUANTITY_SUM = "REFERENCED_IN_QUANTITY_SUM",
6
6
  SEND_EMAIL = "SEND_EMAIL",
7
- SEND_NOTIFICATION = "SEND_NOTIFICATION",
8
7
  SEND_PUSH_NOTIFICATION = "SEND_PUSH_NOTIFICATION",
9
8
  TRIGGER_RELATED_CARD_AUTOMATION = "TRIGGER_RELATED_CARD_AUTOMATION",
10
9
  UPDATE_CURRENT_WORKFLOW_ENTITY = "UPDATE_CURRENT_WORKFLOW_ENTITY",
@@ -8,7 +8,6 @@ var AutomationActionType;
8
8
  AutomationActionType["CREATE_WORKFLOW_ENTITY"] = "CREATE_WORKFLOW_ENTITY";
9
9
  AutomationActionType["REFERENCED_IN_QUANTITY_SUM"] = "REFERENCED_IN_QUANTITY_SUM";
10
10
  AutomationActionType["SEND_EMAIL"] = "SEND_EMAIL";
11
- AutomationActionType["SEND_NOTIFICATION"] = "SEND_NOTIFICATION";
12
11
  AutomationActionType["SEND_PUSH_NOTIFICATION"] = "SEND_PUSH_NOTIFICATION";
13
12
  AutomationActionType["TRIGGER_RELATED_CARD_AUTOMATION"] = "TRIGGER_RELATED_CARD_AUTOMATION";
14
13
  AutomationActionType["UPDATE_CURRENT_WORKFLOW_ENTITY"] = "UPDATE_CURRENT_WORKFLOW_ENTITY";
@@ -1 +1 @@
1
- {"version":3,"file":"AutomationActionType.js","sourceRoot":"","sources":["../../../../src/models/automations/action/AutomationActionType.ts"],"names":[],"mappings":";;;AACA,IAAY,oBAYX;AAZD,WAAY,oBAAoB;IAC5B,2DAAmC,CAAA;IACnC,+EAAuD,CAAA;IACvD,yEAAiD,CAAA;IACjD,iFAAyD,CAAA;IACzD,iDAAyB,CAAA;IACzB,+DAAuC,CAAA;IACvC,yEAAiD,CAAA;IACjD,2FAAmE,CAAA;IACnE,yFAAiE,CAAA;IACjE,qFAA6D,CAAA;IAC7D,yEAAiD,CAAA;AACrD,CAAC,EAZW,oBAAoB,oCAApB,oBAAoB,QAY/B"}
1
+ {"version":3,"file":"AutomationActionType.js","sourceRoot":"","sources":["../../../../src/models/automations/action/AutomationActionType.ts"],"names":[],"mappings":";;;AACA,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC5B,2DAAmC,CAAA;IACnC,+EAAuD,CAAA;IACvD,yEAAiD,CAAA;IACjD,iFAAyD,CAAA;IACzD,iDAAyB,CAAA;IACzB,yEAAiD,CAAA;IACjD,2FAAmE,CAAA;IACnE,yFAAiE,CAAA;IACjE,qFAA6D,CAAA;IAC7D,yEAAiD,CAAA;AACrD,CAAC,EAXW,oBAAoB,oCAApB,oBAAoB,QAW/B"}
@@ -6,7 +6,6 @@ import { CreateWorkflowEntityCreateActionSettings } from './CreateWorkflowEntity
6
6
  import { CreateWorkflowEntityUpdateActionSettings } from './CreateWorkflowEntityUpdateActionSettings';
7
7
  import { ReferencedInQuantitySumActionSettings } from './ReferencedInQuantitySumActionSettings';
8
8
  import { SendEmailActionSettings } from './SendEmailActionSettings';
9
- import { SendNotificationActionSettings } from './SendNotificationActionSettings';
10
9
  import { SendPushNotificationActionSettings } from './SendPushNotificationActionSettings';
11
10
  import { TriggerRelatedCardAutomationActionSettings } from './TriggerRelatedCardAutomationActionSettings';
12
11
  export interface AutomationActionSettingsOneOf {
@@ -15,7 +14,6 @@ export interface AutomationActionSettingsOneOf {
15
14
  externalFormLinkCreateActionSettings?: CreateExternalFormLinkCreateActionSettings;
16
15
  referencedInQuantitySumActionSettings?: ReferencedInQuantitySumActionSettings;
17
16
  sendEmailActionSettings?: SendEmailActionSettings;
18
- sendNotificationActionSettings?: SendNotificationActionSettings;
19
17
  sendPushNotificationActionSettings?: SendPushNotificationActionSettings;
20
18
  triggerRelatedCardAutomationActionSettings?: TriggerRelatedCardAutomationActionSettings;
21
19
  updateRelatedCardQuantityActionSettings?: CreateUpdateRelatedCardQuantityActionSettings;
@@ -3,12 +3,11 @@ import { CurrentWorkflowEntityUpdateActionSettings } from './CurrentWorkflowEnti
3
3
  import { ExternalFormLinkCreateActionSettings } from './ExternalFormLinkCreateActionSettings';
4
4
  import { ReferencedInQuantitySumActionSettings } from './ReferencedInQuantitySumActionSettings';
5
5
  import { SendEmailActionSettings } from './SendEmailActionSettings';
6
- import { SendNotificationActionSettings } from './SendNotificationActionSettings';
7
6
  import { SendPushNotificationActionSettings } from './SendPushNotificationActionSettings';
8
7
  import { TriggerRelatedCardAutomationActionSettings } from './TriggerRelatedCardAutomationActionSettings';
9
8
  import { UpdateRelatedCardQuantityActionSettings } from './UpdateRelatedCardQuantityActionSettings';
10
9
  import { WorkflowEntityCreateActionSettings } from './WorkflowEntityCreateActionSettings';
11
10
  import { WorkflowEntityUpdateActionSettings } from './WorkflowEntityUpdateActionSettings';
12
11
  export declare namespace AutomationActionSettingsRegistry {
13
- type Any = CalculateValueActionSettings | CurrentWorkflowEntityUpdateActionSettings | ExternalFormLinkCreateActionSettings | ReferencedInQuantitySumActionSettings | SendEmailActionSettings | SendNotificationActionSettings | SendPushNotificationActionSettings | TriggerRelatedCardAutomationActionSettings | UpdateRelatedCardQuantityActionSettings | WorkflowEntityCreateActionSettings | WorkflowEntityUpdateActionSettings;
12
+ type Any = CalculateValueActionSettings | CurrentWorkflowEntityUpdateActionSettings | ExternalFormLinkCreateActionSettings | ReferencedInQuantitySumActionSettings | SendEmailActionSettings | SendPushNotificationActionSettings | TriggerRelatedCardAutomationActionSettings | UpdateRelatedCardQuantityActionSettings | WorkflowEntityCreateActionSettings | WorkflowEntityUpdateActionSettings;
14
13
  }
@@ -1,6 +1,6 @@
1
1
  import { ExecutionDirectives } from './ExecutionDirectives';
2
2
  import { ExecutionOrigin } from './ExecutionOrigin';
3
3
  export interface CoastExecutionContext {
4
- origin: ExecutionOrigin;
4
+ origin?: ExecutionOrigin;
5
5
  directives?: ExecutionDirectives;
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.74",
3
+ "version": "1.2.76",
4
4
  "description": "core-api types package",
5
5
  "exports": {
6
6
  "./*": {
@@ -1,5 +0,0 @@
1
- import { AutomationAction } from './AutomationAction';
2
- import { SendNotificationActionSettings } from './settings/SendNotificationActionSettings';
3
- export interface SendNotificationAction extends Omit<AutomationAction, 'settings'> {
4
- settings?: SendNotificationActionSettings;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SendNotificationAction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SendNotificationAction.js","sourceRoot":"","sources":["../../../../src/models/automations/action/SendNotificationAction.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
2
- import { AutomationActionSettings } from './AutomationActionSettings';
3
- export interface SendNotificationActionSettings extends AutomationActionSettings {
4
- message: string;
5
- recipientEmails?: string[];
6
- recipientsFromEmailComponentIds?: string[];
7
- replyTo?: string;
8
- subject: string;
9
- workflowTemplateId: WorkflowTemplateId;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SendNotificationActionSettings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SendNotificationActionSettings.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/settings/SendNotificationActionSettings.ts"],"names":[],"mappings":""}