@coast/core-api-types 1.2.40 → 1.2.42

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 (19) hide show
  1. package/dist/models/application/HeaderKeys.d.ts +1 -0
  2. package/dist/models/application/HeaderKeys.js +1 -0
  3. package/dist/models/application/HeaderKeys.js.map +1 -1
  4. package/dist/models/automations/action/AutomationActionRegistry.d.ts +2 -1
  5. package/dist/models/automations/action/AutomationActionType.d.ts +1 -0
  6. package/dist/models/automations/action/AutomationActionType.js +1 -0
  7. package/dist/models/automations/action/AutomationActionType.js.map +1 -1
  8. package/dist/models/automations/action/ExternalFormLinkCreateAction.d.ts +5 -0
  9. package/dist/models/automations/action/ExternalFormLinkCreateAction.js +3 -0
  10. package/dist/models/automations/action/ExternalFormLinkCreateAction.js.map +1 -0
  11. package/dist/models/automations/action/settings/AutomationActionSettingsOneOf.d.ts +2 -0
  12. package/dist/models/automations/action/settings/AutomationActionSettingsRegistry.d.ts +2 -1
  13. package/dist/models/automations/action/settings/CreateExternalFormLinkCreateActionSettings.d.ts +5 -0
  14. package/dist/models/automations/action/settings/CreateExternalFormLinkCreateActionSettings.js +3 -0
  15. package/dist/models/automations/action/settings/CreateExternalFormLinkCreateActionSettings.js.map +1 -0
  16. package/dist/models/automations/action/settings/ExternalFormLinkCreateActionSettings.d.ts +5 -0
  17. package/dist/models/automations/action/settings/ExternalFormLinkCreateActionSettings.js +3 -0
  18. package/dist/models/automations/action/settings/ExternalFormLinkCreateActionSettings.js.map +1 -0
  19. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  export declare enum HeaderKeys {
2
2
  AUTHORIZATION = "authorization",
3
3
  BUSINESS_ID = "x-coast-business-id",
4
+ BUSINESS_ID_OVERRIDE = "x-coast-business-id-override",
4
5
  SOURCE_AUTOMATION_ID = "x-coast-source-automation-id"
5
6
  }
@@ -5,6 +5,7 @@ var HeaderKeys;
5
5
  (function (HeaderKeys) {
6
6
  HeaderKeys["AUTHORIZATION"] = "authorization";
7
7
  HeaderKeys["BUSINESS_ID"] = "x-coast-business-id";
8
+ HeaderKeys["BUSINESS_ID_OVERRIDE"] = "x-coast-business-id-override";
8
9
  HeaderKeys["SOURCE_AUTOMATION_ID"] = "x-coast-source-automation-id";
9
10
  })(HeaderKeys || (exports.HeaderKeys = HeaderKeys = {}));
10
11
  //# sourceMappingURL=HeaderKeys.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderKeys.js","sourceRoot":"","sources":["../../../src/models/application/HeaderKeys.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,6CAA+B,CAAA;IAC/B,iDAAmC,CAAA;IACnC,mEAAqD,CAAA;AACzD,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
