@coast/core-api-types 1.2.184 → 1.2.185

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.
@@ -5,10 +5,11 @@ import { ReferencedInQuantitySumAction } from './ReferencedInQuantitySumAction';
5
5
  import { SendEmailAction } from './SendEmailAction';
6
6
  import { SendNotificationAction } from './SendNotificationAction';
7
7
  import { SendPushNotificationAction } from './SendPushNotificationAction';
8
+ import { SendWebhookAction } from './SendWebhookAction';
8
9
  import { TriggerRelatedCardAutomationAction } from './TriggerRelatedCardAutomationAction';
9
10
  import { UpdateRelatedCardQuantityAction } from './UpdateRelatedCardQuantityAction';
10
11
  import { WorkflowEntityCreateAction } from './WorkflowEntityCreateAction';
11
12
  import { WorkflowEntityUpdateAction } from './WorkflowEntityUpdateAction';
12
13
  export declare namespace AutomationActionRegistry {
13
- type Any = CalculateValueAction | CurrentWorkflowEntityUpdateAction | ExternalFormLinkCreateAction | ReferencedInQuantitySumAction | SendEmailAction | SendNotificationAction | SendPushNotificationAction | TriggerRelatedCardAutomationAction | UpdateRelatedCardQuantityAction | WorkflowEntityCreateAction | WorkflowEntityUpdateAction;
14
+ type Any = CalculateValueAction | CurrentWorkflowEntityUpdateAction | ExternalFormLinkCreateAction | ReferencedInQuantitySumAction | SendEmailAction | SendNotificationAction | SendPushNotificationAction | SendWebhookAction | TriggerRelatedCardAutomationAction | UpdateRelatedCardQuantityAction | WorkflowEntityCreateAction | WorkflowEntityUpdateAction;
14
15
  }
