@coast/core-api-types 1.2.272 → 1.2.273

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.
@@ -1,5 +1,5 @@
1
1
  import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
2
- import { HmacSecretKey } from '@coast/core-types/common/HmacSecretKey';
2
+ import { HmacSecretKey } from '@coast/service-common/crypto/HmacSecretKey';
3
3
  import { AutomationActionSettings } from './AutomationActionSettings';
4
4
  export interface SendWebhookActionSettings extends AutomationActionSettings<AutomationActionType.SEND_WEBHOOK> {
5
5
  destinationUrl: string;
@@ -2,4 +2,4 @@ import { ComponentType } from '@coast/core-types/workflow-template/components/Co
2
2
  import { Extends } from '@paradoxical-io/types';
3
3
  import { InputComponentTypes } from './InputComponentTypes';
4
4
  export type InputComponentType = Extends<ComponentType, (typeof InputComponentTypes)[number]>;
5
- export type AutomationEnabledInputComponentType = Exclude<InputComponentType, ComponentType.AUDIT_CHECKBOX | ComponentType.AUDIT_TAG | ComponentType.AUDIT_TEXT | ComponentType.COMBINED_TAGS | ComponentType.DATE_RANGE | ComponentType.ENTITY_BATCH | ComponentType.SCHEDULED_AUTOMATION>;
5
+ export type AutomationEnabledInputComponentType = Exclude<InputComponentType, ComponentType.AUDIT_CHECKBOX | ComponentType.AUDIT_TAG | ComponentType.AUDIT_TEXT | ComponentType.COMBINED_TAGS | ComponentType.ENTITY_BATCH | ComponentType.SCHEDULED_AUTOMATION>;
@@ -1,2 +1,2 @@
1
1
  import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
2
- export declare const InputComponentTypes: [ComponentType.ADDRESS, ComponentType.AUDIT_CHECKBOX, ComponentType.AUDIT_TAG, ComponentType.AUDIT_TEXT, ComponentType.DATE, ComponentType.DATE_RANGE, ComponentType.EMAIL, ComponentType.ENTITY_BATCH, ComponentType.FILE, ComponentType.GEOLOCATION, ComponentType.NUMBER, ComponentType.PERSON, ComponentType.RELATED_CARD, ComponentType.SCHEDULED_AUTOMATION, ComponentType.SIGNATURE, ComponentType.SUBFORM, ComponentType.TAG, ComponentType.TEXT, ComponentType.TIME_TRACKER, ComponentType.TODO, ComponentType.URL];
2
+ export declare const InputComponentTypes: [ComponentType.ADDRESS, ComponentType.AUDIT_CHECKBOX, ComponentType.AUDIT_TAG, ComponentType.AUDIT_TEXT, ComponentType.DATE, ComponentType.EMAIL, ComponentType.ENTITY_BATCH, ComponentType.FILE, ComponentType.GEOLOCATION, ComponentType.NUMBER, ComponentType.PERSON, ComponentType.RELATED_CARD, ComponentType.SCHEDULED_AUTOMATION, ComponentType.SIGNATURE, ComponentType.SUBFORM, ComponentType.TAG, ComponentType.TEXT, ComponentType.TIME_TRACKER, ComponentType.TODO, ComponentType.URL];
@@ -8,7 +8,6 @@ exports.InputComponentTypes = [
8
8
  ComponentType_1.ComponentType.AUDIT_TAG,
9
9
  ComponentType_1.ComponentType.AUDIT_TEXT,
10
10
  ComponentType_1.ComponentType.DATE,
11
- ComponentType_1.ComponentType.DATE_RANGE,
12
11
  ComponentType_1.ComponentType.EMAIL,
13
12
  ComponentType_1.ComponentType.ENTITY_BATCH,
14
13
  ComponentType_1.ComponentType.FILE,
@@ -1 +1 @@
1
- {"version":3,"file":"InputComponentTypes.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/InputComponentTypes.ts"],"names":[],"mappings":";;;AAAA,gGAA6F;AAEhF,QAAA,mBAAmB,GAAG;IAC/B,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,cAAc;IAC5B,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,KAAK;IACnB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,WAAW;IACzB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,oBAAoB;IAClC,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,GAAG;IACjB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,GAAG;CACe,CAAC"}
1
+ {"version":3,"file":"InputComponentTypes.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/InputComponentTypes.ts"],"names":[],"mappings":";;;AAAA,gGAA6F;AAEhF,QAAA,mBAAmB,GAAG;IAC/B,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,cAAc;IAC5B,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,KAAK;IACnB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,WAAW;IACzB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,oBAAoB;IAClC,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,GAAG;IACjB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,GAAG;CACe,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
2
+ import { AddressComponentData } from '../address/AddressComponentData';
3
+ import { AnyComponentDataValue } from '../AnyComponentDataValue';
4
+ import { AuditCheckboxComponentData } from '../audit-checkbox/AuditCheckboxComponentData';
5
+ import { AuditTagComponentData } from '../audit-tag/AuditTagComponentData';
6
+ import { AuditTextComponentData } from '../audit-text/AuditTextComponentData';
7
+ import { DateRangeComponentData } from '../date-range/DateRangeComponentData';
8
+ import { DateComponentData } from '../date/DateComponentData';
9
+ import { EmailComponentData } from '../email/EmailComponentData';
10
+ import { EntityBatchComponentData } from '../enitty-batch/EntityBatchComponentData';
11
+ import { FileComponentData } from '../file/FileComponentData';
12
+ import { GeolocationComponentData } from '../geo-location/GeolocationComponentData';
13
+ import { InputComponentType } from '../InputComponentType';
14
+ import { NumberComponentData } from '../number/NumberComponentData';
15
+ import { PersonComponentData } from '../person/PersonComponentData';
16
+ import { RelatedCardComponentData } from '../related-card/RelatedCardComponentData';
17
+ import { ScheduledAutomationComponentData } from '../scheduled-automation/ScheduledAutomationComponentData';
18
+ import { SignatureComponentData } from '../signature/SignatureComponentData';
19
+ import { SubformComponentData } from '../subform/SubformComponentData';
20
+ import { TagComponentData } from '../tag/TagComponentData';
21
+ import { TextComponentData } from '../text/TextComponentData';
22
+ import { TimeTrackerComponentData } from '../time-tracker/TimeTrackerComponentData';
23
+ import { TodoComponentData } from '../todo/TodoComponentData';
24
+ import { UrlComponentData } from '../url/UrlComponentData';
25
+ export type InputComponentDataValueMap = Record<InputComponentType, AnyComponentDataValue> & {
26
+ [ComponentType.ADDRESS]: AddressComponentData['addressComponentDataValue'];
27
+ [ComponentType.AUDIT_CHECKBOX]: AuditCheckboxComponentData['auditCheckboxComponentDataValue'];
28
+ [ComponentType.AUDIT_TAG]: AuditTagComponentData['auditTagComponentDataValue'];
29
+ [ComponentType.AUDIT_TEXT]: AuditTextComponentData['auditTextComponentDataValue'];
30
+ [ComponentType.DATE]: DateComponentData['dateComponentDataValue'];
31
+ [ComponentType.DATE_RANGE]: DateRangeComponentData['startDate'];
32
+ [ComponentType.EMAIL]: EmailComponentData['emailComponentDataValue'];
33
+ [ComponentType.ENTITY_BATCH]: EntityBatchComponentData['entityBatchId'];
34
+ [ComponentType.FILE]: FileComponentData['fileComponentDataValue'];
35
+ [ComponentType.GEOLOCATION]: GeolocationComponentData['geolocationComponentDataValue'];
36
+ [ComponentType.NUMBER]: NumberComponentData['numberComponentDataValue'];
37
+ [ComponentType.PERSON]: PersonComponentData['personComponentDataValue'];
38
+ [ComponentType.RELATED_CARD]: RelatedCardComponentData['relatedCardComponentDataValue'];
39
+ [ComponentType.SCHEDULED_AUTOMATION]: ScheduledAutomationComponentData['scheduledAutomationComponentDataValue'];
40
+ [ComponentType.SIGNATURE]: SignatureComponentData['signatureComponentDataValue'];
41
+ [ComponentType.SUBFORM]: SubformComponentData['subformComponentDataValue'];
42
+ [ComponentType.TAG]: TagComponentData['tagComponentDataValue'];
43
+ [ComponentType.TEXT]: TextComponentData['textComponentDataValue'];
44
+ [ComponentType.TIME_TRACKER]: TimeTrackerComponentData['timeTrackerComponentDataValue'];
45
+ [ComponentType.TODO]: TodoComponentData['todoComponentDataValue'];
46
+ [ComponentType.URL]: UrlComponentData['urlComponentDataValue'];
47
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const ComponentType_1 = require("@coast/core-types/workflow-template/components/ComponentType");
4
+ //# sourceMappingURL=InputComponentDataValueMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputComponentDataValueMap.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/components/registry/InputComponentDataValueMap.ts"],"names":[],"mappings":";;AACA,gGAA6F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.272",
3
+ "version": "1.2.273",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -23,9 +23,10 @@
23
23
  "author": "Coast Engineering",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@coast/core-types": "0.0.19",
27
- "@coast/core-utils": "0.0.6",
26
+ "@coast/core-types": "0.0.22",
27
+ "@coast/core-utils": "0.0.8",
28
28
  "@coast/schemas": "^4.0.0",
29
+ "@coast/service-common": "^2.0.69",
29
30
  "@paradoxical-io/types": "^2.1.0",
30
31
  "@types/json-schema": "^7.0.15",
31
32
  "json-schema": "^0.4.0",