1
+ {"version":3,"file":"HeaderKeys.js","sourceRoot":"","sources":["../../../src/models/application/HeaderKeys.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,6CAA+B,CAAA;IAC/B,iDAAmC,CAAA;IACnC,mEAAqD,CAAA;IACrD,mEAAqD,CAAA;AACzD,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB"}
@@ -1,5 +1,6 @@
1
1
  import { CalculateValueAction } from './CalculateValueAction';
2
2
  import { CurrentWorkflowEntityUpdateAction } from './CurrentWorkflowEntityUpdateAction';
3
+ import { ExternalFormLinkCreateAction } from './ExternalFormLinkCreateAction';
3
4
  import { ReferencedInQuantitySumAction } from './ReferencedInQuantitySumAction';
4
5
  import { SendEmailAction } from './SendEmailAction';
5
6
  import { SendNotificationAction } from './SendNotificationAction';
@@ -9,5 +10,5 @@ import { UpdateRelatedCardQuantityAction } from './UpdateRelatedCardQuantityActi
9
10
  import { WorkflowEntityCreateAction } from './WorkflowEntityCreateAction';
10
11
  import { WorkflowEntityUpdateAction } from './WorkflowEntityUpdateAction';
11
12
  export declare namespace AutomationActionRegistry {
12
- type Any = CalculateValueAction | CurrentWorkflowEntityUpdateAction | ReferencedInQuantitySumAction | SendEmailAction | SendNotificationAction | SendPushNotificationAction | TriggerRelatedCardAutomationAction | UpdateRelatedCardQuantityAction | WorkflowEntityCreateAction | WorkflowEntityUpdateAction;
13
+ type Any = CalculateValueAction | CurrentWorkflowEntityUpdateAction | ExternalFormLinkCreateAction | ReferencedInQuantitySumAction | SendEmailAction | SendNotificationAction | SendPushNotificationAction | TriggerRelatedCardAutomationAction | UpdateRelatedCardQuantityAction | WorkflowEntityCreateAction | WorkflowEntityUpdateAction;
13
14
  }
@@ -1,5 +1,6 @@
1
1
  export declare enum AutomationActionType {
2
2
  CALCULATE_VALUE = "CALCULATE_VALUE",
3
+ CREATE_EXTERNAL_FORM_LINK = "CREATE_EXTERNAL_FORM_LINK",
3
4
  CREATE_WORKFLOW_ENTITY = "CREATE_WORKFLOW_ENTITY",
4
5
  REFERENCED_IN_QUANTITY_SUM = "REFERENCED_IN_QUANTITY_SUM",
5
6
  SEND_EMAIL = "SEND_EMAIL",
@@ -4,6 +4,7 @@ exports.AutomationActionType = void 0;
4
4
  var AutomationActionType;
5
5
  (function (AutomationActionType) {
6
6
  AutomationActionType["CALCULATE_VALUE"] = "CALCULATE_VALUE";
7
+ AutomationActionType["CREATE_EXTERNAL_FORM_LINK"] = "CREATE_EXTERNAL_FORM_LINK";
7
8
  AutomationActionType["CREATE_WORKFLOW_ENTITY"] = "CREATE_WORKFLOW_ENTITY";
8
9
  AutomationActionType["REFERENCED_IN_QUANTITY_SUM"] = "REFERENCED_IN_QUANTITY_SUM";
9
10
  AutomationActionType["SEND_EMAIL"] = "SEND_EMAIL";
@@ -1 +1 @@
1
- {"version":3,"file":"AutomationActionType.js","sourceRoot":"","sources":["../../../../src/models/automations/action/AutomationActionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC5B,2DAAmC,CAAA;IACnC,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,EAXW,oBAAoB,oCAApB,oBAAoB,QAW/B"}
1
+ {"version":3,"file":"AutomationActionType.js","sourceRoot":"","sources":["../../../../src/models/automations/action/AutomationActionType.ts"],"names":[],"mappings":";;;AAAA,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"}
@@ -0,0 +1,5 @@
1
+ import { AutomationAction } from './AutomationAction';
2
+ import { ExternalFormLinkCreateActionSettings } from './settings/ExternalFormLinkCreateActionSettings';
3
+ export interface ExternalFormLinkCreateAction extends Omit<AutomationAction, 'settings'> {
4
+ settings?: ExternalFormLinkCreateActionSettings;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ExternalFormLinkCreateAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalFormLinkCreateAction.js","sourceRoot":"","sources":["../../../../src/models/automations/action/ExternalFormLinkCreateAction.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  import { CreateCalculateValueActionSettings } from './CreateCalculateValueActionSettings';
2
2
  import { CreateCurrentWorkflowEntityUpdateActionSettings } from './CreateCurrentWorkflowEntityUpdateActionSettings';
3
+ import { CreateExternalFormLinkCreateActionSettings } from './CreateExternalFormLinkCreateActionSettings';
3
4
  import { CreateUpdateRelatedCardQuantityActionSettings } from './CreateUpdateRelatedCardQuantityActionSettings';
4
5
  import { CreateWorkflowEntityCreateActionSettings } from './CreateWorkflowEntityCreateActionSettings';
5
6
  import { CreateWorkflowEntityUpdateActionSettings } from './CreateWorkflowEntityUpdateActionSettings';
@@ -11,6 +12,7 @@ import { TriggerRelatedCardAutomationActionSettings } from './TriggerRelatedCard
11
12
  export interface AutomationActionSettingsOneOf {
12
13
  calculateValueActionSettings?: CreateCalculateValueActionSettings;
13
14
  currentWorkflowEntityUpdateActionSettings?: CreateCurrentWorkflowEntityUpdateActionSettings;
15
+ externalFormLinkCreateActionSettings?: CreateExternalFormLinkCreateActionSettings;
14
16
  referencedInQuantitySumActionSettings?: ReferencedInQuantitySumActionSettings;
15
17
  sendEmailActionSettings?: SendEmailActionSettings;
16
18
  sendNotificationActionSettings?: SendNotificationActionSettings;
@@ -1,5 +1,6 @@
1
1
  import { CalculateValueActionSettings } from './CalculateValueActionSettings';
2
2
  import { CurrentWorkflowEntityUpdateActionSettings } from './CurrentWorkflowEntityUpdateActionSettings';
3
+ import { ExternalFormLinkCreateActionSettings } from './ExternalFormLinkCreateActionSettings';
3
4
  import { ReferencedInQuantitySumActionSettings } from './ReferencedInQuantitySumActionSettings';
4
5
  import { SendEmailActionSettings } from './SendEmailActionSettings';
5
6
  import { SendNotificationActionSettings } from './SendNotificationActionSettings';
@@ -9,5 +10,5 @@ import { UpdateRelatedCardQuantityActionSettings } from './UpdateRelatedCardQuan
9
10
  import { WorkflowEntityCreateActionSettings } from './WorkflowEntityCreateActionSettings';
10
11
  import { WorkflowEntityUpdateActionSettings } from './WorkflowEntityUpdateActionSettings';
11
12
  export declare namespace AutomationActionSettingsRegistry {
12
- type Any = CalculateValueActionSettings | CurrentWorkflowEntityUpdateActionSettings | ReferencedInQuantitySumActionSettings | SendEmailActionSettings | SendNotificationActionSettings | SendPushNotificationActionSettings | TriggerRelatedCardAutomationActionSettings | UpdateRelatedCardQuantityActionSettings | WorkflowEntityCreateActionSettings | WorkflowEntityUpdateActionSettings;
13
+ type Any = CalculateValueActionSettings | CurrentWorkflowEntityUpdateActionSettings | ExternalFormLinkCreateActionSettings | ReferencedInQuantitySumActionSettings | SendEmailActionSettings | SendNotificationActionSettings | SendPushNotificationActionSettings | TriggerRelatedCardAutomationActionSettings | UpdateRelatedCardQuantityActionSettings | WorkflowEntityCreateActionSettings | WorkflowEntityUpdateActionSettings;
13
14
  }
@@ -0,0 +1,5 @@
1
+ import { CreateSettingsWorkflowEntityField } from './CreateSettingsWorkflowEntityField';
2
+ import { ExternalFormLinkCreateActionSettings } from './ExternalFormLinkCreateActionSettings';
3
+ export interface CreateExternalFormLinkCreateActionSettings extends Omit<ExternalFormLinkCreateActionSettings, 'fields'> {
4
+ fields: CreateSettingsWorkflowEntityField[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateExternalFormLinkCreateActionSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateExternalFormLinkCreateActionSettings.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/settings/CreateExternalFormLinkCreateActionSettings.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { ViewTemplateId } from '../../../workflow-template/view-template/ViewTemplateId';
2
+ import { WorkflowEntityActionSettings } from './WorkflowEntityActionSettings';
3
+ export interface ExternalFormLinkCreateActionSettings extends WorkflowEntityActionSettings {
4
+ viewTemplateId: ViewTemplateId;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ExternalFormLinkCreateActionSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalFormLinkCreateActionSettings.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/settings/ExternalFormLinkCreateActionSettings.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.40",
3
+ "version": "1.2.42",
4
4
  "description": "core-api types package",
5
5
  "exports": {
6
6
  "./*": {