@@ -6,6 +6,7 @@ export declare enum AutomationActionType {
6
6
  SEND_EMAIL = "SEND_EMAIL",
7
7
  SEND_NOTIFICATION = "SEND_NOTIFICATION",
8
8
  SEND_PUSH_NOTIFICATION = "SEND_PUSH_NOTIFICATION",
9
+ SEND_WEBHOOK = "SEND_WEBHOOK",
9
10
  TRIGGER_RELATED_CARD_AUTOMATION = "TRIGGER_RELATED_CARD_AUTOMATION",
10
11
  UPDATE_CURRENT_WORKFLOW_ENTITY = "UPDATE_CURRENT_WORKFLOW_ENTITY",
11
12
  UPDATE_RELATED_CARD_QUANTITY = "UPDATE_RELATED_CARD_QUANTITY",
@@ -10,6 +10,7 @@ var AutomationActionType;
10
10
  AutomationActionType["SEND_EMAIL"] = "SEND_EMAIL";
11
11
  AutomationActionType["SEND_NOTIFICATION"] = "SEND_NOTIFICATION";
12
12
  AutomationActionType["SEND_PUSH_NOTIFICATION"] = "SEND_PUSH_NOTIFICATION";
13
+ AutomationActionType["SEND_WEBHOOK"] = "SEND_WEBHOOK";
13
14
  AutomationActionType["TRIGGER_RELATED_CARD_AUTOMATION"] = "TRIGGER_RELATED_CARD_AUTOMATION";
14
15
  AutomationActionType["UPDATE_CURRENT_WORKFLOW_ENTITY"] = "UPDATE_CURRENT_WORKFLOW_ENTITY";
15
16
  AutomationActionType["UPDATE_RELATED_CARD_QUANTITY"] = "UPDATE_RELATED_CARD_QUANTITY";
@@ -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,oBAaX;AAbD,WAAY,oBAAoB;IAC5B,2DAAmC,CAAA;IACnC,+EAAuD,CAAA;IACvD,yEAAiD,CAAA;IACjD,iFAAyD,CAAA;IACzD,iDAAyB,CAAA;IACzB,+DAAuC,CAAA;IACvC,yEAAiD,CAAA;IACjD,qDAA6B,CAAA;IAC7B,2FAAmE,CAAA;IACnE,yFAAiE,CAAA;IACjE,qFAA6D,CAAA;IAC7D,yEAAiD,CAAA;AACrD,CAAC,EAbW,oBAAoB,oCAApB,oBAAoB,QAa/B"}
@@ -0,0 +1,5 @@
1
+ import { AutomationAction } from './AutomationAction';
2
+ import { SendWebhookActionSettings } from './settings/SendWebhookActionSettings';
3
+ export interface SendWebhookAction extends Omit<AutomationAction, 'settings'> {
4
+ settings: SendWebhookActionSettings;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SendWebhookAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendWebhookAction.js","sourceRoot":"","sources":["../../../../src/models/automations/action/SendWebhookAction.ts"],"names":[],"mappings":""}
@@ -8,6 +8,7 @@ import { ReferencedInQuantitySumActionSettings } from './ReferencedInQuantitySum
8
8
  import { SendEmailActionSettings } from './SendEmailActionSettings';
9
9
  import { SendNotificationActionSettings } from './SendNotificationActionSettings';
10
10
  import { SendPushNotificationActionSettings } from './SendPushNotificationActionSettings';
11
+ import { SendWebhookActionSettings } from './SendWebhookActionSettings';
11
12
  import { TriggerRelatedCardAutomationActionSettings } from './TriggerRelatedCardAutomationActionSettings';
12
13
  export interface AutomationActionSettingsOneOf {
13
14
  calculateValueActionSettings?: CreateCalculateValueActionSettings;
@@ -17,6 +18,7 @@ export interface AutomationActionSettingsOneOf {
17
18
  sendEmailActionSettings?: SendEmailActionSettings;
18
19
  sendNotificationActionSettings?: SendNotificationActionSettings;
19
20
  sendPushNotificationActionSettings?: SendPushNotificationActionSettings;
21
+ sendWebhookActionSettings?: SendWebhookActionSettings;
20
22
  triggerRelatedCardAutomationActionSettings?: TriggerRelatedCardAutomationActionSettings;
21
23
  updateRelatedCardQuantityActionSettings?: CreateUpdateRelatedCardQuantityActionSettings;
22
24
  workflowEntityCreateActionSettings?: CreateWorkflowEntityCreateActionSettings;
@@ -5,10 +5,11 @@ import { ReferencedInQuantitySumActionSettings } from './ReferencedInQuantitySum
5
5
  import { SendEmailActionSettings } from './SendEmailActionSettings';
6
6
  import { SendNotificationActionSettings } from './SendNotificationActionSettings';
7
7
  import { SendPushNotificationActionSettings } from './SendPushNotificationActionSettings';
8
+ import { SendWebhookActionSettings } from './SendWebhookActionSettings';
8
9
  import { TriggerRelatedCardAutomationActionSettings } from './TriggerRelatedCardAutomationActionSettings';
9
10
  import { UpdateRelatedCardQuantityActionSettings } from './UpdateRelatedCardQuantityActionSettings';
10
11
  import { WorkflowEntityCreateActionSettings } from './WorkflowEntityCreateActionSettings';
11
12
  import { WorkflowEntityUpdateActionSettings } from './WorkflowEntityUpdateActionSettings';
12
13
  export declare namespace AutomationActionSettingsRegistry {
13
- type Any = CalculateValueActionSettings | CurrentWorkflowEntityUpdateActionSettings | ExternalFormLinkCreateActionSettings | ReferencedInQuantitySumActionSettings | SendEmailActionSettings | SendNotificationActionSettings | SendPushNotificationActionSettings | TriggerRelatedCardAutomationActionSettings | UpdateRelatedCardQuantityActionSettings | WorkflowEntityCreateActionSettings | WorkflowEntityUpdateActionSettings;
14
+ type Any = CalculateValueActionSettings | CurrentWorkflowEntityUpdateActionSettings | ExternalFormLinkCreateActionSettings | ReferencedInQuantitySumActionSettings | SendEmailActionSettings | SendNotificationActionSettings | SendPushNotificationActionSettings | SendWebhookActionSettings | TriggerRelatedCardAutomationActionSettings | UpdateRelatedCardQuantityActionSettings | WorkflowEntityCreateActionSettings | WorkflowEntityUpdateActionSettings;
14
15
  }
@@ -0,0 +1,5 @@
1
+ import { AutomationActionSettings } from './AutomationActionSettings';
2
+ export interface SendWebhookActionSettings extends AutomationActionSettings {
3
+ destinationUrl: string;
4
+ secretKey: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=SendWebhookActionSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendWebhookActionSettings.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/settings/SendWebhookActionSettings.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.184",
3
+ "version": "1.2.185",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {